2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for libpng 1.4.4.
5 # Report bugs to <png-mng-implement@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
185 if (eval "$as_required") 2>/dev
/null
; then :
190 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
195 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
198 test -z "$as_dir" && as_dir
=.
202 for as_base
in sh bash ksh sh5
; do
203 # Try only shells that exist, to save several forks.
204 as_shell
=$as_dir/$as_base
205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 CONFIG_SHELL
=$as_shell as_have_required
=yes
208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
217 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
218 CONFIG_SHELL
=$SHELL as_have_required
=yes
223 if test "x$CONFIG_SHELL" != x
; then :
224 # We cannot yet assume a decent shell, so we have to provide a
225 # neutralization value for shells without unset; and this also
226 # works around shells that cannot unset nonexistent variables.
229 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
231 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
234 if test x
$as_have_required = xno
; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x
${ZSH_VERSION+set} = xset
; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: png-mng-implement@lists.sourceforge.net about your
243 $0: system, including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
251 SHELL
=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE
= GREP_OPTIONS
=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir
=.
/$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs
="'$as_qdir' $as_dirs"
304 as_dir
=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
365 as_val
=`expr "$@" || test $? -eq 1`
370 # as_fn_error ERROR [LINENO LOG_FD]
371 # ---------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with status $?, using 1 if that was 0.
377 as_status
=$?
; test $as_status -eq 0 && as_status
=1
379 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
382 $as_echo "$as_me: error: $1" >&2
383 as_fn_exit
$as_status
386 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
393 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
405 as_me
=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits
='0123456789'
429 as_cr_alnum
=$as_cr_Letters$as_cr_digits
432 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
433 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x
"$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C
= ECHO_N
= ECHO_T
=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
476 rm -f conf$$ conf$$.exe conf$$.
file
477 if test -d conf$$.dir
; then
478 rm -f conf$$.dir
/conf$$.
file
481 mkdir conf$$.dir
2>/dev
/null
483 if (echo >conf$$.
file) 2>/dev
/null
; then
484 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
492 elif ln conf$$.
file conf$$
2>/dev
/null
; then
500 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
501 rmdir conf$$.dir
2>/dev
/null
503 if mkdir -p .
2>/dev
/null
; then
504 as_mkdir_p
='mkdir -p "$as_dir"'
506 test -d .
/-p && rmdir .
/-p
510 if test -x / >/dev
/null
2>&1; then
513 if ls -dL / >/dev
/null
2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p
=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 SHELL
=${CONFIG_SHELL-/bin/sh}
542 test -n "$DJDIR" || exec 7<&0 </dev
/null
546 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
547 # so uname gets run too.
548 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
553 ac_default_prefix
=/usr
/local
555 ac_config_libobj_dir
=.
562 # Identity of this package.
563 PACKAGE_NAME
='libpng'
564 PACKAGE_TARNAME
='libpng'
565 PACKAGE_VERSION
='1.4.4'
566 PACKAGE_STRING
='libpng 1.4.4'
567 PACKAGE_BUGREPORT
='png-mng-implement@lists.sourceforge.net'
570 ac_unique_file
="pngget.c"
571 # Factoring default headers for most tests.
572 ac_includes_default
="\
574 #ifdef HAVE_SYS_TYPES_H
575 # include <sys/types.h>
577 #ifdef HAVE_SYS_STAT_H
578 # include <sys/stat.h>
584 # ifdef HAVE_STDLIB_H
589 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
594 #ifdef HAVE_STRINGS_H
595 # include <strings.h>
597 #ifdef HAVE_INTTYPES_H
598 # include <inttypes.h>
607 ac_subst_vars
='am__EXEEXT_FALSE
617 HAVE_LD_VERSION_SCRIPT_FALSE
618 HAVE_LD_VERSION_SCRIPT_TRUE
668 MAINTAINER_MODE_FALSE
678 INSTALL_STRIP_PROGRAM
720 program_transform_name
733 enable_option_checking
734 enable_maintainer_mode
735 enable_dependency_tracking
745 ac_precious_vars
='build_alias
756 # Initialize some variables set by options.
758 ac_init_version
=false
759 ac_unrecognized_opts
=
761 # The variables have the same names as the options, with
762 # dashes changed to underlines.
770 program_transform_name
=s
,x
,x
,
778 # Installation directory options.
779 # These are left unexpanded so users can "make install exec_prefix=/foo"
780 # and all the variables that are supposed to be based on exec_prefix
781 # by default will actually change.
782 # Use braces instead of parens because sh, perl, etc. also accept them.
783 # (The list follows the same order as the GNU Coding Standards.)
784 bindir
='${exec_prefix}/bin'
785 sbindir
='${exec_prefix}/sbin'
786 libexecdir
='${exec_prefix}/libexec'
787 datarootdir
='${prefix}/share'
788 datadir
='${datarootdir}'
789 sysconfdir
='${prefix}/etc'
790 sharedstatedir
='${prefix}/com'
791 localstatedir
='${prefix}/var'
792 includedir
='${prefix}/include'
793 oldincludedir
='/usr/include'
794 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
795 infodir
='${datarootdir}/info'
800 libdir
='${exec_prefix}/lib'
801 localedir
='${datarootdir}/locale'
802 mandir
='${datarootdir}/man'
808 # If the previous option needs an argument, assign it.
809 if test -n "$ac_prev"; then
810 eval $ac_prev=\
$ac_option
816 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
820 # Accept the important Cygnus configure options, so we can diagnose typos.
822 case $ac_dashdash$ac_option in
826 -bindir | --bindir | --bindi | --bind | --bin | --bi)
828 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
831 -build | --build | --buil | --bui | --bu)
832 ac_prev
=build_alias
;;
833 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
834 build_alias
=$ac_optarg ;;
836 -cache-file | --cache-file | --cache-fil | --cache-fi \
837 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
838 ac_prev
=cache_file
;;
839 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
840 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
841 cache_file
=$ac_optarg ;;
844 cache_file
=config.cache
;;
846 -datadir | --datadir | --datadi | --datad)
848 -datadir=* | --datadir=* | --datadi=* | --datad=*)
849 datadir
=$ac_optarg ;;
851 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
852 | --dataroo | --dataro | --datar)
853 ac_prev
=datarootdir
;;
854 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
855 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
856 datarootdir
=$ac_optarg ;;
858 -disable-* | --disable-*)
859 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
860 # Reject names that are not valid shell variable names.
861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
862 as_fn_error
"invalid feature name: $ac_useropt"
863 ac_useropt_orig
=$ac_useropt
864 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865 case $ac_user_opts in
869 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
870 ac_unrecognized_sep
=', ';;
872 eval enable_
$ac_useropt=no
;;
874 -docdir | --docdir | --docdi | --doc | --do)
876 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
879 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
881 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
884 -enable-* | --enable-*)
885 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
888 as_fn_error
"invalid feature name: $ac_useropt"
889 ac_useropt_orig
=$ac_useropt
890 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
895 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
896 ac_unrecognized_sep
=', ';;
898 eval enable_
$ac_useropt=\
$ac_optarg ;;
900 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
901 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
902 | --exec | --exe | --ex)
903 ac_prev
=exec_prefix
;;
904 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
905 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
906 | --exec=* | --exe=* | --ex=*)
907 exec_prefix
=$ac_optarg ;;
909 -gas | --gas | --ga | --g)
910 # Obsolete; use --with-gas.
913 -help | --help | --hel | --he | -h)
915 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
916 ac_init_help
=recursive
;;
917 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
918 ac_init_help
=short
;;
920 -host | --host | --hos | --ho)
921 ac_prev
=host_alias
;;
922 -host=* | --host=* | --hos=* | --ho=*)
923 host_alias
=$ac_optarg ;;
925 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
927 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
929 htmldir
=$ac_optarg ;;
931 -includedir | --includedir | --includedi | --included | --include \
932 | --includ | --inclu | --incl | --inc)
933 ac_prev
=includedir
;;
934 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
935 | --includ=* | --inclu=* | --incl=* | --inc=*)
936 includedir
=$ac_optarg ;;
938 -infodir | --infodir | --infodi | --infod | --info | --inf)
940 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
941 infodir
=$ac_optarg ;;
943 -libdir | --libdir | --libdi | --libd)
945 -libdir=* | --libdir=* | --libdi=* | --libd=*)
948 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
949 | --libexe | --libex | --libe)
950 ac_prev
=libexecdir
;;
951 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
952 | --libexe=* | --libex=* | --libe=*)
953 libexecdir
=$ac_optarg ;;
955 -localedir | --localedir | --localedi | --localed | --locale)
957 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
958 localedir
=$ac_optarg ;;
960 -localstatedir | --localstatedir | --localstatedi | --localstated \
961 | --localstate | --localstat | --localsta | --localst | --locals)
962 ac_prev
=localstatedir
;;
963 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
964 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
965 localstatedir
=$ac_optarg ;;
967 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
969 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
973 # Obsolete; use --without-fp.
976 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
977 | --no-cr | --no-c | -n)
980 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
981 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
985 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
986 | --oldin | --oldi | --old | --ol | --o)
987 ac_prev
=oldincludedir
;;
988 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
989 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
990 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
991 oldincludedir
=$ac_optarg ;;
993 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
995 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
998 -program-prefix | --program-prefix | --program-prefi | --program-pref \
999 | --program-pre | --program-pr | --program-p)
1000 ac_prev
=program_prefix
;;
1001 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1002 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1003 program_prefix
=$ac_optarg ;;
1005 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1006 | --program-suf | --program-su | --program-s)
1007 ac_prev
=program_suffix
;;
1008 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1009 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1010 program_suffix
=$ac_optarg ;;
1012 -program-transform-name | --program-transform-name \
1013 | --program-transform-nam | --program-transform-na \
1014 | --program-transform-n | --program-transform- \
1015 | --program-transform | --program-transfor \
1016 | --program-transfo | --program-transf \
1017 | --program-trans | --program-tran \
1018 | --progr-tra | --program-tr | --program-t)
1019 ac_prev
=program_transform_name
;;
1020 -program-transform-name=* | --program-transform-name=* \
1021 | --program-transform-nam=* | --program-transform-na=* \
1022 | --program-transform-n=* | --program-transform-=* \
1023 | --program-transform=* | --program-transfor=* \
1024 | --program-transfo=* | --program-transf=* \
1025 | --program-trans=* | --program-tran=* \
1026 | --progr-tra=* | --program-tr=* | --program-t=*)
1027 program_transform_name
=$ac_optarg ;;
1029 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1031 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1032 pdfdir
=$ac_optarg ;;
1034 -psdir | --psdir | --psdi | --psd | --ps)
1036 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1043 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047 sbindir
=$ac_optarg ;;
1049 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1050 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1051 | --sharedst | --shareds | --shared | --share | --shar \
1053 ac_prev
=sharedstatedir
;;
1054 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1055 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1056 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058 sharedstatedir
=$ac_optarg ;;
1060 -site | --site | --sit)
1062 -site=* | --site=* | --sit=*)
1065 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1068 srcdir
=$ac_optarg ;;
1070 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1071 | --syscon | --sysco | --sysc | --sys | --sy)
1072 ac_prev
=sysconfdir
;;
1073 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1074 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1075 sysconfdir
=$ac_optarg ;;
1077 -target | --target | --targe | --targ | --tar | --ta | --t)
1078 ac_prev
=target_alias
;;
1079 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1080 target_alias
=$ac_optarg ;;
1082 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1085 -version | --version | --versio | --versi | --vers | -V)
1086 ac_init_version
=: ;;
1089 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1092 as_fn_error
"invalid package name: $ac_useropt"
1093 ac_useropt_orig
=$ac_useropt
1094 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1099 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1100 ac_unrecognized_sep
=', ';;
1102 eval with_
$ac_useropt=\
$ac_optarg ;;
1104 -without-* | --without-*)
1105 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1108 as_fn_error
"invalid package name: $ac_useropt"
1109 ac_useropt_orig
=$ac_useropt
1110 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116 ac_unrecognized_sep
=', ';;
1118 eval with_
$ac_useropt=no
;;
1121 # Obsolete; use --with-x.
1124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1125 | --x-incl | --x-inc | --x-in | --x-i)
1126 ac_prev
=x_includes
;;
1127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1129 x_includes
=$ac_optarg ;;
1131 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1133 ac_prev
=x_libraries
;;
1134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136 x_libraries
=$ac_optarg ;;
1138 -*) as_fn_error
"unrecognized option: \`$ac_option'
1139 Try \`$0 --help' for more information."
1143 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1144 # Reject names that are not valid shell variable names.
1145 case $ac_envvar in #(
1146 '' | [0-9]* | *[!_$as_cr_alnum]* )
1147 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1149 eval $ac_envvar=\
$ac_optarg
1150 export $ac_envvar ;;
1153 # FIXME: should be removed in autoconf 3.0.
1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1163 if test -n "$ac_prev"; then
1164 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1165 as_fn_error
"missing argument to $ac_option"
1168 if test -n "$ac_unrecognized_opts"; then
1169 case $enable_option_checking in
1171 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1176 # Check all directory arguments for consistency.
1177 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val
=\$
$ac_var
1183 # Remove trailing slashes.
1186 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1187 eval $ac_var=\
$ac_val;;
1189 # Be sure to have absolute directory names.
1191 [\\/$
]* | ?
:[\\/]* ) continue;;
1192 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1194 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1197 # There might be people who depend on the old broken behavior: `$host'
1198 # used to hold the argument of --host etc.
1199 # FIXME: To remove some day.
1202 target
=$target_alias
1204 # FIXME: To remove some day.
1205 if test "x$host_alias" != x
; then
1206 if test "x$build_alias" = x
; then
1207 cross_compiling
=maybe
1208 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1209 If a cross compiler is detected then cross compile mode will be used." >&2
1210 elif test "x$build_alias" != "x$host_alias"; then
1216 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1218 test "$silent" = yes && exec 6>/dev
/null
1221 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1222 ac_ls_di
=`ls -di .` &&
1223 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1224 as_fn_error
"working directory cannot be determined"
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 as_fn_error
"pwd does not report name of working directory"
1229 # Find the source files, if location was not specified.
1230 if test -z "$srcdir"; then
1231 ac_srcdir_defaulted
=yes
1232 # Try the directory containing this script, then the parent directory.
1233 ac_confdir
=`$as_dirname -- "$as_myself" ||
1234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1235 X"$as_myself" : 'X\(//\)[^/]' \| \
1236 X"$as_myself" : 'X\(//\)$' \| \
1237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1238 $as_echo X"$as_myself" |
1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1261 ac_srcdir_defaulted
=no
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1264 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1265 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1267 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1279 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 for ac_var
in $ac_precious_vars; do
1282 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1283 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1284 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1285 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1289 # Report the --help message.
1291 if test "$ac_init_help" = "long"; then
1292 # Omit some internal or obsolete options to make the list less imposing.
1293 # This message is too long to be a string in the A/UX 3.1 sh.
1295 \`configure' configures libpng 1.4.4 to adapt to many kinds of systems.
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE. See below for descriptions of some of the useful variables.
1302 Defaults for the options are specified in brackets.
1305 -h, --help display this help and exit
1306 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking...' messages
1310 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files
1313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1315 Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1326 For better control, use the options below.
1328 Fine tuning of the installation directories:
1329 --bindir=DIR user executables [EPREFIX/bin]
1330 --sbindir=DIR system admin executables [EPREFIX/sbin]
1331 --libexecdir=DIR program executables [EPREFIX/libexec]
1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root [DATAROOTDIR/doc/libpng]
1344 --htmldir=DIR html documentation [DOCDIR]
1345 --dvidir=DIR dvi documentation [DOCDIR]
1346 --pdfdir=DIR pdf documentation [DOCDIR]
1347 --psdir=DIR ps documentation [DOCDIR]
1353 --program-prefix=PREFIX prepend PREFIX to installed program names
1354 --program-suffix=SUFFIX append SUFFIX to installed program names
1355 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1358 --build=BUILD configure
for building on BUILD
[guessed
]
1359 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short
| recursive
) echo "Configuration of libpng 1.4.4:";;
1370 --disable-option-checking ignore unrecognized
--enable/--with options
1371 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1372 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1373 --enable-maintainer-mode enable make rules and dependencies not useful
1374 (and sometimes confusing
) to the casual installer
1375 --disable-dependency-tracking speeds up one
-time build
1376 --enable-dependency-tracking do not reject slow dependency extractors
1377 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1378 --enable-static[=PKGS
] build static libraries
[default
=yes]
1379 --enable-fast-install[=PKGS
]
1380 optimize
for fast installation
[default
=yes]
1381 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1384 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1385 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1386 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1387 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1389 --with-pkgconfigdir Use the specified pkgconfig dir
(default is
1391 --with-binconfigs Generate shell libpng
-config scripts as well as
1392 pkg
-config data
[default
=yes]
1394 Some influential environment variables
:
1395 CC C compiler
command
1396 CFLAGS C compiler flags
1397 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1398 nonstandard directory
<lib dir
>
1399 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1400 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1401 you have headers
in a nonstandard directory
<include dir
>
1404 Use these variables to override the choices made by
`configure' or to help
1405 it to find libraries and programs with nonstandard names/locations.
1407 Report bugs to <png-mng-implement@lists.sourceforge.net>.
1412 if test "$ac_init_help" = "recursive"; then
1413 # If there are subdirs, report their specific --help.
1414 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1415 test -d "$ac_dir" ||
1416 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1423 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1424 # A ".." for each directory in $ac_dir_suffix.
1425 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1426 case $ac_top_builddir_sub in
1427 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1431 ac_abs_top_builddir=$ac_pwd
1432 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1433 # for backward compatibility:
1434 ac_top_builddir=$ac_top_build_prefix
1437 .) # We are building in place.
1439 ac_top_srcdir=$ac_top_builddir_sub
1440 ac_abs_top_srcdir=$ac_pwd ;;
1441 [\\/]* | ?:[\\/]* ) # Absolute name.
1442 ac_srcdir=$srcdir$ac_dir_suffix;
1443 ac_top_srcdir=$srcdir
1444 ac_abs_top_srcdir=$srcdir ;;
1446 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1447 ac_top_srcdir=$ac_top_build_prefix$srcdir
1448 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1450 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1452 cd "$ac_dir" || { ac_status=$?; continue; }
1453 # Check for guested configure.
1454 if test -f "$ac_srcdir/configure.gnu"; then
1456 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1457 elif test -f "$ac_srcdir/configure"; then
1459 $SHELL "$ac_srcdir/configure" --help=recursive
1461 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1463 cd "$ac_pwd" || { ac_status=$?; break; }
1467 test -n "$ac_init_help" && exit $ac_status
1468 if $ac_init_version; then
1470 libpng configure 1.4.4
1471 generated by GNU Autoconf 2.65
1473 Copyright (C) 2009 Free Software Foundation, Inc.
1474 This configure script is free software; the Free Software Foundation
1475 gives unlimited permission to copy, distribute and modify it.
1480 ## ------------------------ ##
1481 ## Autoconf initialization. ##
1482 ## ------------------------ ##
1484 # ac_fn_c_try_compile LINENO
1485 # --------------------------
1486 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1487 ac_fn_c_try_compile ()
1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490 rm -f conftest.$ac_objext
1491 if { { ac_try="$ac_compile"
1493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1494 *) ac_try_echo
=$ac_try;;
1496 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 $as_echo "$ac_try_echo"; } >&5
1498 (eval "$ac_compile") 2>conftest.err
1500 if test -s conftest.err
; then
1501 grep -v '^ *+' conftest.err
>conftest.er1
1502 cat conftest.er1
>&5
1503 mv -f conftest.er1 conftest.err
1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1506 test $ac_status = 0; } && {
1507 test -z "$ac_c_werror_flag" ||
1508 test ! -s conftest.err
1509 } && test -s conftest.
$ac_objext; then :
1512 $as_echo "$as_me: failed program was:" >&5
1513 sed 's/^/| /' conftest.
$ac_ext >&5
1517 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1518 as_fn_set_status
$ac_retval
1520 } # ac_fn_c_try_compile
1522 # ac_fn_c_try_cpp LINENO
1523 # ----------------------
1524 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1527 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1528 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1531 *) ac_try_echo=$ac_try;;
1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1537 if test -s conftest.err; then
1538 grep -v '^ *+' conftest.err >conftest.er1
1539 cat conftest.er1 >&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } >/dev/null && {
1544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1554 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1555 as_fn_set_status $ac_retval
1559 # ac_fn_c_try_link LINENO
1560 # -----------------------
1561 # Try to link conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 rm -f conftest.$ac_objext conftest$ac_exeext
1566 if { { ac_try="$ac_link"
1568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1569 *) ac_try_echo
=$ac_try;;
1571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_link") 2>conftest.err
1575 if test -s conftest.err
; then
1576 grep -v '^ *+' conftest.err
>conftest.er1
1577 cat conftest.er1
>&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest
$ac_exeext && {
1585 test "$cross_compiling" = yes ||
1586 $as_test_x conftest
$ac_exeext
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.
$ac_ext >&5
1595 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1596 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1597 # interfere with the next link command; also delete a directory that is
1598 # left behind by Apple's compiler. We do this before executing the actions.
1599 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1600 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1601 as_fn_set_status
$ac_retval
1603 } # ac_fn_c_try_link
1605 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists and can be compiled using the include files in
1608 # INCLUDES, setting the cache variable VAR accordingly.
1609 ac_fn_c_check_header_compile
()
1611 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615 $as_echo_n "(cached) " >&6
1617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile
"$LINENO"; then :
1627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1634 } # ac_fn_c_check_header_compile
1636 # ac_fn_c_try_run LINENO
1637 # ----------------------
1638 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1639 # that executables *can* be run.
1642 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1643 if { { ac_try
="$ac_link"
1645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1646 *) ac_try_echo=$ac_try;;
1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649 $as_echo "$ac_try_echo"; } >&5
1650 (eval "$ac_link") 2>&5
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1654 { { case "(($ac_try" in
1655 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1656 *) ac_try_echo
=$ac_try;;
1658 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_try") 2>&5
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; }; }; then :
1666 $as_echo "$as_me: program exited with status $ac_status" >&5
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.
$ac_ext >&5
1670 ac_retval
=$ac_status
1672 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1674 as_fn_set_status
$ac_retval
1678 # ac_fn_c_check_func LINENO FUNC VAR
1679 # ----------------------------------
1680 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1681 ac_fn_c_check_func
()
1683 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1687 $as_echo_n "(cached) " >&6
1689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1691 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1693 #define $2 innocuous_$2
1695 /* System header to define __stub macros and hopefully few prototypes,
1696 which can conflict with char $2 (); below.
1697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1698 <limits.h> exists even on freestanding compilers. */
1701 # include <limits.h>
1703 # include <assert.h>
1708 /* Override any GCC internal prototype to avoid an error.
1709 Use char because int might match the return type of a GCC
1710 builtin and then its argument prototype would still apply. */
1715 /* The GNU C library defines this for functions which it implements
1716 to always fail with ENOSYS. Some functions are actually named
1717 something starting with __ and the normal name is an alias. */
1718 #if defined __stub_$2 || defined __stub___$2
1730 if ac_fn_c_try_link
"$LINENO"; then :
1735 rm -f core conftest.err conftest.
$ac_objext \
1736 conftest
$ac_exeext conftest.
$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1743 } # ac_fn_c_check_func
1745 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1748 # the include files in INCLUDES and setting the cache variable VAR
1750 ac_fn_c_check_header_mongrel
()
1752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1753 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755 $as_echo_n "checking for $2... " >&6; }
1756 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1757 $as_echo_n "(cached) " >&6
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1763 # Is the header compilable?
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1765 $as_echo_n "checking $2 usability... " >&6; }
1766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1771 if ac_fn_c_try_compile
"$LINENO"; then :
1772 ac_header_compiler
=yes
1774 ac_header_compiler
=no
1776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1778 $as_echo "$ac_header_compiler" >&6; }
1780 # Is the header present?
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1782 $as_echo_n "checking $2 presence... " >&6; }
1783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1787 if ac_fn_c_try_cpp
"$LINENO"; then :
1788 ac_header_preproc
=yes
1790 ac_header_preproc
=no
1792 rm -f conftest.err conftest.
$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1794 $as_echo "$ac_header_preproc" >&6; }
1796 # So? What about this header?
1797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1800 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1802 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1806 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1808 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1810 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1812 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1814 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1816 ## ------------------------------------------------------ ##
1817 ## Report this to png-mng-implement@lists.sourceforge.net ##
1818 ## ------------------------------------------------------ ##
1820 ) | sed "s/^/$as_me: WARNING: /" >&2
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1826 $as_echo_n "(cached) " >&6
1828 eval "$3=\$ac_header_compiler"
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1836 } # ac_fn_c_check_header_mongrel
1838 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1839 # -------------------------------------------
1840 # Tests whether TYPE exists after having included INCLUDES, setting cache
1841 # variable VAR accordingly.
1842 ac_fn_c_check_type
()
1844 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1848 $as_echo_n "(cached) " >&6
1851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1863 if ac_fn_c_try_compile
"$LINENO"; then :
1864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1876 if ac_fn_c_try_compile
"$LINENO"; then :
1881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1890 } # ac_fn_c_check_type
1891 cat >config.log
<<_ACEOF
1892 This file contains any messages produced by compilers while
1893 running configure, to aid debugging if configure makes a mistake.
1895 It was created by libpng $as_me 1.4.4, which was
1896 generated by GNU Autoconf 2.65. Invocation command line was
1908 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1909 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1910 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1911 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1912 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1914 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1915 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1917 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1918 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1919 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1920 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1921 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1922 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1923 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir
=.
1932 $as_echo "PATH: $as_dir"
1948 # Keep a trace of the command line.
1949 # Strip out --no-create and --no-recursion so they do not pile up.
1950 # Strip out --silent because we don't want to record it for future runs.
1951 # Also quote any args containing shell meta-characters.
1952 # Make two passes to allow for proper duplicate-argument suppression.
1956 ac_must_keep_next
=false
1962 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1964 | -silent | --silent | --silen | --sile | --sil)
1967 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1970 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1972 as_fn_append ac_configure_args1
" '$ac_arg'"
1973 if test $ac_must_keep_next = true
; then
1974 ac_must_keep_next
=false
# Got value, back to normal.
1977 *=* | --config-cache | -C | -disable-* | --disable-* \
1978 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1979 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1980 | -with-* | --with-* | -without-* | --without-* | --x)
1981 case "$ac_configure_args0 " in
1982 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1985 -* ) ac_must_keep_next
=true
;;
1988 as_fn_append ac_configure_args
" '$ac_arg'"
1993 { ac_configure_args0
=; unset ac_configure_args0
;}
1994 { ac_configure_args1
=; unset ac_configure_args1
;}
1996 # When interrupted or exit'd, cleanup temporary files, and complete
1997 # config.log. We remove comments because anyway the quotes in there
1998 # would cause problems or look ugly.
1999 # WARNING: Use '\'' to represent an apostrophe within the trap.
2000 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2001 trap 'exit_status=$?
2002 # Save into config.log some information that might help in debugging.
2007 ## ---------------- ##
2008 ## Cache variables. ##
2009 ## ---------------- ##
2012 # The following way of writing the cache mishandles newlines in values,
2014 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2015 eval ac_val=\$$ac_var
2019 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2020 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2023 _ | IFS | as_nl) ;; #(
2024 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2025 *) { eval $ac_var=; unset $ac_var;} ;;
2030 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2031 *${as_nl}ac_space=\ *)
2033 "s/'\''/'\''\\\\'\'''\''/g;
2034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2045 ## ----------------- ##
2046 ## Output variables. ##
2047 ## ----------------- ##
2050 for ac_var in $ac_subst_vars
2052 eval ac_val=\$$ac_var
2054 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056 $as_echo "$ac_var='\''$ac_val'\''"
2060 if test -n "$ac_subst_files"; then
2062 ## ------------------- ##
2063 ## File substitutions. ##
2064 ## ------------------- ##
2067 for ac_var
in $ac_subst_files
2069 eval ac_val
=\$
$ac_var
2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 $as_echo "$ac_var='\''$ac_val'\''"
2078 if test -s confdefs.h; then
2088 test "$ac_signal" != 0 &&
2089 $as_echo "$as_me: caught signal $ac_signal"
2090 $as_echo "$as_me: exit $exit_status"
2092 rm -f core *.core core.conftest.* &&
2093 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2096 for ac_signal
in 1 2 13 15; do
2097 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2101 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2102 rm -f -r conftest
* confdefs.h
2104 $as_echo "/* confdefs.h */" > confdefs.h
2106 # Predefined preprocessor variables.
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_NAME "$PACKAGE_NAME"
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2116 cat >>confdefs.h
<<_ACEOF
2117 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2120 cat >>confdefs.h
<<_ACEOF
2121 #define PACKAGE_STRING "$PACKAGE_STRING"
2124 cat >>confdefs.h
<<_ACEOF
2125 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2128 cat >>confdefs.h
<<_ACEOF
2129 #define PACKAGE_URL "$PACKAGE_URL"
2133 # Let the site file select an alternate cache file if it wants to.
2134 # Prefer an explicitly selected file to automatically selected ones.
2137 if test -n "$CONFIG_SITE"; then
2138 ac_site_file1
=$CONFIG_SITE
2139 elif test "x$prefix" != xNONE
; then
2140 ac_site_file1
=$prefix/share
/config.site
2141 ac_site_file2
=$prefix/etc
/config.site
2143 ac_site_file1
=$ac_default_prefix/share
/config.site
2144 ac_site_file2
=$ac_default_prefix/etc
/config.site
2146 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2148 test "x$ac_site_file" = xNONE
&& continue
2149 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2151 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2152 sed 's/^/| /' "$ac_site_file" >&5
2157 if test -r "$cache_file"; then
2158 # Some versions of bash will fail to source /dev/null (special files
2159 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2160 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2162 $as_echo "$as_me: loading cache $cache_file" >&6;}
2164 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2165 *) .
"./$cache_file";;
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2170 $as_echo "$as_me: creating cache $cache_file" >&6;}
2174 # Check that the precious variables saved in the cache have kept the same
2176 ac_cache_corrupted
=false
2177 for ac_var
in $ac_precious_vars; do
2178 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2179 eval ac_new_set
=\
$ac_env_${ac_var}_set
2180 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2181 eval ac_new_val
=\
$ac_env_${ac_var}_value
2182 case $ac_old_set,$ac_new_set in
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2185 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2186 ac_cache_corrupted
=: ;;
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2189 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2190 ac_cache_corrupted
=: ;;
2193 if test "x$ac_old_val" != "x$ac_new_val"; then
2194 # differences in whitespace do not lead to failure.
2195 ac_old_val_w
=`echo x $ac_old_val`
2196 ac_new_val_w
=`echo x $ac_new_val`
2197 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2199 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2200 ac_cache_corrupted
=:
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2203 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2204 eval $ac_var=\
$ac_old_val
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2207 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2209 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2212 # Pass precious variables to config.status.
2213 if test "$ac_new_set" = set; then
2215 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2216 *) ac_arg
=$ac_var=$ac_new_val ;;
2218 case " $ac_configure_args " in
2219 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2220 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2224 if $ac_cache_corrupted; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2228 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2229 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2231 ## -------------------- ##
2232 ## Main body of script. ##
2233 ## -------------------- ##
2236 ac_cpp
='$CPP $CPPFLAGS'
2237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2242 am__api_version
='1.11'
2245 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2246 for ac_t
in install-sh install.sh shtool
; do
2247 if test -f "$ac_dir/$ac_t"; then
2249 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2254 if test -z "$ac_aux_dir"; then
2255 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2258 # These three variables are undocumented and unsupported,
2259 # and are intended to be withdrawn in a future Autoconf release.
2260 # They can cause serious problems if a builder's source tree is in a directory
2261 # whose full name contains unusual characters.
2262 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2263 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2264 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2267 # Find a good install program. We prefer a C program (faster),
2268 # so one script is as good as another. But avoid the broken or
2269 # incompatible versions:
2270 # SysV /etc/install, /usr/sbin/install
2271 # SunOS /usr/etc/install
2272 # IRIX /sbin/install
2274 # AmigaOS /C/install, which installs bootblocks on floppy discs
2275 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2276 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2277 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2278 # OS/2's system install, which has a completely different semantic
2279 # ./install, which can be erroneously created by make from ./install.sh.
2280 # Reject install programs that cannot install multiple files.
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2282 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2283 if test -z "$INSTALL"; then
2284 if test "${ac_cv_path_install+set}" = set; then :
2285 $as_echo_n "(cached) " >&6
2287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir
=.
2292 # Account for people who put trailing slashes in PATH elements.
2293 case $as_dir/ in #((
2294 .
/ | .
// | /[cC
]/* | \
2295 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2296 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2299 # OSF1 and SCO ODT 3.0 have their own names for install.
2300 # Don't use installbsd from OSF since it installs stuff as root
2302 for ac_prog
in ginstall scoinst
install; do
2303 for ac_exec_ext
in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2305 if test $ac_prog = install &&
2306 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2307 # AIX install. It has an incompatible calling convention.
2309 elif test $ac_prog = install &&
2310 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2311 # program-specific install script used by HP pwplus--don't use.
2314 rm -rf conftest.one conftest.two conftest.dir
2315 echo one
> conftest.one
2316 echo two
> conftest.two
2318 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2319 test -s conftest.one
&& test -s conftest.two
&&
2320 test -s conftest.dir
/conftest.one
&&
2321 test -s conftest.dir
/conftest.two
2323 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2336 rm -rf conftest.one conftest.two conftest.dir
2339 if test "${ac_cv_path_install+set}" = set; then
2340 INSTALL
=$ac_cv_path_install
2342 # As a last resort, use the slow shell script. Don't cache a
2343 # value for INSTALL within a source directory, because that will
2344 # break other packages using the cache if that directory is
2345 # removed, or if the value is a relative name.
2346 INSTALL
=$ac_install_sh
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2350 $as_echo "$INSTALL" >&6; }
2352 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2353 # It thinks the first close brace ends the variable substitution.
2354 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2356 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2358 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2361 $as_echo_n "checking whether build environment is sane... " >&6; }
2364 echo timestamp
> conftest.
file
2365 # Reject unsafe characters in $srcdir or the absolute working directory
2366 # name. Accept space and tab only in the latter.
2370 *[\\\"\#\$\&\'\`$am_lf]*)
2371 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2374 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2375 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2378 # Do `set' in a subshell so we don't clobber the current shell's
2379 # arguments. Must try -L first in case configure is actually a
2380 # symlink; some systems play weird games with the mod time of symlinks
2381 # (eg FreeBSD returns the mod time of the symlink's containing
2384 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2385 if test "$*" = "X"; then
2387 set X
`ls -t "$srcdir/configure" conftest.file`
2390 if test "$*" != "X $srcdir/configure conftest.file" \
2391 && test "$*" != "X conftest.file $srcdir/configure"; then
2393 # If neither matched, then we have a broken ls. This can happen
2394 # if, for instance, CONFIG_SHELL is bash and it inherits a
2395 # broken ls alias from the environment. This has actually
2396 # happened. Such a system could not be considered "sane".
2397 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2398 alias in your environment" "$LINENO" 5
2401 test "$2" = conftest.
file
2407 as_fn_error
"newly created file is older than distributed files!
2408 Check your system clock" "$LINENO" 5
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2411 $as_echo "yes" >&6; }
2412 test "$program_prefix" != NONE
&&
2413 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2414 # Use a double $ so make ignores it.
2415 test "$program_suffix" != NONE
&&
2416 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2417 # Double any \ or $.
2418 # By default was `s,x,x', remove it if useless.
2419 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2420 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2422 # expand $ac_aux_dir to an absolute path
2423 am_aux_dir
=`cd $ac_aux_dir && pwd`
2425 if test x
"${MISSING+set}" != xset
; then
2428 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2430 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2433 # Use eval to expand $SHELL
2434 if eval "$MISSING --run true"; then
2435 am_missing_run
="$MISSING --run "
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2439 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2442 if test x
"${install_sh}" != xset
; then
2445 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2447 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2451 # Installed binaries are usually stripped using `strip' when the user
2452 # run `make install-strip'. However `strip' might not be the right
2453 # tool to use in cross-compilation environments, therefore Automake
2454 # will honor the `STRIP' environment variable to overrule this program.
2455 if test "$cross_compiling" != no
; then
2456 if test -n "$ac_tool_prefix"; then
2457 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2458 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2460 $as_echo_n "checking for $ac_word... " >&6; }
2461 if test "${ac_cv_prog_STRIP+set}" = set; then :
2462 $as_echo_n "(cached) " >&6
2464 if test -n "$STRIP"; then
2465 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir
=.
2472 for ac_exec_ext
in '' $ac_executable_extensions; do
2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2474 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 STRIP
=$ac_cv_prog_STRIP
2485 if test -n "$STRIP"; then
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2487 $as_echo "$STRIP" >&6; }
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2490 $as_echo "no" >&6; }
2495 if test -z "$ac_cv_prog_STRIP"; then
2497 # Extract the first word of "strip", so it can be a program name with args.
2498 set dummy strip
; ac_word
=$2
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2500 $as_echo_n "checking for $ac_word... " >&6; }
2501 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2502 $as_echo_n "(cached) " >&6
2504 if test -n "$ac_ct_STRIP"; then
2505 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 ac_cv_prog_ac_ct_STRIP
="strip"
2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2525 if test -n "$ac_ct_STRIP"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2527 $as_echo "$ac_ct_STRIP" >&6; }
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530 $as_echo "no" >&6; }
2533 if test "x$ac_ct_STRIP" = x
; then
2536 case $cross_compiling:$ac_tool_warned in
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2540 ac_tool_warned
=yes ;;
2545 STRIP
="$ac_cv_prog_STRIP"
2549 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2552 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2553 if test -z "$MKDIR_P"; then
2554 if test "${ac_cv_path_mkdir+set}" = set; then :
2555 $as_echo_n "(cached) " >&6
2557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2558 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2561 test -z "$as_dir" && as_dir
=.
2562 for ac_prog
in mkdir gmkdir
; do
2563 for ac_exec_ext
in '' $ac_executable_extensions; do
2564 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2565 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2566 'mkdir (GNU coreutils) '* | \
2567 'mkdir (coreutils) '* | \
2568 'mkdir (fileutils) '4.1*)
2569 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2579 test -d .
/--version && rmdir .
/--version
2580 if test "${ac_cv_path_mkdir+set}" = set; then
2581 MKDIR_P
="$ac_cv_path_mkdir -p"
2583 # As a last resort, use the slow shell script. Don't cache a
2584 # value for MKDIR_P within a source directory, because that will
2585 # break other packages using the cache if that directory is
2586 # removed, or if the value is a relative name.
2587 MKDIR_P
="$ac_install_sh -d"
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2591 $as_echo "$MKDIR_P" >&6; }
2595 [\\/$
]* | ?
:[\\/]*) ;;
2596 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2599 for ac_prog
in gawk mawk nawk
awk
2601 # Extract the first word of "$ac_prog", so it can be a program name with args.
2602 set dummy
$ac_prog; ac_word
=$2
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2604 $as_echo_n "checking for $ac_word... " >&6; }
2605 if test "${ac_cv_prog_AWK+set}" = set; then :
2606 $as_echo_n "(cached) " >&6
2608 if test -n "$AWK"; then
2609 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir
=.
2616 for ac_exec_ext
in '' $ac_executable_extensions; do
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618 ac_cv_prog_AWK
="$ac_prog"
2619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 if test -n "$AWK"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2631 $as_echo "$AWK" >&6; }
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634 $as_echo "no" >&6; }
2638 test -n "$AWK" && break
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2642 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2644 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2645 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then :
2646 $as_echo_n "(cached) " >&6
2648 cat >conftest.
make <<\_ACEOF
2651 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2653 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2654 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2656 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2658 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2662 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2664 $as_echo "yes" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2669 SET_MAKE
="MAKE=${MAKE-make}"
2672 rm -rf .tst
2>/dev
/null
2673 mkdir .tst
2>/dev
/null
2674 if test -d .tst
; then
2679 rmdir .tst
2>/dev
/null
2681 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2682 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2683 # is not polluted with repeated "-I."
2684 am__isrc
=' -I$(srcdir)'
2685 # test to see if srcdir already configured
2686 if test -f $srcdir/config.status
; then
2687 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2691 # test whether we have cygpath
2692 if test -z "$CYGPATH_W"; then
2693 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2694 CYGPATH_W
='cygpath -w'
2701 # Define the identity of the package.
2706 cat >>confdefs.h
<<_ACEOF
2707 #define PACKAGE "$PACKAGE"
2711 cat >>confdefs.h
<<_ACEOF
2712 #define VERSION "$VERSION"
2715 # Some tools Automake needs.
2717 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2720 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2723 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2726 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2729 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2731 # We need awk for the "check" target. The system "awk" is bad on
2733 # Always define AMTAR for backward compatibility.
2735 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2737 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2745 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2746 # Check whether --enable-maintainer-mode was given.
2747 if test "${enable_maintainer_mode+set}" = set; then :
2748 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2750 USE_MAINTAINER_MODE
=no
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2754 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2755 if test $USE_MAINTAINER_MODE = yes; then
2756 MAINTAINER_MODE_TRUE
=
2757 MAINTAINER_MODE_FALSE
='#'
2759 MAINTAINER_MODE_TRUE
='#'
2760 MAINTAINER_MODE_FALSE
=
2763 MAINT
=$MAINTAINER_MODE_TRUE
2767 PNGLIB_VERSION
=1.4.4
2774 ac_config_headers
="$ac_config_headers config.h"
2777 # Checks for programs.
2779 ac_cpp
='$CPP $CPPFLAGS'
2780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2783 if test -n "$ac_tool_prefix"; then
2784 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2785 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if test "${ac_cv_prog_CC+set}" = set; then :
2789 $as_echo_n "(cached) " >&6
2791 if test -n "$CC"; then
2792 ac_cv_prog_CC
="$CC" # Let the user override the test.
2794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir
=.
2799 for ac_exec_ext
in '' $ac_executable_extensions; do
2800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test -n "$CC"; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2814 $as_echo "$CC" >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2822 if test -z "$ac_cv_prog_CC"; then
2824 # Extract the first word of "gcc", so it can be a program name with args.
2825 set dummy gcc
; ac_word
=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$ac_ct_CC"; then
2832 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841 ac_cv_prog_ac_ct_CC
="gcc"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2852 if test -n "$ac_ct_CC"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2854 $as_echo "$ac_ct_CC" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2860 if test "x$ac_ct_CC" = x
; then
2863 case $cross_compiling:$ac_tool_warned in
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2867 ac_tool_warned
=yes ;;
2875 if test -z "$CC"; then
2876 if test -n "$ac_tool_prefix"; then
2877 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2878 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_prog_CC+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$CC"; then
2885 ac_cv_prog_CC
="$CC" # Let the user override the test.
2887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir
=.
2892 for ac_exec_ext
in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 if test -n "$CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2907 $as_echo "$CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2916 if test -z "$CC"; then
2917 # Extract the first word of "cc", so it can be a program name with args.
2918 set dummy cc
; ac_word
=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if test "${ac_cv_prog_CC+set}" = set; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$CC"; then
2925 ac_cv_prog_CC
="$CC" # Let the user override the test.
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2936 ac_prog_rejected
=yes
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 if test $ac_prog_rejected = yes; then
2948 # We found a bogon in the path, so make sure we never use it.
2949 set dummy
$ac_cv_prog_CC
2951 if test $# != 0; then
2952 # We chose a different compiler from the bogus one.
2953 # However, it has the same basename, so the bogon will be chosen
2954 # first if we set CC to just the basename; use the full file name.
2956 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2962 if test -n "$CC"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2964 $as_echo "$CC" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2972 if test -z "$CC"; then
2973 if test -n "$ac_tool_prefix"; then
2974 for ac_prog
in cl.exe
2976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2977 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979 $as_echo_n "checking for $ac_word... " >&6; }
2980 if test "${ac_cv_prog_CC+set}" = set; then :
2981 $as_echo_n "(cached) " >&6
2983 if test -n "$CC"; then
2984 ac_cv_prog_CC
="$CC" # Let the user override the test.
2986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir
=.
2991 for ac_exec_ext
in '' $ac_executable_extensions; do
2992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2993 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 if test -n "$CC"; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3006 $as_echo "$CC" >&6; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3013 test -n "$CC" && break
3016 if test -z "$CC"; then
3018 for ac_prog
in cl.exe
3020 # Extract the first word of "$ac_prog", so it can be a program name with args.
3021 set dummy
$ac_prog; ac_word
=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3025 $as_echo_n "(cached) " >&6
3027 if test -n "$ac_ct_CC"; then
3028 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir
=.
3035 for ac_exec_ext
in '' $ac_executable_extensions; do
3036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037 ac_cv_prog_ac_ct_CC
="$ac_prog"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3048 if test -n "$ac_ct_CC"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3050 $as_echo "$ac_ct_CC" >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3057 test -n "$ac_ct_CC" && break
3060 if test "x$ac_ct_CC" = x
; then
3063 case $cross_compiling:$ac_tool_warned in
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3067 ac_tool_warned
=yes ;;
3076 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 as_fn_error
"no acceptable C compiler found in \$PATH
3079 See \`config.log' for more details." "$LINENO" 5; }
3081 # Provide some information about the compiler.
3082 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3085 for ac_option
in --version -v -V -qversion; do
3086 { { ac_try
="$ac_compiler $ac_option >&5"
3088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3095 if test -s conftest.err; then
3097 ... rest of stderr output deleted ...
3098 10q' conftest.err >conftest.er1
3099 cat conftest.er1 >&5
3101 rm -f conftest.er1 conftest.err
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3117 ac_clean_files_save=$ac_clean_files
3118 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3119 # Try to create an executable without -o first, disregard a.out.
3120 # It will help us diagnose broken compilers, and finding out an intuition
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3123 $as_echo_n "checking whether the C compiler works... " >&6; }
3124 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3126 # The possible output files:
3127 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3130 for ac_file in $ac_files
3133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3134 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3139 if { { ac_try="$ac_link_default"
3141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3142 *) ac_try_echo
=$ac_try;;
3144 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145 $as_echo "$ac_try_echo"; } >&5
3146 (eval "$ac_link_default") 2>&5
3148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149 test $ac_status = 0; }; then :
3150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3153 # so that the user can short-circuit this test for compilers unknown to
3155 for ac_file
in $ac_files ''
3157 test -f "$ac_file" || continue
3159 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3162 # We found the default executable, but exeext='' is most
3166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3168 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3170 # We set ac_cv_exeext here because the later test for it is not
3171 # safe: cross compilers may not add the suffix if given an `-o'
3172 # argument, so we may need to know it at that point already.
3173 # Even if this section looks crufty: it has the advantage of
3180 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3185 if test -z "$ac_file"; then :
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 $as_echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.
$ac_ext >&5
3191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 { as_fn_set_status
77
3194 as_fn_error
"C compiler cannot create executables
3195 See \`config.log' for more details." "$LINENO" 5; }; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3198 $as_echo "yes" >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3201 $as_echo_n "checking for C compiler default output file name... " >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3203 $as_echo "$ac_file" >&6; }
3204 ac_exeext
=$ac_cv_exeext
3206 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3207 ac_clean_files
=$ac_clean_files_save
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3209 $as_echo_n "checking for suffix of executables... " >&6; }
3210 if { { ac_try
="$ac_link"
3212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_link") 2>&5
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }; then :
3221 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3222 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3223 # work properly (i.e., refer to `conftest.exe'), while it won't with
3225 for ac_file
in conftest.exe conftest conftest.
*; do
3226 test -f "$ac_file" || continue
3228 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3229 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3237 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3238 See \`config.log' for more details." "$LINENO" 5; }
3240 rm -f conftest conftest
$ac_cv_exeext
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3242 $as_echo "$ac_cv_exeext" >&6; }
3244 rm -f conftest.
$ac_ext
3245 EXEEXT
=$ac_cv_exeext
3247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3253 FILE *f = fopen ("conftest.out", "w");
3254 return ferror (f) || fclose (f) != 0;
3260 ac_clean_files
="$ac_clean_files conftest.out"
3261 # Check that the compiler produces executables we can run. If not, either
3262 # the compiler is broken, or we cross compile.
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3264 $as_echo_n "checking whether we are cross compiling... " >&6; }
3265 if test "$cross_compiling" != yes; then
3266 { { ac_try
="$ac_link"
3268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
3273 (eval "$ac_link") 2>&5
3275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3276 test $ac_status = 0; }
3277 if { ac_try='./conftest$ac_cv_exeext'
3278 { { case "(($ac_try" in
3279 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3280 *) ac_try_echo
=$ac_try;;
3282 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3283 $as_echo "$ac_try_echo"; } >&5
3284 (eval "$ac_try") 2>&5
3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3287 test $ac_status = 0; }; }; then
3290 if test "$cross_compiling" = maybe
; then
3293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error
"cannot run C compiled programs.
3296 If you meant to cross compile, use \`--host'.
3297 See \`config.log' for more details." "$LINENO" 5; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3302 $as_echo "$cross_compiling" >&6; }
3304 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3305 ac_clean_files
=$ac_clean_files_save
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3307 $as_echo_n "checking for suffix of object files... " >&6; }
3308 if test "${ac_cv_objext+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3322 rm -f conftest.o conftest.obj
3323 if { { ac_try
="$ac_compile"
3325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_compile") 2>&5
3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333 test $ac_status = 0; }; then :
3334 for ac_file in conftest.o conftest.obj conftest.*; do
3335 test -f "$ac_file" || continue;
3337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3338 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error "cannot compute suffix of object files
: cannot compile
3349 See \
`config.log' for more details." "$LINENO" 5; }
3351 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3354 $as_echo "$ac_cv_objext" >&6; }
3355 OBJEXT=$ac_cv_objext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3358 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3359 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3360 $as_echo_n "(cached) " >&6
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3376 if ac_fn_c_try_compile "$LINENO"; then :
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3386 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3387 if test $ac_compiler_gnu = yes; then
3392 ac_test_CFLAGS=${CFLAGS+set}
3393 ac_save_CFLAGS=$CFLAGS
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3395 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3396 if test "${ac_cv_prog_cc_g+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3399 ac_save_c_werror_flag=$ac_c_werror_flag
3400 ac_c_werror_flag=yes
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3414 if ac_fn_c_try_compile "$LINENO"; then :
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3429 if ac_fn_c_try_compile "$LINENO"; then :
3432 ac_c_werror_flag=$ac_save_c_werror_flag
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 if ac_fn_c_try_compile "$LINENO"; then :
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 ac_c_werror_flag=$ac_save_c_werror_flag
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3456 $as_echo "$ac_cv_prog_cc_g" >&6; }
3457 if test "$ac_test_CFLAGS" = set; then
3458 CFLAGS=$ac_save_CFLAGS
3459 elif test $ac_cv_prog_cc_g = yes; then
3460 if test "$GCC" = yes; then
3466 if test "$GCC" = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3473 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3474 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3475 $as_echo_n "(cached) " >&6
3477 ac_cv_prog_cc_c89=no
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3483 #include <sys/types.h>
3484 #include <sys/stat.h>
3485 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3486 struct buf { int x; };
3487 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3488 static char *e (p, i)
3494 static char *f (char * (*g) (char **, int), char **p, ...)
3499 s = g (p, va_arg (v,int));
3504 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3505 function prototypes and stuff, but not '\xHH' hex character constants.
3506 These don't provoke an error unfortunately, instead are silently treated
3507 as 'x'. The following induces an error, until -std is added to get
3508 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3509 array size at least. It's necessary to write '\x00'==0 to get something
3510 that's true only with -std. */
3511 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3513 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3514 inside strings and character constants. */
3516 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3518 int test (int i, double x);
3519 struct s1 {int (*f) (int a);};
3520 struct s2 {int (*f) (double a);};
3521 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3527 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3532 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3533 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3535 CC="$ac_save_CC $ac_arg"
3536 if ac_fn_c_try_compile "$LINENO"; then :
3537 ac_cv_prog_cc_c89=$ac_arg
3539 rm -f core conftest.err conftest.$ac_objext
3540 test "x$ac_cv_prog_cc_c89" != "xno" && break
3542 rm -f conftest.$ac_ext
3547 case "x$ac_cv_prog_cc_c89" in
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3550 $as_echo "none needed" >&6; } ;;
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3553 $as_echo "unsupported" >&6; } ;;
3555 CC="$CC $ac_cv_prog_cc_c89"
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3557 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3559 if test "x$ac_cv_prog_cc_c89" != xno; then :
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 DEPDIR="${am__leading_dot}deps"
3570 ac_config_commands="$ac_config_commands depfiles"
3573 am_make=${MAKE-make}
3574 cat > confinc << 'END'
3576 @echo this is the am__doit target
3579 # If we don't find an include directive, just comment out the code.
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3581 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3585 # First try GNU make style include.
3586 echo "include confinc" > confmf
3587 # Ignore all kinds of additional output from `make'.
3588 case `$am_make -s -f confmf 2> /dev/null` in #(
3589 *the\ am__doit\ target*)
3595 # Now try BSD make style include.
3596 if test "$am__include" = "#"; then
3597 echo '.include
"confinc"' > confmf
3598 case `$am_make -s -f confmf 2> /dev/null` in #(
3599 *the\ am__doit\ target*)
3600 am__include=.include
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3609 $as_echo "$_am_result" >&6; }
3610 rm -f confinc confmf
3612 # Check whether --enable-dependency-tracking was given.
3613 if test "${enable_dependency_tracking+set}" = set; then :
3614 enableval=$enable_dependency_tracking;
3617 if test "x$enable_dependency_tracking" != xno; then
3618 am_depcomp="$ac_aux_dir/depcomp"
3621 if test "x$enable_dependency_tracking" != xno
; then
3631 depcc
="$CC" am_compiler_list
=
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3634 $as_echo_n "checking dependency style of $depcc... " >&6; }
3635 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3636 $as_echo_n "(cached) " >&6
3638 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3639 # We make a subdir and do the tests there. Otherwise we can end up
3640 # making bogus files that we don't know about and never remove. For
3641 # instance it was reported that on HP-UX the gcc test will end up
3642 # making a dummy file named `D' -- because `-MD' means `put the output
3645 # Copy depcomp to subdir because otherwise we won't find it if we're
3646 # using a relative directory.
3647 cp "$am_depcomp" conftest.dir
3649 # We will build objects and dependencies in a subdirectory because
3650 # it helps to detect inapplicable dependency modes. For instance
3651 # both Tru64's cc and ICC support -MD to output dependencies as a
3652 # side effect of compilation, but ICC will put the dependencies in
3653 # the current directory while Tru64 will put them in the object
3657 am_cv_CC_dependencies_compiler_type
=none
3658 if test "$am_compiler_list" = ""; then
3659 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3662 case " $depcc " in #(
3663 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3666 for depmode
in $am_compiler_list; do
3667 # Setup a source with many dependencies, because some compilers
3668 # like to wrap large dependency lists on column 80 (with \), and
3669 # we should not choose a depcomp mode which is confused by this.
3671 # We need to recreate these files for each test, as the compiler may
3672 # overwrite some of them when testing with obscure command lines.
3673 # This happens at least with the AIX C compiler.
3675 for i
in 1 2 3 4 5 6; do
3676 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3677 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3678 # Solaris 8's {/usr,}/bin/sh.
3679 touch sub
/conftst
$i.h
3681 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3683 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3684 # mode. It turns out that the SunPro C++ compiler does not properly
3685 # handle `-M -o', and we need to detect this. Also, some Intel
3686 # versions had trouble with output in subdirs
3687 am__obj
=sub
/conftest.
${OBJEXT-o}
3688 am__minus_obj
="-o $am__obj"
3691 # This depmode causes a compiler race in universal mode.
3692 test "$am__universal" = false
|| continue
3695 # after this tag, mechanisms are not by side-effect, so they'll
3696 # only be used when explicitly requested
3697 if test "x$enable_dependency_tracking" = xyes
; then
3703 msvisualcpp
| msvcmsys
)
3704 # This compiler won't grok `-c -o', but also, the minuso test has
3705 # not run yet. These depmodes are late enough in the game, and
3706 # so weak that their functioning should not be impacted.
3707 am__obj
=conftest.
${OBJEXT-o}
3712 if depmode
=$depmode \
3713 source=sub
/conftest.c object
=$am__obj \
3714 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3715 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3716 >/dev
/null
2>conftest.err
&&
3717 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3718 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3719 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3720 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3721 # icc doesn't choke on unknown options, it will just issue warnings
3722 # or remarks (even with -Werror). So we grep stderr for any message
3723 # that says an option was ignored or not supported.
3724 # When given -MP, icc 7.0 and 7.1 complain thusly:
3725 # icc: Command line warning: ignoring option '-M'; no argument required
3726 # The diagnosis changed in icc 8.0:
3727 # icc: Command line remark: option '-MP' not supported
3728 if (grep 'ignoring option' conftest.err
||
3729 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3730 am_cv_CC_dependencies_compiler_type
=$depmode
3739 am_cv_CC_dependencies_compiler_type
=none
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3744 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3745 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3748 test "x$enable_dependency_tracking" != xno \
3749 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3751 am__fastdepCC_FALSE
='#'
3753 am__fastdepCC_TRUE
='#'
3754 am__fastdepCC_FALSE
=
3758 # Make sure we can run config.sub.
3759 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3760 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3763 $as_echo_n "checking build system type... " >&6; }
3764 if test "${ac_cv_build+set}" = set; then :
3765 $as_echo_n "(cached) " >&6
3767 ac_build_alias
=$build_alias
3768 test "x$ac_build_alias" = x
&&
3769 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3770 test "x$ac_build_alias" = x
&&
3771 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3772 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3773 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3777 $as_echo "$ac_cv_build" >&6; }
3778 case $ac_cv_build in
3780 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3783 ac_save_IFS
=$IFS; IFS
='-'
3789 # Remember, the first character of IFS is used to create $*,
3790 # except with old shells:
3793 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3797 $as_echo_n "checking host system type... " >&6; }
3798 if test "${ac_cv_host+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3801 if test "x$host_alias" = x
; then
3802 ac_cv_host
=$ac_cv_build
3804 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3805 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3810 $as_echo "$ac_cv_host" >&6; }
3813 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3816 ac_save_IFS
=$IFS; IFS
='-'
3822 # Remember, the first character of IFS is used to create $*,
3823 # except with old shells:
3826 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3830 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3831 if test "${ac_cv_path_SED+set}" = set; then :
3832 $as_echo_n "(cached) " >&6
3834 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3835 for ac_i
in 1 2 3 4 5 6 7; do
3836 ac_script
="$ac_script$as_nl$ac_script"
3838 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
3839 { ac_script
=; unset ac_script
;}
3840 if test -z "$SED"; then
3841 ac_path_SED_found
=false
3842 # Loop through the user's path and test for each of PROGNAME-LIST
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_prog
in sed gsed
; do
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3851 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3852 # Check for GNU ac_path_SED and select it if it is found.
3853 # Check for GNU $ac_path_SED
3854 case `"$ac_path_SED" --version 2>&1` in
3856 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3859 $as_echo_n 0123456789 >"conftest.in"
3862 cat "conftest.in" "conftest.in" >"conftest.tmp"
3863 mv "conftest.tmp" "conftest.in"
3864 cp "conftest.in" "conftest.nl"
3865 $as_echo '' >> "conftest.nl"
3866 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3867 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3868 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3869 if test $ac_count -gt ${ac_path_SED_max-0}; then
3870 # Best one so far, save it but keep looking for a better one
3871 ac_cv_path_SED
="$ac_path_SED"
3872 ac_path_SED_max
=$ac_count
3874 # 10*(2^10) chars as input seems more than enough
3875 test $ac_count -gt 10 && break
3877 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3880 $ac_path_SED_found && break 3
3885 if test -z "$ac_cv_path_SED"; then
3886 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3894 $as_echo "$ac_cv_path_SED" >&6; }
3895 SED
="$ac_cv_path_SED"
3898 test -z "$SED" && SED
=sed
3899 Xsed
="$SED -e 1s/^X//"
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3912 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3913 if test "${ac_cv_path_GREP+set}" = set; then :
3914 $as_echo_n "(cached) " >&6
3916 if test -z "$GREP"; then
3917 ac_path_GREP_found
=false
3918 # Loop through the user's path and test for each of PROGNAME-LIST
3919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3920 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3923 test -z "$as_dir" && as_dir
=.
3924 for ac_prog
in grep ggrep
; do
3925 for ac_exec_ext
in '' $ac_executable_extensions; do
3926 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3927 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3928 # Check for GNU ac_path_GREP and select it if it is found.
3929 # Check for GNU $ac_path_GREP
3930 case `"$ac_path_GREP" --version 2>&1` in
3932 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3935 $as_echo_n 0123456789 >"conftest.in"
3938 cat "conftest.in" "conftest.in" >"conftest.tmp"
3939 mv "conftest.tmp" "conftest.in"
3940 cp "conftest.in" "conftest.nl"
3941 $as_echo 'GREP' >> "conftest.nl"
3942 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3943 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3944 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3945 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3946 # Best one so far, save it but keep looking for a better one
3947 ac_cv_path_GREP
="$ac_path_GREP"
3948 ac_path_GREP_max
=$ac_count
3950 # 10*(2^10) chars as input seems more than enough
3951 test $ac_count -gt 10 && break
3953 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3956 $ac_path_GREP_found && break 3
3961 if test -z "$ac_cv_path_GREP"; then
3962 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3965 ac_cv_path_GREP
=$GREP
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3970 $as_echo "$ac_cv_path_GREP" >&6; }
3971 GREP
="$ac_cv_path_GREP"
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3975 $as_echo_n "checking for egrep... " >&6; }
3976 if test "${ac_cv_path_EGREP+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3979 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3980 then ac_cv_path_EGREP
="$GREP -E"
3982 if test -z "$EGREP"; then
3983 ac_path_EGREP_found
=false
3984 # Loop through the user's path and test for each of PROGNAME-LIST
3985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3986 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3989 test -z "$as_dir" && as_dir
=.
3990 for ac_prog
in egrep; do
3991 for ac_exec_ext
in '' $ac_executable_extensions; do
3992 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3993 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3994 # Check for GNU ac_path_EGREP and select it if it is found.
3995 # Check for GNU $ac_path_EGREP
3996 case `"$ac_path_EGREP" --version 2>&1` in
3998 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4001 $as_echo_n 0123456789 >"conftest.in"
4004 cat "conftest.in" "conftest.in" >"conftest.tmp"
4005 mv "conftest.tmp" "conftest.in"
4006 cp "conftest.in" "conftest.nl"
4007 $as_echo 'EGREP' >> "conftest.nl"
4008 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4009 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4010 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4011 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4012 # Best one so far, save it but keep looking for a better one
4013 ac_cv_path_EGREP
="$ac_path_EGREP"
4014 ac_path_EGREP_max
=$ac_count
4016 # 10*(2^10) chars as input seems more than enough
4017 test $ac_count -gt 10 && break
4019 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4022 $ac_path_EGREP_found && break 3
4027 if test -z "$ac_cv_path_EGREP"; then
4028 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4031 ac_cv_path_EGREP
=$EGREP
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4037 $as_echo "$ac_cv_path_EGREP" >&6; }
4038 EGREP
="$ac_cv_path_EGREP"
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4042 $as_echo_n "checking for fgrep... " >&6; }
4043 if test "${ac_cv_path_FGREP+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4046 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
4047 then ac_cv_path_FGREP
="$GREP -F"
4049 if test -z "$FGREP"; then
4050 ac_path_FGREP_found
=false
4051 # Loop through the user's path and test for each of PROGNAME-LIST
4052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4053 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4056 test -z "$as_dir" && as_dir
=.
4057 for ac_prog
in fgrep
; do
4058 for ac_exec_ext
in '' $ac_executable_extensions; do
4059 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4060 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4061 # Check for GNU ac_path_FGREP and select it if it is found.
4062 # Check for GNU $ac_path_FGREP
4063 case `"$ac_path_FGREP" --version 2>&1` in
4065 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4068 $as_echo_n 0123456789 >"conftest.in"
4071 cat "conftest.in" "conftest.in" >"conftest.tmp"
4072 mv "conftest.tmp" "conftest.in"
4073 cp "conftest.in" "conftest.nl"
4074 $as_echo 'FGREP' >> "conftest.nl"
4075 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4076 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4077 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4078 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4079 # Best one so far, save it but keep looking for a better one
4080 ac_cv_path_FGREP
="$ac_path_FGREP"
4081 ac_path_FGREP_max
=$ac_count
4083 # 10*(2^10) chars as input seems more than enough
4084 test $ac_count -gt 10 && break
4086 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4089 $ac_path_FGREP_found && break 3
4094 if test -z "$ac_cv_path_FGREP"; then
4095 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4098 ac_cv_path_FGREP
=$FGREP
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4104 $as_echo "$ac_cv_path_FGREP" >&6; }
4105 FGREP
="$ac_cv_path_FGREP"
4108 test -z "$GREP" && GREP
=grep
4126 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4127 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4128 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4131 $as_echo_n "checking how to print strings... " >&6; }
4132 # Test print first, because it will be a builtin if present.
4133 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4134 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4136 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4139 # Use this function as a fallback that always works.
4140 func_fallback_echo ()
4142 eval 'cat <<_LTECHO_EOF
4146 ECHO='func_fallback_echo
'
4149 # func_echo_all arg...
4150 # Invoke $ECHO with all args, space-separated.
4157 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4158 $as_echo "printf" >&6; } ;;
4159 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4160 $as_echo "print -r" >&6; } ;;
4161 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4162 $as_echo "cat" >&6; } ;;
4180 # Check whether --with-gnu-ld was given.
4181 if test "${with_gnu_ld+set}" = set; then :
4182 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4188 if test "$GCC" = yes; then
4189 # Check if gcc -print-prog-name=ld gives a path.
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4191 $as_echo_n "checking for ld used by $CC... " >&6; }
4194 # gcc leaves a trailing carriage return which upsets mingw
4195 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4197 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4200 # Accept absolute paths.
4202 re_direlt='/[^
/][^
/]*/\.\.
/'
4203 # Canonicalize the pathname of ld
4204 ac_prog=`$ECHO "$ac_prog"| $SED 's
%\\\\%/%g
'`
4205 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4206 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4208 test -z "$LD" && LD="$ac_prog"
4211 # If it fails, then pretend we aren't using GCC.
4215 # If it is relative, then search for the first ld in PATH.
4219 elif test "$with_gnu_ld" = yes; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4221 $as_echo_n "checking for GNU ld... " >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4224 $as_echo_n "checking for non-GNU ld... " >&6; }
4226 if test "${lt_cv_path_LD+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -z "$LD"; then
4230 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4231 for ac_dir
in $PATH; do
4233 test -z "$ac_dir" && ac_dir
=.
4234 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4235 lt_cv_path_LD
="$ac_dir/$ac_prog"
4236 # Check to see if the program is GNU ld. I'd rather use --version,
4237 # but apparently some variants of GNU ld only accept -v.
4238 # Break only if it was the GNU/non-GNU ld that we prefer.
4239 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4240 *GNU
* | *'with BFD'*)
4241 test "$with_gnu_ld" != no
&& break
4244 test "$with_gnu_ld" != yes && break
4251 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4256 if test -n "$LD"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4258 $as_echo "$LD" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4263 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4265 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4266 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4270 case `$LD -v 2>&1 </dev/null` in
4271 *GNU
* | *'with BFD'*)
4272 lt_cv_prog_gnu_ld
=yes
4275 lt_cv_prog_gnu_ld
=no
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4280 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4281 with_gnu_ld
=$lt_cv_prog_gnu_ld
4292 ac_cpp
='$CPP $CPPFLAGS'
4293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4297 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4298 # On Suns, sometimes $CPP names a directory.
4299 if test -n "$CPP" && test -d "$CPP"; then
4302 if test -z "$CPP"; then
4303 if test "${ac_cv_prog_CPP+set}" = set; then :
4304 $as_echo_n "(cached) " >&6
4306 # Double quotes because CPP needs to be expanded
4307 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4310 for ac_c_preproc_warn_flag
in '' yes
4312 # Use a header file that comes with gcc, so configuring glibc
4313 # with a fresh cross-compiler works.
4314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4315 # <limits.h> exists even on freestanding compilers.
4316 # On the NeXT, cc -E runs the code through the compiler's parser,
4317 # not just through cpp. "Syntax error" is here to catch this case.
4318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4321 # include <limits.h>
4323 # include <assert.h>
4327 if ac_fn_c_try_cpp
"$LINENO"; then :
4330 # Broken: fails on valid input.
4333 rm -f conftest.err conftest.
$ac_ext
4335 # OK, works on sane cases. Now check whether nonexistent headers
4336 # can be detected and how.
4337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4339 #include <ac_nonexistent.h>
4341 if ac_fn_c_try_cpp
"$LINENO"; then :
4342 # Broken: success on invalid input.
4345 # Passes both tests.
4349 rm -f conftest.err conftest.
$ac_ext
4352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4353 rm -f conftest.err conftest.
$ac_ext
4354 if $ac_preproc_ok; then :
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4367 $as_echo "$CPP" >&6; }
4369 for ac_c_preproc_warn_flag
in '' yes
4371 # Use a header file that comes with gcc, so configuring glibc
4372 # with a fresh cross-compiler works.
4373 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4374 # <limits.h> exists even on freestanding compilers.
4375 # On the NeXT, cc -E runs the code through the compiler's parser,
4376 # not just through cpp. "Syntax error" is here to catch this case.
4377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4380 # include <limits.h>
4382 # include <assert.h>
4386 if ac_fn_c_try_cpp
"$LINENO"; then :
4389 # Broken: fails on valid input.
4392 rm -f conftest.err conftest.
$ac_ext
4394 # OK, works on sane cases. Now check whether nonexistent headers
4395 # can be detected and how.
4396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4398 #include <ac_nonexistent.h>
4400 if ac_fn_c_try_cpp
"$LINENO"; then :
4401 # Broken: success on invalid input.
4404 # Passes both tests.
4408 rm -f conftest.err conftest.
$ac_ext
4411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4412 rm -f conftest.err conftest.
$ac_ext
4413 if $ac_preproc_ok; then :
4416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4418 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4419 See \`config.log' for more details." "$LINENO" 5; }
4423 ac_cpp
='$CPP $CPPFLAGS'
4424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4428 if test -n "$ac_tool_prefix"; then
4429 # Extract the first word of "${ac_tool_prefix}sed", so it can be a program name with args.
4430 set dummy
${ac_tool_prefix}sed; ac_word
=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if test "${ac_cv_prog_SED+set}" = set; then :
4434 $as_echo_n "(cached) " >&6
4436 if test -n "$SED"; then
4437 ac_cv_prog_SED
="$SED" # Let the user override the test.
4439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4443 test -z "$as_dir" && as_dir
=.
4444 for ac_exec_ext
in '' $ac_executable_extensions; do
4445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4446 ac_cv_prog_SED
="${ac_tool_prefix}sed"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 if test -n "$SED"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4459 $as_echo "$SED" >&6; }
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4467 if test -z "$ac_cv_prog_SED"; then
4469 # Extract the first word of "sed", so it can be a program name with args.
4470 set dummy
sed; ac_word
=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if test "${ac_cv_prog_ac_ct_SED+set}" = set; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -n "$ac_ct_SED"; then
4477 ac_cv_prog_ac_ct_SED
="$ac_ct_SED" # Let the user override the test.
4479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir
=.
4484 for ac_exec_ext
in '' $ac_executable_extensions; do
4485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486 ac_cv_prog_ac_ct_SED
="sed"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 ac_ct_SED
=$ac_cv_prog_ac_ct_SED
4497 if test -n "$ac_ct_SED"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_SED" >&5
4499 $as_echo "$ac_ct_SED" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4505 if test "x$ac_ct_SED" = x
; then
4508 case $cross_compiling:$ac_tool_warned in
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4512 ac_tool_warned
=yes ;;
4517 SED
="$ac_cv_prog_SED"
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4522 $as_echo_n "checking whether ln -s works... " >&6; }
4524 if test "$LN_S" = "ln -s"; then
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4526 $as_echo "yes" >&6; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4529 $as_echo "no, using $LN_S" >&6; }
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4533 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4535 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4536 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then :
4537 $as_echo_n "(cached) " >&6
4539 cat >conftest.
make <<\_ACEOF
4542 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4544 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4545 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4547 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4549 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4553 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4555 $as_echo "yes" >&6; }
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4559 $as_echo "no" >&6; }
4560 SET_MAKE
="MAKE=${MAKE-make}"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4566 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4571 macro_version
='2.2.10'
4572 macro_revision
='1.3175'
4586 ltmain
="$ac_aux_dir/ltmain.sh"
4588 # Backslashify metacharacters that are still active within
4589 # double-quoted strings.
4590 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4592 # Same as above, but do not quote variable references.
4593 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4595 # Sed substitution to delay expansion of an escaped shell variable in a
4596 # double_quote_subst'ed string.
4597 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4599 # Sed substitution to delay expansion of an escaped single quote.
4600 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4602 # Sed substitution to avoid accidental globbing in evaled expressions
4603 no_glob_subst
='s/\*/\\\*/g'
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4606 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4607 if test "${lt_cv_path_NM+set}" = set; then :
4608 $as_echo_n "(cached) " >&6
4610 if test -n "$NM"; then
4611 # Let the user override the test.
4614 lt_nm_to_check
="${ac_tool_prefix}nm"
4615 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4616 lt_nm_to_check
="$lt_nm_to_check nm"
4618 for lt_tmp_nm
in $lt_nm_to_check; do
4619 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4620 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4622 test -z "$ac_dir" && ac_dir
=.
4623 tmp_nm
="$ac_dir/$lt_tmp_nm"
4624 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4625 # Check to see if the nm accepts a BSD-compat flag.
4626 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4627 # nm: unknown option "B" ignored
4628 # Tru64's nm complains that /dev/null is an invalid object file
4629 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4630 */dev
/null
* | *'Invalid file or object type'*)
4631 lt_cv_path_NM
="$tmp_nm -B"
4635 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4637 lt_cv_path_NM
="$tmp_nm -p"
4641 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4642 continue # so that we can try to find one that supports BSD flags
4651 : ${lt_cv_path_NM=no}
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4655 $as_echo "$lt_cv_path_NM" >&6; }
4656 if test "$lt_cv_path_NM" != "no"; then
4659 # Didn't find any BSD compatible name lister, look for dumpbin.
4660 if test -n "$DUMPBIN"; then :
4661 # Let the user override the test.
4663 if test -n "$ac_tool_prefix"; then
4664 for ac_prog
in dumpbin
"link -dump"
4666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4667 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669 $as_echo_n "checking for $ac_word... " >&6; }
4670 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4671 $as_echo_n "(cached) " >&6
4673 if test -n "$DUMPBIN"; then
4674 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4680 test -z "$as_dir" && as_dir
=.
4681 for ac_exec_ext
in '' $ac_executable_extensions; do
4682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4683 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4693 DUMPBIN
=$ac_cv_prog_DUMPBIN
4694 if test -n "$DUMPBIN"; then
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4696 $as_echo "$DUMPBIN" >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699 $as_echo "no" >&6; }
4703 test -n "$DUMPBIN" && break
4706 if test -z "$DUMPBIN"; then
4707 ac_ct_DUMPBIN
=$DUMPBIN
4708 for ac_prog
in dumpbin
"link -dump"
4710 # Extract the first word of "$ac_prog", so it can be a program name with args.
4711 set dummy
$ac_prog; ac_word
=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4717 if test -n "$ac_ct_DUMPBIN"; then
4718 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4724 test -z "$as_dir" && as_dir
=.
4725 for ac_exec_ext
in '' $ac_executable_extensions; do
4726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4727 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4738 if test -n "$ac_ct_DUMPBIN"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4740 $as_echo "$ac_ct_DUMPBIN" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4747 test -n "$ac_ct_DUMPBIN" && break
4750 if test "x$ac_ct_DUMPBIN" = x
; then
4753 case $cross_compiling:$ac_tool_warned in
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4757 ac_tool_warned
=yes ;;
4759 DUMPBIN
=$ac_ct_DUMPBIN
4763 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4765 DUMPBIN
="$DUMPBIN -symbols"
4773 if test "$DUMPBIN" != ":"; then
4777 test -z "$NM" && NM
=nm
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4785 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4786 if test "${lt_cv_nm_interface+set}" = set; then :
4787 $as_echo_n "(cached) " >&6
4789 lt_cv_nm_interface
="BSD nm"
4790 echo "int some_variable = 0;" > conftest.
$ac_ext
4791 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4792 (eval "$ac_compile" 2>conftest.err
)
4793 cat conftest.err
>&5
4794 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4795 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4796 cat conftest.err
>&5
4797 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4798 cat conftest.out
>&5
4799 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4800 lt_cv_nm_interface
="MS dumpbin"
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4805 $as_echo "$lt_cv_nm_interface" >&6; }
4807 # find the maximum length of command line arguments
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4809 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4810 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4818 # On DJGPP, this test can blow up pretty badly due to problems in libc
4819 # (any single argument exceeding 2000 bytes causes a buffer overrun
4820 # during glob expansion). Even if it were fixed, the result of this
4821 # check would be larger than it should be.
4822 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4826 # Under GNU Hurd, this test is not required because there is
4827 # no limit to the length of command line arguments.
4828 # Libtool will interpret -1 as no limit whatsoever
4829 lt_cv_sys_max_cmd_len
=-1;
4832 cygwin
* | mingw
* | cegcc
*)
4833 # On Win9x/ME, this test blows up -- it succeeds, but takes
4834 # about 5 minutes as the teststring grows exponentially.
4835 # Worse, since 9x/ME are not pre-emptively multitasking,
4836 # you end up with a "frozen" computer, even though with patience
4837 # the test eventually succeeds (with a max line length of 256k).
4838 # Instead, let's just punt: use the minimum linelength reported by
4839 # all of the supported platforms: 8192 (on NT/2K/XP).
4840 lt_cv_sys_max_cmd_len
=8192;
4844 # On MiNT this can take a long time and run out of memory.
4845 lt_cv_sys_max_cmd_len
=8192;
4849 # On AmigaOS with pdksh, this test takes hours, literally.
4850 # So we just punt and use a minimum line length of 8192.
4851 lt_cv_sys_max_cmd_len
=8192;
4854 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4855 # This has been around since 386BSD, at least. Likely further.
4856 if test -x /sbin
/sysctl
; then
4857 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4858 elif test -x /usr
/sbin
/sysctl
; then
4859 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4861 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4863 # And add a safety zone
4864 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4865 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4869 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4870 lt_cv_sys_max_cmd_len
=196608
4874 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4875 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4876 # nice to cause kernel panics so lets avoid the loop below.
4877 # First set a reasonable default.
4878 lt_cv_sys_max_cmd_len
=16384
4880 if test -x /sbin
/sysconfig
; then
4881 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4882 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4887 lt_cv_sys_max_cmd_len
=102400
4889 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4890 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4891 if test -n "$kargmax"; then
4892 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4894 lt_cv_sys_max_cmd_len
=32768
4898 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4899 if test -n "$lt_cv_sys_max_cmd_len"; then
4900 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4901 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4903 # Make teststring a little bigger before we do anything with it.
4904 # a 1K string should be a reasonable start.
4905 for i
in 1 2 3 4 5 6 7 8 ; do
4906 teststring
=$teststring$teststring
4908 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4909 # If test is not a shell built-in, we'll probably end up computing a
4910 # maximum length that is only half of the actual maximum length, but
4912 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4913 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4914 test $i != 17 # 1/2 MB should be enough
4917 teststring
=$teststring$teststring
4919 # Only check the string length outside the loop.
4920 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4922 # Add a significant safety factor because C++ compilers can tack on
4923 # massive amounts of additional arguments before passing them to the
4924 # linker. It appears as though 1/2 is a usable value.
4925 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4932 if test -n $lt_cv_sys_max_cmd_len ; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4934 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4937 $as_echo "none" >&6; }
4939 max_cmd_len
=$lt_cv_sys_max_cmd_len
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4951 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4952 # Try some XSI features
4955 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4957 && eval 'test $(( 1 + 1 )) -eq 2 \
4958 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4961 $as_echo "$xsi_shell" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4965 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4967 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4969 && lt_shell_append
=yes
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4971 $as_echo "$lt_shell_append" >&6; }
4974 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4984 # test EBCDIC or ASCII
4985 case `echo X|tr X '\101'` in
4986 A
) # ASCII based system
4987 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4988 lt_SP2NL
='tr \040 \012'
4989 lt_NL2SP
='tr \015\012 \040\040'
4991 *) # EBCDIC based system
4992 lt_SP2NL
='tr \100 \n'
4993 lt_NL2SP
='tr \r\n \100\100'
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5006 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5007 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5008 $as_echo_n "(cached) " >&6
5010 lt_cv_ld_reload_flag
='-r'
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5013 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5014 reload_flag
=$lt_cv_ld_reload_flag
5015 case $reload_flag in
5017 *) reload_flag
=" $reload_flag" ;;
5019 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5022 if test "$GCC" = yes; then
5023 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5025 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5040 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$OBJDUMP"; then
5047 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 OBJDUMP
=$ac_cv_prog_OBJDUMP
5067 if test -n "$OBJDUMP"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5069 $as_echo "$OBJDUMP" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5077 if test -z "$ac_cv_prog_OBJDUMP"; then
5078 ac_ct_OBJDUMP
=$OBJDUMP
5079 # Extract the first word of "objdump", so it can be a program name with args.
5080 set dummy objdump
; ac_word
=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5084 $as_echo_n "(cached) " >&6
5086 if test -n "$ac_ct_OBJDUMP"; then
5087 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5096 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5107 if test -n "$ac_ct_OBJDUMP"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5109 $as_echo "$ac_ct_OBJDUMP" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5115 if test "x$ac_ct_OBJDUMP" = x
; then
5118 case $cross_compiling:$ac_tool_warned in
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned
=yes ;;
5124 OBJDUMP
=$ac_ct_OBJDUMP
5127 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5130 test -z "$OBJDUMP" && OBJDUMP
=objdump
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5138 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5139 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5140 $as_echo_n "(cached) " >&6
5142 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5143 lt_cv_file_magic_test_file
=
5144 lt_cv_deplibs_check_method
='unknown'
5145 # Need to set the preceding variable on all platforms that support
5146 # interlibrary dependencies.
5147 # 'none' -- dependencies not supported.
5148 # `unknown' -- same as none, but documents that we really don't know.
5149 # 'pass_all' -- all dependencies passed with no checks.
5150 # 'test_compile' -- check by making test program.
5151 # 'file_magic [[regex]]' -- check by looking for files in library path
5152 # which responds to the $file_magic_cmd with a given extended regex.
5153 # If you have `file' or equivalent on your system and you're not sure
5154 # whether `pass_all' will *always* work, you probably want this one.
5158 lt_cv_deplibs_check_method
=pass_all
5162 lt_cv_deplibs_check_method
=pass_all
5166 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5167 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5168 lt_cv_file_magic_test_file
=/shlib
/libc.so
5172 # func_win32_libid is a shell function defined in ltmain.sh
5173 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5174 lt_cv_file_magic_cmd
='func_win32_libid'
5178 # Base MSYS/MinGW do not provide the 'file' command needed by
5179 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5180 # unless we find 'file', for example because we are cross-compiling.
5181 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5182 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5183 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5184 lt_cv_file_magic_cmd
='func_win32_libid'
5186 # Keep this pattern in sync with the one in func_win32_libid.
5187 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5188 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5193 # use the weaker test based on 'objdump'. See mingw*.
5194 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5195 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5198 darwin
* | rhapsody
*)
5199 lt_cv_deplibs_check_method
=pass_all
5202 freebsd
* | dragonfly
*)
5203 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5206 # Not sure whether the presence of OpenBSD here was a mistake.
5207 # Let's accept both of them until this is cleared up.
5208 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5209 lt_cv_file_magic_cmd
=/usr
/bin
/file
5210 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5214 lt_cv_deplibs_check_method
=pass_all
5219 lt_cv_deplibs_check_method
=pass_all
5223 lt_cv_deplibs_check_method
=pass_all
5226 hpux10.20
* | hpux11
*)
5227 lt_cv_file_magic_cmd
=/usr
/bin
/file
5230 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5231 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5234 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]'
5235 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5238 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5239 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5245 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5246 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5249 irix5
* | irix6
* | nonstopux
*)
5251 *-32|*"-32 ") libmagic
=32-bit;;
5252 *-n32|*"-n32 ") libmagic
=N32
;;
5253 *-64|*"-64 ") libmagic
=64-bit;;
5254 *) libmagic
=never
-match;;
5256 lt_cv_deplibs_check_method
=pass_all
5259 # This must be Linux ELF.
5260 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5261 lt_cv_deplibs_check_method
=pass_all
5265 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5266 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5268 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5273 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5274 lt_cv_file_magic_cmd
=/usr
/bin
/file
5275 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5279 lt_cv_deplibs_check_method
=pass_all
5283 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5284 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5286 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5290 osf3
* | osf4
* | osf5
*)
5291 lt_cv_deplibs_check_method
=pass_all
5295 lt_cv_deplibs_check_method
=pass_all
5299 lt_cv_deplibs_check_method
=pass_all
5302 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5303 lt_cv_deplibs_check_method
=pass_all
5307 case $host_vendor in
5309 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]'
5310 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5313 lt_cv_deplibs_check_method
=pass_all
5316 lt_cv_file_magic_cmd
='/bin/file'
5317 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5320 lt_cv_file_magic_cmd
='/bin/file'
5321 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5322 lt_cv_file_magic_test_file
=/lib
/libc.so
5325 lt_cv_deplibs_check_method
=pass_all
5328 lt_cv_deplibs_check_method
=pass_all
5334 lt_cv_deplibs_check_method
=pass_all
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5340 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5341 file_magic_cmd
=$lt_cv_file_magic_cmd
5342 deplibs_check_method
=$lt_cv_deplibs_check_method
5343 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5356 if test -n "$ac_tool_prefix"; then
5357 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5358 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360 $as_echo_n "checking for $ac_word... " >&6; }
5361 if test "${ac_cv_prog_AR+set}" = set; then :
5362 $as_echo_n "(cached) " >&6
5364 if test -n "$AR"; then
5365 ac_cv_prog_AR
="$AR" # Let the user override the test.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 if test -n "$AR"; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5387 $as_echo "$AR" >&6; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390 $as_echo "no" >&6; }
5395 if test -z "$ac_cv_prog_AR"; then
5397 # Extract the first word of "ar", so it can be a program name with args.
5398 set dummy
ar; ac_word
=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5402 $as_echo_n "(cached) " >&6
5404 if test -n "$ac_ct_AR"; then
5405 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir
=.
5412 for ac_exec_ext
in '' $ac_executable_extensions; do
5413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5414 ac_cv_prog_ac_ct_AR
="ar"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5425 if test -n "$ac_ct_AR"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5427 $as_echo "$ac_ct_AR" >&6; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5433 if test "x$ac_ct_AR" = x
; then
5436 case $cross_compiling:$ac_tool_warned in
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5440 ac_tool_warned
=yes ;;
5448 test -z "$AR" && AR
=ar
5449 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5461 if test -n "$ac_tool_prefix"; then
5462 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5463 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if test "${ac_cv_prog_STRIP+set}" = set; then :
5467 $as_echo_n "(cached) " >&6
5469 if test -n "$STRIP"; then
5470 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5476 test -z "$as_dir" && as_dir
=.
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5479 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 STRIP
=$ac_cv_prog_STRIP
5490 if test -n "$STRIP"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5492 $as_echo "$STRIP" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5500 if test -z "$ac_cv_prog_STRIP"; then
5502 # Extract the first word of "strip", so it can be a program name with args.
5503 set dummy strip
; ac_word
=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5507 $as_echo_n "(cached) " >&6
5509 if test -n "$ac_ct_STRIP"; then
5510 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5516 test -z "$as_dir" && as_dir
=.
5517 for ac_exec_ext
in '' $ac_executable_extensions; do
5518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5519 ac_cv_prog_ac_ct_STRIP
="strip"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5530 if test -n "$ac_ct_STRIP"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5532 $as_echo "$ac_ct_STRIP" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5538 if test "x$ac_ct_STRIP" = x
; then
5541 case $cross_compiling:$ac_tool_warned in
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545 ac_tool_warned
=yes ;;
5550 STRIP
="$ac_cv_prog_STRIP"
5553 test -z "$STRIP" && STRIP
=:
5560 if test -n "$ac_tool_prefix"; then
5561 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5562 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5566 $as_echo_n "(cached) " >&6
5568 if test -n "$RANLIB"; then
5569 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir
=.
5576 for ac_exec_ext
in '' $ac_executable_extensions; do
5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5578 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 RANLIB
=$ac_cv_prog_RANLIB
5589 if test -n "$RANLIB"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5591 $as_echo "$RANLIB" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5599 if test -z "$ac_cv_prog_RANLIB"; then
5600 ac_ct_RANLIB
=$RANLIB
5601 # Extract the first word of "ranlib", so it can be a program name with args.
5602 set dummy ranlib
; ac_word
=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5606 $as_echo_n "(cached) " >&6
5608 if test -n "$ac_ct_RANLIB"; then
5609 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5629 if test -n "$ac_ct_RANLIB"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5631 $as_echo "$ac_ct_RANLIB" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5637 if test "x$ac_ct_RANLIB" = x
; then
5640 case $cross_compiling:$ac_tool_warned in
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5644 ac_tool_warned
=yes ;;
5646 RANLIB
=$ac_ct_RANLIB
5649 RANLIB
="$ac_cv_prog_RANLIB"
5652 test -z "$RANLIB" && RANLIB
=:
5659 # Determine commands to create old-style static archives.
5660 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5661 old_postinstall_cmds
='chmod 644 $oldlib'
5662 old_postuninstall_cmds
=
5664 if test -n "$RANLIB"; then
5667 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5670 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5673 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5678 lock_old_archive_extraction
=yes ;;
5680 lock_old_archive_extraction
=no
;;
5721 # If no C compiler was specified, use CC.
5724 # If no C compiler flags were specified, use CFLAGS.
5725 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5727 # Allow CC to be a program name with arguments.
5731 # Check for command to grab the raw symbol name followed by C symbol from nm.
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5733 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5734 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5735 $as_echo_n "(cached) " >&6
5738 # These are sane defaults that work on at least a few old systems.
5739 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5741 # Character class describing NM global symbol codes.
5742 symcode
='[BCDEGRST]'
5744 # Regexp to match symbols that can be accessed directly from C.
5745 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5747 # Define system-specific variables.
5752 cygwin
* | mingw
* | pw32
* | cegcc
*)
5753 symcode
='[ABCDGISTW]'
5756 if test "$host_cpu" = ia64
; then
5757 symcode
='[ABCDEGRST]'
5761 symcode
='[BCDEGRST]'
5764 symcode
='[BCDEGQRST]'
5775 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5783 # If we're using GNU nm, then use its standard symbol codes.
5784 case `$NM -V 2>&1` in
5785 *GNU
* | *'with BFD'*)
5786 symcode
='[ABCDGIRSTW]' ;;
5789 # Transform an extracted symbol line into a proper C declaration.
5790 # Some systems (esp. on ia64) link data and code symbols differently,
5791 # so use this general approach.
5792 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5794 # Transform an extracted symbol line into symbol name and symbol address
5795 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5796 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5798 # Handle CRLF in mingw tool chain
5802 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5806 # Try without a prefix underscore, then with it.
5807 for ac_symprfx
in "" "_"; do
5809 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5810 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5812 # Write the raw and C identifiers.
5813 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5814 # Fake it for dumpbin and say T for any non-static function
5815 # and D for any global variable.
5816 # Also find C++ and __fastcall symbols from MSVC++,
5817 # which start with @ or ?.
5818 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5819 " {last_section=section; section=\$ 3};"\
5820 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5821 " \$ 0!~/External *\|/{next};"\
5822 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5823 " {if(hide[section]) next};"\
5824 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5825 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5826 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5827 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5828 " ' prfx=^$ac_symprfx"
5830 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5833 # Check to see that the pipe works correctly.
5837 cat > conftest.
$ac_ext <<_LT_EOF
5842 void nm_test_func(void);
5843 void nm_test_func(void){}
5847 int main(){nm_test_var='a';nm_test_func();return(0);}
5850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5851 (eval $ac_compile) 2>&5
5853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5854 test $ac_status = 0; }; then
5855 # Now try to grab the symbols.
5857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5858 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5861 test $ac_status = 0; } && test -s "$nlist"; then
5862 # Try sorting and uniquifying the output.
5863 if sort "$nlist" | uniq > "$nlist"T
; then
5864 mv -f "$nlist"T
"$nlist"
5869 # Make sure that we snagged all the symbols we need.
5870 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5871 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5872 cat <<_LT_EOF > conftest.$ac_ext
5878 # Now generate the symbol file.
5879 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5881 cat <<_LT_EOF >> conftest.$ac_ext
5883 /* The mapping between symbol names and symbols. */
5888 lt__PROGRAM__LTX_preloaded_symbols[] =
5890 { "@PROGRAM@", (void *) 0 },
5892 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5893 cat <<\_LT_EOF
>> conftest.
$ac_ext
5897 /* This works around a problem
in FreeBSD linker
*/
5898 #ifdef FREEBSD_WORKAROUND
5899 static const void
*lt_preloaded_setup
() {
5900 return lt__PROGRAM__LTX_preloaded_symbols
;
5908 # Now try linking the two files.
5909 mv conftest.
$ac_objext conftstm.
$ac_objext
5910 lt_save_LIBS
="$LIBS"
5911 lt_save_CFLAGS
="$CFLAGS"
5912 LIBS
="conftstm.$ac_objext"
5913 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5915 (eval $ac_link) 2>&5
5917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5918 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5921 LIBS
="$lt_save_LIBS"
5922 CFLAGS
="$lt_save_CFLAGS"
5924 echo "cannot find nm_test_func in $nlist" >&5
5927 echo "cannot find nm_test_var in $nlist" >&5
5930 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5933 echo "$progname: failed program was:" >&5
5934 cat conftest.
$ac_ext >&5
5936 rm -rf conftest
* conftst
*
5938 # Do not use the global_symbol_pipe unless it works.
5939 if test "$pipe_works" = yes; then
5942 lt_cv_sys_global_symbol_pipe
=
5948 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5949 lt_cv_sys_global_symbol_to_cdecl
=
5951 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5953 $as_echo "failed" >&6; }
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5956 $as_echo "ok" >&6; }
5981 # Check whether --enable-libtool-lock was given.
5982 if test "${enable_libtool_lock+set}" = set; then :
5983 enableval
=$enable_libtool_lock;
5986 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5988 # Some flags need to be propagated to the compiler or linker for good
5992 # Find out which ABI we are using.
5993 echo 'int i;' > conftest.
$ac_ext
5994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5995 (eval $ac_compile) 2>&5
5997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5998 test $ac_status = 0; }; then
5999 case `/usr/bin/file conftest.$ac_objext` in
6011 # Find out which ABI we are using.
6012 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6014 (eval $ac_compile) 2>&5
6016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6017 test $ac_status = 0; }; then
6018 if test "$lt_cv_prog_gnu_ld" = yes; then
6019 case `/usr/bin/file conftest.$ac_objext` in
6021 LD
="${LD-ld} -melf32bsmip"
6024 LD
="${LD-ld} -melf32bmipn32"
6027 LD
="${LD-ld} -melf64bmip"
6031 case `/usr/bin/file conftest.$ac_objext` in
6047 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6048 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6049 # Find out which ABI we are using.
6050 echo 'int i;' > conftest.
$ac_ext
6051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6052 (eval $ac_compile) 2>&5
6054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6055 test $ac_status = 0; }; then
6056 case `/usr/bin/file conftest.o` in
6059 x86_64
-*kfreebsd
*-gnu)
6060 LD
="${LD-ld} -m elf_i386_fbsd"
6063 LD
="${LD-ld} -m elf_i386"
6065 ppc64
-*linux
*|powerpc64
-*linux
*)
6066 LD
="${LD-ld} -m elf32ppclinux"
6069 LD
="${LD-ld} -m elf_s390"
6072 LD
="${LD-ld} -m elf32_sparc"
6078 x86_64
-*kfreebsd
*-gnu)
6079 LD
="${LD-ld} -m elf_x86_64_fbsd"
6082 LD
="${LD-ld} -m elf_x86_64"
6084 ppc
*-*linux
*|powerpc
*-*linux
*)
6085 LD
="${LD-ld} -m elf64ppc"
6087 s390
*-*linux
*|s390
*-*tpf
*)
6088 LD
="${LD-ld} -m elf64_s390"
6091 LD
="${LD-ld} -m elf64_sparc"
6101 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6102 SAVE_CFLAGS
="$CFLAGS"
6103 CFLAGS
="$CFLAGS -belf"
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6105 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6106 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6107 $as_echo_n "(cached) " >&6
6110 ac_cpp
='$CPP $CPPFLAGS'
6111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6126 if ac_fn_c_try_link
"$LINENO"; then :
6127 lt_cv_cc_needs_belf
=yes
6129 lt_cv_cc_needs_belf
=no
6131 rm -f core conftest.err conftest.
$ac_objext \
6132 conftest
$ac_exeext conftest.
$ac_ext
6134 ac_cpp
='$CPP $CPPFLAGS'
6135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6141 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6142 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6143 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6144 CFLAGS
="$SAVE_CFLAGS"
6148 # Find out which ABI we are using.
6149 echo 'int i;' > conftest.
$ac_ext
6150 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6151 (eval $ac_compile) 2>&5
6153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6154 test $ac_status = 0; }; then
6155 case `/usr/bin/file conftest.o` in
6157 case $lt_cv_prog_gnu_ld in
6158 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6160 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6172 need_locks
="$enable_libtool_lock"
6176 rhapsody
* | darwin
*)
6177 if test -n "$ac_tool_prefix"; then
6178 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6179 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181 $as_echo_n "checking for $ac_word... " >&6; }
6182 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6183 $as_echo_n "(cached) " >&6
6185 if test -n "$DSYMUTIL"; then
6186 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6192 test -z "$as_dir" && as_dir
=.
6193 for ac_exec_ext
in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6195 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6206 if test -n "$DSYMUTIL"; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6208 $as_echo "$DSYMUTIL" >&6; }
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 $as_echo "no" >&6; }
6216 if test -z "$ac_cv_prog_DSYMUTIL"; then
6217 ac_ct_DSYMUTIL
=$DSYMUTIL
6218 # Extract the first word of "dsymutil", so it can be a program name with args.
6219 set dummy dsymutil
; ac_word
=$2
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221 $as_echo_n "checking for $ac_word... " >&6; }
6222 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6223 $as_echo_n "(cached) " >&6
6225 if test -n "$ac_ct_DSYMUTIL"; then
6226 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6232 test -z "$as_dir" && as_dir
=.
6233 for ac_exec_ext
in '' $ac_executable_extensions; do
6234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6235 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6246 if test -n "$ac_ct_DSYMUTIL"; then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6248 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6251 $as_echo "no" >&6; }
6254 if test "x$ac_ct_DSYMUTIL" = x
; then
6257 case $cross_compiling:$ac_tool_warned in
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6261 ac_tool_warned
=yes ;;
6263 DSYMUTIL
=$ac_ct_DSYMUTIL
6266 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6269 if test -n "$ac_tool_prefix"; then
6270 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6271 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6275 $as_echo_n "(cached) " >&6
6277 if test -n "$NMEDIT"; then
6278 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir
=.
6285 for ac_exec_ext
in '' $ac_executable_extensions; do
6286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 NMEDIT
=$ac_cv_prog_NMEDIT
6298 if test -n "$NMEDIT"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6300 $as_echo "$NMEDIT" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6308 if test -z "$ac_cv_prog_NMEDIT"; then
6309 ac_ct_NMEDIT
=$NMEDIT
6310 # Extract the first word of "nmedit", so it can be a program name with args.
6311 set dummy nmedit
; ac_word
=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6315 $as_echo_n "(cached) " >&6
6317 if test -n "$ac_ct_NMEDIT"; then
6318 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6324 test -z "$as_dir" && as_dir
=.
6325 for ac_exec_ext
in '' $ac_executable_extensions; do
6326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6327 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6338 if test -n "$ac_ct_NMEDIT"; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6340 $as_echo "$ac_ct_NMEDIT" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6346 if test "x$ac_ct_NMEDIT" = x
; then
6349 case $cross_compiling:$ac_tool_warned in
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353 ac_tool_warned
=yes ;;
6355 NMEDIT
=$ac_ct_NMEDIT
6358 NMEDIT
="$ac_cv_prog_NMEDIT"
6361 if test -n "$ac_tool_prefix"; then
6362 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6363 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 $as_echo_n "checking for $ac_word... " >&6; }
6366 if test "${ac_cv_prog_LIPO+set}" = set; then :
6367 $as_echo_n "(cached) " >&6
6369 if test -n "$LIPO"; then
6370 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir
=.
6377 for ac_exec_ext
in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 LIPO
=$ac_cv_prog_LIPO
6390 if test -n "$LIPO"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6392 $as_echo "$LIPO" >&6; }
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6400 if test -z "$ac_cv_prog_LIPO"; then
6402 # Extract the first word of "lipo", so it can be a program name with args.
6403 set dummy lipo
; ac_word
=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405 $as_echo_n "checking for $ac_word... " >&6; }
6406 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6407 $as_echo_n "(cached) " >&6
6409 if test -n "$ac_ct_LIPO"; then
6410 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir
=.
6417 for ac_exec_ext
in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_prog_ac_ct_LIPO
="lipo"
6420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6430 if test -n "$ac_ct_LIPO"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6432 $as_echo "$ac_ct_LIPO" >&6; }
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6438 if test "x$ac_ct_LIPO" = x
; then
6441 case $cross_compiling:$ac_tool_warned in
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6445 ac_tool_warned
=yes ;;
6450 LIPO
="$ac_cv_prog_LIPO"
6453 if test -n "$ac_tool_prefix"; then
6454 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6455 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6459 $as_echo_n "(cached) " >&6
6461 if test -n "$OTOOL"; then
6462 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir
=.
6469 for ac_exec_ext
in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 OTOOL
=$ac_cv_prog_OTOOL
6482 if test -n "$OTOOL"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6484 $as_echo "$OTOOL" >&6; }
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6492 if test -z "$ac_cv_prog_OTOOL"; then
6494 # Extract the first word of "otool", so it can be a program name with args.
6495 set dummy otool
; ac_word
=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6499 $as_echo_n "(cached) " >&6
6501 if test -n "$ac_ct_OTOOL"; then
6502 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir
=.
6509 for ac_exec_ext
in '' $ac_executable_extensions; do
6510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6511 ac_cv_prog_ac_ct_OTOOL
="otool"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6522 if test -n "$ac_ct_OTOOL"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6524 $as_echo "$ac_ct_OTOOL" >&6; }
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6530 if test "x$ac_ct_OTOOL" = x
; then
6533 case $cross_compiling:$ac_tool_warned in
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6537 ac_tool_warned
=yes ;;
6542 OTOOL
="$ac_cv_prog_OTOOL"
6545 if test -n "$ac_tool_prefix"; then
6546 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6547 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6551 $as_echo_n "(cached) " >&6
6553 if test -n "$OTOOL64"; then
6554 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir
=.
6561 for ac_exec_ext
in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 OTOOL64
=$ac_cv_prog_OTOOL64
6574 if test -n "$OTOOL64"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6576 $as_echo "$OTOOL64" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6584 if test -z "$ac_cv_prog_OTOOL64"; then
6585 ac_ct_OTOOL64
=$OTOOL64
6586 # Extract the first word of "otool64", so it can be a program name with args.
6587 set dummy otool64
; ac_word
=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6591 $as_echo_n "(cached) " >&6
6593 if test -n "$ac_ct_OTOOL64"; then
6594 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6600 test -z "$as_dir" && as_dir
=.
6601 for ac_exec_ext
in '' $ac_executable_extensions; do
6602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6603 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6614 if test -n "$ac_ct_OTOOL64"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6616 $as_echo "$ac_ct_OTOOL64" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6622 if test "x$ac_ct_OTOOL64" = x
; then
6625 case $cross_compiling:$ac_tool_warned in
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6629 ac_tool_warned
=yes ;;
6631 OTOOL64
=$ac_ct_OTOOL64
6634 OTOOL64
="$ac_cv_prog_OTOOL64"
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6664 $as_echo_n "checking for -single_module linker flag... " >&6; }
6665 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6668 lt_cv_apple_cc_single_mod
=no
6669 if test -z "${LT_MULTI_MODULE}"; then
6670 # By default we will add the -single_module flag. You can override
6671 # by either setting the environment variable LT_MULTI_MODULE
6672 # non-empty at configure time, or by adding -multi_module to the
6674 rm -rf libconftest.dylib
*
6675 echo "int foo(void){return 1;}" > conftest.c
6676 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6677 -dynamiclib -Wl,-single_module conftest.c" >&5
6678 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6679 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6681 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
6682 lt_cv_apple_cc_single_mod
=yes
6684 cat conftest.err
>&5
6686 rm -rf libconftest.dylib
*
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6691 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6693 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6694 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6695 $as_echo_n "(cached) " >&6
6697 lt_cv_ld_exported_symbols_list
=no
6698 save_LDFLAGS
=$LDFLAGS
6699 echo "_main" > conftest.sym
6700 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6712 if ac_fn_c_try_link
"$LINENO"; then :
6713 lt_cv_ld_exported_symbols_list
=yes
6715 lt_cv_ld_exported_symbols_list
=no
6717 rm -f core conftest.err conftest.
$ac_objext \
6718 conftest
$ac_exeext conftest.
$ac_ext
6719 LDFLAGS
="$save_LDFLAGS"
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6723 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6725 $as_echo_n "checking for -force_load linker flag... " >&6; }
6726 if test "${lt_cv_ld_force_load+set}" = set; then :
6727 $as_echo_n "(cached) " >&6
6729 lt_cv_ld_force_load
=no
6730 cat > conftest.c
<< _LT_EOF
6731 int forced_loaded() { return 2;}
6733 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6734 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6735 echo "$AR cru libconftest.a conftest.o" >&5
6736 $AR cru libconftest.a conftest.o
2>&5
6737 echo "$RANLIB libconftest.a" >&5
6738 $RANLIB libconftest.a
2>&5
6739 cat > conftest.c
<< _LT_EOF
6740 int main() { return 0;}
6742 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6743 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6745 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
6746 lt_cv_ld_force_load
=yes
6748 cat conftest.err
>&5
6750 rm -f conftest.err libconftest.a conftest conftest.c
6751 rm -rf conftest.dSYM
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6755 $as_echo "$lt_cv_ld_force_load" >&6; }
6757 rhapsody
* | darwin1.
[012])
6758 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6760 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6761 darwin
*) # darwin 5.x on
6762 # if running on 10.5 or later, the deployment target defaults
6763 # to the OS version, if on x86, and 10.4, the deployment
6764 # target defaults to 10.4. Don't you love it?
6765 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6766 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6767 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6769 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6771 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6775 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6776 _lt_dar_single_mod
='$single_module'
6778 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6779 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6781 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6783 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6784 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6793 $as_echo_n "checking for ANSI C header files... " >&6; }
6794 if test "${ac_cv_header_stdc+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6812 if ac_fn_c_try_compile
"$LINENO"; then :
6813 ac_cv_header_stdc
=yes
6815 ac_cv_header_stdc
=no
6817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6819 if test $ac_cv_header_stdc = yes; then
6820 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6827 $EGREP "memchr" >/dev
/null
2>&1; then :
6830 ac_cv_header_stdc
=no
6836 if test $ac_cv_header_stdc = yes; then
6837 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6844 $EGREP "free" >/dev
/null
2>&1; then :
6847 ac_cv_header_stdc
=no
6853 if test $ac_cv_header_stdc = yes; then
6854 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6855 if test "$cross_compiling" = yes; then :
6858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h. */
6862 #if ((' ' & 0x0FF) == 0x020)
6863 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6864 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6866 # define ISLOWER(c) \
6867 (('a' <= (c) && (c) <= 'i') \
6868 || ('j' <= (c) && (c) <= 'r') \
6869 || ('s' <= (c) && (c) <= 'z'))
6870 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6873 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6878 for (i = 0; i < 256; i++)
6879 if (XOR (islower (i), ISLOWER (i))
6880 || toupper (i) != TOUPPER (i))
6885 if ac_fn_c_try_run
"$LINENO"; then :
6888 ac_cv_header_stdc
=no
6890 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6891 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6897 $as_echo "$ac_cv_header_stdc" >&6; }
6898 if test $ac_cv_header_stdc = yes; then
6900 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6904 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6905 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6906 inttypes.h stdint.h unistd.h
6908 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6909 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6911 eval as_val
=\$
$as_ac_Header
6912 if test "x$as_val" = x
""yes; then :
6913 cat >>confdefs.h
<<_ACEOF
6914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6922 for ac_header
in dlfcn.h
6924 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6926 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6927 cat >>confdefs.h
<<_ACEOF
6928 #define HAVE_DLFCN_H 1
6940 enable_win32_dll
=yes
6943 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
6944 if test -n "$ac_tool_prefix"; then
6945 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6946 set dummy
${ac_tool_prefix}as
; ac_word
=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if test "${ac_cv_prog_AS+set}" = set; then :
6950 $as_echo_n "(cached) " >&6
6952 if test -n "$AS"; then
6953 ac_cv_prog_AS
="$AS" # Let the user override the test.
6955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir
=.
6960 for ac_exec_ext
in '' $ac_executable_extensions; do
6961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6962 ac_cv_prog_AS
="${ac_tool_prefix}as"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973 if test -n "$AS"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6975 $as_echo "$AS" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6983 if test -z "$ac_cv_prog_AS"; then
6985 # Extract the first word of "as", so it can be a program name with args.
6986 set dummy as
; ac_word
=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6990 $as_echo_n "(cached) " >&6
6992 if test -n "$ac_ct_AS"; then
6993 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
6995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6999 test -z "$as_dir" && as_dir
=.
7000 for ac_exec_ext
in '' $ac_executable_extensions; do
7001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7002 ac_cv_prog_ac_ct_AS
="as"
7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
7013 if test -n "$ac_ct_AS"; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7015 $as_echo "$ac_ct_AS" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7021 if test "x$ac_ct_AS" = x
; then
7024 case $cross_compiling:$ac_tool_warned in
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7028 ac_tool_warned
=yes ;;
7036 if test -n "$ac_tool_prefix"; then
7037 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7038 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7042 $as_echo_n "(cached) " >&6
7044 if test -n "$DLLTOOL"; then
7045 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir
=.
7052 for ac_exec_ext
in '' $ac_executable_extensions; do
7053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7054 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064 DLLTOOL
=$ac_cv_prog_DLLTOOL
7065 if test -n "$DLLTOOL"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7067 $as_echo "$DLLTOOL" >&6; }
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7075 if test -z "$ac_cv_prog_DLLTOOL"; then
7076 ac_ct_DLLTOOL
=$DLLTOOL
7077 # Extract the first word of "dlltool", so it can be a program name with args.
7078 set dummy dlltool
; ac_word
=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7082 $as_echo_n "(cached) " >&6
7084 if test -n "$ac_ct_DLLTOOL"; then
7085 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7091 test -z "$as_dir" && as_dir
=.
7092 for ac_exec_ext
in '' $ac_executable_extensions; do
7093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7094 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7105 if test -n "$ac_ct_DLLTOOL"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7107 $as_echo "$ac_ct_DLLTOOL" >&6; }
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7113 if test "x$ac_ct_DLLTOOL" = x
; then
7116 case $cross_compiling:$ac_tool_warned in
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned
=yes ;;
7122 DLLTOOL
=$ac_ct_DLLTOOL
7125 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7128 if test -n "$ac_tool_prefix"; then
7129 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7130 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7134 $as_echo_n "(cached) " >&6
7136 if test -n "$OBJDUMP"; then
7137 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir
=.
7144 for ac_exec_ext
in '' $ac_executable_extensions; do
7145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7146 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 OBJDUMP
=$ac_cv_prog_OBJDUMP
7157 if test -n "$OBJDUMP"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7159 $as_echo "$OBJDUMP" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7167 if test -z "$ac_cv_prog_OBJDUMP"; then
7168 ac_ct_OBJDUMP
=$OBJDUMP
7169 # Extract the first word of "objdump", so it can be a program name with args.
7170 set dummy objdump
; ac_word
=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7174 $as_echo_n "(cached) " >&6
7176 if test -n "$ac_ct_OBJDUMP"; then
7177 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir
=.
7184 for ac_exec_ext
in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7197 if test -n "$ac_ct_OBJDUMP"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7199 $as_echo "$ac_ct_OBJDUMP" >&6; }
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7205 if test "x$ac_ct_OBJDUMP" = x
; then
7208 case $cross_compiling:$ac_tool_warned in
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7212 ac_tool_warned
=yes ;;
7214 OBJDUMP
=$ac_ct_OBJDUMP
7217 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7223 test -z "$AS" && AS
=as
7229 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7235 test -z "$OBJDUMP" && OBJDUMP
=objdump
7247 # Check whether --enable-shared was given.
7248 if test "${enable_shared+set}" = set; then :
7249 enableval
=$enable_shared; p
=${PACKAGE-default}
7251 yes) enable_shared
=yes ;;
7252 no
) enable_shared
=no
;;
7255 # Look at the argument we got. We use all the common list separators.
7256 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7257 for pkg
in $enableval; do
7259 if test "X$pkg" = "X$p"; then
7278 # Check whether --enable-static was given.
7279 if test "${enable_static+set}" = set; then :
7280 enableval
=$enable_static; p
=${PACKAGE-default}
7282 yes) enable_static
=yes ;;
7283 no
) enable_static
=no
;;
7286 # Look at the argument we got. We use all the common list separators.
7287 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7288 for pkg
in $enableval; do
7290 if test "X$pkg" = "X$p"; then
7310 # Check whether --with-pic was given.
7311 if test "${with_pic+set}" = set; then :
7312 withval
=$with_pic; pic_mode
="$withval"
7318 test -z "$pic_mode" && pic_mode
=default
7326 # Check whether --enable-fast-install was given.
7327 if test "${enable_fast_install+set}" = set; then :
7328 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7330 yes) enable_fast_install
=yes ;;
7331 no
) enable_fast_install
=no
;;
7333 enable_fast_install
=no
7334 # Look at the argument we got. We use all the common list separators.
7335 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7336 for pkg
in $enableval; do
7338 if test "X$pkg" = "X$p"; then
7339 enable_fast_install
=yes
7346 enable_fast_install
=yes
7359 # This can be used to rebuild libtool when needed
7360 LIBTOOL_DEPS
="$ltmain"
7362 # Always use our own libtool.
7363 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7390 test -z "$LN_S" && LN_S
="ln -s"
7405 if test -n "${ZSH_VERSION+set}" ; then
7406 setopt NO_GLOB_SUBST
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7410 $as_echo_n "checking for objdir... " >&6; }
7411 if test "${lt_cv_objdir+set}" = set; then :
7412 $as_echo_n "(cached) " >&6
7414 rm -f .libs
2>/dev
/null
7415 mkdir .libs
2>/dev
/null
7416 if test -d .libs
; then
7419 # MS-DOS does not allow filenames that begin with a dot.
7422 rmdir .libs
2>/dev
/null
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7425 $as_echo "$lt_cv_objdir" >&6; }
7426 objdir
=$lt_cv_objdir
7432 cat >>confdefs.h
<<_ACEOF
7433 #define LT_OBJDIR "$lt_cv_objdir/"
7441 # AIX sometimes has problems with the GCC collect2 program. For some
7442 # reason, if we set the COLLECT_NAMES environment variable, the problems
7443 # vanish in a puff of smoke.
7444 if test "X${COLLECT_NAMES+set}" != Xset
; then
7446 export COLLECT_NAMES
7453 can_build_shared
=yes
7455 # All known linkers require a `.a' archive for static linking (except MSVC,
7456 # which needs '.lib').
7459 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7462 old_CFLAGS
="$CFLAGS"
7464 # Set sane defaults for various variables
7465 test -z "$CC" && CC
=cc
7466 test -z "$LTCC" && LTCC
=$CC
7467 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7468 test -z "$LD" && LD
=ld
7469 test -z "$ac_objext" && ac_objext
=o
7471 for cc_temp
in $compiler""; do
7473 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7474 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7479 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7482 # Only perform the check for file, if the check method requires it
7483 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7484 case $deplibs_check_method in
7486 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7488 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7489 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7490 $as_echo_n "(cached) " >&6
7494 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7497 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7498 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7499 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7500 for ac_dir
in $ac_dummy; do
7502 test -z "$ac_dir" && ac_dir
=.
7503 if test -f $ac_dir/${ac_tool_prefix}file; then
7504 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7505 if test -n "$file_magic_test_file"; then
7506 case $deplibs_check_method in
7508 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7509 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7510 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7511 $EGREP "$file_magic_regex" > /dev
/null
; then
7516 *** Warning: the command libtool uses to detect shared libraries,
7517 *** $file_magic_cmd, produces output that libtool cannot recognize.
7518 *** The result is that libtool may fail to recognize shared libraries
7519 *** as such. This will affect the creation of libtool libraries that
7520 *** depend on shared libraries, but programs linked with such libtool
7521 *** libraries will work regardless of this problem. Nevertheless, you
7522 *** may want to report the problem to your system manager and/or to
7523 *** bug-libtool@gnu.org
7533 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7538 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7539 if test -n "$MAGIC_CMD"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7541 $as_echo "$MAGIC_CMD" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7551 if test -z "$lt_cv_path_MAGIC_CMD"; then
7552 if test -n "$ac_tool_prefix"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7554 $as_echo_n "checking for file... " >&6; }
7555 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7556 $as_echo_n "(cached) " >&6
7560 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7563 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7564 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7565 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7566 for ac_dir
in $ac_dummy; do
7568 test -z "$ac_dir" && ac_dir
=.
7569 if test -f $ac_dir/file; then
7570 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7571 if test -n "$file_magic_test_file"; then
7572 case $deplibs_check_method in
7574 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7575 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7576 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7577 $EGREP "$file_magic_regex" > /dev
/null
; then
7582 *** Warning: the command libtool uses to detect shared libraries,
7583 *** $file_magic_cmd, produces output that libtool cannot recognize.
7584 *** The result is that libtool may fail to recognize shared libraries
7585 *** as such. This will affect the creation of libtool libraries that
7586 *** depend on shared libraries, but programs linked with such libtool
7587 *** libraries will work regardless of this problem. Nevertheless, you
7588 *** may want to report the problem to your system manager and/or to
7589 *** bug-libtool@gnu.org
7599 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7604 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7605 if test -n "$MAGIC_CMD"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7607 $as_echo "$MAGIC_CMD" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7610 $as_echo "no" >&6; }
7623 # Use C for the default configuration in the libtool script
7627 ac_cpp
='$CPP $CPPFLAGS'
7628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7633 # Source file extension for C test sources.
7636 # Object file extension for compiled C test sources.
7640 # Code to be used in simple compile tests
7641 lt_simple_compile_test_code
="int some_variable = 0;"
7643 # Code to be used in simple link tests
7644 lt_simple_link_test_code
='int main(){return(0);}'
7652 # If no C compiler was specified, use CC.
7655 # If no C compiler flags were specified, use CFLAGS.
7656 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7658 # Allow CC to be a program name with arguments.
7661 # Save the default compiler, since it gets overwritten when the other
7662 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7663 compiler_DEFAULT
=$CC
7665 # save warnings/boilerplate of simple test code
7666 ac_outfile
=conftest.
$ac_objext
7667 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7668 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7669 _lt_compiler_boilerplate
=`cat conftest.err`
7672 ac_outfile
=conftest.
$ac_objext
7673 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7674 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7675 _lt_linker_boilerplate
=`cat conftest.err`
7679 if test -n "$compiler"; then
7681 lt_prog_compiler_no_builtin_flag
=
7683 if test "$GCC" = yes; then
7684 case $cc_basename in
7686 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7688 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7692 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7693 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7694 $as_echo_n "(cached) " >&6
7696 lt_cv_prog_compiler_rtti_exceptions
=no
7697 ac_outfile
=conftest.
$ac_objext
7698 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7699 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7700 # Insert the option either (1) after the last *FLAGS variable, or
7701 # (2) before a word containing "conftest.", or (3) at the end.
7702 # Note that $ac_compile itself does not contain backslashes and begins
7703 # with a dollar sign (not a hyphen), so the echo should work correctly.
7704 # The option is referenced via a variable to avoid confusing sed.
7705 lt_compile
=`echo "$ac_compile" | $SED \
7706 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7707 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7708 -e 's:$: $lt_compiler_flag:'`
7709 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7710 (eval "$lt_compile" 2>conftest.err
)
7712 cat conftest.err
>&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 if (exit $ac_status) && test -s "$ac_outfile"; then
7715 # The compiler can only warn and ignore the option if not recognized
7716 # So say no if there are warnings other than the usual output.
7717 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7718 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7719 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7720 lt_cv_prog_compiler_rtti_exceptions
=yes
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7727 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7729 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7730 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7742 lt_prog_compiler_wl
=
7743 lt_prog_compiler_pic
=
7744 lt_prog_compiler_static
=
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7747 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7749 if test "$GCC" = yes; then
7750 lt_prog_compiler_wl
='-Wl,'
7751 lt_prog_compiler_static
='-static'
7755 # All AIX code is PIC.
7756 if test "$host_cpu" = ia64
; then
7757 # AIX 5 now supports IA64 processor
7758 lt_prog_compiler_static
='-Bstatic'
7765 # see comment about AmigaOS4 .so support
7766 lt_prog_compiler_pic
='-fPIC'
7769 # FIXME: we need at least 68020 code to build shared libraries, but
7770 # adding the `-m68020' flag to GCC prevents building anything better,
7772 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7777 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7778 # PIC is the default for these OSes.
7781 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7782 # This hack is so that the source file can tell whether it is being
7783 # built for inclusion in a dll (and should export symbols for example).
7784 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7785 # (--disable-auto-import) libraries
7786 lt_prog_compiler_pic
='-DDLL_EXPORT'
7789 darwin
* | rhapsody
*)
7790 # PIC is the default on this platform
7791 # Common symbols not allowed in MH_DYLIB files
7792 lt_prog_compiler_pic
='-fno-common'
7796 # PIC is the default for Haiku.
7797 # The "-static" flag exists, but is broken.
7798 lt_prog_compiler_static
=
7802 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7803 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7804 # sets the default TLS model and affects inlining.
7810 lt_prog_compiler_pic
='-fPIC'
7816 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7817 # Instead, we relocate shared libraries at runtime.
7821 # Just because we use GCC doesn't mean we suddenly get shared libraries
7822 # on systems that don't support them.
7823 lt_prog_compiler_can_build_shared
=no
7828 # QNX uses GNU C++, but need to define -shared option too, otherwise
7830 lt_prog_compiler_pic
='-fPIC -shared'
7834 if test -d /usr
/nec
; then
7835 lt_prog_compiler_pic
=-Kconform_pic
7840 lt_prog_compiler_pic
='-fPIC'
7844 case $cc_basename in
7845 nvcc
*) # Cuda Compiler Driver 2.2
7846 lt_prog_compiler_wl
='-Xlinker '
7847 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7851 # PORTME Check for flag to pass linker flags through the system compiler.
7854 lt_prog_compiler_wl
='-Wl,'
7855 if test "$host_cpu" = ia64
; then
7856 # AIX 5 now supports IA64 processor
7857 lt_prog_compiler_static
='-Bstatic'
7859 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7863 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7864 # This hack is so that the source file can tell whether it is being
7865 # built for inclusion in a dll (and should export symbols for example).
7866 lt_prog_compiler_pic
='-DDLL_EXPORT'
7869 hpux9
* | hpux10
* | hpux11
*)
7870 lt_prog_compiler_wl
='-Wl,'
7871 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7878 lt_prog_compiler_pic
='+Z'
7881 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7882 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7885 irix5
* | irix6
* | nonstopux
*)
7886 lt_prog_compiler_wl
='-Wl,'
7887 # PIC (with -KPIC) is the default.
7888 lt_prog_compiler_static
='-non_shared'
7891 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7892 case $cc_basename in
7893 # old Intel for x86_64 which still supported -KPIC.
7895 lt_prog_compiler_wl
='-Wl,'
7896 lt_prog_compiler_pic
='-KPIC'
7897 lt_prog_compiler_static
='-static'
7899 # icc used to be incompatible with GCC.
7900 # ICC 10 doesn't accept -KPIC any more.
7902 lt_prog_compiler_wl
='-Wl,'
7903 lt_prog_compiler_pic
='-fPIC'
7904 lt_prog_compiler_static
='-static'
7906 # Lahey Fortran 8.1.
7908 lt_prog_compiler_wl
='-Wl,'
7909 lt_prog_compiler_pic
='--shared'
7910 lt_prog_compiler_static
='--static'
7912 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7913 # Portland Group compilers (*not* the Pentium gcc compiler,
7914 # which looks to be a dead project)
7915 lt_prog_compiler_wl
='-Wl,'
7916 lt_prog_compiler_pic
='-fpic'
7917 lt_prog_compiler_static
='-Bstatic'
7920 lt_prog_compiler_wl
='-Wl,'
7921 # All Alpha code is PIC.
7922 lt_prog_compiler_static
='-non_shared'
7924 xl
* | bgxl
* | bgf
* | mpixl
*)
7925 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7926 lt_prog_compiler_wl
='-Wl,'
7927 lt_prog_compiler_pic
='-qpic'
7928 lt_prog_compiler_static
='-qstaticlink'
7931 case `$CC -V 2>&1 | sed 5q` in
7932 *Sun\ F
* | *Sun
*Fortran
*)
7933 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7934 lt_prog_compiler_pic
='-KPIC'
7935 lt_prog_compiler_static
='-Bstatic'
7936 lt_prog_compiler_wl
=''
7940 lt_prog_compiler_pic
='-KPIC'
7941 lt_prog_compiler_static
='-Bstatic'
7942 lt_prog_compiler_wl
='-Wl,'
7950 lt_prog_compiler_pic
='-KPIC'
7951 lt_prog_compiler_static
='-Bstatic'
7955 # QNX uses GNU C++, but need to define -shared option too, otherwise
7957 lt_prog_compiler_pic
='-fPIC -shared'
7960 osf3
* | osf4
* | osf5
*)
7961 lt_prog_compiler_wl
='-Wl,'
7962 # All OSF/1 code is PIC.
7963 lt_prog_compiler_static
='-non_shared'
7967 lt_prog_compiler_static
='-non_shared'
7971 lt_prog_compiler_pic
='-KPIC'
7972 lt_prog_compiler_static
='-Bstatic'
7973 case $cc_basename in
7974 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7975 lt_prog_compiler_wl
='-Qoption ld ';;
7977 lt_prog_compiler_wl
='-Wl,';;
7982 lt_prog_compiler_wl
='-Qoption ld '
7983 lt_prog_compiler_pic
='-PIC'
7984 lt_prog_compiler_static
='-Bstatic'
7987 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7988 lt_prog_compiler_wl
='-Wl,'
7989 lt_prog_compiler_pic
='-KPIC'
7990 lt_prog_compiler_static
='-Bstatic'
7994 if test -d /usr
/nec
;then
7995 lt_prog_compiler_pic
='-Kconform_pic'
7996 lt_prog_compiler_static
='-Bstatic'
8000 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8001 lt_prog_compiler_wl
='-Wl,'
8002 lt_prog_compiler_pic
='-KPIC'
8003 lt_prog_compiler_static
='-Bstatic'
8007 lt_prog_compiler_wl
='-Wl,'
8008 lt_prog_compiler_can_build_shared
=no
8012 lt_prog_compiler_pic
='-pic'
8013 lt_prog_compiler_static
='-Bstatic'
8017 lt_prog_compiler_can_build_shared
=no
8023 # For platforms which do not support PIC, -DPIC is meaningless:
8025 lt_prog_compiler_pic
=
8028 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8032 $as_echo "$lt_prog_compiler_pic" >&6; }
8040 # Check to make sure the PIC flag actually works.
8042 if test -n "$lt_prog_compiler_pic"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8044 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8045 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8046 $as_echo_n "(cached) " >&6
8048 lt_cv_prog_compiler_pic_works
=no
8049 ac_outfile
=conftest.
$ac_objext
8050 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8051 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8052 # Insert the option either (1) after the last *FLAGS variable, or
8053 # (2) before a word containing "conftest.", or (3) at the end.
8054 # Note that $ac_compile itself does not contain backslashes and begins
8055 # with a dollar sign (not a hyphen), so the echo should work correctly.
8056 # The option is referenced via a variable to avoid confusing sed.
8057 lt_compile
=`echo "$ac_compile" | $SED \
8058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8060 -e 's:$: $lt_compiler_flag:'`
8061 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8062 (eval "$lt_compile" 2>conftest.err
)
8064 cat conftest.err
>&5
8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 if (exit $ac_status) && test -s "$ac_outfile"; then
8067 # The compiler can only warn and ignore the option if not recognized
8068 # So say no if there are warnings other than the usual output.
8069 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8070 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8071 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8072 lt_cv_prog_compiler_pic_works
=yes
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8079 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8081 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8082 case $lt_prog_compiler_pic in
8084 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8087 lt_prog_compiler_pic
=
8088 lt_prog_compiler_can_build_shared
=no
8099 # Check to make sure the static flag actually works.
8101 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8103 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8104 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8105 $as_echo_n "(cached) " >&6
8107 lt_cv_prog_compiler_static_works
=no
8108 save_LDFLAGS
="$LDFLAGS"
8109 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8110 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8111 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8112 # The linker can only warn and ignore the option if not recognized
8113 # So say no if there are warnings
8114 if test -s conftest.err
; then
8115 # Append any errors to the config.log.
8116 cat conftest.err
1>&5
8117 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8118 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8119 if diff conftest.exp conftest.er2
>/dev
/null
; then
8120 lt_cv_prog_compiler_static_works
=yes
8123 lt_cv_prog_compiler_static_works
=yes
8127 LDFLAGS
="$save_LDFLAGS"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8131 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8133 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8136 lt_prog_compiler_static
=
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8146 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8147 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8148 $as_echo_n "(cached) " >&6
8150 lt_cv_prog_compiler_c_o
=no
8151 $RM -r conftest
2>/dev
/null
8155 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8157 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8158 # Insert the option either (1) after the last *FLAGS variable, or
8159 # (2) before a word containing "conftest.", or (3) at the end.
8160 # Note that $ac_compile itself does not contain backslashes and begins
8161 # with a dollar sign (not a hyphen), so the echo should work correctly.
8162 lt_compile
=`echo "$ac_compile" | $SED \
8163 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8165 -e 's:$: $lt_compiler_flag:'`
8166 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8167 (eval "$lt_compile" 2>out
/conftest.err
)
8169 cat out
/conftest.err
>&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8173 # The compiler can only warn and ignore the option if not recognized
8174 # So say no if there are warnings
8175 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
8176 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8177 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8178 lt_cv_prog_compiler_c_o
=yes
8183 # SGI C++ compiler will create directory out/ii_files/ for
8184 # template instantiation
8185 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8186 $RM out
/* && rmdir out
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8193 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8201 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8202 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8205 lt_cv_prog_compiler_c_o
=no
8206 $RM -r conftest
2>/dev
/null
8210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8212 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8213 # Insert the option either (1) after the last *FLAGS variable, or
8214 # (2) before a word containing "conftest.", or (3) at the end.
8215 # Note that $ac_compile itself does not contain backslashes and begins
8216 # with a dollar sign (not a hyphen), so the echo should work correctly.
8217 lt_compile
=`echo "$ac_compile" | $SED \
8218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8220 -e 's:$: $lt_compiler_flag:'`
8221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8222 (eval "$lt_compile" 2>out
/conftest.err
)
8224 cat out
/conftest.err
>&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8228 # The compiler can only warn and ignore the option if not recognized
8229 # So say no if there are warnings
8230 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
8231 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8232 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8233 lt_cv_prog_compiler_c_o
=yes
8238 # SGI C++ compiler will create directory out/ii_files/ for
8239 # template instantiation
8240 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8241 $RM out
/* && rmdir out
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8248 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8253 hard_links
="nottested"
8254 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8255 # do not overwrite the value of need_locks provided by the user
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8257 $as_echo_n "checking if we can lock with hard links... " >&6; }
8260 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8262 ln conftest.a conftest.b
2>&5 || hard_links
=no
8263 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8265 $as_echo "$hard_links" >&6; }
8266 if test "$hard_links" = no
; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8268 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8281 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8284 allow_undefined_flag
=
8285 always_export_symbols
=no
8287 archive_expsym_cmds
=
8288 compiler_needs_object
=no
8289 enable_shared_with_static_runtimes
=no
8290 export_dynamic_flag_spec
=
8291 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8292 hardcode_automatic
=no
8294 hardcode_direct_absolute
=no
8295 hardcode_libdir_flag_spec
=
8296 hardcode_libdir_flag_spec_ld
=
8297 hardcode_libdir_separator
=
8299 hardcode_shlibpath_var
=unsupported
8301 link_all_deplibs
=unknown
8304 old_archive_from_new_cmds
=
8305 old_archive_from_expsyms_cmds
=
8306 thread_safe_flag_spec
=
8307 whole_archive_flag_spec
=
8308 # include_expsyms should be a list of space-separated symbols to be *always*
8309 # included in the symbol list
8311 # exclude_expsyms can be an extended regexp of symbols to exclude
8312 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8313 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8314 # as well as any symbol that contains `d'.
8315 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8316 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8317 # platforms (ab)use it in PIC code, but their linkers get confused if
8318 # the symbol is explicitly referenced. Since portable code cannot
8319 # rely on this symbol name, it's probably fine to never include it in
8320 # preloaded symbol tables.
8321 # Exclude shared library initialization/finalization symbols.
8322 extract_expsyms_cmds
=
8325 cygwin
* | mingw
* | pw32
* | cegcc
*)
8326 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8327 # When not using gcc, we currently assume that we are using
8328 # Microsoft Visual C++.
8329 if test "$GCC" != yes; then
8334 # we just hope/assume this is gcc and not c89 (= MSVC++)
8344 # On some targets, GNU ld is compatible enough with the native linker
8345 # that we're better off using the native interface for both.
8346 lt_use_gnu_ld_interface
=no
8347 if test "$with_gnu_ld" = yes; then
8350 # The AIX port of GNU ld has always aspired to compatibility
8351 # with the native linker. However, as the warning in the GNU ld
8352 # block says, versions before 2.19.5* couldn't really create working
8353 # shared libraries, regardless of the interface used.
8354 case `$LD -v 2>&1` in
8355 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8356 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8357 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8359 lt_use_gnu_ld_interface
=yes
8364 lt_use_gnu_ld_interface
=yes
8369 if test "$lt_use_gnu_ld_interface" = yes; then
8370 # If archive_cmds runs LD, not CC, wlarc should be empty
8373 # Set some defaults for GNU ld with shared library support. These
8374 # are reset later if shared libraries are not supported. Putting them
8375 # here allows them to be overridden if necessary.
8376 runpath_var
=LD_RUN_PATH
8377 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8378 export_dynamic_flag_spec
='${wl}--export-dynamic'
8379 # ancient GNU ld didn't support --whole-archive et. al.
8380 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
8381 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8383 whole_archive_flag_spec
=
8385 supports_anon_versioning
=no
8386 case `$LD -v 2>&1` in
8387 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8388 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
8389 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8390 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8391 *\
2.11.
*) ;; # other 2.11 versions
8392 *) supports_anon_versioning
=yes ;;
8395 # See if GNU ld supports shared libraries.
8398 # On AIX/PPC, the GNU linker is very broken
8399 if test "$host_cpu" != ia64
; then
8403 *** Warning: the GNU linker, at least up to release 2.19, is reported
8404 *** to be unable to reliably create shared libraries on AIX.
8405 *** Therefore, libtool is disabling shared libraries support. If you
8406 *** really care for shared libraries, you may want to install binutils
8407 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8408 *** You will then need to restart the configuration process.
8417 # see comment about AmigaOS4 .so support
8418 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8419 archive_expsym_cmds
=''
8422 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)'
8423 hardcode_libdir_flag_spec
='-L$libdir'
8424 hardcode_minus_L
=yes
8430 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8431 allow_undefined_flag
=unsupported
8432 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8433 # support --undefined. This deserves some investigation. FIXME
8434 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8440 cygwin
* | mingw
* | pw32
* | cegcc
*)
8441 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8442 # as there is no search path for DLLs.
8443 hardcode_libdir_flag_spec
='-L$libdir'
8444 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8445 allow_undefined_flag
=unsupported
8446 always_export_symbols
=no
8447 enable_shared_with_static_runtimes
=yes
8448 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8450 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
8451 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8452 # If the export-symbols file already is a .def file (1st line
8453 # is EXPORTS), use it as is; otherwise, prepend...
8454 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8455 cp $export_symbols $output_objdir/$soname.def;
8457 echo EXPORTS > $output_objdir/$soname.def;
8458 cat $export_symbols >> $output_objdir/$soname.def;
8460 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8467 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8468 link_all_deplibs
=yes
8473 hardcode_shlibpath_var
=no
8474 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8475 export_dynamic_flag_spec
='${wl}-E'
8476 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8477 # Instead, shared libraries are loaded at an image base (0x10000000 by
8478 # default) and relocated if they conflict, which is a slow very memory
8479 # consuming and fragmenting process. To avoid this, we pick a random,
8480 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8481 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8482 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8483 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'
8486 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8488 if test "$host_os" = linux
-dietlibc; then
8489 case $cc_basename in
8490 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8493 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
8494 && test "$tmp_diet" = no
8497 tmp_sharedflag
='-shared'
8498 case $cc_basename,$host_cpu in
8499 pgcc
*) # Portland Group C compiler
8500 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'
8501 tmp_addflag
=' $pic_flag'
8503 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8504 # Portland Group f77 and f90 compilers
8505 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'
8506 tmp_addflag
=' $pic_flag -Mnomain' ;;
8507 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8508 tmp_addflag
=' -i_dynamic' ;;
8509 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8510 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8511 ifc
* | ifort
*) # Intel Fortran compiler
8512 tmp_addflag
=' -nofor_main' ;;
8513 lf95
*) # Lahey Fortran 8.1
8514 whole_archive_flag_spec
=
8515 tmp_sharedflag
='--shared' ;;
8516 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8517 tmp_sharedflag
='-qmkshrobj'
8519 nvcc
*) # Cuda Compiler Driver 2.2
8520 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'
8521 compiler_needs_object
=yes
8524 case `$CC -V 2>&1 | sed 5q` in
8525 *Sun\ C
*) # Sun C 5.9
8526 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'
8527 compiler_needs_object
=yes
8528 tmp_sharedflag
='-G' ;;
8529 *Sun\ F
*) # Sun Fortran 8.3
8530 tmp_sharedflag
='-G' ;;
8532 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8534 if test "x$supports_anon_versioning" = xyes
; then
8535 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8536 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8537 echo "local: *; };" >> $output_objdir/$libname.ver~
8538 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8541 case $cc_basename in
8542 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8543 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8544 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8545 hardcode_libdir_flag_spec
=
8546 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8547 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8548 if test "x$supports_anon_versioning" = xyes
; then
8549 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8550 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8551 echo "local: *; };" >> $output_objdir/$libname.ver~
8552 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8562 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8563 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8566 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8567 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8572 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
8576 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8577 *** create shared libraries on Solaris systems. Therefore, libtool
8578 *** is disabling shared libraries support. We urge you to upgrade GNU
8579 *** binutils to release 2.9.1 or newer. Another option is to modify
8580 *** your PATH or compiler configuration so that the native linker is
8581 *** used, and then restart.
8584 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8585 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8586 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8592 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8593 case `$LD -v 2>&1` in
8594 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
8598 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8599 *** reliably create shared libraries on SCO systems. Therefore, libtool
8600 *** is disabling shared libraries support. We urge you to upgrade GNU
8601 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8602 *** your PATH or compiler configuration so that the native linker is
8603 *** used, and then restart.
8608 # For security reasons, it is highly recommended that you always
8609 # use absolute paths for naming shared libraries, and exclude the
8610 # DT_RUNPATH tag from executables and libraries. But doing so
8611 # requires that you compile everything twice, which is a pain.
8612 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8613 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8614 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8615 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8624 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8627 hardcode_shlibpath_var
=no
8631 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8632 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8633 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8640 if test "$ld_shlibs" = no
; then
8642 hardcode_libdir_flag_spec
=
8643 export_dynamic_flag_spec
=
8644 whole_archive_flag_spec
=
8647 # PORTME fill in a description of your system's linker (not GNU ld)
8650 allow_undefined_flag
=unsupported
8651 always_export_symbols
=yes
8652 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'
8653 # Note: this linker hardcodes the directories in LIBPATH if there
8654 # are no directories specified by -L.
8655 hardcode_minus_L
=yes
8656 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8657 # Neither direct hardcoding nor static linking is supported with a
8659 hardcode_direct
=unsupported
8664 if test "$host_cpu" = ia64
; then
8665 # On IA64, the linker does run time linking by default, so we don't
8666 # have to do anything special.
8667 aix_use_runtimelinking
=no
8668 exp_sym_flag
='-Bexport'
8671 # If we're using GNU nm, then we don't want the "-C" option.
8672 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8673 # Also, AIX nm treats weak defined symbols like other global
8674 # defined symbols, whereas GNU nm marks them as "W".
8675 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
8676 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8678 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8680 aix_use_runtimelinking
=no
8682 # Test if we are trying to use run time linking or normal
8683 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8684 # need to do runtime linking.
8685 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8686 for ld_flag
in $LDFLAGS; do
8687 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8688 aix_use_runtimelinking
=yes
8695 exp_sym_flag
='-bexport'
8696 no_entry_flag
='-bnoentry'
8699 # When large executables or shared objects are built, AIX ld can
8700 # have problems creating the table of contents. If linking a library
8701 # or program results in "error TOC overflow" add -mminimal-toc to
8702 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8703 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8707 hardcode_direct_absolute
=yes
8708 hardcode_libdir_separator
=':'
8709 link_all_deplibs
=yes
8710 file_list_spec
='${wl}-f,'
8712 if test "$GCC" = yes; then
8713 case $host_os in aix4.
[012]|aix4.
[012].
*)
8714 # We only want to do this on AIX 4.2 and lower, the check
8715 # below for broken collect2 doesn't work under 4.3+
8716 collect2name
=`${CC} -print-prog-name=collect2`
8717 if test -f "$collect2name" &&
8718 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
8720 # We have reworked collect2
8723 # We have old collect2
8724 hardcode_direct
=unsupported
8725 # It fails to find uninstalled libraries when the uninstalled
8726 # path is not listed in the libpath. Setting hardcode_minus_L
8727 # to unsupported forces relinking
8728 hardcode_minus_L
=yes
8729 hardcode_libdir_flag_spec
='-L$libdir'
8730 hardcode_libdir_separator
=
8734 shared_flag
='-shared'
8735 if test "$aix_use_runtimelinking" = yes; then
8736 shared_flag
="$shared_flag "'${wl}-G'
8740 if test "$host_cpu" = ia64
; then
8741 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8742 # chokes on -Wl,-G. The following line is correct:
8745 if test "$aix_use_runtimelinking" = yes; then
8746 shared_flag
='${wl}-G'
8748 shared_flag
='${wl}-bM:SRE'
8753 export_dynamic_flag_spec
='${wl}-bexpall'
8754 # It seems that -bexpall does not export symbols beginning with
8755 # underscore (_), so it is better to generate a list of symbols to export.
8756 always_export_symbols
=yes
8757 if test "$aix_use_runtimelinking" = yes; then
8758 # Warning - without using the other runtime loading flags (-brtl),
8759 # -berok will link without error, but may produce a broken library.
8760 allow_undefined_flag
='-berok'
8761 # Determine the default libpath from the value encoded in an
8763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8774 if ac_fn_c_try_link
"$LINENO"; then :
8776 lt_aix_libpath_sed
='
8777 /Import File Strings/,/^$/ {
8783 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8784 # Check for a 64-bit object if we didn't find anything.
8785 if test -z "$aix_libpath"; then
8786 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8789 rm -f core conftest.err conftest.
$ac_objext \
8790 conftest
$ac_exeext conftest.
$ac_ext
8791 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8793 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8794 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8796 if test "$host_cpu" = ia64
; then
8797 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8798 allow_undefined_flag
="-z nodefs"
8799 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"
8801 # Determine the default libpath from the value encoded in an
8803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8814 if ac_fn_c_try_link
"$LINENO"; then :
8816 lt_aix_libpath_sed
='
8817 /Import File Strings/,/^$/ {
8823 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8824 # Check for a 64-bit object if we didn't find anything.
8825 if test -z "$aix_libpath"; then
8826 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8829 rm -f core conftest.err conftest.
$ac_objext \
8830 conftest
$ac_exeext conftest.
$ac_ext
8831 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8833 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8834 # Warning - without using the other run time loading flags,
8835 # -berok will link without error, but may produce a broken library.
8836 no_undefined_flag
=' ${wl}-bernotok'
8837 allow_undefined_flag
=' ${wl}-berok'
8838 if test "$with_gnu_ld" = yes; then
8839 # We only use this code for GNU lds that support --whole-archive.
8840 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8842 # Exported symbols can be pulled into shared objects from archives
8843 whole_archive_flag_spec
='$convenience'
8845 archive_cmds_need_lc
=yes
8846 # This is similar to how AIX traditionally builds its shared libraries.
8847 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8855 # see comment about AmigaOS4 .so support
8856 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8857 archive_expsym_cmds
=''
8860 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)'
8861 hardcode_libdir_flag_spec
='-L$libdir'
8862 hardcode_minus_L
=yes
8868 export_dynamic_flag_spec
=-rdynamic
8871 cygwin
* | mingw
* | pw32
* | cegcc
*)
8872 # When not using gcc, we currently assume that we are using
8873 # Microsoft Visual C++.
8874 # hardcode_libdir_flag_spec is actually meaningless, as there is
8875 # no search path for DLLs.
8876 hardcode_libdir_flag_spec
=' '
8877 allow_undefined_flag
=unsupported
8878 # Tell ltmain to make .lib files, not .a files.
8880 # Tell ltmain to make .dll files, not .so files.
8882 # FIXME: Setting linknames here is a bad hack.
8883 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8884 # The linker will automatically build a .lib file if we build a DLL.
8885 old_archive_from_new_cmds
='true'
8886 # FIXME: Should let the user specify the lib program.
8887 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8888 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8889 enable_shared_with_static_runtimes
=yes
8892 darwin
* | rhapsody
*)
8895 archive_cmds_need_lc
=no
8897 hardcode_automatic
=yes
8898 hardcode_shlibpath_var
=unsupported
8899 if test "$lt_cv_ld_force_load" = "yes"; then
8900 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\"`'
8902 whole_archive_flag_spec
=''
8904 link_all_deplibs
=yes
8905 allow_undefined_flag
="$_lt_dar_allow_undefined"
8906 case $cc_basename in
8907 ifort
*) _lt_dar_can_shared
=yes ;;
8908 *) _lt_dar_can_shared
=$GCC ;;
8910 if test "$_lt_dar_can_shared" = "yes"; then
8911 output_verbose_link_cmd
=func_echo_all
8912 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8913 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8914 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}"
8915 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}"
8924 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8925 hardcode_libdir_flag_spec
='-L$libdir'
8926 hardcode_shlibpath_var
=no
8933 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8934 # support. Future versions do this automatically, but an explicit c++rt0.o
8935 # does not break anything, and helps significantly (at the cost of a little
8938 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8939 hardcode_libdir_flag_spec
='-R$libdir'
8941 hardcode_shlibpath_var
=no
8944 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8946 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8948 hardcode_minus_L
=yes
8949 hardcode_shlibpath_var
=no
8952 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8953 freebsd
* | dragonfly
*)
8954 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8955 hardcode_libdir_flag_spec
='-R$libdir'
8957 hardcode_shlibpath_var
=no
8961 if test "$GCC" = yes; then
8962 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8964 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8966 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8967 hardcode_libdir_separator
=:
8970 # hardcode_minus_L: Not really in the search PATH,
8971 # but as the default location of the library.
8972 hardcode_minus_L
=yes
8973 export_dynamic_flag_spec
='${wl}-E'
8977 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8978 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8980 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8982 if test "$with_gnu_ld" = no
; then
8983 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8984 hardcode_libdir_flag_spec_ld
='+b $libdir'
8985 hardcode_libdir_separator
=:
8987 hardcode_direct_absolute
=yes
8988 export_dynamic_flag_spec
='${wl}-E'
8989 # hardcode_minus_L: Not really in the search PATH,
8990 # but as the default location of the library.
8991 hardcode_minus_L
=yes
8996 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8999 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9002 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9005 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9011 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9014 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9018 # Older versions of the 11.00 compiler do not understand -b yet
9019 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9021 $as_echo_n "checking if $CC understands -b... " >&6; }
9022 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9023 $as_echo_n "(cached) " >&6
9025 lt_cv_prog_compiler__b
=no
9026 save_LDFLAGS
="$LDFLAGS"
9027 LDFLAGS
="$LDFLAGS -b"
9028 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9029 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9030 # The linker can only warn and ignore the option if not recognized
9031 # So say no if there are warnings
9032 if test -s conftest.err
; then
9033 # Append any errors to the config.log.
9034 cat conftest.err
1>&5
9035 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9036 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9037 if diff conftest.exp conftest.er2
>/dev
/null
; then
9038 lt_cv_prog_compiler__b
=yes
9041 lt_cv_prog_compiler__b
=yes
9045 LDFLAGS
="$save_LDFLAGS"
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9049 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9051 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9052 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9054 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9060 if test "$with_gnu_ld" = no
; then
9061 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9062 hardcode_libdir_separator
=:
9067 hardcode_shlibpath_var
=no
9071 hardcode_direct_absolute
=yes
9072 export_dynamic_flag_spec
='${wl}-E'
9074 # hardcode_minus_L: Not really in the search PATH,
9075 # but as the default location of the library.
9076 hardcode_minus_L
=yes
9082 irix5
* | irix6
* | nonstopux
*)
9083 if test "$GCC" = yes; then
9084 archive_cmds
='$CC -shared $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'
9085 # Try to use the -exported_symbol ld option, if it does not
9086 # work, assume that -exports_file does not work either and
9087 # implicitly export all symbols.
9088 save_LDFLAGS
="$LDFLAGS"
9089 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9094 if ac_fn_c_try_link
"$LINENO"; then :
9095 archive_expsym_cmds
='$CC -shared $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'
9098 rm -f core conftest.err conftest.
$ac_objext \
9099 conftest
$ac_exeext conftest.
$ac_ext
9100 LDFLAGS
="$save_LDFLAGS"
9102 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'
9103 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'
9105 archive_cmds_need_lc
='no'
9106 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9107 hardcode_libdir_separator
=:
9109 link_all_deplibs
=yes
9113 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9114 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9116 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9118 hardcode_libdir_flag_spec
='-R$libdir'
9120 hardcode_shlibpath_var
=no
9124 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9126 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9127 hardcode_libdir_separator
=:
9128 hardcode_shlibpath_var
=no
9135 if test -f /usr
/libexec
/ld.so
; then
9137 hardcode_shlibpath_var
=no
9138 hardcode_direct_absolute
=yes
9139 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9140 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9141 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9142 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9143 export_dynamic_flag_spec
='${wl}-E'
9146 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9147 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9148 hardcode_libdir_flag_spec
='-R$libdir'
9151 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9152 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9162 hardcode_libdir_flag_spec
='-L$libdir'
9163 hardcode_minus_L
=yes
9164 allow_undefined_flag
=unsupported
9165 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9166 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9170 if test "$GCC" = yes; then
9171 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9172 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'
9174 allow_undefined_flag
=' -expect_unresolved \*'
9175 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'
9177 archive_cmds_need_lc
='no'
9178 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9179 hardcode_libdir_separator
=:
9182 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9183 if test "$GCC" = yes; then
9184 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9185 archive_cmds
='$CC -shared${allow_undefined_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'
9186 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9188 allow_undefined_flag
=' -expect_unresolved \*'
9189 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'
9190 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~
9191 $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'
9193 # Both c and cxx compiler support -rpath directly
9194 hardcode_libdir_flag_spec
='-rpath $libdir'
9196 archive_cmds_need_lc
='no'
9197 hardcode_libdir_separator
=:
9201 no_undefined_flag
=' -z defs'
9202 if test "$GCC" = yes; then
9204 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9205 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9206 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9208 case `$CC -V 2>&1` in
9211 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9212 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9213 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9217 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9218 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9219 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9223 hardcode_libdir_flag_spec
='-R$libdir'
9224 hardcode_shlibpath_var
=no
9226 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9228 # The compiler driver will combine and reorder linker options,
9229 # but understands `-z linker_flag'. GCC discards it without `$wl',
9230 # but is careful enough not to reorder.
9231 # Supported since Solaris 2.6 (maybe 2.5.1?)
9232 if test "$GCC" = yes; then
9233 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9235 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9239 link_all_deplibs
=yes
9243 if test "x$host_vendor" = xsequent
; then
9244 # Use $CC to link under sequent, because it throws in some extra .o
9245 # files that make .init and .fini sections work.
9246 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9248 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9250 hardcode_libdir_flag_spec
='-L$libdir'
9252 hardcode_minus_L
=yes
9253 hardcode_shlibpath_var
=no
9257 case $host_vendor in
9259 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9260 hardcode_direct
=yes # is this really true???
9263 ## LD is ld it makes a PLAMLIB
9264 ## CC just makes a GrossModule.
9265 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9266 reload_cmds
='$CC -r -o $output$reload_objs'
9270 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9271 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9274 runpath_var
='LD_RUN_PATH'
9275 hardcode_shlibpath_var
=no
9279 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9280 hardcode_shlibpath_var
=no
9281 export_dynamic_flag_spec
='-Bexport'
9285 if test -d /usr
/nec
; then
9286 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9287 hardcode_shlibpath_var
=no
9288 runpath_var
=LD_RUN_PATH
9289 hardcode_runpath_var
=yes
9294 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9295 no_undefined_flag
='${wl}-z,text'
9296 archive_cmds_need_lc
=no
9297 hardcode_shlibpath_var
=no
9298 runpath_var
='LD_RUN_PATH'
9300 if test "$GCC" = yes; then
9301 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9302 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9304 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9305 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9309 sysv5
* | sco3.2v5
* | sco5v6
*)
9310 # Note: We can NOT use -z defs as we might desire, because we do not
9311 # link with -lc, and that would cause any symbols used from libc to
9312 # always be unresolved, which means just about no library would
9313 # ever link correctly. If we're not using GNU ld we use -z text
9314 # though, which does catch some bad symbols but isn't as heavy-handed
9316 no_undefined_flag
='${wl}-z,text'
9317 allow_undefined_flag
='${wl}-z,nodefs'
9318 archive_cmds_need_lc
=no
9319 hardcode_shlibpath_var
=no
9320 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9321 hardcode_libdir_separator
=':'
9322 link_all_deplibs
=yes
9323 export_dynamic_flag_spec
='${wl}-Bexport'
9324 runpath_var
='LD_RUN_PATH'
9326 if test "$GCC" = yes; then
9327 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9328 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9330 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9331 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9337 hardcode_libdir_flag_spec
='-L$libdir'
9338 hardcode_shlibpath_var
=no
9346 if test x
$host_vendor = xsni
; then
9348 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9349 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9356 $as_echo "$ld_shlibs" >&6; }
9357 test "$ld_shlibs" = no
&& can_build_shared
=no
9359 with_gnu_ld
=$with_gnu_ld
9376 # Do we need to explicitly link libc?
9378 case "x$archive_cmds_need_lc" in
9380 # Assume -lc should be added
9381 archive_cmds_need_lc
=yes
9383 if test "$enable_shared" = yes && test "$GCC" = yes; then
9384 case $archive_cmds in
9386 # FIXME: we may have to deal with multi-command sequences.
9389 # Test whether the compiler implicitly links with -lc since on some
9390 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9391 # to ld, don't add -lc before -lgcc.
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9393 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9394 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9395 $as_echo_n "(cached) " >&6
9398 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9400 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9401 (eval $ac_compile) 2>&5
9403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9404 test $ac_status = 0; } 2>conftest.err
; then
9407 libobjs
=conftest.
$ac_objext
9409 wl
=$lt_prog_compiler_wl
9410 pic_flag
=$lt_prog_compiler_pic
9416 lt_save_allow_undefined_flag
=$allow_undefined_flag
9417 allow_undefined_flag
=
9418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9419 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9422 test $ac_status = 0; }
9424 lt_cv_archive_cmds_need_lc
=no
9426 lt_cv_archive_cmds_need_lc
=yes
9428 allow_undefined_flag
=$lt_save_allow_undefined_flag
9430 cat conftest.err
1>&5
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9436 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9437 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9601 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9603 if test "$GCC" = yes; then
9605 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9606 *) lt_awk_arg
="/^libraries:/" ;;
9609 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9610 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9612 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9613 case $lt_search_path_spec in
9615 # if the path contains ";" then we assume it to be the separator
9616 # otherwise default to the standard path separator (i.e. ":") - it is
9617 # assumed that no part of a normal pathname contains ";" but that should
9618 # okay in the real world where ";" in dirpaths is itself problematic.
9619 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9622 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9625 # Ok, now we have the path, separated by spaces, we can step through it
9626 # and add multilib dir if necessary.
9627 lt_tmp_lt_search_path_spec
=
9628 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9629 for lt_sys_path
in $lt_search_path_spec; do
9630 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9631 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9633 test -d "$lt_sys_path" && \
9634 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9637 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9638 BEGIN {RS=" "; FS="/|\n";} {
9641 for (lt_i = NF; lt_i > 0; lt_i--) {
9642 if ($lt_i != "" && $lt_i != ".") {
9643 if ($lt_i == "..") {
9646 if (lt_count == 0) {
9647 lt_foo="/" $lt_i lt_foo;
9654 if (lt_foo != "") { lt_freq[lt_foo]++; }
9655 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9657 # AWK program above erroneously prepends '/' to C:/dos/paths
9660 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9661 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9663 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9665 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9668 libname_spec
='lib$name'
9676 shlibpath_overrides_runpath
=unknown
9678 dynamic_linker
="$host_os ld.so"
9679 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9680 need_lib_prefix
=unknown
9681 hardcode_into_libs
=no
9683 # when you set need_version to no, make sure it does not cause -set_version
9684 # flags to be left without arguments
9685 need_version
=unknown
9690 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9691 shlibpath_var
=LIBPATH
9693 # AIX 3 has no versioning support, so we append a major version to the name.
9694 soname_spec
='${libname}${release}${shared_ext}$major'
9701 hardcode_into_libs
=yes
9702 if test "$host_cpu" = ia64
; then
9703 # AIX 5 supports IA64
9704 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9705 shlibpath_var
=LD_LIBRARY_PATH
9707 # With GCC up to 2.95.x, collect2 would create an import file
9708 # for dependence libraries. The import file would start with
9709 # the line `#! .'. This would cause the generated library to
9710 # depend on `.', always an invalid library. This was fixed in
9711 # development snapshots of GCC prior to 3.0.
9713 aix4
| aix4.
[01] | aix4.
[01].
*)
9714 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9716 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
9723 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9724 # soname into executable. Probably we can add versioning support to
9725 # collect2, so additional links can be useful in future.
9726 if test "$aix_use_runtimelinking" = yes; then
9727 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9728 # instead of lib<name>.a to let people know that these are not
9729 # typical AIX shared libraries.
9730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9732 # We preserve .a as extension for shared libraries through AIX4.2
9733 # and later when we are not doing run time linking.
9734 library_names_spec
='${libname}${release}.a $libname.a'
9735 soname_spec
='${libname}${release}${shared_ext}$major'
9737 shlibpath_var
=LIBPATH
9744 # Since July 2007 AmigaOS4 officially supports .so libraries.
9745 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749 library_names_spec
='$libname.ixlibrary $libname.a'
9750 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9751 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9757 library_names_spec
='${libname}${shared_ext}'
9758 dynamic_linker
="$host_os ld.so"
9759 shlibpath_var
=LIBRARY_PATH
9765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9766 soname_spec
='${libname}${release}${shared_ext}$major'
9767 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9768 shlibpath_var
=LD_LIBRARY_PATH
9769 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9770 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9771 # the default ld.so.conf also contains /usr/contrib/lib and
9772 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9773 # libtool to hard-code these into programs
9776 cygwin
* | mingw
* | pw32
* | cegcc
*)
9777 version_type
=windows
9782 case $GCC,$host_os in
9783 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
9784 library_names_spec
='$libname.dll.a'
9785 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9786 postinstall_cmds
='base_file=`basename \${file}`~
9787 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9788 dldir=$destdir/`dirname \$dlpath`~
9789 test -d \$dldir || mkdir -p \$dldir~
9790 $install_prog $dir/$dlname \$dldir/$dlname~
9791 chmod a+x \$dldir/$dlname~
9792 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9793 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9795 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9796 dlpath=$dir/\$dldll~
9798 shlibpath_overrides_runpath
=yes
9802 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9803 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9805 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9808 # MinGW DLLs use traditional 'lib' prefix
9809 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9812 # pw32 DLLs use 'pw' prefix rather than 'lib'
9813 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9819 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
9822 dynamic_linker
='Win32 ld.exe'
9823 # FIXME: first we should search . and the directory the executable is in
9827 darwin
* | rhapsody
*)
9828 dynamic_linker
="$host_os dyld"
9832 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9833 soname_spec
='${libname}${release}${major}$shared_ext'
9834 shlibpath_overrides_runpath
=yes
9835 shlibpath_var
=DYLD_LIBRARY_PATH
9836 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9838 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9839 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9847 soname_spec
='${libname}${release}${shared_ext}$major'
9848 shlibpath_var
=LD_LIBRARY_PATH
9855 freebsd
* | dragonfly
*)
9856 # DragonFly does not have aout. When/if they implement a new
9857 # versioning mechanism, adjust this.
9858 if test -x /usr
/bin
/objformat
; then
9859 objformat
=`/usr/bin/objformat`
9862 freebsd
[123]*) objformat
=aout
;;
9866 version_type
=freebsd
-$objformat
9867 case $version_type in
9869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9874 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9878 shlibpath_var
=LD_LIBRARY_PATH
9881 shlibpath_overrides_runpath
=yes
9883 freebsd3.
[01]* | freebsdelf3.
[01]*)
9884 shlibpath_overrides_runpath
=yes
9885 hardcode_into_libs
=yes
9887 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9888 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9889 shlibpath_overrides_runpath
=no
9890 hardcode_into_libs
=yes
9892 *) # from 4.6 on, and DragonFly
9893 shlibpath_overrides_runpath
=yes
9894 hardcode_into_libs
=yes
9903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9904 soname_spec
='${libname}${release}${shared_ext}$major'
9905 shlibpath_var
=LD_LIBRARY_PATH
9906 hardcode_into_libs
=yes
9913 dynamic_linker
="$host_os runtime_loader"
9914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9915 soname_spec
='${libname}${release}${shared_ext}$major'
9916 shlibpath_var
=LIBRARY_PATH
9917 shlibpath_overrides_runpath
=yes
9918 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9919 hardcode_into_libs
=yes
9922 hpux9
* | hpux10
* | hpux11
*)
9923 # Give a soname corresponding to the major version so that dld.sl refuses to
9924 # link against other versions.
9931 hardcode_into_libs
=yes
9932 dynamic_linker
="$host_os dld.so"
9933 shlibpath_var
=LD_LIBRARY_PATH
9934 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9936 soname_spec
='${libname}${release}${shared_ext}$major'
9937 if test "X$HPUX_IA64_MODE" = X32
; then
9938 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9940 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9942 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9946 hardcode_into_libs
=yes
9947 dynamic_linker
="$host_os dld.sl"
9948 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9949 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9951 soname_spec
='${libname}${release}${shared_ext}$major'
9952 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9953 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9957 dynamic_linker
="$host_os dld.sl"
9958 shlibpath_var
=SHLIB_PATH
9959 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9961 soname_spec
='${libname}${release}${shared_ext}$major'
9964 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9965 postinstall_cmds
='chmod 555 $lib'
9966 # or fails outright, so override atomically:
9967 install_override_mode
=555
9974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9975 soname_spec
='${libname}${release}${shared_ext}$major'
9976 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9977 shlibpath_var
=LD_LIBRARY_PATH
9978 shlibpath_overrides_runpath
=no
9979 hardcode_into_libs
=yes
9982 irix5
* | irix6
* | nonstopux
*)
9984 nonstopux
*) version_type
=nonstopux
;;
9986 if test "$lt_cv_prog_gnu_ld" = yes; then
9994 soname_spec
='${libname}${release}${shared_ext}$major'
9995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9997 irix5
* | nonstopux
*)
10001 case $LD in # libtool.m4 will add one of these switches to LD
10002 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10003 libsuff
= shlibsuff
= libmagic
=32-bit;;
10004 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10005 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10006 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10007 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10008 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10012 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10013 shlibpath_overrides_runpath
=no
10014 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10015 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10016 hardcode_into_libs
=yes
10019 # No shared lib support for Linux oldld, aout, or coff.
10020 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10024 # This must be Linux ELF.
10025 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10030 soname_spec
='${libname}${release}${shared_ext}$major'
10031 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10032 shlibpath_var
=LD_LIBRARY_PATH
10033 shlibpath_overrides_runpath
=no
10035 # Some binutils ld are patched to set DT_RUNPATH
10036 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10037 $as_echo_n "(cached) " >&6
10039 lt_cv_shlibpath_overrides_runpath
=no
10040 save_LDFLAGS
=$LDFLAGS
10041 save_libdir
=$libdir
10042 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10043 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10055 if ac_fn_c_try_link
"$LINENO"; then :
10056 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
10057 lt_cv_shlibpath_overrides_runpath
=yes
10060 rm -f core conftest.err conftest.
$ac_objext \
10061 conftest
$ac_exeext conftest.
$ac_ext
10062 LDFLAGS
=$save_LDFLAGS
10063 libdir
=$save_libdir
10067 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10069 # This implies no fast_install, which is unacceptable.
10070 # Some rework will be needed to allow for fast_install
10071 # before this can be enabled.
10072 hardcode_into_libs
=yes
10074 # Append ld.so.conf contents to the search path
10075 if test -f /etc
/ld.so.conf
; then
10076 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' ' '`
10077 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10080 # We used to test for /lib/ld.so.1 and disable shared libraries on
10081 # powerpc, because MkLinux only supported shared libraries with the
10082 # GNU dynamic linker. Since this was broken with cross compilers,
10083 # most powerpc-linux boxes support dynamic linking these days and
10084 # people can always --disable-shared, the test was removed, and we
10085 # assume the GNU/Linux dynamic linker is in use.
10086 dynamic_linker
='GNU/Linux ld.so'
10093 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10095 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10096 dynamic_linker
='NetBSD (a.out) ld.so'
10098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10099 soname_spec
='${libname}${release}${shared_ext}$major'
10100 dynamic_linker
='NetBSD ld.elf_so'
10102 shlibpath_var
=LD_LIBRARY_PATH
10103 shlibpath_overrides_runpath
=yes
10104 hardcode_into_libs
=yes
10109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10110 shlibpath_var
=LD_LIBRARY_PATH
10111 shlibpath_overrides_runpath
=yes
10118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119 soname_spec
='${libname}${release}${shared_ext}$major'
10120 shlibpath_var
=LD_LIBRARY_PATH
10121 shlibpath_overrides_runpath
=no
10122 hardcode_into_libs
=yes
10123 dynamic_linker
='ldqnx.so'
10128 sys_lib_dlsearch_path_spec
="/usr/lib"
10130 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10132 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10133 *) need_version
=no
;;
10135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10136 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10137 shlibpath_var
=LD_LIBRARY_PATH
10138 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10140 openbsd2.
[89] | openbsd2.
[89].
*)
10141 shlibpath_overrides_runpath
=no
10144 shlibpath_overrides_runpath
=yes
10148 shlibpath_overrides_runpath
=yes
10153 libname_spec
='$name'
10156 library_names_spec
='$libname${shared_ext} $libname.a'
10157 dynamic_linker
='OS/2 ld.exe'
10158 shlibpath_var
=LIBPATH
10161 osf3
* | osf4
* | osf5
*)
10165 soname_spec
='${libname}${release}${shared_ext}$major'
10166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10167 shlibpath_var
=LD_LIBRARY_PATH
10168 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10169 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10181 soname_spec
='${libname}${release}${shared_ext}$major'
10182 shlibpath_var
=LD_LIBRARY_PATH
10183 shlibpath_overrides_runpath
=yes
10184 hardcode_into_libs
=yes
10185 # ldd complains unless libraries are executable
10186 postinstall_cmds
='chmod +x $lib'
10191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10192 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10193 shlibpath_var
=LD_LIBRARY_PATH
10194 shlibpath_overrides_runpath
=yes
10195 if test "$with_gnu_ld" = yes; then
10203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10204 soname_spec
='${libname}${release}${shared_ext}$major'
10205 shlibpath_var
=LD_LIBRARY_PATH
10206 case $host_vendor in
10208 shlibpath_overrides_runpath
=no
10210 runpath_var
=LD_RUN_PATH
10218 shlibpath_overrides_runpath
=no
10219 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10225 if test -d /usr
/nec
;then
10227 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10228 soname_spec
='$libname${shared_ext}.$major'
10229 shlibpath_var
=LD_LIBRARY_PATH
10233 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10234 version_type
=freebsd
-elf
10237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10238 soname_spec
='${libname}${release}${shared_ext}$major'
10239 shlibpath_var
=LD_LIBRARY_PATH
10240 shlibpath_overrides_runpath
=yes
10241 hardcode_into_libs
=yes
10242 if test "$with_gnu_ld" = yes; then
10243 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10245 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10248 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10252 sys_lib_dlsearch_path_spec
='/usr/lib'
10256 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10261 shlibpath_var
=LD_LIBRARY_PATH
10262 shlibpath_overrides_runpath
=no
10263 hardcode_into_libs
=yes
10268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10269 soname_spec
='${libname}${release}${shared_ext}$major'
10270 shlibpath_var
=LD_LIBRARY_PATH
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10278 $as_echo "$dynamic_linker" >&6; }
10279 test "$dynamic_linker" = no
&& can_build_shared
=no
10281 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10282 if test "$GCC" = yes; then
10283 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10286 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10287 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10289 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10290 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10385 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10387 if test -n "$hardcode_libdir_flag_spec" ||
10388 test -n "$runpath_var" ||
10389 test "X$hardcode_automatic" = "Xyes" ; then
10391 # We can hardcode non-existent directories.
10392 if test "$hardcode_direct" != no
&&
10393 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10394 # have to relink, otherwise we might link with an installed library
10395 # when we should be linking with a yet-to-be-installed one
10396 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10397 test "$hardcode_minus_L" != no
; then
10398 # Linking always hardcodes the temporary library directory.
10399 hardcode_action
=relink
10401 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10402 hardcode_action
=immediate
10405 # We cannot hardcode anything, or else we can only hardcode existing
10407 hardcode_action
=unsupported
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10410 $as_echo "$hardcode_action" >&6; }
10412 if test "$hardcode_action" = relink
||
10413 test "$inherit_rpath" = yes; then
10414 # Fast installation is not supported
10415 enable_fast_install
=no
10416 elif test "$shlibpath_overrides_runpath" = yes ||
10417 test "$enable_shared" = no
; then
10418 # Fast installation is not necessary
10419 enable_fast_install
=needless
10427 if test "x$enable_dlopen" != xyes
; then
10428 enable_dlopen
=unknown
10429 enable_dlopen_self
=unknown
10430 enable_dlopen_self_static
=unknown
10437 lt_cv_dlopen
="load_add_on"
10439 lt_cv_dlopen_self
=yes
10442 mingw
* | pw32
* | cegcc
*)
10443 lt_cv_dlopen
="LoadLibrary"
10448 lt_cv_dlopen
="dlopen"
10453 # if libdl is installed we need to link against it
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10455 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10456 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10457 $as_echo_n "(cached) " >&6
10459 ac_check_lib_save_LIBS
=$LIBS
10461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10464 /* Override any GCC internal prototype to avoid an error.
10465 Use char because int might match the return type of a GCC
10466 builtin and then its argument prototype would still apply. */
10479 if ac_fn_c_try_link
"$LINENO"; then :
10480 ac_cv_lib_dl_dlopen
=yes
10482 ac_cv_lib_dl_dlopen
=no
10484 rm -f core conftest.err conftest.
$ac_objext \
10485 conftest
$ac_exeext conftest.
$ac_ext
10486 LIBS
=$ac_check_lib_save_LIBS
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10489 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10490 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10491 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10494 lt_cv_dlopen
="dyld"
10496 lt_cv_dlopen_self
=yes
10503 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10504 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10505 lt_cv_dlopen
="shl_load"
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10508 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10509 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10510 $as_echo_n "(cached) " >&6
10512 ac_check_lib_save_LIBS
=$LIBS
10514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10527 return shl_load ();
10532 if ac_fn_c_try_link
"$LINENO"; then :
10533 ac_cv_lib_dld_shl_load
=yes
10535 ac_cv_lib_dld_shl_load
=no
10537 rm -f core conftest.err conftest.
$ac_objext \
10538 conftest
$ac_exeext conftest.
$ac_ext
10539 LIBS
=$ac_check_lib_save_LIBS
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10542 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10543 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10544 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10546 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10547 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10548 lt_cv_dlopen
="dlopen"
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10551 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10552 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10553 $as_echo_n "(cached) " >&6
10555 ac_check_lib_save_LIBS
=$LIBS
10557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10575 if ac_fn_c_try_link
"$LINENO"; then :
10576 ac_cv_lib_dl_dlopen
=yes
10578 ac_cv_lib_dl_dlopen
=no
10580 rm -f core conftest.err conftest.
$ac_objext \
10581 conftest
$ac_exeext conftest.
$ac_ext
10582 LIBS
=$ac_check_lib_save_LIBS
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10585 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10586 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10587 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10590 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10591 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10592 $as_echo_n "(cached) " >&6
10594 ac_check_lib_save_LIBS
=$LIBS
10595 LIBS
="-lsvld $LIBS"
10596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10599 /* Override any GCC internal prototype to avoid an error.
10600 Use char because int might match the return type of a GCC
10601 builtin and then its argument prototype would still apply. */
10614 if ac_fn_c_try_link
"$LINENO"; then :
10615 ac_cv_lib_svld_dlopen
=yes
10617 ac_cv_lib_svld_dlopen
=no
10619 rm -f core conftest.err conftest.
$ac_objext \
10620 conftest
$ac_exeext conftest.
$ac_ext
10621 LIBS
=$ac_check_lib_save_LIBS
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10624 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10625 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10626 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10629 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10630 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10631 $as_echo_n "(cached) " >&6
10633 ac_check_lib_save_LIBS
=$LIBS
10635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10648 return dld_link ();
10653 if ac_fn_c_try_link
"$LINENO"; then :
10654 ac_cv_lib_dld_dld_link
=yes
10656 ac_cv_lib_dld_dld_link
=no
10658 rm -f core conftest.err conftest.
$ac_objext \
10659 conftest
$ac_exeext conftest.
$ac_ext
10660 LIBS
=$ac_check_lib_save_LIBS
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10663 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10664 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10665 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10686 if test "x$lt_cv_dlopen" != xno
; then
10692 case $lt_cv_dlopen in
10694 save_CPPFLAGS
="$CPPFLAGS"
10695 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10697 save_LDFLAGS
="$LDFLAGS"
10698 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10701 LIBS
="$lt_cv_dlopen_libs $LIBS"
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10704 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10705 if test "${lt_cv_dlopen_self+set}" = set; then :
10706 $as_echo_n "(cached) " >&6
10708 if test "$cross_compiling" = yes; then :
10709 lt_cv_dlopen_self
=cross
10711 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10712 lt_status
=$lt_dlunknown
10713 cat > conftest.
$ac_ext <<_LT_EOF
10714 #line $LINENO "configure"
10715 #include "confdefs.h"
10724 # define LT_DLGLOBAL RTLD_GLOBAL
10727 # define LT_DLGLOBAL DL_GLOBAL
10729 # define LT_DLGLOBAL 0
10733 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10734 find out it does not work in some platform. */
10735 #ifndef LT_DLLAZY_OR_NOW
10737 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10740 # define LT_DLLAZY_OR_NOW DL_LAZY
10743 # define LT_DLLAZY_OR_NOW RTLD_NOW
10746 # define LT_DLLAZY_OR_NOW DL_NOW
10748 # define LT_DLLAZY_OR_NOW 0
10755 /* When -fvisbility=hidden is used, assume the code has been annotated
10756 correspondingly for the symbols needed. */
10757 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10758 void fnord () __attribute__((visibility("default")));
10761 void fnord () { int i=42; }
10764 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10765 int status = $lt_dlunknown;
10769 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10772 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10773 else puts (dlerror ());
10775 /* dlclose (self); */
10783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10784 (eval $ac_link) 2>&5
10786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10787 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10788 (.
/conftest
; exit; ) >&5 2>/dev
/null
10790 case x
$lt_status in
10791 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10792 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10793 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10796 # compilation failed
10797 lt_cv_dlopen_self
=no
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10805 $as_echo "$lt_cv_dlopen_self" >&6; }
10807 if test "x$lt_cv_dlopen_self" = xyes
; then
10808 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10810 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10811 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10812 $as_echo_n "(cached) " >&6
10814 if test "$cross_compiling" = yes; then :
10815 lt_cv_dlopen_self_static
=cross
10817 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10818 lt_status
=$lt_dlunknown
10819 cat > conftest.
$ac_ext <<_LT_EOF
10820 #line $LINENO "configure"
10821 #include "confdefs.h"
10830 # define LT_DLGLOBAL RTLD_GLOBAL
10833 # define LT_DLGLOBAL DL_GLOBAL
10835 # define LT_DLGLOBAL 0
10839 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10840 find out it does not work in some platform. */
10841 #ifndef LT_DLLAZY_OR_NOW
10843 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10846 # define LT_DLLAZY_OR_NOW DL_LAZY
10849 # define LT_DLLAZY_OR_NOW RTLD_NOW
10852 # define LT_DLLAZY_OR_NOW DL_NOW
10854 # define LT_DLLAZY_OR_NOW 0
10861 /* When -fvisbility=hidden is used, assume the code has been annotated
10862 correspondingly for the symbols needed. */
10863 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10864 void fnord () __attribute__((visibility("default")));
10867 void fnord () { int i=42; }
10870 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10871 int status = $lt_dlunknown;
10875 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10878 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10879 else puts (dlerror ());
10881 /* dlclose (self); */
10889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10890 (eval $ac_link) 2>&5
10892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10893 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10894 (.
/conftest
; exit; ) >&5 2>/dev
/null
10896 case x
$lt_status in
10897 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10898 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10899 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10902 # compilation failed
10903 lt_cv_dlopen_self_static
=no
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10911 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10914 CPPFLAGS
="$save_CPPFLAGS"
10915 LDFLAGS
="$save_LDFLAGS"
10920 case $lt_cv_dlopen_self in
10921 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10922 *) enable_dlopen_self
=unknown
;;
10925 case $lt_cv_dlopen_self_static in
10926 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10927 *) enable_dlopen_self_static
=unknown
;;
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10950 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10951 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
10952 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10953 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10955 $as_echo "yes" >&6; }
10957 # FIXME - insert some real tests, host_os isn't really good enough
10960 if test -n "$STRIP" ; then
10961 striplib
="$STRIP -x"
10962 old_striplib
="$STRIP -S"
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10964 $as_echo "yes" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10967 $as_echo "no" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972 $as_echo "no" >&6; }
10988 # Report which library types will actually be built
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10990 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10992 $as_echo "$can_build_shared" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10995 $as_echo_n "checking whether to build shared libraries... " >&6; }
10996 test "$can_build_shared" = "no" && enable_shared
=no
10998 # On AIX, shared libraries and static libraries use the same namespace, and
10999 # are all built from PIC.
11002 test "$enable_shared" = yes && enable_static
=no
11003 if test -n "$RANLIB"; then
11004 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11005 postinstall_cmds
='$RANLIB $lib'
11010 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11011 test "$enable_shared" = yes && enable_static
=no
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11016 $as_echo "$enable_shared" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11019 $as_echo_n "checking whether to build static libraries... " >&6; }
11020 # Make sure either enable_shared or enable_static is yes.
11021 test "$enable_shared" = yes || enable_static
=yes
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11023 $as_echo "$enable_static" >&6; }
11030 ac_cpp
='$CPP $CPPFLAGS'
11031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11049 ac_config_commands
="$ac_config_commands libtool"
11054 # Only expand once:
11058 # Checks for header files.
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11060 $as_echo_n "checking for ANSI C header files... " >&6; }
11061 if test "${ac_cv_header_stdc+set}" = set; then :
11062 $as_echo_n "(cached) " >&6
11064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11066 #include <stdlib.h>
11067 #include <stdarg.h>
11068 #include <string.h>
11079 if ac_fn_c_try_compile
"$LINENO"; then :
11080 ac_cv_header_stdc
=yes
11082 ac_cv_header_stdc
=no
11084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11086 if test $ac_cv_header_stdc = yes; then
11087 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11090 #include <string.h>
11093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11094 $EGREP "memchr" >/dev
/null
2>&1; then :
11097 ac_cv_header_stdc
=no
11103 if test $ac_cv_header_stdc = yes; then
11104 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11107 #include <stdlib.h>
11110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11111 $EGREP "free" >/dev
/null
2>&1; then :
11114 ac_cv_header_stdc
=no
11120 if test $ac_cv_header_stdc = yes; then
11121 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11122 if test "$cross_compiling" = yes; then :
11125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 #include <stdlib.h>
11129 #if ((' ' & 0x0FF) == 0x020)
11130 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11131 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11133 # define ISLOWER(c) \
11134 (('a' <= (c) && (c) <= 'i') \
11135 || ('j' <= (c) && (c) <= 'r') \
11136 || ('s' <= (c) && (c) <= 'z'))
11137 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11140 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11145 for (i = 0; i < 256; i++)
11146 if (XOR (islower (i), ISLOWER (i))
11147 || toupper (i) != TOUPPER (i))
11152 if ac_fn_c_try_run
"$LINENO"; then :
11155 ac_cv_header_stdc
=no
11157 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11158 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11164 $as_echo "$ac_cv_header_stdc" >&6; }
11165 if test $ac_cv_header_stdc = yes; then
11167 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11171 for ac_header
in malloc.h stdlib.h string.h
strings.h
11173 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11174 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11175 eval as_val
=\$
$as_ac_Header
11176 if test "x$as_val" = x
""yes; then :
11177 cat >>confdefs.h
<<_ACEOF
11178 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11186 # Checks for typedefs, structures, and compiler characteristics.
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11188 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11189 if test "${ac_cv_c_const+set}" = set; then :
11190 $as_echo_n "(cached) " >&6
11192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11198 /* FIXME: Include the comments suggested by Paul. */
11199 #ifndef __cplusplus
11200 /* Ultrix mips cc rejects this. */
11201 typedef int charset[2];
11203 /* SunOS 4.1.1 cc rejects this. */
11204 char const *const *pcpcc;
11206 /* NEC SVR4.0.2 mips cc rejects this. */
11207 struct point {int x, y;};
11208 static struct point const zero = {0,0};
11209 /* AIX XL C 1.02.0.0 rejects this.
11210 It does not let you subtract one const X* pointer from another in
11211 an arm of an if-expression whose if-part is not a constant
11213 const char *g = "string";
11214 pcpcc = &g + (g ? g-g : 0);
11215 /* HPUX 7.0 cc rejects these. */
11217 ppc = (char**) pcpcc;
11218 pcpcc = (char const *const *) ppc;
11219 { /* SCO 3.2v4 cc rejects this. */
11221 char const *s = 0 ? (char *) 0 : (char const *) 0;
11226 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11227 int x[] = {25, 17};
11228 const int *foo = &x[0];
11231 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11232 typedef const int *iptr;
11236 { /* AIX XL C 1.02.0.0 rejects this saying
11237 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11238 struct s { int j; const int *ap[3]; };
11239 struct s *b; b->j = 5;
11241 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11242 const int foo = 10;
11243 if (!foo) return 0;
11245 return !cs[0] && !zero.x;
11252 if ac_fn_c_try_compile
"$LINENO"; then :
11257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11260 $as_echo "$ac_cv_c_const" >&6; }
11261 if test $ac_cv_c_const = no
; then
11263 $as_echo "#define const /**/" >>confdefs.h
11267 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11268 if test "x$ac_cv_type_size_t" = x
""yes; then :
11272 cat >>confdefs.h
<<_ACEOF
11273 #define size_t unsigned int
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
11279 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
11280 if test "${ac_cv_struct_tm+set}" = set; then :
11281 $as_echo_n "(cached) " >&6
11283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11285 #include <sys/types.h>
11292 int *p = &tm.tm_sec;
11298 if ac_fn_c_try_compile
"$LINENO"; then :
11299 ac_cv_struct_tm
=time.h
11301 ac_cv_struct_tm
=sys
/time.h
11303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
11306 $as_echo "$ac_cv_struct_tm" >&6; }
11307 if test $ac_cv_struct_tm = sys
/time.h
; then
11309 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
11314 # Checks for library functions.
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
11316 $as_echo_n "checking for working strtod... " >&6; }
11317 if test "${ac_cv_func_strtod+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11320 if test "$cross_compiling" = yes; then :
11321 ac_cv_func_strtod
=no
11323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11326 $ac_includes_default
11334 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
11335 char *string = " +69";
11338 value = strtod (string, &term);
11339 if (value != 69 || term != (string + 4))
11344 /* Under Solaris 2.4, strtod returns the wrong value for the
11345 terminating character under some conditions. */
11346 char *string = "NaN";
11348 strtod (string, &term);
11349 if (term != string && *(term - 1) == 0)
11356 if ac_fn_c_try_run
"$LINENO"; then :
11357 ac_cv_func_strtod
=yes
11359 ac_cv_func_strtod
=no
11361 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11362 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
11367 $as_echo "$ac_cv_func_strtod" >&6; }
11368 if test $ac_cv_func_strtod = no
; then
11369 case " $LIBOBJS " in
11370 *" strtod.$ac_objext "* ) ;;
11371 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
11375 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
11376 if test "x$ac_cv_func_pow" = x
""yes; then :
11380 if test $ac_cv_func_pow = no
; then
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
11382 $as_echo_n "checking for pow in -lm... " >&6; }
11383 if test "${ac_cv_lib_m_pow+set}" = set; then :
11384 $as_echo_n "(cached) " >&6
11386 ac_check_lib_save_LIBS
=$LIBS
11388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11406 if ac_fn_c_try_link
"$LINENO"; then :
11407 ac_cv_lib_m_pow
=yes
11411 rm -f core conftest.err conftest.
$ac_objext \
11412 conftest
$ac_exeext conftest.
$ac_ext
11413 LIBS
=$ac_check_lib_save_LIBS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
11416 $as_echo "$ac_cv_lib_m_pow" >&6; }
11417 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
11421 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
11428 for ac_func
in memset
11430 ac_fn_c_check_func
"$LINENO" "memset" "ac_cv_func_memset"
11431 if test "x$ac_cv_func_memset" = x
""yes; then :
11432 cat >>confdefs.h
<<_ACEOF
11433 #define HAVE_MEMSET 1
11437 as_fn_error
"memset not found in libc" "$LINENO" 5
11443 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
11444 if test "x$ac_cv_func_pow" = x
""yes; then :
11445 cat >>confdefs.h
<<_ACEOF
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
11451 $as_echo_n "checking for pow in -lm... " >&6; }
11452 if test "${ac_cv_lib_m_pow+set}" = set; then :
11453 $as_echo_n "(cached) " >&6
11455 ac_check_lib_save_LIBS
=$LIBS
11457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11475 if ac_fn_c_try_link
"$LINENO"; then :
11476 ac_cv_lib_m_pow
=yes
11480 rm -f core conftest.err conftest.
$ac_objext \
11481 conftest
$ac_exeext conftest.
$ac_ext
11482 LIBS
=$ac_check_lib_save_LIBS
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
11485 $as_echo "$ac_cv_lib_m_pow" >&6; }
11486 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
11487 cat >>confdefs.h
<<_ACEOF
11488 #define HAVE_LIBM 1
11494 as_fn_error
"cannot find pow" "$LINENO" 5
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
11501 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
11502 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
11503 $as_echo_n "(cached) " >&6
11505 ac_check_lib_save_LIBS
=$LIBS
11507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11516 char zlibVersion ();
11520 return zlibVersion ();
11525 if ac_fn_c_try_link
"$LINENO"; then :
11526 ac_cv_lib_z_zlibVersion
=yes
11528 ac_cv_lib_z_zlibVersion
=no
11530 rm -f core conftest.err conftest.
$ac_objext \
11531 conftest
$ac_exeext conftest.
$ac_ext
11532 LIBS
=$ac_check_lib_save_LIBS
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
11535 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
11536 if test "x$ac_cv_lib_z_zlibVersion" = x
""yes; then :
11537 cat >>confdefs.h
<<_ACEOF
11538 #define HAVE_LIBZ 1
11544 as_fn_error
"zlib not installed" "$LINENO" 5
11550 LIBPNG_DEFINES
="-DPNG_CONFIGURE_LIBPNG -D_ALL_SOURCE";;
11552 LIBPNG_DEFINES
=-DPNG_CONFIGURE_LIBPNG;;
11554 LIBPNG_DEFINES
=$LIBPNG_DEFINES
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
11558 $as_echo_n "checking if libraries can be versioned... " >&6; }
11559 # Special case for PE/COFF platforms: ld reports
11560 # support for version-script, but doesn't actually
11561 # DO anything with it.
11563 *cygwin
* | *mingw32
* )
11564 have_ld_version_script
=no
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11566 $as_echo "no" >&6; }
11569 GLD
=`$LD --help < /dev/null 2>/dev/null | grep version-script`
11570 if test "$GLD"; then
11571 have_ld_version_script
=yes
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11573 $as_echo "yes" >&6; }
11575 have_ld_version_script
=no
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11577 $as_echo "no" >&6; }
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You have not enabled versioned symbols." >&5
11579 $as_echo "$as_me: WARNING: *** You have not enabled versioned symbols." >&2;}
11584 if test "$have_ld_version_script" = "yes"; then
11585 HAVE_LD_VERSION_SCRIPT_TRUE
=
11586 HAVE_LD_VERSION_SCRIPT_FALSE
='#'
11588 HAVE_LD_VERSION_SCRIPT_TRUE
='#'
11589 HAVE_LD_VERSION_SCRIPT_FALSE
=
11593 if test "$have_ld_version_script" = "yes"; then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
11595 $as_echo_n "checking for symbol prefix... " >&6; }
11596 SYMBOL_PREFIX
=`echo "PREFIX=__USER_LABEL_PREFIX__" \
11597 | ${CPP-${CC-gcc} -E} - 2>&1 \
11598 | ${EGREP-grep} "^PREFIX=" \
11599 | ${SED-sed} "s:^PREFIX=::"`
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
11602 $as_echo "$SYMBOL_PREFIX" >&6; }
11605 # Substitutions for .in files
11611 # Additional arguments (and substitutions)
11612 # Allow the pkg-config directory to be set
11614 # Check whether --with-pkgconfigdir was given.
11615 if test "${with_pkgconfigdir+set}" = set; then :
11616 withval
=$with_pkgconfigdir; pkgconfigdir
=${withval}
11618 pkgconfigdir
='${libdir}/pkgconfig'
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: pkgconfig directory is ${pkgconfigdir}" >&5
11624 $as_echo "$as_me: pkgconfig directory is ${pkgconfigdir}" >&6;}
11626 # Make the *-config binary config scripts optional
11628 # Check whether --with-binconfigs was given.
11629 if test "${with_binconfigs+set}" = set; then :
11630 withval
=$with_binconfigs; if test "${withval}" = no
; then
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: libpng-config scripts will not be built" >&5
11633 $as_echo "$as_me: libpng-config scripts will not be built" >&6;}
11635 binconfigs
='${binconfigs}'
11638 binconfigs
='${binconfigs}'
11643 # Config files, substituting as above
11644 ac_config_files
="$ac_config_files Makefile libpng.pc:libpng.pc.in"
11646 ac_config_files
="$ac_config_files libpng-config:libpng-config.in"
11649 cat >confcache
<<\_ACEOF
11650 # This file is a shell script that caches the results of configure
11651 # tests run on this system so they can be shared between configure
11652 # scripts and configure runs, see configure's option --config-cache.
11653 # It is not useful on other systems. If it contains results you don't
11654 # want to keep, you may remove or edit it.
11656 # config.status only pays attention to the cache file if you give it
11657 # the --recheck option to rerun configure.
11659 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11660 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11661 # following values.
11665 # The following way of writing the cache mishandles newlines in values,
11666 # but we know of no workaround that is simple, portable, and efficient.
11667 # So, we kill variables containing newlines.
11668 # Ultrix sh set writes to stderr and can't be redirected directly,
11669 # and sets the high bit in the cache file unless we assign to the vars.
11671 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11672 eval ac_val
=\$
$ac_var
11676 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11677 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11680 _
| IFS
| as_nl
) ;; #(
11681 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
11682 *) { eval $ac_var=; unset $ac_var;} ;;
11688 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11689 *${as_nl}ac_space
=\
*)
11690 # `set' does not quote correctly, so add quotes: double-quote
11691 # substitution turns \\\\ into \\, and sed turns \\ into \.
11694 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11697 # `set' quotes correctly as required by POSIX, so do not add quotes.
11698 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11707 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11709 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11711 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11712 if test -w "$cache_file"; then
11713 test "x$cache_file" != "x/dev/null" &&
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11715 $as_echo "$as_me: updating cache $cache_file" >&6;}
11716 cat confcache
>$cache_file
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11719 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11724 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11725 # Let make expand exec_prefix.
11726 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11728 DEFS
=-DHAVE_CONFIG_H
11732 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11733 # 1. Remove the extension, and $U if already installed.
11734 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11735 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11736 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11737 # will be set to the directory where LIBOBJS objects are built.
11738 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11739 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11741 LIBOBJS
=$ac_libobjs
11743 LTLIBOBJS
=$ac_ltlibobjs
11746 if test -n "$EXEEXT"; then
11748 am__EXEEXT_FALSE
='#'
11750 am__EXEEXT_TRUE
='#'
11754 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11755 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11758 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11759 as_fn_error
"conditional \"AMDEP\" was never defined.
11760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11762 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11763 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
11764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11766 if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
11767 as_fn_error
"conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
11768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11771 : ${CONFIG_STATUS=./config.status}
11773 ac_clean_files_save
=$ac_clean_files
11774 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11776 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11778 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11780 # Generated by $as_me.
11781 # Run this file to recreate the current configuration.
11782 # Compiler output produced by configure, useful for debugging
11783 # configure, is in config.log if it exists.
11786 ac_cs_recheck=false
11789 SHELL=\${CONFIG_SHELL-$SHELL}
11792 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
11793 ## -------------------- ##
11794 ## M4sh Initialization. ##
11795 ## -------------------- ##
11797 # Be more Bourne compatible
11798 DUALCASE
=1; export DUALCASE
# for MKS sh
11799 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11802 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11803 # is contrary to our usage. Disable this feature.
11804 alias -g '${1+"$@"}'='"$@"'
11805 setopt NO_GLOB_SUBST
11807 case `(set -o) 2>/dev/null` in #(
11819 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11820 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11821 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11822 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11823 # Prefer a ksh shell builtin over an external printf program on Solaris,
11824 # but without wasting forks for bash or zsh.
11825 if test -z "$BASH_VERSION$ZSH_VERSION" \
11826 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11827 as_echo='print
-r --'
11828 as_echo_n='print
-rn --'
11829 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11830 as_echo='printf %s
\n'
11831 as_echo_n='printf %s
'
11833 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11834 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11835 as_echo_n='/usr
/ucb
/echo -n'
11837 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11838 as_echo_n_body='eval
11842 expr "X$arg" : "X\\(.*\\)$as_nl";
11843 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11845 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11847 export as_echo_n_body
11848 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11850 export as_echo_body
11851 as_echo='sh
-c $as_echo_body as_echo
'
11854 # The user is always right.
11855 if test "${PATH_SEPARATOR+set}" != set; then
11857 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11858 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11865 # We need space, tab and new line, in precisely that order. Quoting is
11866 # there to prevent editors from complaining about space-tab.
11867 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11868 # splitting by setting IFS to empty value.)
11871 # Find who we are. Look in the path if we contain no directory separator.
11873 *[\\/]* ) as_myself=$0 ;;
11874 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11875 for as_dir in $PATH
11878 test -z "$as_dir" && as_dir=.
11879 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11885 # We did not find ourselves, most probably we were run as `sh COMMAND'
11886 # in which case we are not to be found in the path.
11887 if test "x$as_myself" = x
; then
11890 if test ! -f "$as_myself"; then
11891 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11895 # Unset variables that we do not need and which cause bugs (e.g. in
11896 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11897 # suppresses any "Segmentation fault" message there. '((' could
11898 # trigger a bug in pdksh 5.2.14.
11899 for as_var
in BASH_ENV ENV MAIL MAILPATH
11900 do eval test x\
${$as_var+set} = xset \
11901 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
11914 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11917 # as_fn_error ERROR [LINENO LOG_FD]
11918 # ---------------------------------
11919 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11920 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11921 # script with status $?, using 1 if that was 0.
11924 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11926 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11927 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11929 $as_echo "$as_me: error: $1" >&2
11930 as_fn_exit
$as_status
11934 # as_fn_set_status STATUS
11935 # -----------------------
11936 # Set $? to STATUS, without forking.
11937 as_fn_set_status
()
11940 } # as_fn_set_status
11942 # as_fn_exit STATUS
11943 # -----------------
11944 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11948 as_fn_set_status
$1
11954 # Portably unset VAR.
11957 { eval $1=; unset $1;}
11959 as_unset
=as_fn_unset
11960 # as_fn_append VAR VALUE
11961 # ----------------------
11962 # Append the text in VALUE to the end of the definition contained in VAR. Take
11963 # advantage of any shell optimizations that allow amortized linear growth over
11964 # repeated appends, instead of the typical quadratic growth present in naive
11966 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11967 eval 'as_fn_append ()
11978 # as_fn_arith ARG...
11979 # ------------------
11980 # Perform arithmetic evaluation on the ARGs, and store the result in the
11981 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11982 # must be portable across $(()) and expr.
11983 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11984 eval 'as_fn_arith ()
11991 as_val
=`expr "$@" || test $? -eq 1`
11996 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11997 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12003 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12004 as_basename
=basename
12009 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12015 as_me
=`$as_basename -- "$0" ||
12016 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12017 X"$0" : 'X\(//\)$' \| \
12018 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12020 sed '/^.*\/\([^/][^/]*\)\/*$/{
12034 # Avoid depending upon Character Ranges.
12035 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12036 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12037 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12038 as_cr_digits
='0123456789'
12039 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12041 ECHO_C
= ECHO_N
= ECHO_T
=
12042 case `echo -n x` in #(((((
12044 case `echo 'xy\c'` in
12045 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12047 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12054 rm -f conf$$ conf$$.exe conf$$.
file
12055 if test -d conf$$.dir
; then
12056 rm -f conf$$.dir
/conf$$.
file
12059 mkdir conf$$.dir
2>/dev
/null
12061 if (echo >conf$$.
file) 2>/dev
/null
; then
12062 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12064 # ... but there are two gotchas:
12065 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12066 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12067 # In both cases, we have to default to `cp -p'.
12068 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
12070 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12078 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12079 rmdir conf$$.dir
2>/dev
/null
12084 # Create "$as_dir" as a directory, including parents if necessary.
12089 -*) as_dir
=.
/$as_dir;;
12091 test -d "$as_dir" || eval $as_mkdir_p || {
12095 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12096 *) as_qdir
=$as_dir;;
12098 as_dirs
="'$as_qdir' $as_dirs"
12099 as_dir
=`$as_dirname -- "$as_dir" ||
12100 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12101 X"$as_dir" : 'X\(//\)[^/]' \| \
12102 X"$as_dir" : 'X\(//\)$' \| \
12103 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12104 $as_echo X"$as_dir" |
12105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12109 /^X\(\/\/\)[^/].*/{
12122 test -d "$as_dir" && break
12124 test -z "$as_dirs" || eval "mkdir $as_dirs"
12125 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12129 if mkdir -p .
2>/dev
/null
; then
12130 as_mkdir_p
='mkdir -p "$as_dir"'
12132 test -d .
/-p && rmdir .
/-p
12136 if test -x / >/dev
/null
2>&1; then
12137 as_test_x
='test -x'
12139 if ls -dL / >/dev
/null
2>&1; then
12146 if test -d "$1"; then
12152 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12153 ???[sx]*):;;*)false;;esac;fi
12157 as_executable_p
=$as_test_x
12159 # Sed expression to map a string onto a valid CPP name.
12160 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12162 # Sed expression to map a string onto a valid variable name.
12163 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12167 ## ----------------------------------- ##
12168 ## Main body of $CONFIG_STATUS script. ##
12169 ## ----------------------------------- ##
12171 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12173 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12174 # Save the log message, to keep $0 and so on meaningful, and to
12175 # report actual input values of CONFIG_FILES etc. instead of their
12176 # values after options handling.
12178 This file was extended by libpng $as_me 1.4.4, which was
12179 generated by GNU Autoconf 2.65. Invocation command line was
12181 CONFIG_FILES = $CONFIG_FILES
12182 CONFIG_HEADERS = $CONFIG_HEADERS
12183 CONFIG_LINKS = $CONFIG_LINKS
12184 CONFIG_COMMANDS = $CONFIG_COMMANDS
12187 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12192 case $ac_config_files in *"
12193 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12196 case $ac_config_headers in *"
12197 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12202 # Files that config.status was made for.
12203 config_files="$ac_config_files"
12204 config_headers="$ac_config_headers"
12205 config_commands="$ac_config_commands"
12209 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12211 \`$as_me' instantiates files and other configuration actions
12212 from templates according to the current configuration. Unless the files
12213 and actions are specified as TAGs, all are instantiated by default.
12215 Usage: $0 [OPTION]... [TAG]...
12217 -h, --help print this help, then exit
12218 -V, --version print version number and configuration settings, then exit
12219 --config print configuration, then exit
12220 -q, --quiet, --silent
12221 do not print progress messages
12222 -d, --debug don't remove temporary files
12223 --recheck update $as_me by reconfiguring in the same conditions
12224 --file=FILE[:TEMPLATE]
12225 instantiate the configuration file FILE
12226 --header=FILE[:TEMPLATE]
12227 instantiate the configuration header FILE
12229 Configuration files:
12232 Configuration headers:
12235 Configuration commands:
12238 Report bugs to <png-mng-implement@lists.sourceforge.net>."
12241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12242 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12244 libpng config.status 1.4.4
12245 configured by $0, generated by GNU Autoconf 2.65,
12246 with options \\"\$ac_cs_config\\"
12248 Copyright (C) 2009 Free Software Foundation, Inc.
12249 This config.status script is free software; the Free Software Foundation
12250 gives unlimited permission to copy, distribute and modify it."
12257 test -n "\$AWK" || AWK=awk
12260 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12261 # The default lists apply if the user does not specify any file.
12267 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12268 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12279 # Handling of the options.
12280 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12282 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12283 $as_echo "$ac_cs_version"; exit ;;
12284 --config | --confi | --conf | --con | --co | --c )
12285 $as_echo "$ac_cs_config"; exit ;;
12286 --debug | --debu | --deb | --de | --d | -d )
12288 --file | --fil | --fi | --f )
12291 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12293 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12294 ac_need_defaults
=false
;;
12295 --header | --heade | --head | --hea )
12298 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12300 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12301 ac_need_defaults
=false
;;
12303 # Conflict between --help and --header
12304 as_fn_error
"ambiguous option: \`$1'
12305 Try \`$0 --help' for more information.";;
12306 --help | --hel | -h )
12307 $as_echo "$ac_cs_usage"; exit ;;
12308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12309 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12312 # This is an error.
12313 -*) as_fn_error
"unrecognized option: \`$1'
12314 Try \`$0 --help' for more information." ;;
12316 *) as_fn_append ac_config_targets
" $1"
12317 ac_need_defaults
=false
;;
12323 ac_configure_extra_args
=
12325 if $ac_cs_silent; then
12327 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12332 if \$ac_cs_recheck; then
12333 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12335 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12336 CONFIG_SHELL='$SHELL'
12337 export CONFIG_SHELL
12342 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12346 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12347 ## Running $as_me. ##
12353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12357 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12360 # The HP-UX ksh and POSIX shell print the target directory to stdout
12361 # if CDPATH is set.
12362 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12364 sed_quote_subst='$sed_quote_subst'
12365 double_quote_subst='$double_quote_subst'
12366 delay_variable_subst='$delay_variable_subst'
12367 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12368 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12369 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12370 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12371 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12372 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12373 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12374 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12375 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12376 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12377 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
12378 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12379 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12380 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12381 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12382 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12383 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12384 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12385 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12386 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12387 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12388 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12389 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12390 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12391 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12392 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12393 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12394 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12395 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12396 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12397 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12398 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12399 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12400 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12401 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12402 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12403 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12404 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12405 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12406 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12407 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12408 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12409 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12410 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12411 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12412 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12413 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12414 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12415 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12416 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12417 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"`'
12418 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12419 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12420 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12421 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12422 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12423 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12424 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12425 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12426 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12427 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12428 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12429 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12430 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12431 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12432 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12433 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12434 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12435 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12436 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12437 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12438 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12439 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12440 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12441 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12442 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12443 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12444 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12445 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12446 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12447 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12448 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12449 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12450 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12451 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12452 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12453 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12454 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12455 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12456 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12457 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12458 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12459 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12460 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12461 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12462 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12463 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12464 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12465 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12466 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12467 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12468 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12469 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12470 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12471 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12472 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12473 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12474 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12475 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12476 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12477 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12478 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12479 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12480 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12481 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12482 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12483 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12484 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12485 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12486 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12487 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12488 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12491 LTCFLAGS='$LTCFLAGS'
12492 compiler='$compiler_DEFAULT'
12494 # A function that is used when there is no print builtin or printf.
12495 func_fallback_echo ()
12497 eval 'cat <<_LTECHO_EOF
12502 # Quote evaled strings.
12518 deplibs_check_method \
12527 lt_cv_sys_global_symbol_pipe \
12528 lt_cv_sys_global_symbol_to_cdecl \
12529 lt_cv_sys_global_symbol_to_c_name_address \
12530 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12531 lt_prog_compiler_no_builtin_flag \
12532 lt_prog_compiler_wl \
12533 lt_prog_compiler_pic \
12534 lt_prog_compiler_static \
12535 lt_cv_prog_compiler_c_o \
12543 export_dynamic_flag_spec \
12544 whole_archive_flag_spec \
12545 compiler_needs_object \
12547 allow_undefined_flag \
12548 no_undefined_flag \
12549 hardcode_libdir_flag_spec \
12550 hardcode_libdir_flag_spec_ld \
12551 hardcode_libdir_separator \
12556 variables_saved_for_relink \
12558 library_names_spec \
12560 install_override_mode \
12564 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12565 *[\\\\\\\`\\"\\\$]*)
12566 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12569 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12574 # Double-quote double-evaled strings.
12575 for var in reload_cmds \
12576 old_postinstall_cmds \
12577 old_postuninstall_cmds \
12579 extract_expsyms_cmds \
12580 old_archive_from_new_cmds \
12581 old_archive_from_expsyms_cmds \
12583 archive_expsym_cmds \
12585 module_expsym_cmds \
12586 export_symbols_cmds \
12589 postuninstall_cmds \
12591 sys_lib_search_path_spec \
12592 sys_lib_dlsearch_path_spec; do
12593 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12594 *[\\\\\\\`\\"\\\$]*)
12595 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12598 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12603 ac_aux_dir='$ac_aux_dir'
12604 xsi_shell='$xsi_shell'
12605 lt_shell_append='$lt_shell_append'
12607 # See if we are running on zsh, and set the options which allow our
12608 # commands through without removal of \ escapes INIT.
12609 if test -n "\${ZSH_VERSION+set}" ; then
12610 setopt NO_GLOB_SUBST
12616 TIMESTAMP='$TIMESTAMP'
12625 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12627 # Handling of arguments.
12628 for ac_config_target
in $ac_config_targets
12630 case $ac_config_target in
12631 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12632 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12633 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12634 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12635 "libpng.pc") CONFIG_FILES
="$CONFIG_FILES libpng.pc:libpng.pc.in" ;;
12636 "libpng-config") CONFIG_FILES
="$CONFIG_FILES libpng-config:libpng-config.in" ;;
12638 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12643 # If the user did not use the arguments to specify the items to instantiate,
12644 # then the envvar interface is used. Set only those that are not.
12645 # We use the long form for the default assignment because of an extremely
12646 # bizarre bug on SunOS 4.1.3.
12647 if $ac_need_defaults; then
12648 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12649 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12650 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12653 # Have a temporary directory for convenience. Make it in the build tree
12654 # simply because there is no reason against having it here, and in addition,
12655 # creating and moving files from /tmp can sometimes cause problems.
12656 # Hook for its removal unless debugging.
12657 # Note that there is a small window in which the directory will not be cleaned:
12658 # after its creation but before its name has been assigned to `$tmp'.
12662 trap 'exit_status=$?
12663 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12665 trap 'as_fn_exit 1' 1 2 13 15
12667 # Create a (secure) tmp directory for tmp files.
12670 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12671 test -n "$tmp" && test -d "$tmp"
12674 tmp
=.
/conf$$
-$RANDOM
12675 (umask 077 && mkdir "$tmp")
12676 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12678 # Set up the scripts for CONFIG_FILES section.
12679 # No need to generate them if there are no CONFIG_FILES.
12680 # This happens for instance with `./config.status config.h'.
12681 if test -n "$CONFIG_FILES"; then
12684 ac_cr
=`echo X | tr X '\015'`
12685 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12686 # But we know of no other shell where ac_cr would be empty at this
12687 # point, so we can use a bashism as a fallback.
12688 if test "x$ac_cr" = x
; then
12689 eval ac_cr
=\$
\'\\r
\'
12691 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12692 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12695 ac_cs_awk_cr
=$ac_cr
12698 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12703 echo "cat >conf$$subs.awk <<_ACEOF" &&
12704 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12706 } >conf$$subs.sh ||
12707 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12708 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12710 for ac_last_try in false false false false false :; do
12711 . ./conf$$subs.sh ||
12712 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12714 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12715 if test $ac_delim_n = $ac_delim_num; then
12717 elif $ac_last_try; then
12718 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12720 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12723 rm -f conf$$subs.sh
12725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12726 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12730 s/^/S["/; s
/!.
*/"]=/
12740 s/\(.\{148\}\)..*/\1/
12742 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12747 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12754 s/\(.\{148\}\)..*/\1/
12756 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12760 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12765 ' <conf$$subs.awk | sed '
12770 ' >>$CONFIG_STATUS || ac_write_fail=1
12771 rm -f conf$$subs.awk
12772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12774 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12775 for (key in S) S_is_set[key] = 1
12781 nfields = split(line, field, "@
")
12783 len = length(field[1])
12784 for (i = 2; i < nfields; i++) {
12786 keylen = length(key)
12787 if (S_is_set[key]) {
12789 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12790 len += length(value) + length(field[++i])
12801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12802 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12803 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12806 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12807 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12810 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12811 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12812 # trailing colons and then remove the whole line if VPATH becomes empty
12813 # (actually we leave an empty line to preserve line numbers).
12814 if test "x
$srcdir" = x.; then
12815 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12816 s/:*\$(srcdir):*/:/
12817 s/:*\${srcdir}:*/:/
12819 s/^\([^=]*=[ ]*\):*/\1/
12825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12826 fi # test -n "$CONFIG_FILES"
12828 # Set up the scripts for CONFIG_HEADERS section.
12829 # No need to generate them if there are no CONFIG_HEADERS.
12830 # This happens for instance with `./config.status Makefile'.
12831 if test -n "$CONFIG_HEADERS"; then
12832 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12836 # Transform confdefs.h into an awk script `defines.awk', embedded as
12837 # here-document in config.status, that substitutes the proper values into
12838 # config.h.in to produce config.h.
12840 # Create a delimiter string that does not exist in confdefs.h, to ease
12841 # handling of long lines.
12843 for ac_last_try in false false :; do
12844 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12845 if test -z "$ac_t"; then
12847 elif $ac_last_try; then
12848 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12850 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12854 # For the awk script, D is an array of macro values keyed by name,
12855 # likewise P contains macro parameters if any. Preserve backslash
12856 # newline sequences.
12858 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12860 s/.\{148\}/&'"$ac_delim"'/g
12863 s/^[ ]*#[ ]*define[ ][ ]*/ /
12870 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12872 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12876 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12877 D["\
1"]=" \
3\\\\\\n
"\\/p
12879 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12884 s/.\{148\}/&'"$ac_delim"'/g
12889 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12892 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12894 ' <confdefs.h | sed '
12895 s/'"$ac_delim"'/"\\\
12896 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12899 for (key in D) D_is_set[key] = 1
12902 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12904 split(line, arg, " ")
12905 if (arg[1] == "#") {
12909 defundef
= substr
(arg
[1], 2)
12912 split(mac1
, mac2
, "(") #)
12914 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12915 if (D_is_set
[macro
]) {
12916 # Preserve the white space surrounding the "#".
12917 print prefix
"define", macro P
[macro
] D
[macro
]
12920 # Replace #undef with comments. This is necessary, for example,
12921 # in the case of _POSIX_SOURCE, which is predefined and required
12922 # on some systems where configure will not decide to define it.
12923 if (defundef
== "undef") {
12924 print
"/*", prefix defundef
, macro
, "*/"
12932 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12933 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12934 fi # test -n "$CONFIG_HEADERS"
12937 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12942 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12944 case $ac_mode$ac_tag in
12946 :L
* | :C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12947 :[FH
]-) ac_tag
=-:-;;
12948 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12965 -) ac_f
="$tmp/stdin";;
12966 *) # Look for the file first in the build tree, then in the source tree
12967 # (if the path is not absolute). The absolute path cannot be DOS-style,
12968 # because $ac_f cannot contain `:'.
12972 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12974 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12976 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12977 as_fn_append ac_file_inputs
" '$ac_f'"
12980 # Let's still pretend it is `configure' which instantiates (i.e., don't
12981 # use $as_me), people would be surprised to read:
12982 # /* config.h. Generated by config.status. */
12983 configure_input
='Generated from '`
12984 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12986 if test x
"$ac_file" != x
-; then
12987 configure_input
="$ac_file. $configure_input"
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12989 $as_echo "$as_me: creating $ac_file" >&6;}
12991 # Neutralize special characters interpreted by sed in replacement strings.
12992 case $configure_input in #(
12993 *\
&* | *\
|* | *\\* )
12994 ac_sed_conf_input
=`$as_echo "$configure_input" |
12995 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12996 *) ac_sed_conf_input
=$configure_input;;
13000 *:-:* | *:-) cat >"$tmp/stdin" \
13001 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13006 ac_dir
=`$as_dirname -- "$ac_file" ||
13007 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13008 X"$ac_file" : 'X\(//\)[^/]' \| \
13009 X"$ac_file" : 'X\(//\)$' \| \
13010 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13011 $as_echo X"$ac_file" |
13012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13016 /^X\(\/\/\)[^/].*/{
13029 as_dir
="$ac_dir"; as_fn_mkdir_p
13033 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13035 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13036 # A ".." for each directory in $ac_dir_suffix.
13037 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13038 case $ac_top_builddir_sub in
13039 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13040 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13043 ac_abs_top_builddir
=$ac_pwd
13044 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13045 # for backward compatibility:
13046 ac_top_builddir
=$ac_top_build_prefix
13049 .
) # We are building in place.
13051 ac_top_srcdir
=$ac_top_builddir_sub
13052 ac_abs_top_srcdir
=$ac_pwd ;;
13053 [\\/]* | ?
:[\\/]* ) # Absolute name.
13054 ac_srcdir
=$srcdir$ac_dir_suffix;
13055 ac_top_srcdir
=$srcdir
13056 ac_abs_top_srcdir
=$srcdir ;;
13057 *) # Relative name.
13058 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13059 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13060 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13062 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13072 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13073 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13075 ac_MKDIR_P
=$MKDIR_P
13077 [\\/$
]* | ?
:[\\/]* ) ;;
13078 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13082 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13083 # If the template does not know about datarootdir, expand it.
13084 # FIXME: This hack should be removed a few years after 2.60.
13085 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13096 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13097 *datarootdir
*) ac_datarootdir_seen
=yes;;
13098 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13100 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13103 ac_datarootdir_hack='
13104 s&@datadir@&$datadir&g
13105 s&@docdir@&$docdir&g
13106 s&@infodir@&$infodir&g
13107 s&@localedir@&$localedir&g
13108 s&@mandir@&$mandir&g
13109 s&\\\${datarootdir}&$datarootdir&g' ;;
13113 # Neutralize VPATH when `$srcdir' = `.'.
13114 # Shell code in configure.ac might set extrasub.
13115 # FIXME: do we really want to maintain this feature?
13116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13117 ac_sed_extra="$ac_vpsub
13120 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13122 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
13123 s
|@configure_input@
|$ac_sed_conf_input|;t t
13124 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13125 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13126 s
&@srcdir@
&$ac_srcdir&;t t
13127 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13128 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13129 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13130 s
&@builddir@
&$ac_builddir&;t t
13131 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13132 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13133 s
&@INSTALL@
&$ac_INSTALL&;t t
13134 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13135 $ac_datarootdir_hack
13137 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13138 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13140 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13141 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13142 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13144 which seems to be undefined. Please make sure it is defined." >&5
13145 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13146 which seems to be undefined. Please make sure it is defined." >&2;}
13150 -) cat "$tmp/out" && rm -f "$tmp/out";;
13151 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13153 || as_fn_error "could not create $ac_file" "$LINENO" 5
13159 if test x"$ac_file" != x-; then
13161 $as_echo "/* $configure_input */" \
13162 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13163 } >"$tmp/config.h" \
13164 || as_fn_error "could not create $ac_file" "$LINENO" 5
13165 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13167 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13170 mv "$tmp/config.h" "$ac_file" \
13171 || as_fn_error "could not create $ac_file" "$LINENO" 5
13174 $as_echo "/* $configure_input */" \
13175 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13176 || as_fn_error "could not create -" "$LINENO" 5
13178 # Compute "$ac_file"'s index
in $config_headers.
13181 for _am_header
in $config_headers :; do
13182 case $_am_header in
13183 $_am_arg | $_am_arg:* )
13186 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13189 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13190 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13191 X"$_am_arg" : 'X\(//\)[^/]' \| \
13192 X"$_am_arg" : 'X\(//\)$' \| \
13193 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13194 $as_echo X"$_am_arg" |
13195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13199 /^X\(\/\/\)[^/].*/{
13211 s/.*/./; q'`/stamp
-h$_am_stamp_count
13214 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13215 $as_echo "$as_me: executing $ac_file commands" >&6;}
13220 case $ac_file$ac_mode in
13221 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
13222 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13223 # are listed without --file. Let's play safe and only enable the eval
13224 # if we detect the quoting.
13225 case $CONFIG_FILES in
13226 *\'*) eval set x
"$CONFIG_FILES" ;;
13227 *) set x
$CONFIG_FILES ;;
13232 # Strip MF so we end up with the name of the file.
13233 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13234 # Check whether this is an Automake generated Makefile or not.
13235 # We used to match only the files named `Makefile.in', but
13236 # some people rename them; so instead we look at the file content.
13237 # Grep'ing the first line is not enough: some people post-process
13238 # each Makefile.in and add a new line on top of each file to say so.
13239 # Grep'ing the whole file is not good either: AIX grep has a line
13240 # limit of 2048, but all sed's we know have understand at least 4000.
13241 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
13242 dirpart
=`$as_dirname -- "$mf" ||
13243 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13244 X"$mf" : 'X\(//\)[^/]' \| \
13245 X"$mf" : 'X\(//\)$' \| \
13246 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13252 /^X\(\/\/\)[^/].*/{
13268 # Extract the definition of DEPDIR, am__include, and am__quote
13269 # from the Makefile without running `make'.
13270 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13271 test -z "$DEPDIR" && continue
13272 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13273 test -z "am__include" && continue
13274 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13275 # When using ansi2knr, U may be empty or an underscore; expand it
13276 U
=`sed -n 's/^U = //p' < "$mf"`
13277 # Find all dependency output files, they are included files with
13278 # $(DEPDIR) in their names. We invoke sed twice because it is the
13279 # simplest approach to changing $(DEPDIR) to its actual value in the
13281 for file in `sed -n "
13282 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13283 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13284 # Make sure the directory exists.
13285 test -f "$dirpart/$file" && continue
13286 fdir
=`$as_dirname -- "$file" ||
13287 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13288 X"$file" : 'X\(//\)[^/]' \| \
13289 X"$file" : 'X\(//\)$' \| \
13290 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13291 $as_echo X"$file" |
13292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13296 /^X\(\/\/\)[^/].*/{
13309 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13310 # echo "creating $dirpart/$file"
13311 echo '# dummy' > "$dirpart/$file"
13318 # See if we are running on zsh, and set the options which allow our
13319 # commands through without removal of \ escapes.
13320 if test -n "${ZSH_VERSION+set}" ; then
13321 setopt NO_GLOB_SUBST
13324 cfgfile
="${ofile}T"
13325 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13328 cat <<_LT_EOF >> "$cfgfile"
13331 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13332 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13333 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13334 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13336 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13337 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
13339 # Written by Gordon Matzigkeit, 1996
13341 # This file is part of GNU Libtool.
13343 # GNU Libtool is free software; you can redistribute it and/or
13344 # modify it under the terms of the GNU General Public License as
13345 # published by the Free Software Foundation; either version 2 of
13346 # the License, or (at your option) any later version.
13348 # As a special exception to the GNU General Public License,
13349 # if you distribute this file as part of a program or library that
13350 # is built using GNU Libtool, you may include this file under the
13351 # same distribution terms that you use for the rest of that program.
13353 # GNU Libtool is distributed in the hope that it will be useful,
13354 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13355 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13356 # GNU General Public License for more details.
13358 # You should have received a copy of the GNU General Public License
13359 # along with GNU Libtool; see the file COPYING. If not, a copy
13360 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13361 # obtained by writing to the Free Software Foundation, Inc.,
13362 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13365 # The names of the tagged configurations supported by this script.
13368 # ### BEGIN LIBTOOL CONFIG
13370 # A sed program that does not truncate output.
13373 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13374 Xsed="\$SED -e 1s/^X//"
13376 # A grep program that handles long lines.
13382 # A literal string matcher.
13385 # Shell to use when invoking shell scripts.
13388 # An echo program that protects backslashes.
13391 # Which release of libtool.m4 was used?
13392 macro_version=$macro_version
13393 macro_revision=$macro_revision
13395 # Assembler program.
13398 # DLL creation program.
13399 DLLTOOL=$lt_DLLTOOL
13401 # Object dumper program.
13402 OBJDUMP=$lt_OBJDUMP
13404 # Whether or not to build shared libraries.
13405 build_libtool_libs=$enable_shared
13407 # Whether or not to build static libraries.
13408 build_old_libs=$enable_static
13410 # What type of objects to build.
13413 # Whether or not to optimize for fast installation.
13414 fast_install=$enable_fast_install
13417 host_alias=$host_alias
13421 # The build system.
13422 build_alias=$build_alias
13426 # A BSD- or MS-compatible name lister.
13429 # Whether we need soft or hard links.
13432 # What is the maximum length of a command?
13433 max_cmd_len=$max_cmd_len
13435 # Object file suffix (normally "o").
13438 # Executable file suffix (normally "").
13441 # whether the shell understands "unset".
13444 # turn spaces into newlines.
13447 # turn newlines into spaces.
13450 # Method to check whether dependent libraries are shared objects.
13451 deplibs_check_method=$lt_deplibs_check_method
13453 # Command to use when deplibs_check_method == "file_magic".
13454 file_magic_cmd=$lt_file_magic_cmd
13458 AR_FLAGS=$lt_AR_FLAGS
13460 # A symbol stripping program.
13463 # Commands used to install an old-style archive.
13465 old_postinstall_cmds=$lt_old_postinstall_cmds
13466 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13468 # Whether to use a lock for old archive extraction.
13469 lock_old_archive_extraction=$lock_old_archive_extraction
13474 # LTCC compiler flags.
13475 LTCFLAGS=$lt_CFLAGS
13477 # Take the output of nm and produce a listing of raw symbols and C names.
13478 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13480 # Transform the output of nm in a proper C declaration.
13481 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13483 # Transform the output of nm in a C name address pair.
13484 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13486 # Transform the output of nm in a C name address pair when lib prefix is needed.
13487 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13489 # The name of the directory that contains temporary libtool files.
13492 # Used to examine libraries when file_magic_cmd begins with "file".
13493 MAGIC_CMD=$MAGIC_CMD
13495 # Must we lock files when doing compilation?
13496 need_locks=$lt_need_locks
13498 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13499 DSYMUTIL=$lt_DSYMUTIL
13501 # Tool to change global to local symbols on Mac OS X.
13504 # Tool to manipulate fat objects and archives on Mac OS X.
13507 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13510 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13511 OTOOL64=$lt_OTOOL64
13513 # Old archive suffix (normally "a").
13516 # Shared library suffix (normally ".so").
13517 shrext_cmds=$lt_shrext_cmds
13519 # The commands to extract the exported symbol list from a shared archive.
13520 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13522 # Variables whose values should be saved in libtool wrapper scripts and
13523 # restored at link time.
13524 variables_saved_for_relink=$lt_variables_saved_for_relink
13526 # Do we need the "lib" prefix for modules?
13527 need_lib_prefix=$need_lib_prefix
13529 # Do we need a version for libraries?
13530 need_version=$need_version
13532 # Library versioning type.
13533 version_type=$version_type
13535 # Shared library runtime path variable.
13536 runpath_var=$runpath_var
13538 # Shared library path variable.
13539 shlibpath_var=$shlibpath_var
13541 # Is shlibpath searched before the hard-coded library search path?
13542 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13544 # Format of library name prefix.
13545 libname_spec=$lt_libname_spec
13547 # List of archive names. First name is the real one, the rest are links.
13548 # The last name is the one that the linker finds with -lNAME
13549 library_names_spec=$lt_library_names_spec
13551 # The coded name of the library, if different from the real name.
13552 soname_spec=$lt_soname_spec
13554 # Permission mode override for installation of shared libraries.
13555 install_override_mode=$lt_install_override_mode
13557 # Command to use after installation of a shared archive.
13558 postinstall_cmds=$lt_postinstall_cmds
13560 # Command to use after uninstallation of a shared archive.
13561 postuninstall_cmds=$lt_postuninstall_cmds
13563 # Commands used to finish a libtool library installation in a directory.
13564 finish_cmds=$lt_finish_cmds
13566 # As "finish_cmds", except a single script fragment to be evaled but
13568 finish_eval=$lt_finish_eval
13570 # Whether we should hardcode library paths into libraries.
13571 hardcode_into_libs=$hardcode_into_libs
13573 # Compile-time system search path for libraries.
13574 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13576 # Run-time system search path for libraries.
13577 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13579 # Whether dlopen is supported.
13580 dlopen_support=$enable_dlopen
13582 # Whether dlopen of programs is supported.
13583 dlopen_self=$enable_dlopen_self
13585 # Whether dlopen of statically linked programs is supported.
13586 dlopen_self_static=$enable_dlopen_self_static
13588 # Commands to strip libraries.
13589 old_striplib=$lt_old_striplib
13590 striplib=$lt_striplib
13593 # The linker used to build libraries.
13596 # How to create reloadable object files.
13597 reload_flag=$lt_reload_flag
13598 reload_cmds=$lt_reload_cmds
13600 # Commands used to build an old-style archive.
13601 old_archive_cmds=$lt_old_archive_cmds
13603 # A language specific compiler.
13606 # Is the compiler the GNU compiler?
13609 # Compiler flag to turn off builtin functions.
13610 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13612 # How to pass a linker flag through the compiler.
13613 wl=$lt_lt_prog_compiler_wl
13615 # Additional compiler flags for building library objects.
13616 pic_flag=$lt_lt_prog_compiler_pic
13618 # Compiler flag to prevent dynamic linking.
13619 link_static_flag=$lt_lt_prog_compiler_static
13621 # Does compiler simultaneously support -c and -o options?
13622 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13624 # Whether or not to add -lc for building shared libraries.
13625 build_libtool_need_lc=$archive_cmds_need_lc
13627 # Whether or not to disallow shared libs when runtime libs are static.
13628 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13630 # Compiler flag to allow reflexive dlopens.
13631 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13633 # Compiler flag to generate shared objects directly from archives.
13634 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13636 # Whether the compiler copes with passing no objects directly.
13637 compiler_needs_object=$lt_compiler_needs_object
13639 # Create an old-style archive from a shared archive.
13640 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13642 # Create a temporary old-style archive to link instead of a shared archive.
13643 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13645 # Commands used to build a shared archive.
13646 archive_cmds=$lt_archive_cmds
13647 archive_expsym_cmds=$lt_archive_expsym_cmds
13649 # Commands used to build a loadable module if different from building
13650 # a shared archive.
13651 module_cmds=$lt_module_cmds
13652 module_expsym_cmds=$lt_module_expsym_cmds
13654 # Whether we are building with GNU ld or not.
13655 with_gnu_ld=$lt_with_gnu_ld
13657 # Flag that allows shared libraries with undefined symbols to be built.
13658 allow_undefined_flag=$lt_allow_undefined_flag
13660 # Flag that enforces no undefined symbols.
13661 no_undefined_flag=$lt_no_undefined_flag
13663 # Flag to hardcode \$libdir into a binary during linking.
13664 # This must work even if \$libdir does not exist
13665 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13667 # If ld is used when linking, flag to hardcode \$libdir into a binary
13668 # during linking. This must work even if \$libdir does not exist.
13669 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13671 # Whether we need a single "-rpath" flag with a separated argument.
13672 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13674 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13675 # DIR into the resulting binary.
13676 hardcode_direct=$hardcode_direct
13678 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13679 # DIR into the resulting binary and the resulting library dependency is
13680 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13681 # library is relocated.
13682 hardcode_direct_absolute=$hardcode_direct_absolute
13684 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13685 # into the resulting binary.
13686 hardcode_minus_L=$hardcode_minus_L
13688 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13689 # into the resulting binary.
13690 hardcode_shlibpath_var=$hardcode_shlibpath_var
13692 # Set to "yes" if building a shared library automatically hardcodes DIR
13693 # into the library and all subsequent libraries and executables linked
13695 hardcode_automatic=$hardcode_automatic
13697 # Set to yes if linker adds runtime paths of dependent libraries
13698 # to runtime path list.
13699 inherit_rpath=$inherit_rpath
13701 # Whether libtool must link a program against all its dependency libraries.
13702 link_all_deplibs=$link_all_deplibs
13704 # Fix the shell variable \$srcfile for the compiler.
13705 fix_srcfile_path=$lt_fix_srcfile_path
13707 # Set to "yes" if exported symbols are required.
13708 always_export_symbols=$always_export_symbols
13710 # The commands to list exported symbols.
13711 export_symbols_cmds=$lt_export_symbols_cmds
13713 # Symbols that should not be listed in the preloaded symbols.
13714 exclude_expsyms=$lt_exclude_expsyms
13716 # Symbols that must always be exported.
13717 include_expsyms=$lt_include_expsyms
13719 # Commands necessary for linking programs (against libraries) with templates.
13720 prelink_cmds=$lt_prelink_cmds
13722 # Specify filename containing input files.
13723 file_list_spec=$lt_file_list_spec
13725 # How to hardcode a shared library path into an executable.
13726 hardcode_action=$hardcode_action
13728 # ### END LIBTOOL CONFIG
13734 cat <<\_LT_EOF
>> "$cfgfile"
13735 # AIX sometimes has problems with the GCC collect2 program. For some
13736 # reason, if we set the COLLECT_NAMES environment variable, the problems
13737 # vanish in a puff of smoke.
13738 if test "X${COLLECT_NAMES+set}" != Xset
; then
13740 export COLLECT_NAMES
13747 ltmain
="$ac_aux_dir/ltmain.sh"
13750 # We use sed instead of cat because bash on DJGPP gets confused if
13751 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13752 # text mode, it properly converts lines to CR/LF. This bash problem
13753 # is reportedly fixed, but why not run on old versions too?
13754 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13755 || (rm -f "$cfgfile"; exit 1)
13759 cat << \_LT_EOF
>> "$cfgfile"
13761 # func_dirname file append nondir_replacement
13762 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13763 # otherwise set result to NONDIR_REPLACEMENT.
13767 */*) func_dirname_result
="${1%/*}${2}" ;;
13768 * ) func_dirname_result
="${3}" ;;
13772 # func_basename file
13775 func_basename_result
="${1##*/}"
13778 # func_dirname_and_basename file append nondir_replacement
13779 # perform func_basename and func_dirname in a single function
13781 # dirname: Compute the dirname of FILE. If nonempty,
13782 # add APPEND to the result, otherwise set result
13783 # to NONDIR_REPLACEMENT.
13784 # value returned in "$func_dirname_result"
13785 # basename: Compute filename of FILE.
13786 # value retuned in "$func_basename_result"
13787 # Implementation must be kept synchronized with func_dirname
13788 # and func_basename. For efficiency, we do not delegate to
13789 # those functions but instead duplicate the functionality here.
13790 func_dirname_and_basename
()
13793 */*) func_dirname_result
="${1%/*}${2}" ;;
13794 * ) func_dirname_result
="${3}" ;;
13796 func_basename_result
="${1##*/}"
13799 # func_stripname prefix suffix name
13800 # strip PREFIX and SUFFIX off of NAME.
13801 # PREFIX and SUFFIX must not contain globbing or regex special
13802 # characters, hashes, percent signs, but SUFFIX may contain a leading
13803 # dot (in which case that matches only a dot).
13806 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13807 # positional parameters, so assign one to ordinary parameter first.
13808 func_stripname_result
=${3}
13809 func_stripname_result
=${func_stripname_result#"${1}"}
13810 func_stripname_result
=${func_stripname_result%"${2}"}
13816 func_opt_split_opt
=${1%%=*}
13817 func_opt_split_arg
=${1#*=}
13824 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13825 *) func_lo2o_result
=${1} ;;
13829 # func_xform libobj-or-source
13832 func_xform_result
=${1%.*}.lo
13835 # func_arith arithmetic-term...
13838 func_arith_result
=$(( $* ))
13842 # STRING may not start with a hyphen.
13845 func_len_result
=${#1}
13850 *) # Bourne compatible functions.
13851 cat << \_LT_EOF
>> "$cfgfile"
13853 # func_dirname file append nondir_replacement
13854 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13855 # otherwise set result to NONDIR_REPLACEMENT.
13858 # Extract subdirectory from the argument.
13859 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13860 if test "X$func_dirname_result" = "X${1}"; then
13861 func_dirname_result
="${3}"
13863 func_dirname_result
="$func_dirname_result${2}"
13867 # func_basename file
13870 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13874 # func_stripname prefix suffix name
13875 # strip PREFIX and SUFFIX off of NAME.
13876 # PREFIX and SUFFIX must not contain globbing or regex special
13877 # characters, hashes, percent signs, but SUFFIX may contain a leading
13878 # dot (in which case that matches only a dot).
13879 # func_strip_suffix prefix name
13883 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13884 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13889 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13890 my_sed_long_arg
='1s/^-[^=]*=//'
13895 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13896 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13902 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13905 # func_xform libobj-or-source
13908 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13911 # func_arith arithmetic-term...
13914 func_arith_result
=`expr "$@"`
13918 # STRING may not start with a hyphen.
13921 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13927 case $lt_shell_append in
13929 cat << \_LT_EOF
>> "$cfgfile"
13931 # func_append var value
13932 # Append VALUE to the end of shell variable VAR.
13940 cat << \_LT_EOF
>> "$cfgfile"
13942 # func_append var value
13943 # Append VALUE to the end of shell variable VAR.
13954 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13955 || (rm -f "$cfgfile"; exit 1)
13957 mv -f "$cfgfile" "$ofile" ||
13958 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13962 "libpng-config":F
) chmod +x libpng
-config ;;
13970 ac_clean_files
=$ac_clean_files_save
13972 test $ac_write_fail = 0 ||
13973 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13976 # configure is writing to config.log, and then calls config.status.
13977 # config.status does its own redirection, appending to config.log.
13978 # Unfortunately, on DOS this fails, as config.log is still kept open
13979 # by configure, so config.status won't be able to write to it; its
13980 # output is simply discarded. So we exec the FD to /dev/null,
13981 # effectively closing config.log, so it can be properly (re)opened and
13982 # appended to by config.status. When coming back to configure, we
13983 # need to make the FD available again.
13984 if test "$no_create" != yes; then
13986 ac_config_status_args
=
13987 test "$silent" = yes &&
13988 ac_config_status_args
="$ac_config_status_args --quiet"
13990 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13992 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13993 # would make configure fail if this is the last instruction.
13994 $ac_cs_success || as_fn_exit $?
13996 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13998 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}