2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Web2C Tools 2017/dev.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='Web2C Tools'
592 PACKAGE_TARNAME
='web2c-tools'
593 PACKAGE_VERSION
='2017/dev'
594 PACKAGE_STRING
='Web2C Tools 2017/dev'
595 PACKAGE_BUGREPORT
='tex-k@tug.org'
598 ac_unique_file
="main.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
695 MAINTAINER_MODE_FALSE
709 INSTALL_STRIP_PROGRAM
751 program_transform_name
764 enable_option_checking
766 enable_maintainer_mode
767 enable_dependency_tracking
768 enable_compiler_warnings
779 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 ac_unrecognized_opts
=
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
866 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
869 -build |
--build |
--buil |
--bui |
--bu)
870 ac_prev
=build_alias
;;
871 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
872 build_alias
=$ac_optarg ;;
874 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
875 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
876 ac_prev
=cache_file
;;
877 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
878 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
879 cache_file
=$ac_optarg ;;
882 cache_file
=config.cache
;;
884 -datadir |
--datadir |
--datadi |
--datad)
886 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
887 datadir
=$ac_optarg ;;
889 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
890 |
--dataroo |
--dataro |
--datar)
891 ac_prev
=datarootdir
;;
892 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
893 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
894 datarootdir
=$ac_optarg ;;
896 -disable-* |
--disable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 as_fn_error $?
"invalid feature name: $ac_useropt"
901 ac_useropt_orig
=$ac_useropt
902 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
908 ac_unrecognized_sep
=', ';;
910 eval enable_
$ac_useropt=no
;;
912 -docdir |
--docdir |
--docdi |
--doc |
--do)
914 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
917 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
919 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
922 -enable-* |
--enable-*)
923 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
926 as_fn_error $?
"invalid feature name: $ac_useropt"
927 ac_useropt_orig
=$ac_useropt
928 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
934 ac_unrecognized_sep
=', ';;
936 eval enable_
$ac_useropt=\
$ac_optarg ;;
938 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
939 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
940 |
--exec |
--exe |
--ex)
941 ac_prev
=exec_prefix
;;
942 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
943 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
944 |
--exec=* |
--exe=* |
--ex=*)
945 exec_prefix
=$ac_optarg ;;
947 -gas |
--gas |
--ga |
--g)
948 # Obsolete; use --with-gas.
951 -help |
--help |
--hel |
--he |
-h)
953 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
954 ac_init_help
=recursive
;;
955 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
956 ac_init_help
=short
;;
958 -host |
--host |
--hos |
--ho)
959 ac_prev
=host_alias
;;
960 -host=* |
--host=* |
--hos=* |
--ho=*)
961 host_alias
=$ac_optarg ;;
963 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
965 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
967 htmldir
=$ac_optarg ;;
969 -includedir |
--includedir |
--includedi |
--included |
--include \
970 |
--includ |
--inclu |
--incl |
--inc)
971 ac_prev
=includedir
;;
972 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
973 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
974 includedir
=$ac_optarg ;;
976 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
978 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
979 infodir
=$ac_optarg ;;
981 -libdir |
--libdir |
--libdi |
--libd)
983 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
986 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
987 |
--libexe |
--libex |
--libe)
988 ac_prev
=libexecdir
;;
989 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
990 |
--libexe=* |
--libex=* |
--libe=*)
991 libexecdir
=$ac_optarg ;;
993 -localedir |
--localedir |
--localedi |
--localed |
--locale)
995 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
996 localedir
=$ac_optarg ;;
998 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
999 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1000 ac_prev
=localstatedir
;;
1001 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1002 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1003 localstatedir
=$ac_optarg ;;
1005 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1007 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1008 mandir
=$ac_optarg ;;
1010 -nfp |
--nfp |
--nf)
1011 # Obsolete; use --without-fp.
1014 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1015 |
--no-cr |
--no-c |
-n)
1018 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1019 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1022 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1023 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1024 |
--oldin |
--oldi |
--old |
--ol |
--o)
1025 ac_prev
=oldincludedir
;;
1026 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1027 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1028 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1029 oldincludedir
=$ac_optarg ;;
1031 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1033 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1034 prefix
=$ac_optarg ;;
1036 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1037 |
--program-pre |
--program-pr |
--program-p)
1038 ac_prev
=program_prefix
;;
1039 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1040 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1041 program_prefix
=$ac_optarg ;;
1043 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1044 |
--program-suf |
--program-su |
--program-s)
1045 ac_prev
=program_suffix
;;
1046 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1047 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1048 program_suffix
=$ac_optarg ;;
1050 -program-transform-name |
--program-transform-name \
1051 |
--program-transform-nam |
--program-transform-na \
1052 |
--program-transform-n |
--program-transform- \
1053 |
--program-transform |
--program-transfor \
1054 |
--program-transfo |
--program-transf \
1055 |
--program-trans |
--program-tran \
1056 |
--progr-tra |
--program-tr |
--program-t)
1057 ac_prev
=program_transform_name
;;
1058 -program-transform-name=* |
--program-transform-name=* \
1059 |
--program-transform-nam=* |
--program-transform-na=* \
1060 |
--program-transform-n=* |
--program-transform-=* \
1061 |
--program-transform=* |
--program-transfor=* \
1062 |
--program-transfo=* |
--program-transf=* \
1063 |
--program-trans=* |
--program-tran=* \
1064 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1065 program_transform_name
=$ac_optarg ;;
1067 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1069 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1070 pdfdir
=$ac_optarg ;;
1072 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1074 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1077 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1078 |
-silent |
--silent |
--silen |
--sile |
--sil)
1081 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1083 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1085 sbindir
=$ac_optarg ;;
1087 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1088 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1089 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1091 ac_prev
=sharedstatedir
;;
1092 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1093 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1094 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1096 sharedstatedir
=$ac_optarg ;;
1098 -site |
--site |
--sit)
1100 -site=* |
--site=* |
--sit=*)
1103 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1105 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1106 srcdir
=$ac_optarg ;;
1108 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1109 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1110 ac_prev
=sysconfdir
;;
1111 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1112 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1113 sysconfdir
=$ac_optarg ;;
1115 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1116 ac_prev
=target_alias
;;
1117 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1118 target_alias
=$ac_optarg ;;
1120 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1123 -version |
--version |
--versio |
--versi |
--vers |
-V)
1124 ac_init_version
=: ;;
1127 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=\
$ac_optarg ;;
1142 -without-* |
--without-*)
1143 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1146 as_fn_error $?
"invalid package name: $ac_useropt"
1147 ac_useropt_orig
=$ac_useropt
1148 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149 case $ac_user_opts in
1153 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1154 ac_unrecognized_sep
=', ';;
1156 eval with_
$ac_useropt=no
;;
1159 # Obsolete; use --with-x.
1162 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1163 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1164 ac_prev
=x_includes
;;
1165 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1166 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1167 x_includes
=$ac_optarg ;;
1169 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1170 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1171 ac_prev
=x_libraries
;;
1172 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1173 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1174 x_libraries
=$ac_optarg ;;
1176 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1177 Try \`$0 --help' for more information"
1181 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1182 # Reject names that are not valid shell variable names.
1183 case $ac_envvar in #(
1184 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1185 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1187 eval $ac_envvar=\
$ac_optarg
1188 export $ac_envvar ;;
1191 # FIXME: should be removed in autoconf 3.0.
1192 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1193 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1194 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1195 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1201 if test -n "$ac_prev"; then
1202 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1203 as_fn_error $?
"missing argument to $ac_option"
1206 if test -n "$ac_unrecognized_opts"; then
1207 case $enable_option_checking in
1209 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1210 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1214 # Check all directory arguments for consistency.
1215 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1216 datadir sysconfdir sharedstatedir localstatedir includedir \
1217 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1218 libdir localedir mandir
1220 eval ac_val
=\$
$ac_var
1221 # Remove trailing slashes.
1224 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1225 eval $ac_var=\
$ac_val;;
1227 # Be sure to have absolute directory names.
1229 [\\/$
]* | ?
:[\\/]* ) continue;;
1230 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1232 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1235 # There might be people who depend on the old broken behavior: `$host'
1236 # used to hold the argument of --host etc.
1237 # FIXME: To remove some day.
1240 target
=$target_alias
1242 # FIXME: To remove some day.
1243 if test "x$host_alias" != x
; then
1244 if test "x$build_alias" = x
; then
1245 cross_compiling
=maybe
1246 elif test "x$build_alias" != "x$host_alias"; then
1252 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1254 test "$silent" = yes && exec 6>/dev
/null
1257 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1258 ac_ls_di
=`ls -di .` &&
1259 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1260 as_fn_error $?
"working directory cannot be determined"
1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262 as_fn_error $?
"pwd does not report name of working directory"
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted
=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir
=`$as_dirname -- "$as_myself" ||
1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$as_myself" : 'X\(//\)[^/]' \| \
1272 X"$as_myself" : 'X\(//\)$' \| \
1273 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274 $as_echo X"$as_myself" |
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1297 ac_srcdir_defaulted
=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1301 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1303 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1315 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 for ac_var
in $ac_precious_vars; do
1318 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1320 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328 # Omit some internal or obsolete options to make the list less imposing.
1329 # This message is too long to be a string in the A/UX 3.1 sh.
1331 \`configure' configures Web2C Tools 2017/dev to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE. See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1341 -h, --help display this help and exit
1342 --help=short display options specific to this package
1343 --help=recursive display the short help of all the included packages
1344 -V, --version display version information and exit
1345 -q, --quiet, --silent do not print \`checking ...' messages
1346 --cache-file=FILE cache test results in FILE [disabled]
1347 -C, --config-cache alias for \`--cache-file=config.cache'
1348 -n, --no-create do not create output files
1349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352 --prefix=PREFIX install architecture-independent files in PREFIX
1353 [$ac_default_prefix]
1354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365 --bindir=DIR user executables [EPREFIX/bin]
1366 --sbindir=DIR system admin executables [EPREFIX/sbin]
1367 --libexecdir=DIR program executables [EPREFIX/libexec]
1368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1371 --libdir=DIR object code libraries [EPREFIX/lib]
1372 --includedir=DIR C header files [PREFIX/include]
1373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1376 --infodir=DIR info documentation [DATAROOTDIR/info]
1377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1378 --mandir=DIR man documentation [DATAROOTDIR/man]
1379 --docdir=DIR documentation root [DATAROOTDIR/doc/web2c-tools]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1389 --program-prefix=PREFIX prepend PREFIX to installed program names
1390 --program-suffix=SUFFIX append SUFFIX to installed program names
1391 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1399 if test -n "$ac_init_help"; then
1400 case $ac_init_help in
1401 short | recursive
) echo "Configuration of Web2C Tools 2017/dev:";;
1406 --disable-option-checking ignore unrecognized
--enable/--with options
1407 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1408 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1409 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1410 --disable-silent-rules verbose build output
(undo
: "make V=0")
1411 --enable-maintainer-mode
1412 enable make rules and dependencies not useful
(and
1413 sometimes confusing
) to the casual installer
1414 --enable-dependency-tracking
1415 do not reject slow dependency extractors
1416 --disable-dependency-tracking
1417 speeds up one-time build
1418 --enable-compiler-warnings=[no|min|
yes|max|all
]
1419 Turn on compiler warnings
[default
: yes if
1420 maintainer-mode
, min otherwise
]
1421 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1422 --enable-static[=PKGS
] build static libraries
[default
=yes]
1423 --enable-fast-install[=PKGS
]
1424 optimize
for fast installation
[default
=yes]
1425 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1426 --disable-largefile omit support
for large files
1429 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1430 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1431 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1433 --with-aix-soname=aix|svr4|both
1434 shared library versioning
(aka
"SONAME") variant to
1435 provide on AIX
, [default
=aix
].
1436 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1437 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1438 compiler
's sysroot if not specified).
1440 Some influential environment variables:
1441 CC C compiler command
1442 CFLAGS C compiler flags
1443 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1444 nonstandard directory <lib dir>
1445 LIBS libraries to pass to the linker, e.g. -l<library>
1446 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1447 you have headers in a nonstandard directory <include dir>
1449 User-defined run-time library search path.
1451 YACC The `Yet Another Compiler Compiler' implementation to use.
1452 Defaults to the first program found out of
: `bison -y', `byacc
',
1454 YFLAGS The list of arguments that will be passed by default to
$YACC.
1455 This
script will default YFLAGS to the empty string to avoid a
1456 default value of
`-d' given by some make applications.
1458 Use these variables to override the choices made by `configure
' or to help
1459 it to find libraries and programs with nonstandard names/locations.
1461 Report bugs to <tex-k@tug.org>.
1466 if test "$ac_init_help" = "recursive"; then
1467 # If there are subdirs, report their specific --help.
1468 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469 test -d "$ac_dir" ||
1470 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.
[\\/]||
'`
1478 # A ".." for each directory in $ac_dir_suffix.
1479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|
/[^
\\/]*|
/..|g
;s|
/||
'`
1480 case $ac_top_builddir_sub in
1481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1485 ac_abs_top_builddir=$ac_pwd
1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir=$ac_top_build_prefix
1491 .) # We are building in place.
1493 ac_top_srcdir=$ac_top_builddir_sub
1494 ac_abs_top_srcdir=$ac_pwd ;;
1495 [\\/]* | ?:[\\/]* ) # Absolute name.
1496 ac_srcdir=$srcdir$ac_dir_suffix;
1497 ac_top_srcdir=$srcdir
1498 ac_abs_top_srcdir=$srcdir ;;
1500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501 ac_top_srcdir=$ac_top_build_prefix$srcdir
1502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506 cd "$ac_dir" || { ac_status=$?; continue; }
1507 # Check for guested configure.
1508 if test -f "$ac_srcdir/configure.gnu"; then
1510 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511 elif test -f "$ac_srcdir/configure"; then
1513 $SHELL "$ac_srcdir/configure" --help=recursive
1515 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517 cd "$ac_pwd" || { ac_status=$?; break; }
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1524 Web2C Tools configure 2017/dev
1525 generated by GNU Autoconf 2.69
1527 Copyright (C) 2012 Free Software Foundation, Inc.
1528 This configure script is free software; the Free Software Foundation
1529 gives unlimited permission to copy, distribute and modify it.
1534 ## ------------------------ ##
1535 ## Autoconf initialization. ##
1536 ## ------------------------ ##
1538 # ac_fn_c_try_compile LINENO
1539 # --------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_c_try_compile ()
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 rm -f conftest.$ac_objext
1545 if { { ac_try="$ac_compile"
1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548 *) ac_try_echo=$ac_try;;
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_compile") 2>conftest.err
1554 if test -s conftest.err; then
1555 grep -v '^
*+' conftest.err >conftest.er1
1556 cat conftest.er1 >&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && {
1561 test -z "$ac_c_werror_flag" ||
1562 test ! -s conftest.err
1563 } && test -s conftest.$ac_objext; then :
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's
/^
/|
/' conftest.$ac_ext >&5
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status $ac_retval
1574 } # ac_fn_c_try_compile
1576 # ac_fn_c_try_link LINENO
1577 # -----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 rm -f conftest.$ac_objext conftest$ac_exeext
1583 if { { ac_try="$ac_link"
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_link") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^
*+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } && {
1599 test -z "$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1601 } && test -s conftest$ac_exeext && {
1602 test "$cross_compiling" = yes ||
1603 test -x conftest$ac_exeext
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's
/^
/|
/' conftest.$ac_ext >&5
1612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614 # interfere with the next link command; also delete a directory that is
1615 # left behind by Apple's compiler. We
do this before executing the actions.
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status
$ac_retval
1620 } # ac_fn_c_try_link
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile
()
1628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \
${$3+:} false
; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile
"$LINENO"; then :
1644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_try_cpp LINENO
1654 # ----------------------
1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1659 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } > conftest.i && {
1675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1700 *) ac_try_echo
=$ac_try;;
1702 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1732 # ac_fn_c_check_func LINENO FUNC VAR
1733 # ----------------------------------
1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1735 ac_fn_c_check_func ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1747 #define $2 innocuous_$2
1749 /* System header to define __stub macros and hopefully few prototypes,
1750 which can conflict with char $2 (); below.
1751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752 <limits.h> exists even on freestanding compilers. */
1755 # include <limits.h>
1757 # include <assert.h>
1762 /* Override any GCC internal prototype to avoid an error.
1763 Use char because int might match the return type of a GCC
1764 builtin and then its argument prototype would still apply. */
1769 /* The GNU C library defines this for functions which it implements
1770 to always fail with ENOSYS. Some functions are actually named
1771 something starting with __ and the normal name is an alias. */
1772 #if defined __stub_$2 || defined __stub___$2
1784 if ac_fn_c_try_link "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext \
1790 conftest$ac_exeext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 } # ac_fn_c_check_func
1799 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1802 # the include files in INCLUDES and setting the cache variable VAR
1804 ac_fn_c_check_header_mongrel ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if eval \${$3+:} false; then :
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1817 # Is the header compilable?
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1819 $as_echo_n "checking $2 usability... " >&6; }
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1825 if ac_fn_c_try_compile "$LINENO"; then :
1826 ac_header_compiler=yes
1828 ac_header_compiler=no
1830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1832 $as_echo "$ac_header_compiler" >&6; }
1834 # Is the header present?
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1836 $as_echo_n "checking $2 presence... " >&6; }
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1841 if ac_fn_c_try_cpp "$LINENO"; then :
1842 ac_header_preproc=yes
1844 ac_header_preproc=no
1846 rm -f conftest.err conftest.i conftest.$ac_ext
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1848 $as_echo "$ac_header_preproc" >&6; }
1850 # So? What about this header?
1851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1854 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1856 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1860 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1862 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1864 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1866 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1868 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1869 ( $as_echo "## ---------------------------- ##
1870 ## Report this to tex-k@tug.org ##
1871 ## ---------------------------- ##"
1872 ) | sed "s/^/$as_me: WARNING: /" >&2
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if eval \${$3+:} false; then :
1878 $as_echo_n "(cached) " >&6
1880 eval "$3=\$ac_header_compiler"
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 } # ac_fn_c_check_header_mongrel
1890 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1891 # -------------------------------------------
1892 # Tests whether TYPE exists after having included INCLUDES, setting cache
1893 # variable VAR accordingly.
1894 ac_fn_c_check_type ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval \${$3+:} false; then :
1900 $as_echo_n "(cached) " >&6
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1915 if ac_fn_c_try_compile "$LINENO"; then :
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1928 if ac_fn_c_try_compile "$LINENO"; then :
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 } # ac_fn_c_check_type
1944 # ac_fn_c_find_intX_t LINENO BITS VAR
1945 # -----------------------------------
1946 # Finds a signed integer type with width BITS, setting cache variable VAR
1948 ac_fn_c_find_intX_t ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1952 $as_echo_n "checking for int$2_t... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1957 # Order is important - never check a type that is potentially smaller
1958 # than half of the expected target width.
1959 for ac_type in int$2_t 'int' 'long int' \
1960 'long long int' 'short int' 'signed char'; do
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1963 $ac_includes_default
1964 enum { N = $2 / 2 - 1 };
1968 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1970 return test_array [0];
1976 if ac_fn_c_try_compile "$LINENO"; then :
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1979 $ac_includes_default
1980 enum { N = $2 / 2 - 1 };
1984 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1985 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1987 return test_array [0];
1993 if ac_fn_c_try_compile "$LINENO"; then :
2000 eval "$3=\$ac_type" ;;
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 if eval test \"x\$"$3"\" = x"no"; then :
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 } # ac_fn_c_find_intX_t
2020 # ac_fn_c_find_uintX_t LINENO BITS VAR
2021 # ------------------------------------
2022 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2024 ac_fn_c_find_uintX_t ()
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2028 $as_echo_n "checking for uint$2_t... " >&6; }
2029 if eval \${$3+:} false; then :
2030 $as_echo_n "(cached) " >&6
2033 # Order is important - never check a type that is potentially smaller
2034 # than half of the expected target width.
2035 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2036 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2039 $ac_includes_default
2043 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2045 return test_array [0];
2051 if ac_fn_c_try_compile "$LINENO"; then :
2056 eval "$3=\$ac_type" ;;
2059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060 if eval test \"x\$"$3"\" = x"no"; then :
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2069 $as_echo "$ac_res" >&6; }
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 } # ac_fn_c_find_uintX_t
2074 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2075 # ---------------------------------------------
2076 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2078 ac_fn_c_check_decl ()
2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2082 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2084 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2085 if eval \${$3+:} false; then :
2086 $as_echo_n "(cached) " >&6
2088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2094 #ifndef $as_decl_name
2096 (void) $as_decl_use;
2098 (void) $as_decl_name;
2106 if ac_fn_c_try_compile "$LINENO"; then :
2111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2118 } # ac_fn_c_check_decl
2120 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2121 # ----------------------------------------------------
2122 # Tries to find if the field MEMBER exists in type AGGR, after including
2123 # INCLUDES, setting cache variable VAR accordingly.
2124 ac_fn_c_check_member ()
2126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2128 $as_echo_n "checking for $2.$3... " >&6; }
2129 if eval \${$4+:} false; then :
2130 $as_echo_n "(cached) " >&6
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2145 if ac_fn_c_try_compile "$LINENO"; then :
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2155 if (sizeof ac_aggr.$3)
2161 if ac_fn_c_try_compile "$LINENO"; then :
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2173 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2175 } # ac_fn_c_check_member
2177 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2178 # --------------------------------------------
2179 # Tries to find the compile-time value of EXPR in a program that includes
2180 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2182 ac_fn_c_compute_int ()
2184 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2185 if test "$cross_compiling" = yes; then
2186 # Depending upon the size, compute the lo and hi bounds.
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2193 static int test_array [1 - 2 * !(($2) >= 0)];
2195 return test_array [0];
2201 if ac_fn_c_try_compile "$LINENO"; then :
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2210 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2212 return test_array [0];
2218 if ac_fn_c_try_compile "$LINENO"; then :
2219 ac_hi=$ac_mid; break
2221 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2222 if test $ac_lo -le $ac_mid; then
2226 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h. */
2237 static int test_array [1 - 2 * !(($2) < 0)];
2239 return test_array [0];
2245 if ac_fn_c_try_compile "$LINENO"; then :
2248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h. */
2254 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2256 return test_array [0];
2262 if ac_fn_c_try_compile "$LINENO"; then :
2263 ac_lo=$ac_mid; break
2265 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2266 if test $ac_mid -le $ac_hi; then
2270 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2280 # Binary search between lo and hi bounds.
2281 while test "x$ac_lo" != "x$ac_hi"; do
2282 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2291 return test_array [0];
2297 if ac_fn_c_try_compile "$LINENO"; then :
2300 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2305 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2312 static long int longval () { return $2; }
2313 static unsigned long int ulongval () { return $2; }
2320 FILE *f = fopen ("conftest.val", "w");
2325 long int i = longval ();
2328 fprintf (f, "%ld", i);
2332 unsigned long int i = ulongval ();
2335 fprintf (f, "%lu", i);
2337 /* Do not output a trailing newline, as this causes \r\n confusion
2338 on some platforms. */
2339 return ferror (f) || fclose (f) != 0;
2345 if ac_fn_c_try_run "$LINENO"; then :
2346 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2351 conftest.$ac_objext conftest.beam conftest.$ac_ext
2355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2356 as_fn_set_status $ac_retval
2358 } # ac_fn_c_compute_int
2359 cat >config.log <<_ACEOF
2360 This file contains any messages produced by compilers while
2361 running configure, to aid debugging if configure makes a mistake.
2363 It was created by Web2C Tools $as_me 2017/dev, which was
2364 generated by GNU Autoconf 2.69. Invocation command line was
2376 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2377 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2378 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2379 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2380 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2382 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2383 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2385 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2386 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2387 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2388 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2389 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2390 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2391 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 $as_echo "PATH: $as_dir"
2416 # Keep a trace of the command line.
2417 # Strip out --no-create and --no-recursion so they do not pile up.
2418 # Strip out --silent because we don't want to record it for future runs.
2419 # Also quote any args containing shell meta-characters.
2420 # Make two passes to allow for proper duplicate-argument suppression.
2424 ac_must_keep_next=false
2430 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2432 | -silent | --silent | --silen | --sile | --sil)
2435 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2438 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2440 as_fn_append ac_configure_args1 " '$ac_arg'"
2441 if test $ac_must_keep_next = true; then
2442 ac_must_keep_next=false # Got value, back to normal.
2445 *=* | --config-cache | -C | -disable-* | --disable-* \
2446 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2447 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2448 | -with-* | --with-* | -without-* | --without-* | --x)
2449 case "$ac_configure_args0 " in
2450 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2453 -* ) ac_must_keep_next=true ;;
2456 as_fn_append ac_configure_args " '$ac_arg'"
2461 { ac_configure_args0=; unset ac_configure_args0;}
2462 { ac_configure_args1=; unset ac_configure_args1;}
2464 # When interrupted or exit'd, cleanup temporary files, and complete
2465 # config.log. We remove comments because anyway the quotes in there
2466 # would cause problems or look ugly.
2467 # WARNING: Use '\'' to represent an apostrophe within the trap.
2468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2469 trap 'exit_status=$?
2470 # Save into config.log some information that might help in debugging.
2474 $as_echo "## ---------------- ##
2475 ## Cache variables. ##
2476 ## ---------------- ##"
2478 # The following way of writing the cache mishandles newlines in values,
2480 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2481 eval ac_val=\$$ac_var
2485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2489 _ | IFS | as_nl) ;; #(
2490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2491 *) { eval $ac_var=; unset $ac_var;} ;;
2496 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2497 *${as_nl}ac_space=\ *)
2499 "s/'\''/'\''\\\\'\'''\''/g;
2500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2510 $as_echo "## ----------------- ##
2511 ## Output variables. ##
2512 ## ----------------- ##"
2514 for ac_var in $ac_subst_vars
2516 eval ac_val=\$$ac_var
2518 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2520 $as_echo "$ac_var='\''$ac_val'\''"
2524 if test -n "$ac_subst_files"; then
2525 $as_echo "## ------------------- ##
2526 ## File substitutions. ##
2527 ## ------------------- ##"
2529 for ac_var in $ac_subst_files
2531 eval ac_val=\$$ac_var
2533 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2535 $as_echo "$ac_var='\''$ac_val'\''"
2540 if test -s confdefs.h; then
2541 $as_echo "## ----------- ##
2548 test "$ac_signal" != 0 &&
2549 $as_echo "$as_me: caught signal $ac_signal"
2550 $as_echo "$as_me: exit $exit_status"
2552 rm -f core *.core core.conftest.* &&
2553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2556 for ac_signal in 1 2 13 15; do
2557 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2562 rm -f -r conftest* confdefs.h
2564 $as_echo "/* confdefs.h */" > confdefs.h
2566 # Predefined preprocessor variables.
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE_NAME "$PACKAGE_NAME"
2572 cat >>confdefs.h <<_ACEOF
2573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2576 cat >>confdefs.h <<_ACEOF
2577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2580 cat >>confdefs.h <<_ACEOF
2581 #define PACKAGE_STRING "$PACKAGE_STRING"
2584 cat >>confdefs.h <<_ACEOF
2585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2588 cat >>confdefs.h <<_ACEOF
2589 #define PACKAGE_URL "$PACKAGE_URL"
2593 # Let the site file select an alternate cache file if it wants to.
2594 # Prefer an explicitly selected file to automatically selected ones.
2597 if test -n "$CONFIG_SITE"; then
2598 # We do not want a PATH search for config.site.
2599 case $CONFIG_SITE in #((
2600 -*) ac_site_file1=./$CONFIG_SITE;;
2601 */*) ac_site_file1=$CONFIG_SITE;;
2602 *) ac_site_file1=./$CONFIG_SITE;;
2604 elif test "x$prefix" != xNONE; then
2605 ac_site_file1=$prefix/share/config.site
2606 ac_site_file2=$prefix/etc/config.site
2608 ac_site_file1=$ac_default_prefix/share/config.site
2609 ac_site_file2=$ac_default_prefix/etc/config.site
2611 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2613 test "x$ac_site_file" = xNONE && continue
2614 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2617 sed 's/^/| /' "$ac_site_file" >&5
2619 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621 as_fn_error $? "failed to load site
script $ac_site_file
2622 See \
`config.log' for more details" "$LINENO" 5; }
2626 if test -r "$cache_file"; then
2627 # Some versions of bash will fail to source /dev/null (special files
2628 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2629 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2631 $as_echo "$as_me: loading cache $cache_file" >&6;}
2633 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2634 *) . "./$cache_file";;
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2639 $as_echo "$as_me: creating cache $cache_file" >&6;}
2643 # Check that the precious variables saved in the cache have kept the same
2645 ac_cache_corrupted=false
2646 for ac_var in $ac_precious_vars; do
2647 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2648 eval ac_new_set=\$ac_env_${ac_var}_set
2649 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2650 eval ac_new_val=\$ac_env_${ac_var}_value
2651 case $ac_old_set,$ac_new_set in
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2654 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2655 ac_cache_corrupted=: ;;
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2658 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2659 ac_cache_corrupted=: ;;
2662 if test "x$ac_old_val" != "x$ac_new_val"; then
2663 # differences in whitespace do not lead to failure.
2664 ac_old_val_w=`echo x
$ac_old_val`
2665 ac_new_val_w=`echo x
$ac_new_val`
2666 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2668 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2669 ac_cache_corrupted=:
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2672 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2673 eval $ac_var=\$ac_old_val
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2676 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2678 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2681 # Pass precious variables to config.status.
2682 if test "$ac_new_set" = set; then
2684 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2685 *) ac_arg=$ac_var=$ac_new_val ;;
2687 case " $ac_configure_args " in
2688 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2689 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2693 if $ac_cache_corrupted; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2697 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2698 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2700 ## -------------------- ##
2701 ## Main body of script. ##
2702 ## -------------------- ##
2705 ac_cpp='$CPP $CPPFLAGS'
2706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2714 for ac_dir in ../../../build-aux "$srcdir"/../../../build-aux; do
2715 if test -f "$ac_dir/install-sh"; then
2717 ac_install_sh="$ac_aux_dir/install-sh -c"
2719 elif test -f "$ac_dir/install.sh"; then
2721 ac_install_sh="$ac_aux_dir/install.sh -c"
2723 elif test -f "$ac_dir/shtool"; then
2725 ac_install_sh="$ac_aux_dir/shtool install -c"
2729 if test -z "$ac_aux_dir"; then
2730 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../build-aux \"$srcdir\"/../../../build-aux" "$LINENO" 5
2733 # These three variables are undocumented and unsupported,
2734 # and are intended to be withdrawn in a future Autoconf release.
2735 # They can cause serious problems if a builder's source tree is in a directory
2736 # whose full name contains unusual characters.
2737 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2738 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2739 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2744 am__api_version='1.15'
2746 # Find a good install program. We prefer a C program (faster),
2747 # so one script is as good as another. But avoid the broken or
2748 # incompatible versions:
2749 # SysV /etc/install, /usr/sbin/install
2750 # SunOS /usr/etc/install
2751 # IRIX /sbin/install
2753 # AmigaOS /C/install, which installs bootblocks on floppy discs
2754 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2755 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2756 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2757 # OS/2's system install, which has a completely different semantic
2758 # ./install, which can be erroneously created by make from ./install.sh.
2759 # Reject install programs that cannot install multiple files.
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2761 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2762 if test -z "$INSTALL"; then
2763 if ${ac_cv_path_install+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 test -z "$as_dir" && as_dir=.
2771 # Account for people who put trailing slashes in PATH elements.
2772 case $as_dir/ in #((
2773 ./ | .// | /[cC]/* | \
2774 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2775 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2778 # OSF1 and SCO ODT 3.0 have their own names for install.
2779 # Don't use installbsd from OSF since it installs stuff as root
2781 for ac_prog in ginstall scoinst install; do
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2784 if test $ac_prog = install &&
2785 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2786 # AIX install. It has an incompatible calling convention.
2788 elif test $ac_prog = install &&
2789 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2790 # program-specific install script used by HP pwplus--don't use.
2793 rm -rf conftest.one conftest.two conftest.dir
2794 echo one > conftest.one
2795 echo two > conftest.two
2797 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2798 test -s conftest.one && test -s conftest.two &&
2799 test -s conftest.dir/conftest.one &&
2800 test -s conftest.dir/conftest.two
2802 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2815 rm -rf conftest.one conftest.two conftest.dir
2818 if test "${ac_cv_path_install+set}" = set; then
2819 INSTALL=$ac_cv_path_install
2821 # As a last resort, use the slow shell script. Don't cache a
2822 # value for INSTALL within a source directory, because that will
2823 # break other packages using the cache if that directory is
2824 # removed, or if the value is a relative name.
2825 INSTALL=$ac_install_sh
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2829 $as_echo "$INSTALL" >&6; }
2831 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2832 # It thinks the first close brace ends the variable substitution.
2833 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2835 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2837 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2840 $as_echo_n "checking whether build environment is sane... " >&6; }
2841 # Reject unsafe characters in $srcdir or the absolute working directory
2842 # name. Accept space and tab only in the latter.
2846 *[\\\"\#\$\&\'\`$am_lf]*)
2847 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2850 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2851 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2854 # Do 'set' in a subshell so we don't clobber the current shell's
2855 # arguments. Must try -L first in case configure is actually a
2856 # symlink; some systems play weird games with the mod time of symlinks
2857 # (eg FreeBSD returns the mod time of the symlink's containing
2861 for am_try
in 1 2; do
2862 echo "timestamp, slept: $am_has_slept" > conftest.
file
2863 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2864 if test "$*" = "X"; then
2866 set X
`ls -t "$srcdir/configure" conftest.file`
2868 if test "$*" != "X $srcdir/configure conftest.file" \
2869 && test "$*" != "X conftest.file $srcdir/configure"; then
2871 # If neither matched, then we have a broken ls. This can happen
2872 # if, for instance, CONFIG_SHELL is bash and it inherits a
2873 # broken ls alias from the environment. This has actually
2874 # happened. Such a system could not be considered "sane".
2875 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2876 alias in your environment" "$LINENO" 5
2878 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2885 test "$2" = conftest.
file
2891 as_fn_error $?
"newly created file is older than distributed files!
2892 Check your system clock" "$LINENO" 5
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2895 $as_echo "yes" >&6; }
2896 # If we didn't sleep, we still need to ensure time stamps of config.status and
2897 # generated files are strictly newer.
2899 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2906 test "$program_prefix" != NONE
&&
2907 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2908 # Use a double $ so make ignores it.
2909 test "$program_suffix" != NONE
&&
2910 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2911 # Double any \ or $.
2912 # By default was `s,x,x', remove it if useless.
2913 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2914 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2916 # Expand $ac_aux_dir to an absolute path.
2917 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2919 if test x
"${MISSING+set}" != xset
; then
2922 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2924 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2927 # Use eval to expand $SHELL
2928 if eval "$MISSING --is-lightweight"; then
2929 am_missing_run
="$MISSING "
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2933 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2936 if test x
"${install_sh+set}" != xset
; then
2939 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2941 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2945 # Installed binaries are usually stripped using 'strip' when the user
2946 # run "make install-strip". However 'strip' might not be the right
2947 # tool to use in cross-compilation environments, therefore Automake
2948 # will honor the 'STRIP' environment variable to overrule this program.
2949 if test "$cross_compiling" != no
; then
2950 if test -n "$ac_tool_prefix"; then
2951 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2952 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954 $as_echo_n "checking for $ac_word... " >&6; }
2955 if ${ac_cv_prog_STRIP+:} false
; then :
2956 $as_echo_n "(cached) " >&6
2958 if test -n "$STRIP"; then
2959 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir
=.
2966 for ac_exec_ext
in '' $ac_executable_extensions; do
2967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2968 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2978 STRIP
=$ac_cv_prog_STRIP
2979 if test -n "$STRIP"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2981 $as_echo "$STRIP" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2989 if test -z "$ac_cv_prog_STRIP"; then
2991 # Extract the first word of "strip", so it can be a program name with args.
2992 set dummy strip
; ac_word
=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2996 $as_echo_n "(cached) " >&6
2998 if test -n "$ac_ct_STRIP"; then
2999 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir
=.
3006 for ac_exec_ext
in '' $ac_executable_extensions; do
3007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_ac_ct_STRIP
="strip"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3019 if test -n "$ac_ct_STRIP"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3021 $as_echo "$ac_ct_STRIP" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3027 if test "x$ac_ct_STRIP" = x
; then
3030 case $cross_compiling:$ac_tool_warned in
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3034 ac_tool_warned
=yes ;;
3039 STRIP
="$ac_cv_prog_STRIP"
3043 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3046 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3047 if test -z "$MKDIR_P"; then
3048 if ${ac_cv_path_mkdir+:} false
; then :
3049 $as_echo_n "(cached) " >&6
3051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3052 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3055 test -z "$as_dir" && as_dir
=.
3056 for ac_prog
in mkdir gmkdir
; do
3057 for ac_exec_ext
in '' $ac_executable_extensions; do
3058 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3059 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3060 'mkdir (GNU coreutils) '* | \
3061 'mkdir (coreutils) '* | \
3062 'mkdir (fileutils) '4.1*)
3063 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3073 test -d .
/--version && rmdir .
/--version
3074 if test "${ac_cv_path_mkdir+set}" = set; then
3075 MKDIR_P
="$ac_cv_path_mkdir -p"
3077 # As a last resort, use the slow shell script. Don't cache a
3078 # value for MKDIR_P within a source directory, because that will
3079 # break other packages using the cache if that directory is
3080 # removed, or if the value is a relative name.
3081 MKDIR_P
="$ac_install_sh -d"
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3085 $as_echo "$MKDIR_P" >&6; }
3087 for ac_prog
in gawk mawk nawk
awk
3089 # Extract the first word of "$ac_prog", so it can be a program name with args.
3090 set dummy
$ac_prog; ac_word
=$2
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092 $as_echo_n "checking for $ac_word... " >&6; }
3093 if ${ac_cv_prog_AWK+:} false
; then :
3094 $as_echo_n "(cached) " >&6
3096 if test -n "$AWK"; then
3097 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir
=.
3104 for ac_exec_ext
in '' $ac_executable_extensions; do
3105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_AWK
="$ac_prog"
3107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 if test -n "$AWK"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3119 $as_echo "$AWK" >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3126 test -n "$AWK" && break
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3130 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3132 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3133 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3134 $as_echo_n "(cached) " >&6
3136 cat >conftest.
make <<\_ACEOF
3139 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3141 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3142 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3144 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3146 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3150 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3152 $as_echo "yes" >&6; }
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156 $as_echo "no" >&6; }
3157 SET_MAKE
="MAKE=${MAKE-make}"
3160 rm -rf .tst
2>/dev
/null
3161 mkdir .tst
2>/dev
/null
3162 if test -d .tst
; then
3167 rmdir .tst
2>/dev
/null
3169 # Check whether --enable-silent-rules was given.
3170 if test "${enable_silent_rules+set}" = set; then :
3171 enableval
=$enable_silent_rules;
3174 case $enable_silent_rules in # (((
3175 yes) AM_DEFAULT_VERBOSITY
=0;;
3176 no
) AM_DEFAULT_VERBOSITY
=1;;
3177 *) AM_DEFAULT_VERBOSITY
=1;;
3179 am_make
=${MAKE-make}
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3181 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3182 if ${am_cv_make_support_nested_variables+:} false
; then :
3183 $as_echo_n "(cached) " >&6
3185 if $as_echo 'TRUE=$(BAR$(V))
3191 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3192 am_cv_make_support_nested_variables
=yes
3194 am_cv_make_support_nested_variables
=no
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3198 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3199 if test $am_cv_make_support_nested_variables = yes; then
3201 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3203 AM_V
=$AM_DEFAULT_VERBOSITY
3204 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3208 DEPDIR="${am__leading_dot}deps"
3210 ac_config_commands="$ac_config_commands depfiles"
3213 am_make=${MAKE-make}
3214 cat > confinc << 'END
'
3216 @echo this is the am__doit target
3219 # If we don't
find an include directive
, just comment out the code.
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3221 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3225 # First try GNU make style include.
3226 echo "include confinc" > confmf
3227 # Ignore all kinds of additional output from 'make'.
3228 case `$am_make -s -f confmf 2> /dev/null` in #(
3229 *the\ am__doit\ target
*)
3235 # Now try BSD make style include.
3236 if test "$am__include" = "#"; then
3237 echo '.include "confinc"' > confmf
3238 case `$am_make -s -f confmf 2> /dev/null` in #(
3239 *the\ am__doit\ target
*)
3240 am__include
=.include
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3249 $as_echo "$_am_result" >&6; }
3250 rm -f confinc confmf
3252 # Check whether --enable-dependency-tracking was given.
3253 if test "${enable_dependency_tracking+set}" = set; then :
3254 enableval
=$enable_dependency_tracking;
3257 if test "x$enable_dependency_tracking" != xno
; then
3258 am_depcomp
="$ac_aux_dir/depcomp"
3262 if test "x$enable_dependency_tracking" != xno; then
3272 ac_cpp
='$CPP $CPPFLAGS'
3273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3276 if test -n "$ac_tool_prefix"; then
3277 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3278 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if ${ac_cv_prog_CC+:} false
; then :
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$CC"; then
3285 ac_cv_prog_CC
="$CC" # Let the user override the test.
3287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir
=.
3292 for ac_exec_ext
in '' $ac_executable_extensions; do
3293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3294 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 if test -n "$CC"; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3307 $as_echo "$CC" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3315 if test -z "$ac_cv_prog_CC"; then
3317 # Extract the first word of "gcc", so it can be a program name with args.
3318 set dummy gcc
; ac_word
=$2
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3322 $as_echo_n "(cached) " >&6
3324 if test -n "$ac_ct_CC"; then
3325 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir
=.
3332 for ac_exec_ext
in '' $ac_executable_extensions; do
3333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3334 ac_cv_prog_ac_ct_CC
="gcc"
3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3345 if test -n "$ac_ct_CC"; then
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3347 $as_echo "$ac_ct_CC" >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350 $as_echo "no" >&6; }
3353 if test "x$ac_ct_CC" = x
; then
3356 case $cross_compiling:$ac_tool_warned in
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3360 ac_tool_warned
=yes ;;
3368 if test -z "$CC"; then
3369 if test -n "$ac_tool_prefix"; then
3370 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3371 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_prog_CC+:} false
; then :
3375 $as_echo_n "(cached) " >&6
3377 if test -n "$CC"; then
3378 ac_cv_prog_CC
="$CC" # Let the user override the test.
3380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir
=.
3385 for ac_exec_ext
in '' $ac_executable_extensions; do
3386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3387 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 if test -n "$CC"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3400 $as_echo "$CC" >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3409 if test -z "$CC"; then
3410 # Extract the first word of "cc", so it can be a program name with args.
3411 set dummy cc
; ac_word
=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if ${ac_cv_prog_CC+:} false
; then :
3415 $as_echo_n "(cached) " >&6
3417 if test -n "$CC"; then
3418 ac_cv_prog_CC
="$CC" # Let the user override the test.
3421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir
=.
3426 for ac_exec_ext
in '' $ac_executable_extensions; do
3427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3428 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3429 ac_prog_rejected
=yes
3433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3440 if test $ac_prog_rejected = yes; then
3441 # We found a bogon in the path, so make sure we never use it.
3442 set dummy
$ac_cv_prog_CC
3444 if test $# != 0; then
3445 # We chose a different compiler from the bogus one.
3446 # However, it has the same basename, so the bogon will be chosen
3447 # first if we set CC to just the basename; use the full file name.
3449 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3455 if test -n "$CC"; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3457 $as_echo "$CC" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3465 if test -z "$CC"; then
3466 if test -n "$ac_tool_prefix"; then
3467 for ac_prog
in cl.exe
3469 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3470 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3472 $as_echo_n "checking for $ac_word... " >&6; }
3473 if ${ac_cv_prog_CC+:} false
; then :
3474 $as_echo_n "(cached) " >&6
3476 if test -n "$CC"; then
3477 ac_cv_prog_CC
="$CC" # Let the user override the test.
3479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3483 test -z "$as_dir" && as_dir
=.
3484 for ac_exec_ext
in '' $ac_executable_extensions; do
3485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3486 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3497 if test -n "$CC"; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3499 $as_echo "$CC" >&6; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 $as_echo "no" >&6; }
3506 test -n "$CC" && break
3509 if test -z "$CC"; then
3511 for ac_prog
in cl.exe
3513 # Extract the first word of "$ac_prog", so it can be a program name with args.
3514 set dummy
$ac_prog; ac_word
=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3518 $as_echo_n "(cached) " >&6
3520 if test -n "$ac_ct_CC"; then
3521 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3527 test -z "$as_dir" && as_dir
=.
3528 for ac_exec_ext
in '' $ac_executable_extensions; do
3529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3530 ac_cv_prog_ac_ct_CC
="$ac_prog"
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3541 if test -n "$ac_ct_CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3543 $as_echo "$ac_ct_CC" >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3550 test -n "$ac_ct_CC" && break
3553 if test "x$ac_ct_CC" = x
; then
3556 case $cross_compiling:$ac_tool_warned in
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3560 ac_tool_warned
=yes ;;
3569 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3571 as_fn_error $?
"no acceptable C compiler found in \$PATH
3572 See \`config.log' for more details" "$LINENO" 5; }
3574 # Provide some information about the compiler.
3575 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3578 for ac_option
in --version -v -V -qversion; do
3579 { { ac_try
="$ac_compiler $ac_option >&5"
3581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3582 *) ac_try_echo=$ac_try;;
3584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3585 $as_echo "$ac_try_echo"; } >&5
3586 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3588 if test -s conftest.err; then
3590 ... rest of stderr output deleted ...
3591 10q' conftest.err >conftest.er1
3592 cat conftest.er1 >&5
3594 rm -f conftest.er1 conftest.err
3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596 test $ac_status = 0; }
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3610 ac_clean_files_save=$ac_clean_files
3611 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3612 # Try to create an executable without -o first, disregard a.out.
3613 # It will help us diagnose broken compilers, and finding out an intuition
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3616 $as_echo_n "checking whether the C compiler works... " >&6; }
3617 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3619 # The possible output files:
3620 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3623 for ac_file in $ac_files
3626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3627 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3632 if { { ac_try="$ac_link_default"
3634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3635 *) ac_try_echo
=$ac_try;;
3637 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638 $as_echo "$ac_try_echo"; } >&5
3639 (eval "$ac_link_default") 2>&5
3641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642 test $ac_status = 0; }; then :
3643 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3644 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3645 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3646 # so that the user can short-circuit this test for compilers unknown to
3648 for ac_file
in $ac_files ''
3650 test -f "$ac_file" ||
continue
3652 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3655 # We found the default executable, but exeext='' is most
3659 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3661 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3663 # We set ac_cv_exeext here because the later test for it is not
3664 # safe: cross compilers may not add the suffix if given an `-o'
3665 # argument, so we may need to know it at that point already.
3666 # Even if this section looks crufty: it has the advantage of
3673 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3678 if test -z "$ac_file"; then :
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3681 $as_echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3686 as_fn_error
77 "C compiler cannot create executables
3687 See \`config.log' for more details" "$LINENO" 5; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3690 $as_echo "yes" >&6; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3693 $as_echo_n "checking for C compiler default output file name... " >&6; }
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3695 $as_echo "$ac_file" >&6; }
3696 ac_exeext
=$ac_cv_exeext
3698 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3699 ac_clean_files
=$ac_clean_files_save
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3701 $as_echo_n "checking for suffix of executables... " >&6; }
3702 if { { ac_try
="$ac_link"
3704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3708 $as_echo "$ac_try_echo"; } >&5
3709 (eval "$ac_link") 2>&5
3711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3712 test $ac_status = 0; }; then :
3713 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3714 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3715 # work properly (i.e., refer to `conftest.exe'), while it won't with
3717 for ac_file
in conftest.exe conftest conftest.
*; do
3718 test -f "$ac_file" ||
continue
3720 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3721 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3730 See \`config.log' for more details" "$LINENO" 5; }
3732 rm -f conftest conftest
$ac_cv_exeext
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3734 $as_echo "$ac_cv_exeext" >&6; }
3736 rm -f conftest.
$ac_ext
3737 EXEEXT
=$ac_cv_exeext
3739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3745 FILE *f = fopen ("conftest.out", "w");
3746 return ferror (f) || fclose (f) != 0;
3752 ac_clean_files
="$ac_clean_files conftest.out"
3753 # Check that the compiler produces executables we can run. If not, either
3754 # the compiler is broken, or we cross compile.
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3756 $as_echo_n "checking whether we are cross compiling... " >&6; }
3757 if test "$cross_compiling" != yes; then
3758 { { ac_try
="$ac_link"
3760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3764 $as_echo "$ac_try_echo"; } >&5
3765 (eval "$ac_link") 2>&5
3767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3768 test $ac_status = 0; }
3769 if { ac_try='./conftest$ac_cv_exeext'
3770 { { case "(($ac_try" in
3771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3772 *) ac_try_echo
=$ac_try;;
3774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3775 $as_echo "$ac_try_echo"; } >&5
3776 (eval "$ac_try") 2>&5
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }; }; then
3782 if test "$cross_compiling" = maybe
; then
3785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3787 as_fn_error $?
"cannot run C compiled programs.
3788 If you meant to cross compile, use \`--host'.
3789 See \`config.log' for more details" "$LINENO" 5; }
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3794 $as_echo "$cross_compiling" >&6; }
3796 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3797 ac_clean_files
=$ac_clean_files_save
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3799 $as_echo_n "checking for suffix of object files... " >&6; }
3800 if ${ac_cv_objext+:} false
; then :
3801 $as_echo_n "(cached) " >&6
3803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h. */
3814 rm -f conftest.o conftest.obj
3815 if { { ac_try
="$ac_compile"
3817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3818 *) ac_try_echo=$ac_try;;
3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3821 $as_echo "$ac_try_echo"; } >&5
3822 (eval "$ac_compile") 2>&5
3824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3825 test $ac_status = 0; }; then :
3826 for ac_file in conftest.o conftest.obj conftest.*; do
3827 test -f "$ac_file" || continue;
3829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3830 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3835 $as_echo "$as_me: failed program was:" >&5
3836 sed 's/^/| /' conftest.$ac_ext >&5
3838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3841 See \
`config.log' for more details" "$LINENO" 5; }
3843 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3846 $as_echo "$ac_cv_objext" >&6; }
3847 OBJEXT=$ac_cv_objext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3850 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3851 if ${ac_cv_c_compiler_gnu+:} false; then :
3852 $as_echo_n "(cached) " >&6
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3868 if ac_fn_c_try_compile "$LINENO"; then :
3873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3874 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3878 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3879 if test $ac_compiler_gnu = yes; then
3884 ac_test_CFLAGS=${CFLAGS+set}
3885 ac_save_CFLAGS=$CFLAGS
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3887 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3888 if ${ac_cv_prog_cc_g+:} false; then :
3889 $as_echo_n "(cached) " >&6
3891 ac_save_c_werror_flag=$ac_c_werror_flag
3892 ac_c_werror_flag=yes
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3906 if ac_fn_c_try_compile "$LINENO"; then :
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 if ac_fn_c_try_compile "$LINENO"; then :
3924 ac_c_werror_flag=$ac_save_c_werror_flag
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3937 if ac_fn_c_try_compile "$LINENO"; then :
3940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3945 ac_c_werror_flag=$ac_save_c_werror_flag
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3948 $as_echo "$ac_cv_prog_cc_g" >&6; }
3949 if test "$ac_test_CFLAGS" = set; then
3950 CFLAGS=$ac_save_CFLAGS
3951 elif test $ac_cv_prog_cc_g = yes; then
3952 if test "$GCC" = yes; then
3958 if test "$GCC" = yes; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3965 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3966 if ${ac_cv_prog_cc_c89+:} false; then :
3967 $as_echo_n "(cached) " >&6
3969 ac_cv_prog_cc_c89=no
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3976 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3977 struct buf { int x; };
3978 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3979 static char *e (p, i)
3985 static char *f (char * (*g) (char **, int), char **p, ...)
3990 s = g (p, va_arg (v,int));
3995 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3996 function prototypes and stuff, but not '\xHH' hex character constants.
3997 These don't provoke an error unfortunately, instead are silently treated
3998 as 'x'. The following induces an error, until -std is added to get
3999 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4000 array size at least. It's necessary to write '\x00'==0 to get something
4001 that's true only with -std. */
4002 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4004 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4005 inside strings and character constants. */
4007 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4009 int test (int i, double x);
4010 struct s1 {int (*f) (int a);};
4011 struct s2 {int (*f) (double a);};
4012 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4018 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4023 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4024 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4026 CC="$ac_save_CC $ac_arg"
4027 if ac_fn_c_try_compile "$LINENO"; then :
4028 ac_cv_prog_cc_c89=$ac_arg
4030 rm -f core conftest.err conftest.$ac_objext
4031 test "x$ac_cv_prog_cc_c89" != "xno" && break
4033 rm -f conftest.$ac_ext
4038 case "x$ac_cv_prog_cc_c89" in
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4041 $as_echo "none needed" >&6; } ;;
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4044 $as_echo "unsupported" >&6; } ;;
4046 CC="$CC $ac_cv_prog_cc_c89"
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4048 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4050 if test "x$ac_cv_prog_cc_c89" != xno; then :
4055 ac_cpp='$CPP $CPPFLAGS'
4056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4061 ac_cpp='$CPP $CPPFLAGS'
4062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4066 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4067 if ${am_cv_prog_cc_c_o+:} false; then :
4068 $as_echo_n "(cached) " >&6
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 # Make sure it works both with $CC and with simple cc.
4082 # Following AC_PROG_CC_C_O, we do the test twice because some
4083 # compilers refuse to overwrite an existing .o file with -o,
4084 # though they will create one.
4085 am_cv_prog_cc_c_o=yes
4087 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4088 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } \
4092 && test -f conftest2.$ac_objext; then
4095 am_cv_prog_cc_c_o=no
4099 rm -f core conftest*
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4103 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4104 if test "$am_cv_prog_cc_c_o" != yes; then
4105 # Losing compiler, so override with the script.
4106 # FIXME: It is wrong to rewrite CC.
4107 # But if we don't then we get into trouble of one sort or another.
4108 # A longer-term fix would be to have automake use am__CC in this case,
4109 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4110 CC="$am_aux_dir/compile $CC"
4113 ac_cpp='$CPP $CPPFLAGS'
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4119 depcc="$CC" am_compiler_list=
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4122 $as_echo_n "checking dependency style of $depcc... " >&6; }
4123 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4124 $as_echo_n "(cached) " >&6
4126 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4127 # We make a subdir and do the tests there. Otherwise we can end up
4128 # making bogus files that we don't know about and never remove. For
4129 # instance it was reported that on HP-UX the gcc test will end up
4130 # making a dummy file named 'D' -- because '-MD' means "put the output
4134 # Copy depcomp to subdir because otherwise we won't find it if we're
4135 # using a relative directory.
4136 cp "$am_depcomp" conftest.dir
4138 # We will build objects and dependencies in a subdirectory because
4139 # it helps to detect inapplicable dependency modes. For instance
4140 # both Tru64's cc and ICC support -MD to output dependencies as a
4141 # side effect of compilation, but ICC will put the dependencies in
4142 # the current directory while Tru64 will put them in the object
4146 am_cv_CC_dependencies_compiler_type=none
4147 if test "$am_compiler_list" = ""; then
4148 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4151 case " $depcc " in #(
4152 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4155 for depmode in $am_compiler_list; do
4156 # Setup a source with many dependencies, because some compilers
4157 # like to wrap large dependency lists on column 80 (with \), and
4158 # we should not choose a depcomp mode which is confused by this.
4160 # We need to recreate these files for each test, as the compiler may
4161 # overwrite some of them when testing with obscure command lines.
4162 # This happens at least with the AIX C compiler.
4164 for i in 1 2 3 4 5 6; do
4165 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4166 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4167 # Solaris 10 /bin/sh.
4168 echo '/* dummy */' > sub/conftst$i.h
4170 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4172 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4173 # mode. It turns out that the SunPro C++ compiler does not properly
4174 # handle '-M -o', and we need to detect this. Also, some Intel
4175 # versions had trouble with output in subdirs.
4176 am__obj=sub/conftest.${OBJEXT-o}
4177 am__minus_obj="-o $am__obj"
4180 # This depmode causes a compiler race in universal mode.
4181 test "$am__universal" = false || continue
4184 # After this tag, mechanisms are not by side-effect, so they'll
4185 # only be used when explicitly requested.
4186 if test "x$enable_dependency_tracking" = xyes; then
4192 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4193 # This compiler won't grok '-c -o', but also, the minuso test has
4194 # not run yet. These depmodes are late enough in the game, and
4195 # so weak that their functioning should not be impacted.
4196 am__obj=conftest.${OBJEXT-o}
4201 if depmode=$depmode \
4202 source=sub/conftest.c object=$am__obj \
4203 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4204 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4205 >/dev/null 2>conftest.err &&
4206 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4207 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4208 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4209 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4210 # icc doesn't choke on unknown options, it will just issue warnings
4211 # or remarks (even with -Werror). So we grep stderr for any message
4212 # that says an option was ignored or not supported.
4213 # When given -MP, icc 7.0 and 7.1 complain thusly:
4214 # icc: Command line warning: ignoring option '-M'; no argument required
4215 # The diagnosis changed in icc 8.0:
4216 # icc: Command line remark: option '-MP' not supported
4217 if (grep 'ignoring option' conftest.err ||
4218 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4219 am_cv_CC_dependencies_compiler_type=$depmode
4228 am_cv_CC_dependencies_compiler_type=none
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4233 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4234 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4237 test "x$enable_dependency_tracking" != xno \
4238 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4240 am__fastdepCC_FALSE='#'
4242 am__fastdepCC_TRUE='#'
4243 am__fastdepCC_FALSE=
4248 # Check whether --enable-compiler-warnings was given.
4249 if test "${enable_compiler_warnings+set}" = set; then :
4250 enableval=$enable_compiler_warnings;
4252 case $enable_compiler_warnings in #(
4253 no | min | yes | max | all) :
4256 if test "x$enable_maintainer_mode" = xyes; then :
4257 enable_compiler_warnings=yes
4259 enable_compiler_warnings=min
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4266 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4271 macro_version='2.4.6'
4272 macro_revision='2.4.6'
4286 ltmain=$ac_aux_dir/ltmain.sh
4288 # Make sure we can run config.sub.
4289 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4290 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4293 $as_echo_n "checking build system type... " >&6; }
4294 if ${ac_cv_build+:} false; then :
4295 $as_echo_n "(cached) " >&6
4297 ac_build_alias=$build_alias
4298 test "x$ac_build_alias" = x &&
4299 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4300 test "x$ac_build_alias" = x &&
4301 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4302 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4303 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4307 $as_echo "$ac_cv_build" >&6; }
4308 case $ac_cv_build in
4310 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4313 ac_save_IFS=$IFS; IFS='-'
4319 # Remember, the first character of IFS is used to create $*,
4320 # except with old shells:
4323 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4327 $as_echo_n "checking host system type... " >&6; }
4328 if ${ac_cv_host+:} false; then :
4329 $as_echo_n "(cached) " >&6
4331 if test "x$host_alias" = x; then
4332 ac_cv_host=$ac_cv_build
4334 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4335 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4340 $as_echo "$ac_cv_host" >&6; }
4343 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4346 ac_save_IFS=$IFS; IFS='-'
4352 # Remember, the first character of IFS is used to create $*,
4353 # except with old shells:
4356 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4359 # Backslashify metacharacters that are still active within
4360 # double-quoted strings.
4361 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4363 # Same as above, but do not quote variable references.
4364 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4366 # Sed substitution to delay expansion of an escaped shell variable in a
4367 # double_quote_subst'ed string.
4368 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4370 # Sed substitution to delay expansion of an escaped single quote.
4371 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4373 # Sed substitution to avoid accidental globbing in evaled expressions
4374 no_glob_subst='s/\*/\\\*/g'
4376 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4377 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4378 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4381 $as_echo_n "checking how to print
strings...
" >&6; }
4382 # Test print first, because it will be a builtin if present.
4383 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4384 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4386 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4389 # Use this function as a fallback that always works.
4390 func_fallback_echo ()
4392 eval 'cat <<_LTECHO_EOF
4396 ECHO='func_fallback_echo'
4399 # func_echo_all arg...
4400 # Invoke $ECHO with all args, space-separated.
4407 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4408 $as_echo "printf" >&6; } ;;
4409 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4410 $as_echo "print
-r" >&6; } ;;
4411 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4412 $as_echo "cat" >&6; } ;;
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4429 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4430 if ${ac_cv_path_SED+:} false; then :
4431 $as_echo_n "(cached
) " >&6
4433 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4434 for ac_i in 1 2 3 4 5 6 7; do
4435 ac_script="$ac_script$as_nl$ac_script"
4437 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4438 { ac_script=; unset ac_script;}
4439 if test -z "$SED"; then
4440 ac_path_SED_found=false
4441 # Loop through the user's path and test for each of PROGNAME-LIST
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir=.
4447 for ac_prog in sed gsed; do
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4450 as_fn_executable_p "$ac_path_SED" || continue
4451 # Check for GNU ac_path_SED and select it if it is found.
4452 # Check for GNU $ac_path_SED
4453 case `"$ac_path_SED" --version 2>&1` in
4455 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4458 $as_echo_n 0123456789 >"conftest.
in"
4461 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4462 mv "conftest.tmp
" "conftest.
in"
4463 cp "conftest.
in" "conftest.
nl"
4464 $as_echo '' >> "conftest.
nl"
4465 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4466 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4467 as_fn_arith $ac_count + 1 && ac_count=$as_val
4468 if test $ac_count -gt ${ac_path_SED_max-0}; then
4469 # Best one so far, save it but keep looking for a better one
4470 ac_cv_path_SED="$ac_path_SED"
4471 ac_path_SED_max=$ac_count
4473 # 10*(2^10) chars as input seems more than enough
4474 test $ac_count -gt 10 && break
4476 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4479 $ac_path_SED_found && break 3
4484 if test -z "$ac_cv_path_SED"; then
4485 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4493 $as_echo "$ac_cv_path_SED" >&6; }
4494 SED="$ac_cv_path_SED"
4497 test -z "$SED" && SED=sed
4498 Xsed="$SED -e 1s
/^X
//"
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4511 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4512 if ${ac_cv_path_GREP+:} false; then :
4513 $as_echo_n "(cached
) " >&6
4515 if test -z "$GREP"; then
4516 ac_path_GREP_found=false
4517 # Loop through the user's path and test for each of PROGNAME-LIST
4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4522 test -z "$as_dir" && as_dir=.
4523 for ac_prog in grep ggrep; do
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4526 as_fn_executable_p "$ac_path_GREP" || continue
4527 # Check for GNU ac_path_GREP and select it if it is found.
4528 # Check for GNU $ac_path_GREP
4529 case `"$ac_path_GREP" --version 2>&1` in
4531 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4534 $as_echo_n 0123456789 >"conftest.
in"
4537 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4538 mv "conftest.tmp
" "conftest.
in"
4539 cp "conftest.
in" "conftest.
nl"
4540 $as_echo 'GREP' >> "conftest.
nl"
4541 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4542 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4543 as_fn_arith $ac_count + 1 && ac_count=$as_val
4544 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4545 # Best one so far, save it but keep looking for a better one
4546 ac_cv_path_GREP="$ac_path_GREP"
4547 ac_path_GREP_max=$ac_count
4549 # 10*(2^10) chars as input seems more than enough
4550 test $ac_count -gt 10 && break
4552 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4555 $ac_path_GREP_found && break 3
4560 if test -z "$ac_cv_path_GREP"; then
4561 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4564 ac_cv_path_GREP=$GREP
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4569 $as_echo "$ac_cv_path_GREP" >&6; }
4570 GREP="$ac_cv_path_GREP"
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4574 $as_echo_n "checking
for egrep...
" >&6; }
4575 if ${ac_cv_path_EGREP+:} false; then :
4576 $as_echo_n "(cached
) " >&6
4578 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4579 then ac_cv_path_EGREP="$GREP -E"
4581 if test -z "$EGREP"; then
4582 ac_path_EGREP_found=false
4583 # Loop through the user's path and test for each of PROGNAME-LIST
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4588 test -z "$as_dir" && as_dir=.
4589 for ac_prog in egrep; do
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4592 as_fn_executable_p "$ac_path_EGREP" || continue
4593 # Check for GNU ac_path_EGREP and select it if it is found.
4594 # Check for GNU $ac_path_EGREP
4595 case `"$ac_path_EGREP" --version 2>&1` in
4597 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4600 $as_echo_n 0123456789 >"conftest.
in"
4603 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4604 mv "conftest.tmp
" "conftest.
in"
4605 cp "conftest.
in" "conftest.
nl"
4606 $as_echo 'EGREP' >> "conftest.
nl"
4607 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4608 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4609 as_fn_arith $ac_count + 1 && ac_count=$as_val
4610 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4611 # Best one so far, save it but keep looking for a better one
4612 ac_cv_path_EGREP="$ac_path_EGREP"
4613 ac_path_EGREP_max=$ac_count
4615 # 10*(2^10) chars as input seems more than enough
4616 test $ac_count -gt 10 && break
4618 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4621 $ac_path_EGREP_found && break 3
4626 if test -z "$ac_cv_path_EGREP"; then
4627 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4630 ac_cv_path_EGREP=$EGREP
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4636 $as_echo "$ac_cv_path_EGREP" >&6; }
4637 EGREP="$ac_cv_path_EGREP"
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4641 $as_echo_n "checking
for fgrep...
" >&6; }
4642 if ${ac_cv_path_FGREP+:} false; then :
4643 $as_echo_n "(cached
) " >&6
4645 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4646 then ac_cv_path_FGREP="$GREP -F"
4648 if test -z "$FGREP"; then
4649 ac_path_FGREP_found=false
4650 # Loop through the user's path and test for each of PROGNAME-LIST
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4655 test -z "$as_dir" && as_dir=.
4656 for ac_prog in fgrep; do
4657 for ac_exec_ext in '' $ac_executable_extensions; do
4658 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4659 as_fn_executable_p "$ac_path_FGREP" || continue
4660 # Check for GNU ac_path_FGREP and select it if it is found.
4661 # Check for GNU $ac_path_FGREP
4662 case `"$ac_path_FGREP" --version 2>&1` in
4664 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4667 $as_echo_n 0123456789 >"conftest.
in"
4670 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4671 mv "conftest.tmp
" "conftest.
in"
4672 cp "conftest.
in" "conftest.
nl"
4673 $as_echo 'FGREP' >> "conftest.
nl"
4674 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4675 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4676 as_fn_arith $ac_count + 1 && ac_count=$as_val
4677 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4678 # Best one so far, save it but keep looking for a better one
4679 ac_cv_path_FGREP="$ac_path_FGREP"
4680 ac_path_FGREP_max=$ac_count
4682 # 10*(2^10) chars as input seems more than enough
4683 test $ac_count -gt 10 && break
4685 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4688 $ac_path_FGREP_found && break 3
4693 if test -z "$ac_cv_path_FGREP"; then
4694 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4697 ac_cv_path_FGREP=$FGREP
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4703 $as_echo "$ac_cv_path_FGREP" >&6; }
4704 FGREP="$ac_cv_path_FGREP"
4707 test -z "$GREP" && GREP=grep
4727 # Check whether --with-gnu-ld was given.
4728 if test "${with_gnu_ld+set}" = set; then :
4729 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4735 if test yes = "$GCC"; then
4736 # Check if gcc -print-prog-name=ld gives a path.
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4738 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4741 # gcc leaves a trailing carriage return, which upsets mingw
4742 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4744 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4747 # Accept absolute paths.
4749 re_direlt='/[^/][^/]*/\.\./'
4750 # Canonicalize the pathname of ld
4751 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4752 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4753 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4755 test -z "$LD" && LD=$ac_prog
4758 # If it fails, then pretend we aren't using GCC.
4762 # If it is relative, then search for the first ld in PATH.
4766 elif test yes = "$with_gnu_ld"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4768 $as_echo_n "checking
for GNU ld...
" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4771 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4773 if ${lt_cv_path_LD+:} false; then :
4774 $as_echo_n "(cached
) " >&6
4776 if test -z "$LD"; then
4777 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4778 for ac_dir in $PATH; do
4780 test -z "$ac_dir" && ac_dir=.
4781 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4782 lt_cv_path_LD=$ac_dir/$ac_prog
4783 # Check to see if the program is GNU ld. I'd rather use --version,
4784 # but apparently some variants of GNU ld only accept -v.
4785 # Break only if it was the GNU/non-GNU ld that we prefer.
4786 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4787 *GNU* | *'with BFD'*)
4788 test no != "$with_gnu_ld" && break
4791 test yes != "$with_gnu_ld" && break
4798 lt_cv_path_LD=$LD # Let the user override the test with a path.
4803 if test -n "$LD"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4805 $as_echo "$LD" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4808 $as_echo "no
" >&6; }
4810 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4812 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4813 if ${lt_cv_prog_gnu_ld+:} false; then :
4814 $as_echo_n "(cached
) " >&6
4816 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4817 case `$LD -v 2>&1 </dev/null` in
4818 *GNU* | *'with BFD'*)
4819 lt_cv_prog_gnu_ld=yes
4822 lt_cv_prog_gnu_ld=no
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4827 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4828 with_gnu_ld=$lt_cv_prog_gnu_ld
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4839 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4840 if ${lt_cv_path_NM+:} false; then :
4841 $as_echo_n "(cached
) " >&6
4843 if test -n "$NM"; then
4844 # Let the user override the test.
4847 lt_nm_to_check=${ac_tool_prefix}nm
4848 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4849 lt_nm_to_check="$lt_nm_to_check nm
"
4851 for lt_tmp_nm in $lt_nm_to_check; do
4852 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4853 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4855 test -z "$ac_dir" && ac_dir=.
4856 tmp_nm=$ac_dir/$lt_tmp_nm
4857 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4858 # Check to see if the nm accepts a BSD-compat flag.
4859 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4860 # nm: unknown option "B
" ignored
4861 # Tru64's nm complains that /dev/null is an invalid object file
4862 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4864 mingw*) lt_bad_file=conftest.nm/nofile ;;
4865 *) lt_bad_file=/dev/null ;;
4867 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4868 *$lt_bad_file* | *'Invalid file or object type'*)
4869 lt_cv_path_NM="$tmp_nm -B"
4873 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4875 lt_cv_path_NM="$tmp_nm -p"
4879 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4880 continue # so that we can try to find one that supports BSD flags
4889 : ${lt_cv_path_NM=no}
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4893 $as_echo "$lt_cv_path_NM" >&6; }
4894 if test no != "$lt_cv_path_NM"; then
4897 # Didn't find any BSD compatible name lister, look for dumpbin.
4898 if test -n "$DUMPBIN"; then :
4899 # Let the user override the test.
4901 if test -n "$ac_tool_prefix"; then
4902 for ac_prog in dumpbin "link
-dump"
4904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4907 $as_echo_n "checking
for $ac_word...
" >&6; }
4908 if ${ac_cv_prog_DUMPBIN+:} false; then :
4909 $as_echo_n "(cached
) " >&6
4911 if test -n "$DUMPBIN"; then
4912 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir=.
4919 for ac_exec_ext in '' $ac_executable_extensions; do
4920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4921 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4931 DUMPBIN=$ac_cv_prog_DUMPBIN
4932 if test -n "$DUMPBIN"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4934 $as_echo "$DUMPBIN" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4937 $as_echo "no
" >&6; }
4941 test -n "$DUMPBIN" && break
4944 if test -z "$DUMPBIN"; then
4945 ac_ct_DUMPBIN=$DUMPBIN
4946 for ac_prog in dumpbin "link
-dump"
4948 # Extract the first word of "$ac_prog", so it can be a program name with args.
4949 set dummy $ac_prog; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4951 $as_echo_n "checking
for $ac_word...
" >&6; }
4952 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4953 $as_echo_n "(cached
) " >&6
4955 if test -n "$ac_ct_DUMPBIN"; then
4956 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4965 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4975 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4976 if test -n "$ac_ct_DUMPBIN"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4978 $as_echo "$ac_ct_DUMPBIN" >&6; }
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4981 $as_echo "no
" >&6; }
4985 test -n "$ac_ct_DUMPBIN" && break
4988 if test "x
$ac_ct_DUMPBIN" = x; then
4991 case $cross_compiling:$ac_tool_warned in
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4994 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4995 ac_tool_warned=yes ;;
4997 DUMPBIN=$ac_ct_DUMPBIN
5001 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5003 DUMPBIN="$DUMPBIN -symbols -headers"
5011 if test : != "$DUMPBIN"; then
5015 test -z "$NM" && NM=nm
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5023 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5024 if ${lt_cv_nm_interface+:} false; then :
5025 $as_echo_n "(cached
) " >&6
5027 lt_cv_nm_interface="BSD nm
"
5028 echo "int some_variable
= 0;" > conftest.$ac_ext
5029 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5030 (eval "$ac_compile" 2>conftest.err)
5031 cat conftest.err >&5
5032 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5033 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5034 cat conftest.err >&5
5035 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5036 cat conftest.out >&5
5037 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5038 lt_cv_nm_interface="MS dumpbin
"
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5043 $as_echo "$lt_cv_nm_interface" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5046 $as_echo_n "checking whether
ln -s works...
" >&6; }
5048 if test "$LN_S" = "ln -s"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5050 $as_echo "yes" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5053 $as_echo "no
, using
$LN_S" >&6; }
5056 # find the maximum length of command line arguments
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5058 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5059 if ${lt_cv_sys_max_cmd_len+:} false; then :
5060 $as_echo_n "(cached
) " >&6
5067 # On DJGPP, this test can blow up pretty badly due to problems in libc
5068 # (any single argument exceeding 2000 bytes causes a buffer overrun
5069 # during glob expansion). Even if it were fixed, the result of this
5070 # check would be larger than it should be.
5071 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5075 # Under GNU Hurd, this test is not required because there is
5076 # no limit to the length of command line arguments.
5077 # Libtool will interpret -1 as no limit whatsoever
5078 lt_cv_sys_max_cmd_len=-1;
5081 cygwin* | mingw* | cegcc*)
5082 # On Win9x/ME, this test blows up -- it succeeds, but takes
5083 # about 5 minutes as the teststring grows exponentially.
5084 # Worse, since 9x/ME are not pre-emptively multitasking,
5085 # you end up with a "frozen
" computer, even though with patience
5086 # the test eventually succeeds (with a max line length of 256k).
5087 # Instead, let's just punt: use the minimum linelength reported by
5088 # all of the supported platforms: 8192 (on NT/2K/XP).
5089 lt_cv_sys_max_cmd_len=8192;
5093 # On MiNT this can take a long time and run out of memory.
5094 lt_cv_sys_max_cmd_len=8192;
5098 # On AmigaOS with pdksh, this test takes hours, literally.
5099 # So we just punt and use a minimum line length of 8192.
5100 lt_cv_sys_max_cmd_len=8192;
5103 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5104 # This has been around since 386BSD, at least. Likely further.
5105 if test -x /sbin/sysctl; then
5106 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5107 elif test -x /usr/sbin/sysctl; then
5108 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5110 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5112 # And add a safety zone
5113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5114 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5118 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5119 lt_cv_sys_max_cmd_len=196608
5123 # The test takes a long time on OS/2.
5124 lt_cv_sys_max_cmd_len=8192
5128 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5129 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5130 # nice to cause kernel panics so lets avoid the loop below.
5131 # First set a reasonable default.
5132 lt_cv_sys_max_cmd_len=16384
5134 if test -x /sbin/sysconfig; then
5135 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5136 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5141 lt_cv_sys_max_cmd_len=102400
5143 sysv5* | sco5v6* | sysv4.2uw2*)
5144 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5145 if test -n "$kargmax"; then
5146 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5148 lt_cv_sys_max_cmd_len=32768
5152 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5153 if test -n "$lt_cv_sys_max_cmd_len" && \
5154 test undefined != "$lt_cv_sys_max_cmd_len"; then
5155 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5156 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5158 # Make teststring a little bigger before we do anything with it.
5159 # a 1K string should be a reasonable start.
5160 for i in 1 2 3 4 5 6 7 8; do
5161 teststring=$teststring$teststring
5163 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5164 # If test is not a shell built-in, we'll probably end up computing a
5165 # maximum length that is only half of the actual maximum length, but
5167 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5168 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5169 test 17 != "$i" # 1/2 MB should be enough
5172 teststring=$teststring$teststring
5174 # Only check the string length outside the loop.
5175 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5177 # Add a significant safety factor because C++ compilers can tack on
5178 # massive amounts of additional arguments before passing them to the
5179 # linker. It appears as though 1/2 is a usable value.
5180 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5187 if test -n "$lt_cv_sys_max_cmd_len"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5189 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5192 $as_echo "none
" >&6; }
5194 max_cmd_len=$lt_cv_sys_max_cmd_len
5205 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5215 # test EBCDIC or ASCII
5216 case `echo X|tr X '\101'` in
5217 A) # ASCII based system
5218 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5219 lt_SP2NL='tr \040 \012'
5220 lt_NL2SP='tr \015\012 \040\040'
5222 *) # EBCDIC based system
5223 lt_SP2NL='tr \100 \n'
5224 lt_NL2SP='tr \r\n \100\100'
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5237 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5238 if ${lt_cv_to_host_file_cmd+:} false; then :
5239 $as_echo_n "(cached
) " >&6
5244 *-*-mingw* ) # actually msys
5245 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5248 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5250 * ) # otherwise, assume *nix
5251 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5257 *-*-mingw* ) # actually msys
5258 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5261 lt_cv_to_host_file_cmd=func_convert_file_noop
5263 * ) # otherwise, assume *nix
5264 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5268 * ) # unhandled hosts (and "normal
" native builds)
5269 lt_cv_to_host_file_cmd=func_convert_file_noop
5275 to_host_file_cmd=$lt_cv_to_host_file_cmd
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5277 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5284 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5285 if ${lt_cv_to_tool_file_cmd+:} false; then :
5286 $as_echo_n "(cached
) " >&6
5288 #assume ordinary cross tools, or native build.
5289 lt_cv_to_tool_file_cmd=func_convert_file_noop
5293 *-*-mingw* ) # actually msys
5294 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5302 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5304 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5311 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5312 if ${lt_cv_ld_reload_flag+:} false; then :
5313 $as_echo_n "(cached
) " >&6
5315 lt_cv_ld_reload_flag='-r'
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5318 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5319 reload_flag=$lt_cv_ld_reload_flag
5320 case $reload_flag in
5322 *) reload_flag=" $reload_flag" ;;
5324 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5326 cygwin* | mingw* | pw32* | cegcc*)
5327 if test yes != "$GCC"; then
5332 if test yes = "$GCC"; then
5333 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5335 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5348 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5350 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5352 $as_echo_n "checking
for $ac_word...
" >&6; }
5353 if ${ac_cv_prog_OBJDUMP+:} false; then :
5354 $as_echo_n "(cached
) " >&6
5356 if test -n "$OBJDUMP"; then
5357 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5376 OBJDUMP=$ac_cv_prog_OBJDUMP
5377 if test -n "$OBJDUMP"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5379 $as_echo "$OBJDUMP" >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5382 $as_echo "no
" >&6; }
5387 if test -z "$ac_cv_prog_OBJDUMP"; then
5388 ac_ct_OBJDUMP=$OBJDUMP
5389 # Extract the first word of "objdump
", so it can be a program name with args.
5390 set dummy objdump; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5392 $as_echo_n "checking
for $ac_word...
" >&6; }
5393 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5394 $as_echo_n "(cached
) " >&6
5396 if test -n "$ac_ct_OBJDUMP"; then
5397 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5416 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5417 if test -n "$ac_ct_OBJDUMP"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5419 $as_echo "$ac_ct_OBJDUMP" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5422 $as_echo "no
" >&6; }
5425 if test "x
$ac_ct_OBJDUMP" = x; then
5428 case $cross_compiling:$ac_tool_warned in
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5431 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5432 ac_tool_warned=yes ;;
5434 OBJDUMP=$ac_ct_OBJDUMP
5437 OBJDUMP="$ac_cv_prog_OBJDUMP"
5440 test -z "$OBJDUMP" && OBJDUMP=objdump
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5448 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5449 if ${lt_cv_deplibs_check_method+:} false; then :
5450 $as_echo_n "(cached
) " >&6
5452 lt_cv_file_magic_cmd='$MAGIC_CMD'
5453 lt_cv_file_magic_test_file=
5454 lt_cv_deplibs_check_method='unknown'
5455 # Need to set the preceding variable on all platforms that support
5456 # interlibrary dependencies.
5457 # 'none' -- dependencies not supported.
5458 # 'unknown' -- same as none, but documents that we really don't know.
5459 # 'pass_all' -- all dependencies passed with no checks.
5460 # 'test_compile' -- check by making test program.
5461 # 'file_magic [[regex]]' -- check by looking for files in library path
5462 # that responds to the $file_magic_cmd with a given extended regex.
5463 # If you have 'file' or equivalent on your system and you're not sure
5464 # whether 'pass_all' will *always* work, you probably want this one.
5468 lt_cv_deplibs_check_method=pass_all
5472 lt_cv_deplibs_check_method=pass_all
5476 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5477 lt_cv_file_magic_cmd='/usr/bin/file -L'
5478 lt_cv_file_magic_test_file=/shlib/libc.so
5482 # func_win32_libid is a shell function defined in ltmain.sh
5483 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5484 lt_cv_file_magic_cmd='func_win32_libid'
5488 # Base MSYS/MinGW do not provide the 'file' command needed by
5489 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5490 # unless we find 'file', for example because we are cross-compiling.
5491 if ( file / ) >/dev/null 2>&1; then
5492 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5493 lt_cv_file_magic_cmd='func_win32_libid'
5495 # Keep this pattern in sync with the one in func_win32_libid.
5496 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5497 lt_cv_file_magic_cmd='$OBJDUMP -f'
5502 # use the weaker test based on 'objdump'. See mingw*.
5503 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5504 lt_cv_file_magic_cmd='$OBJDUMP -f'
5507 darwin* | rhapsody*)
5508 lt_cv_deplibs_check_method=pass_all
5511 freebsd* | dragonfly*)
5512 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5515 # Not sure whether the presence of OpenBSD here was a mistake.
5516 # Let's accept both of them until this is cleared up.
5517 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5518 lt_cv_file_magic_cmd=/usr/bin/file
5519 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5523 lt_cv_deplibs_check_method=pass_all
5528 lt_cv_deplibs_check_method=pass_all
5531 hpux10.20* | hpux11*)
5532 lt_cv_file_magic_cmd=/usr/bin/file
5535 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5536 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5539 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]'
5540 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5543 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5544 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5550 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5551 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5554 irix5* | irix6* | nonstopux*)
5556 *-32|*"-32 ") libmagic=32-bit;;
5557 *-n32|*"-n32 ") libmagic=N32;;
5558 *-64|*"-64 ") libmagic=64-bit;;
5559 *) libmagic=never-match;;
5561 lt_cv_deplibs_check_method=pass_all
5564 # This must be glibc/ELF.
5565 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5566 lt_cv_deplibs_check_method=pass_all
5570 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5571 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5573 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5578 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5579 lt_cv_file_magic_cmd=/usr/bin/file
5580 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5584 lt_cv_deplibs_check_method=pass_all
5588 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5589 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5591 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5595 osf3* | osf4* | osf5*)
5596 lt_cv_deplibs_check_method=pass_all
5600 lt_cv_deplibs_check_method=pass_all
5604 lt_cv_deplibs_check_method=pass_all
5607 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5608 lt_cv_deplibs_check_method=pass_all
5612 case $host_vendor in
5614 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]'
5615 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5618 lt_cv_deplibs_check_method=pass_all
5621 lt_cv_file_magic_cmd='/bin/file'
5622 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5625 lt_cv_file_magic_cmd='/bin/file'
5626 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5627 lt_cv_file_magic_test_file=/lib/libc.so
5630 lt_cv_deplibs_check_method=pass_all
5633 lt_cv_deplibs_check_method=pass_all
5639 lt_cv_deplibs_check_method=pass_all
5642 lt_cv_deplibs_check_method=pass_all
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5648 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5652 if test "$build" = "$host"; then
5655 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5658 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5664 file_magic_cmd=$lt_cv_file_magic_cmd
5665 deplibs_check_method=$lt_cv_deplibs_check_method
5666 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5689 if test -n "$ac_tool_prefix"; then
5690 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5691 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5693 $as_echo_n "checking
for $ac_word...
" >&6; }
5694 if ${ac_cv_prog_DLLTOOL+:} false; then :
5695 $as_echo_n "(cached
) " >&6
5697 if test -n "$DLLTOOL"; then
5698 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5717 DLLTOOL=$ac_cv_prog_DLLTOOL
5718 if test -n "$DLLTOOL"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5720 $as_echo "$DLLTOOL" >&6; }
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5723 $as_echo "no
" >&6; }
5728 if test -z "$ac_cv_prog_DLLTOOL"; then
5729 ac_ct_DLLTOOL=$DLLTOOL
5730 # Extract the first word of "dlltool
", so it can be a program name with args.
5731 set dummy dlltool; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5733 $as_echo_n "checking
for $ac_word...
" >&6; }
5734 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5735 $as_echo_n "(cached
) " >&6
5737 if test -n "$ac_ct_DLLTOOL"; then
5738 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5757 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5758 if test -n "$ac_ct_DLLTOOL"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5760 $as_echo "$ac_ct_DLLTOOL" >&6; }
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5763 $as_echo "no
" >&6; }
5766 if test "x
$ac_ct_DLLTOOL" = x; then
5769 case $cross_compiling:$ac_tool_warned in
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5772 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5773 ac_tool_warned=yes ;;
5775 DLLTOOL=$ac_ct_DLLTOOL
5778 DLLTOOL="$ac_cv_prog_DLLTOOL"
5781 test -z "$DLLTOOL" && DLLTOOL=dlltool
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5790 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5791 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5792 $as_echo_n "(cached
) " >&6
5794 lt_cv_sharedlib_from_linklib_cmd='unknown'
5797 cygwin* | mingw* | pw32* | cegcc*)
5798 # two different shell functions defined in ltmain.sh;
5799 # decide which one to use based on capabilities of $DLLTOOL
5800 case `$DLLTOOL --help 2>&1` in
5801 *--identify-strict*)
5802 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5805 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5810 # fallback: assume linklib IS sharedlib
5811 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5817 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5818 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5819 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5827 if test -n "$ac_tool_prefix"; then
5830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5833 $as_echo_n "checking
for $ac_word...
" >&6; }
5834 if ${ac_cv_prog_AR+:} false; then :
5835 $as_echo_n "(cached
) " >&6
5837 if test -n "$AR"; then
5838 ac_cv_prog_AR="$AR" # Let the user override the test.
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5858 if test -n "$AR"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5860 $as_echo "$AR" >&6; }
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5863 $as_echo "no
" >&6; }
5867 test -n "$AR" && break
5870 if test -z "$AR"; then
5874 # Extract the first word of "$ac_prog", so it can be a program name with args.
5875 set dummy $ac_prog; ac_word=$2
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5877 $as_echo_n "checking
for $ac_word...
" >&6; }
5878 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5879 $as_echo_n "(cached
) " >&6
5881 if test -n "$ac_ct_AR"; then
5882 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 test -z "$as_dir" && as_dir=.
5889 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5891 ac_cv_prog_ac_ct_AR="$ac_prog"
5892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5901 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5902 if test -n "$ac_ct_AR"; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5904 $as_echo "$ac_ct_AR" >&6; }
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5907 $as_echo "no
" >&6; }
5911 test -n "$ac_ct_AR" && break
5914 if test "x
$ac_ct_AR" = x; then
5917 case $cross_compiling:$ac_tool_warned in
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5920 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5921 ac_tool_warned=yes ;;
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5941 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5942 if ${lt_cv_ar_at_file+:} false; then :
5943 $as_echo_n "(cached
) " >&6
5946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5947 /* end confdefs.h. */
5957 if ac_fn_c_try_compile "$LINENO"; then :
5958 echo conftest.$ac_objext > conftest.lst
5959 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5960 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5961 (eval $lt_ar_try) 2>&5
5963 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5964 test $ac_status = 0; }
5965 if test 0 -eq "$ac_status"; then
5966 # Ensure the archiver fails upon bogus file names.
5967 rm -f conftest.$ac_objext libconftest.a
5968 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5969 (eval $lt_ar_try) 2>&5
5971 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5972 test $ac_status = 0; }
5973 if test 0 -ne "$ac_status"; then
5977 rm -f conftest.* libconftest.a
5980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5984 $as_echo "$lt_cv_ar_at_file" >&6; }
5986 if test no = "$lt_cv_ar_at_file"; then
5989 archiver_list_spec=$lt_cv_ar_at_file
5998 if test -n "$ac_tool_prefix"; then
5999 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6000 set dummy ${ac_tool_prefix}strip; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6002 $as_echo_n "checking
for $ac_word...
" >&6; }
6003 if ${ac_cv_prog_STRIP+:} false; then :
6004 $as_echo_n "(cached
) " >&6
6006 if test -n "$STRIP"; then
6007 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6026 STRIP=$ac_cv_prog_STRIP
6027 if test -n "$STRIP"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6029 $as_echo "$STRIP" >&6; }
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6032 $as_echo "no
" >&6; }
6037 if test -z "$ac_cv_prog_STRIP"; then
6039 # Extract the first word of "strip
", so it can be a program name with args.
6040 set dummy strip; ac_word=$2
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6042 $as_echo_n "checking
for $ac_word...
" >&6; }
6043 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6044 $as_echo_n "(cached
) " >&6
6046 if test -n "$ac_ct_STRIP"; then
6047 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6056 ac_cv_prog_ac_ct_STRIP="strip
"
6057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6066 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6067 if test -n "$ac_ct_STRIP"; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6069 $as_echo "$ac_ct_STRIP" >&6; }
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6072 $as_echo "no
" >&6; }
6075 if test "x
$ac_ct_STRIP" = x; then
6078 case $cross_compiling:$ac_tool_warned in
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6081 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6082 ac_tool_warned=yes ;;
6087 STRIP="$ac_cv_prog_STRIP"
6090 test -z "$STRIP" && STRIP=:
6097 if test -n "$ac_tool_prefix"; then
6098 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6099 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6101 $as_echo_n "checking
for $ac_word...
" >&6; }
6102 if ${ac_cv_prog_RANLIB+:} false; then :
6103 $as_echo_n "(cached
) " >&6
6105 if test -n "$RANLIB"; then
6106 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6125 RANLIB=$ac_cv_prog_RANLIB
6126 if test -n "$RANLIB"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6128 $as_echo "$RANLIB" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6131 $as_echo "no
" >&6; }
6136 if test -z "$ac_cv_prog_RANLIB"; then
6137 ac_ct_RANLIB=$RANLIB
6138 # Extract the first word of "ranlib
", so it can be a program name with args.
6139 set dummy ranlib; ac_word=$2
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6141 $as_echo_n "checking
for $ac_word...
" >&6; }
6142 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6143 $as_echo_n "(cached
) " >&6
6145 if test -n "$ac_ct_RANLIB"; then
6146 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir=.
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6165 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6166 if test -n "$ac_ct_RANLIB"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6168 $as_echo "$ac_ct_RANLIB" >&6; }
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6171 $as_echo "no
" >&6; }
6174 if test "x
$ac_ct_RANLIB" = x; then
6177 case $cross_compiling:$ac_tool_warned in
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6180 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6181 ac_tool_warned=yes ;;
6183 RANLIB=$ac_ct_RANLIB
6186 RANLIB="$ac_cv_prog_RANLIB"
6189 test -z "$RANLIB" && RANLIB=:
6196 # Determine commands to create old-style static archives.
6197 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6198 old_postinstall_cmds='chmod 644 $oldlib'
6199 old_postuninstall_cmds=
6201 if test -n "$RANLIB"; then
6204 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6207 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6210 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6215 lock_old_archive_extraction=yes ;;
6217 lock_old_archive_extraction=no ;;
6258 # If no C compiler was specified, use CC.
6261 # If no C compiler flags were specified, use CFLAGS.
6262 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6264 # Allow CC to be a program name with arguments.
6268 # Check for command to grab the raw symbol name followed by C symbol from nm.
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6270 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6271 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6272 $as_echo_n "(cached
) " >&6
6275 # These are sane defaults that work on at least a few old systems.
6276 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6278 # Character class describing NM global symbol codes.
6279 symcode='[BCDEGRST]'
6281 # Regexp to match symbols that can be accessed directly from C.
6282 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6284 # Define system-specific variables.
6289 cygwin* | mingw* | pw32* | cegcc*)
6290 symcode='[ABCDGISTW]'
6293 if test ia64 = "$host_cpu"; then
6294 symcode='[ABCDEGRST]'
6298 symcode='[BCDEGRST]'
6301 symcode='[BCDEGQRST]'
6312 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6320 # If we're using GNU nm, then use its standard symbol codes.
6321 case `$NM -V 2>&1` in
6322 *GNU* | *'with BFD'*)
6323 symcode='[ABCDGIRSTW]' ;;
6326 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6327 # Gets list of data symbols to import.
6328 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6329 # Adjust the below global symbol transforms to fixup imported variables.
6330 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6331 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6332 lt_c_name_lib_hook="\
6333 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6334 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6336 # Disable hooks by default.
6337 lt_cv_sys_global_symbol_to_import=
6343 # Transform an extracted symbol line into a proper C declaration.
6344 # Some systems (esp. on ia64) link data and code symbols differently,
6345 # so use this general approach.
6346 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6348 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6349 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6351 # Transform an extracted symbol line into symbol name and symbol address
6352 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6354 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6355 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6357 # Transform an extracted symbol line into symbol name with lib prefix and
6359 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6360 $lt_c_name_lib_hook\
6361 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6362 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6363 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6365 # Handle CRLF in mingw tool chain
6369 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6373 # Try without a prefix underscore, then with it.
6374 for ac_symprfx in "" "_
"; do
6376 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6377 symxfrm="\\1 $ac_symprfx\\2 \\2"
6379 # Write the raw and C identifiers.
6380 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6381 # Fake it for dumpbin and say T for any non-static function,
6382 # D for any global variable and I for any imported variable.
6383 # Also find C++ and __fastcall symbols from MSVC++,
6384 # which start with @ or ?.
6385 lt_cv_sys_global_symbol_pipe="$AWK '"\
6386 " {last_section=section; section=\$ 3};"\
6387 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6388 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6389 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6390 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6391 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6392 " \$ 0!~/External *\|/{next};"\
6393 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6394 " {if(hide[section]) next};"\
6395 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6396 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6397 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6398 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6399 " ' prfx
=^
$ac_symprfx"
6401 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6403 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6405 # Check to see that the pipe works correctly.
6409 cat > conftest.$ac_ext <<_LT_EOF
6414 void nm_test_func(void);
6415 void nm_test_func(void){}
6419 int main(){nm_test_var='a';nm_test_func();return(0);}
6422 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6423 (eval $ac_compile) 2>&5
6425 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6426 test $ac_status = 0; }; then
6427 # Now try to grab the symbols.
6429 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6430 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6432 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6433 test $ac_status = 0; } && test -s "$nlist"; then
6434 # Try sorting and uniquifying the output.
6435 if sort "$nlist" | uniq > "$nlist"T; then
6436 mv -f "$nlist"T "$nlist"
6441 # Make sure that we snagged all the symbols we need.
6442 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6443 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6444 cat <<_LT_EOF > conftest.$ac_ext
6445 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6446 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6447 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6448 relocations are performed -- see ld's documentation on pseudo-relocs. */
6449 # define LT_DLSYM_CONST
6450 #elif defined __osf__
6451 /* This system does not cope well with relocations in const data. */
6452 # define LT_DLSYM_CONST
6454 # define LT_DLSYM_CONST const
6462 # Now generate the symbol file.
6463 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6465 cat <<_LT_EOF >> conftest.$ac_ext
6467 /* The mapping between symbol names and symbols. */
6468 LT_DLSYM_CONST struct {
6472 lt__PROGRAM__LTX_preloaded_symbols[] =
6474 { "@PROGRAM@
", (void *) 0 },
6476 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6477 cat <<\_LT_EOF >> conftest.$ac_ext
6481 /* This works around a problem in FreeBSD linker */
6482 #ifdef FREEBSD_WORKAROUND
6483 static const void *lt_preloaded_setup() {
6484 return lt__PROGRAM__LTX_preloaded_symbols;
6492 # Now try linking the two files.
6493 mv conftest.$ac_objext conftstm.$ac_objext
6494 lt_globsym_save_LIBS=$LIBS
6495 lt_globsym_save_CFLAGS=$CFLAGS
6496 LIBS=conftstm.$ac_objext
6497 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6498 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6499 (eval $ac_link) 2>&5
6501 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6502 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6505 LIBS=$lt_globsym_save_LIBS
6506 CFLAGS=$lt_globsym_save_CFLAGS
6508 echo "cannot
find nm_test_func
in $nlist" >&5
6511 echo "cannot
find nm_test_var
in $nlist" >&5
6514 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6517 echo "$progname: failed program was
:" >&5
6518 cat conftest.$ac_ext >&5
6520 rm -rf conftest* conftst*
6522 # Do not use the global_symbol_pipe unless it works.
6523 if test yes = "$pipe_works"; then
6526 lt_cv_sys_global_symbol_pipe=
6532 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6533 lt_cv_sys_global_symbol_to_cdecl=
6535 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6537 $as_echo "failed
" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6540 $as_echo "ok
" >&6; }
6543 # Response file support.
6544 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6545 nm_file_list_spec='@'
6546 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6547 nm_file_list_spec='@'
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6587 $as_echo_n "checking
for sysroot...
" >&6; }
6589 # Check whether --with-sysroot was given.
6590 if test "${with_sysroot+set}" = set; then :
6591 withval=$with_sysroot;
6598 case $with_sysroot in #(
6600 if test yes = "$GCC"; then
6601 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6605 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6611 $as_echo "$with_sysroot" >&6; }
6612 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6617 $as_echo "${lt_sysroot:-no}" >&6; }
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6624 $as_echo_n "checking
for a working
dd...
" >&6; }
6625 if ${ac_cv_path_lt_DD+:} false; then :
6626 $as_echo_n "(cached
) " >&6
6628 printf 0123456789abcdef0123456789abcdef >conftest.i
6629 cat conftest.i conftest.i >conftest2.i
6631 if test -z "$lt_DD"; then
6632 ac_path_lt_DD_found=false
6633 # Loop through the user's path and test for each of PROGNAME-LIST
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 test -z "$as_dir" && as_dir=.
6639 for ac_prog in dd; do
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6642 as_fn_executable_p "$ac_path_lt_DD" || continue
6643 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6644 cmp -s conftest.i conftest.out \
6645 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6647 $ac_path_lt_DD_found && break 3
6652 if test -z "$ac_cv_path_lt_DD"; then
6656 ac_cv_path_lt_DD=$lt_DD
6659 rm -f conftest.i conftest2.i conftest.out
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6662 $as_echo "$ac_cv_path_lt_DD" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6666 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6667 if ${lt_cv_truncate_bin+:} false; then :
6668 $as_echo_n "(cached
) " >&6
6670 printf 0123456789abcdef0123456789abcdef >conftest.i
6671 cat conftest.i conftest.i >conftest2.i
6673 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6674 cmp -s conftest.i conftest.out \
6675 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6677 rm -f conftest.i conftest2.i conftest.out
6678 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6681 $as_echo "$lt_cv_truncate_bin" >&6; }
6689 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6692 for cc_temp in $*""; do
6694 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6695 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6700 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6703 # Check whether --enable-libtool-lock was given.
6704 if test "${enable_libtool_lock+set}" = set; then :
6705 enableval=$enable_libtool_lock;
6708 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6710 # Some flags need to be propagated to the compiler or linker for good
6714 # Find out what ABI is being produced by ac_compile, and set mode
6715 # options accordingly.
6716 echo 'int i;' > conftest.$ac_ext
6717 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6718 (eval $ac_compile) 2>&5
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6721 test $ac_status = 0; }; then
6722 case `/usr/bin/file conftest.$ac_objext` in
6734 # Find out what ABI is being produced by ac_compile, and set linker
6735 # options accordingly.
6736 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6737 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6738 (eval $ac_compile) 2>&5
6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6741 test $ac_status = 0; }; then
6742 if test yes = "$lt_cv_prog_gnu_ld"; then
6743 case `/usr/bin/file conftest.$ac_objext` in
6745 LD="${LD-ld} -melf32bsmip"
6748 LD="${LD-ld} -melf32bmipn32"
6751 LD="${LD-ld} -melf64bmip"
6755 case `/usr/bin/file conftest.$ac_objext` in
6772 # Find out what ABI is being produced by ac_compile, and set linker
6773 # options accordingly.
6774 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6775 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6776 (eval $ac_compile) 2>&5
6778 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6779 test $ac_status = 0; }; then
6781 case `/usr/bin/file conftest.$ac_objext` in
6789 case `/usr/bin/file conftest.$ac_objext` in
6791 emul="${emul}btsmip
"
6794 emul="${emul}ltsmip
"
6797 case `/usr/bin/file conftest.$ac_objext` in
6802 LD="${LD-ld} -m $emul"
6807 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6808 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6809 # Find out what ABI is being produced by ac_compile, and set linker
6810 # options accordingly. Note that the listed cases only cover the
6811 # situations where additional linker options are needed (such as when
6812 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6813 # vice versa); the common cases where no linker options are needed do
6814 # not appear in the list.
6815 echo 'int i;' > conftest.$ac_ext
6816 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6817 (eval $ac_compile) 2>&5
6819 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6820 test $ac_status = 0; }; then
6821 case `/usr/bin/file conftest.o` in
6824 x86_64-*kfreebsd*-gnu)
6825 LD="${LD-ld} -m elf_i386_fbsd
"
6828 case `/usr/bin/file conftest.o` in
6830 LD="${LD-ld} -m elf32_x86_64
"
6833 LD="${LD-ld} -m elf_i386
"
6837 powerpc64le-*linux*)
6838 LD="${LD-ld} -m elf32lppclinux
"
6841 LD="${LD-ld} -m elf32ppclinux
"
6844 LD="${LD-ld} -m elf_s390
"
6847 LD="${LD-ld} -m elf32_sparc
"
6853 x86_64-*kfreebsd*-gnu)
6854 LD="${LD-ld} -m elf_x86_64_fbsd
"
6857 LD="${LD-ld} -m elf_x86_64
"
6860 LD="${LD-ld} -m elf64lppc
"
6863 LD="${LD-ld} -m elf64ppc
"
6865 s390*-*linux*|s390*-*tpf*)
6866 LD="${LD-ld} -m elf64_s390
"
6869 LD="${LD-ld} -m elf64_sparc
"
6879 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6881 CFLAGS="$CFLAGS -belf"
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6883 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6884 if ${lt_cv_cc_needs_belf+:} false; then :
6885 $as_echo_n "(cached
) " >&6
6888 ac_cpp='$CPP $CPPFLAGS'
6889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6904 if ac_fn_c_try_link "$LINENO"; then :
6905 lt_cv_cc_needs_belf=yes
6907 lt_cv_cc_needs_belf=no
6909 rm -f core conftest.err conftest.$ac_objext \
6910 conftest$ac_exeext conftest.$ac_ext
6912 ac_cpp='$CPP $CPPFLAGS'
6913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6919 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6920 if test yes != "$lt_cv_cc_needs_belf"; then
6921 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6926 # Find out what ABI is being produced by ac_compile, and set linker
6927 # options accordingly.
6928 echo 'int i;' > conftest.$ac_ext
6929 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6930 (eval $ac_compile) 2>&5
6932 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6933 test $ac_status = 0; }; then
6934 case `/usr/bin/file conftest.o` in
6936 case $lt_cv_prog_gnu_ld in
6939 i?86-*-solaris*|x86_64-*-solaris*)
6940 LD="${LD-ld} -m elf_x86_64
"
6943 LD="${LD-ld} -m elf64_sparc
"
6946 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6947 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6952 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6964 need_locks=$enable_libtool_lock
6966 if test -n "$ac_tool_prefix"; then
6967 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6968 set dummy ${ac_tool_prefix}mt; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6970 $as_echo_n "checking
for $ac_word...
" >&6; }
6971 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6972 $as_echo_n "(cached
) " >&6
6974 if test -n "$MANIFEST_TOOL"; then
6975 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6994 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6995 if test -n "$MANIFEST_TOOL"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6997 $as_echo "$MANIFEST_TOOL" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7000 $as_echo "no
" >&6; }
7005 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7006 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7007 # Extract the first word of "mt
", so it can be a program name with args.
7008 set dummy mt; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7010 $as_echo_n "checking
for $ac_word...
" >&6; }
7011 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7012 $as_echo_n "(cached
) " >&6
7014 if test -n "$ac_ct_MANIFEST_TOOL"; then
7015 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7024 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7034 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7035 if test -n "$ac_ct_MANIFEST_TOOL"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7037 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7040 $as_echo "no
" >&6; }
7043 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7046 case $cross_compiling:$ac_tool_warned in
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7049 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7050 ac_tool_warned=yes ;;
7052 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7055 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7058 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7060 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7061 if ${lt_cv_path_mainfest_tool+:} false; then :
7062 $as_echo_n "(cached
) " >&6
7064 lt_cv_path_mainfest_tool=no
7065 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7066 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7067 cat conftest.err >&5
7068 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7069 lt_cv_path_mainfest_tool=yes
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7074 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7075 if test yes != "$lt_cv_path_mainfest_tool"; then
7085 rhapsody* | darwin*)
7086 if test -n "$ac_tool_prefix"; then
7087 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7088 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7090 $as_echo_n "checking
for $ac_word...
" >&6; }
7091 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7092 $as_echo_n "(cached
) " >&6
7094 if test -n "$DSYMUTIL"; then
7095 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 test -z "$as_dir" && as_dir=.
7102 for ac_exec_ext in '' $ac_executable_extensions; do
7103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7114 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7115 if test -n "$DSYMUTIL"; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7117 $as_echo "$DSYMUTIL" >&6; }
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7120 $as_echo "no
" >&6; }
7125 if test -z "$ac_cv_prog_DSYMUTIL"; then
7126 ac_ct_DSYMUTIL=$DSYMUTIL
7127 # Extract the first word of "dsymutil
", so it can be a program name with args.
7128 set dummy dsymutil; ac_word=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7130 $as_echo_n "checking
for $ac_word...
" >&6; }
7131 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7132 $as_echo_n "(cached
) " >&6
7134 if test -n "$ac_ct_DSYMUTIL"; then
7135 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir=.
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7154 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7155 if test -n "$ac_ct_DSYMUTIL"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7157 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7160 $as_echo "no
" >&6; }
7163 if test "x
$ac_ct_DSYMUTIL" = x; then
7166 case $cross_compiling:$ac_tool_warned in
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7169 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7170 ac_tool_warned=yes ;;
7172 DSYMUTIL=$ac_ct_DSYMUTIL
7175 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7178 if test -n "$ac_tool_prefix"; then
7179 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7180 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7182 $as_echo_n "checking
for $ac_word...
" >&6; }
7183 if ${ac_cv_prog_NMEDIT+:} false; then :
7184 $as_echo_n "(cached
) " >&6
7186 if test -n "$NMEDIT"; then
7187 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193 test -z "$as_dir" && as_dir=.
7194 for ac_exec_ext in '' $ac_executable_extensions; do
7195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7196 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7206 NMEDIT=$ac_cv_prog_NMEDIT
7207 if test -n "$NMEDIT"; then
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7209 $as_echo "$NMEDIT" >&6; }
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7212 $as_echo "no
" >&6; }
7217 if test -z "$ac_cv_prog_NMEDIT"; then
7218 ac_ct_NMEDIT=$NMEDIT
7219 # Extract the first word of "nmedit
", so it can be a program name with args.
7220 set dummy nmedit; ac_word=$2
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7222 $as_echo_n "checking
for $ac_word...
" >&6; }
7223 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7224 $as_echo_n "(cached
) " >&6
7226 if test -n "$ac_ct_NMEDIT"; then
7227 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 test -z "$as_dir" && as_dir=.
7234 for ac_exec_ext in '' $ac_executable_extensions; do
7235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7236 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7246 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7247 if test -n "$ac_ct_NMEDIT"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7249 $as_echo "$ac_ct_NMEDIT" >&6; }
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7252 $as_echo "no
" >&6; }
7255 if test "x
$ac_ct_NMEDIT" = x; then
7258 case $cross_compiling:$ac_tool_warned in
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7261 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7262 ac_tool_warned=yes ;;
7264 NMEDIT=$ac_ct_NMEDIT
7267 NMEDIT="$ac_cv_prog_NMEDIT"
7270 if test -n "$ac_tool_prefix"; then
7271 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7272 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7274 $as_echo_n "checking
for $ac_word...
" >&6; }
7275 if ${ac_cv_prog_LIPO+:} false; then :
7276 $as_echo_n "(cached
) " >&6
7278 if test -n "$LIPO"; then
7279 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7298 LIPO=$ac_cv_prog_LIPO
7299 if test -n "$LIPO"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7301 $as_echo "$LIPO" >&6; }
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7304 $as_echo "no
" >&6; }
7309 if test -z "$ac_cv_prog_LIPO"; then
7311 # Extract the first word of "lipo
", so it can be a program name with args.
7312 set dummy lipo; ac_word=$2
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7314 $as_echo_n "checking
for $ac_word...
" >&6; }
7315 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7316 $as_echo_n "(cached
) " >&6
7318 if test -n "$ac_ct_LIPO"; then
7319 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325 test -z "$as_dir" && as_dir=.
7326 for ac_exec_ext in '' $ac_executable_extensions; do
7327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7328 ac_cv_prog_ac_ct_LIPO="lipo
"
7329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7338 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7339 if test -n "$ac_ct_LIPO"; then
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7341 $as_echo "$ac_ct_LIPO" >&6; }
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7344 $as_echo "no
" >&6; }
7347 if test "x
$ac_ct_LIPO" = x; then
7350 case $cross_compiling:$ac_tool_warned in
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7353 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7354 ac_tool_warned=yes ;;
7359 LIPO="$ac_cv_prog_LIPO"
7362 if test -n "$ac_tool_prefix"; then
7363 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7364 set dummy ${ac_tool_prefix}otool; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7366 $as_echo_n "checking
for $ac_word...
" >&6; }
7367 if ${ac_cv_prog_OTOOL+:} false; then :
7368 $as_echo_n "(cached
) " >&6
7370 if test -n "$OTOOL"; then
7371 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7380 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7390 OTOOL=$ac_cv_prog_OTOOL
7391 if test -n "$OTOOL"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7393 $as_echo "$OTOOL" >&6; }
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7396 $as_echo "no
" >&6; }
7401 if test -z "$ac_cv_prog_OTOOL"; then
7403 # Extract the first word of "otool
", so it can be a program name with args.
7404 set dummy otool; ac_word=$2
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7406 $as_echo_n "checking
for $ac_word...
" >&6; }
7407 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7408 $as_echo_n "(cached
) " >&6
7410 if test -n "$ac_ct_OTOOL"; then
7411 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417 test -z "$as_dir" && as_dir=.
7418 for ac_exec_ext in '' $ac_executable_extensions; do
7419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7420 ac_cv_prog_ac_ct_OTOOL="otool
"
7421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7430 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7431 if test -n "$ac_ct_OTOOL"; then
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7433 $as_echo "$ac_ct_OTOOL" >&6; }
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7436 $as_echo "no
" >&6; }
7439 if test "x
$ac_ct_OTOOL" = x; then
7442 case $cross_compiling:$ac_tool_warned in
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7445 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7446 ac_tool_warned=yes ;;
7451 OTOOL="$ac_cv_prog_OTOOL"
7454 if test -n "$ac_tool_prefix"; then
7455 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7456 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7458 $as_echo_n "checking
for $ac_word...
" >&6; }
7459 if ${ac_cv_prog_OTOOL64+:} false; then :
7460 $as_echo_n "(cached
) " >&6
7462 if test -n "$OTOOL64"; then
7463 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7482 OTOOL64=$ac_cv_prog_OTOOL64
7483 if test -n "$OTOOL64"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7485 $as_echo "$OTOOL64" >&6; }
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7488 $as_echo "no
" >&6; }
7493 if test -z "$ac_cv_prog_OTOOL64"; then
7494 ac_ct_OTOOL64=$OTOOL64
7495 # Extract the first word of "otool64
", so it can be a program name with args.
7496 set dummy otool64; ac_word=$2
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7498 $as_echo_n "checking
for $ac_word...
" >&6; }
7499 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7500 $as_echo_n "(cached
) " >&6
7502 if test -n "$ac_ct_OTOOL64"; then
7503 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7509 test -z "$as_dir" && as_dir=.
7510 for ac_exec_ext in '' $ac_executable_extensions; do
7511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7512 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7522 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7523 if test -n "$ac_ct_OTOOL64"; then
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7525 $as_echo "$ac_ct_OTOOL64" >&6; }
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7528 $as_echo "no
" >&6; }
7531 if test "x
$ac_ct_OTOOL64" = x; then
7534 case $cross_compiling:$ac_tool_warned in
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7537 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7538 ac_tool_warned=yes ;;
7540 OTOOL64=$ac_ct_OTOOL64
7543 OTOOL64="$ac_cv_prog_OTOOL64"
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7573 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7574 if ${lt_cv_apple_cc_single_mod+:} false; then :
7575 $as_echo_n "(cached
) " >&6
7577 lt_cv_apple_cc_single_mod=no
7578 if test -z "$LT_MULTI_MODULE"; then
7579 # By default we will add the -single_module flag. You can override
7580 # by either setting the environment variable LT_MULTI_MODULE
7581 # non-empty at configure time, or by adding -multi_module to the
7583 rm -rf libconftest.dylib*
7584 echo "int foo
(void
){return 1;}" > conftest.c
7585 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7586 -dynamiclib -Wl,-single_module conftest.c
" >&5
7587 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7588 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7590 # If there is a non-empty error log, and "single_module
"
7591 # appears in it, assume the flag caused a linker warning
7592 if test -s conftest.err && $GREP single_module conftest.err; then
7593 cat conftest.err >&5
7594 # Otherwise, if the output was created with a 0 exit code from
7595 # the compiler, it worked.
7596 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7597 lt_cv_apple_cc_single_mod=yes
7599 cat conftest.err >&5
7601 rm -rf libconftest.dylib*
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7606 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7609 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7610 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7611 $as_echo_n "(cached
) " >&6
7613 lt_cv_ld_exported_symbols_list=no
7614 save_LDFLAGS=$LDFLAGS
7615 echo "_main
" > conftest.sym
7616 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7628 if ac_fn_c_try_link "$LINENO"; then :
7629 lt_cv_ld_exported_symbols_list=yes
7631 lt_cv_ld_exported_symbols_list=no
7633 rm -f core conftest.err conftest.$ac_objext \
7634 conftest$ac_exeext conftest.$ac_ext
7635 LDFLAGS=$save_LDFLAGS
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7639 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7642 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7643 if ${lt_cv_ld_force_load+:} false; then :
7644 $as_echo_n "(cached
) " >&6
7646 lt_cv_ld_force_load=no
7647 cat > conftest.c << _LT_EOF
7648 int forced_loaded() { return 2;}
7650 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7651 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7652 echo "$AR cru libconftest.a conftest.o
" >&5
7653 $AR cru libconftest.a conftest.o 2>&5
7654 echo "$RANLIB libconftest.a
" >&5
7655 $RANLIB libconftest.a 2>&5
7656 cat > conftest.c << _LT_EOF
7657 int main() { return 0;}
7659 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7660 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7662 if test -s conftest.err && $GREP force_load conftest.err; then
7663 cat conftest.err >&5
7664 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7665 lt_cv_ld_force_load=yes
7667 cat conftest.err >&5
7669 rm -f conftest.err libconftest.a conftest conftest.c
7670 rm -rf conftest.dSYM
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7674 $as_echo "$lt_cv_ld_force_load" >&6; }
7676 rhapsody* | darwin1.[012])
7677 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7679 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7680 darwin*) # darwin 5.x on
7681 # if running on 10.5 or later, the deployment target defaults
7682 # to the OS version, if on x86, and 10.4, the deployment
7683 # target defaults to 10.4. Don't you love it?
7684 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7685 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7686 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7688 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7690 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7694 if test yes = "$lt_cv_apple_cc_single_mod"; then
7695 _lt_dar_single_mod='$single_module'
7697 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7698 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7700 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7702 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7703 _lt_dsymutil='~$DSYMUTIL $lib || :'
7710 # func_munge_path_list VARIABLE PATH
7711 # -----------------------------------
7712 # VARIABLE is name of variable containing _space_ separated list of
7713 # directories to be munged by the contents of PATH, which is string
7716 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7718 # string "DIR
[ DIR
]" will be appended to VARIABLE
7719 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7720 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7721 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7723 # VARIABLE will be replaced by "DIR
[ DIR
]"
7724 func_munge_path_list ()
7730 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7733 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7736 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7737 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7740 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7746 ac_cpp='$CPP $CPPFLAGS'
7747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7751 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7752 # On Suns, sometimes $CPP names a directory.
7753 if test -n "$CPP" && test -d "$CPP"; then
7756 if test -z "$CPP"; then
7757 if ${ac_cv_prog_CPP+:} false; then :
7758 $as_echo_n "(cached
) " >&6
7760 # Double quotes because CPP needs to be expanded
7761 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7764 for ac_c_preproc_warn_flag in '' yes
7766 # Use a header file that comes with gcc, so configuring glibc
7767 # with a fresh cross-compiler works.
7768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7769 # <limits.h> exists even on freestanding compilers.
7770 # On the NeXT, cc -E runs the code through the compiler's parser,
7771 # not just through cpp. "Syntax error
" is here to catch this case.
7772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7775 # include <limits.h>
7777 # include <assert.h>
7781 if ac_fn_c_try_cpp "$LINENO"; then :
7784 # Broken: fails on valid input.
7787 rm -f conftest.err conftest.i conftest.$ac_ext
7789 # OK, works on sane cases. Now check whether nonexistent headers
7790 # can be detected and how.
7791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h. */
7793 #include <ac_nonexistent.h>
7795 if ac_fn_c_try_cpp "$LINENO"; then :
7796 # Broken: success on invalid input.
7799 # Passes both tests.
7803 rm -f conftest.err conftest.i conftest.$ac_ext
7806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7807 rm -f conftest.i conftest.err conftest.$ac_ext
7808 if $ac_preproc_ok; then :
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7821 $as_echo "$CPP" >&6; }
7823 for ac_c_preproc_warn_flag in '' yes
7825 # Use a header file that comes with gcc, so configuring glibc
7826 # with a fresh cross-compiler works.
7827 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7828 # <limits.h> exists even on freestanding compilers.
7829 # On the NeXT, cc -E runs the code through the compiler's parser,
7830 # not just through cpp. "Syntax error
" is here to catch this case.
7831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h. */
7834 # include <limits.h>
7836 # include <assert.h>
7840 if ac_fn_c_try_cpp "$LINENO"; then :
7843 # Broken: fails on valid input.
7846 rm -f conftest.err conftest.i conftest.$ac_ext
7848 # OK, works on sane cases. Now check whether nonexistent headers
7849 # can be detected and how.
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7852 #include <ac_nonexistent.h>
7854 if ac_fn_c_try_cpp "$LINENO"; then :
7855 # Broken: success on invalid input.
7858 # Passes both tests.
7862 rm -f conftest.err conftest.i conftest.$ac_ext
7865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7866 rm -f conftest.i conftest.err conftest.$ac_ext
7867 if $ac_preproc_ok; then :
7870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7872 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7873 See \`config.log' for more details
" "$LINENO" 5; }
7877 ac_cpp='$CPP $CPPFLAGS'
7878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7884 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7885 if ${ac_cv_header_stdc+:} false; then :
7886 $as_echo_n "(cached
) " >&6
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7903 if ac_fn_c_try_compile "$LINENO"; then :
7904 ac_cv_header_stdc=yes
7906 ac_cv_header_stdc=no
7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7910 if test $ac_cv_header_stdc = yes; then
7911 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7917 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7918 $EGREP "memchr
" >/dev/null 2>&1; then :
7921 ac_cv_header_stdc=no
7927 if test $ac_cv_header_stdc = yes; then
7928 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7934 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7935 $EGREP "free
" >/dev/null 2>&1; then :
7938 ac_cv_header_stdc=no
7944 if test $ac_cv_header_stdc = yes; then
7945 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7946 if test "$cross_compiling" = yes; then :
7949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7953 #if ((' ' & 0x0FF) == 0x020)
7954 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7955 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7957 # define ISLOWER(c) \
7958 (('a' <= (c) && (c) <= 'i') \
7959 || ('j' <= (c) && (c) <= 'r') \
7960 || ('s' <= (c) && (c) <= 'z'))
7961 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7964 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7969 for (i = 0; i < 256; i++)
7970 if (XOR (islower (i), ISLOWER (i))
7971 || toupper (i) != TOUPPER (i))
7976 if ac_fn_c_try_run "$LINENO"; then :
7979 ac_cv_header_stdc=no
7981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7982 conftest.$ac_objext conftest.beam conftest.$ac_ext
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7988 $as_echo "$ac_cv_header_stdc" >&6; }
7989 if test $ac_cv_header_stdc = yes; then
7991 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7995 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7996 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7997 inttypes.h stdint.h unistd.h
7999 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8000 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8002 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8003 cat >>confdefs.h
<<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8012 for ac_header
in dlfcn.h
8014 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8017 cat >>confdefs.h
<<_ACEOF
8018 #define HAVE_DLFCN_H 1
8026 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8027 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8028 # is not polluted with repeated "-I."
8029 am__isrc
=' -I$(srcdir)'
8030 # test to see if srcdir already configured
8031 if test -f $srcdir/config.status
; then
8032 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8036 # test whether we have cygpath
8037 if test -z "$CYGPATH_W"; then
8038 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
8039 CYGPATH_W
='cygpath -w'
8046 # Define the identity of the package.
8047 PACKAGE
='web2c-tools'
8051 cat >>confdefs.h
<<_ACEOF
8052 #define PACKAGE "$PACKAGE"
8056 cat >>confdefs.h
<<_ACEOF
8057 #define VERSION "$VERSION"
8060 # Some tools Automake needs.
8062 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8065 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
8068 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8071 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
8074 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
8076 # For better backward compatibility. To be removed once Automake 1.9.x
8077 # dies out for good. For more background, see:
8078 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
8079 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
8080 mkdir_p
='$(MKDIR_P)'
8082 # We need awk for the "check" target (and possibly the TAP driver). The
8083 # system "awk" is bad on some platforms.
8084 # Always define AMTAR for backward compatibility. Yes, it's still used
8085 # in the wild :-( We should find a proper way to deprecate it ...
8089 # We'll loop over all known methods to create a tar archive until one works.
8090 _am_tools
='gnutar pax cpio none'
8092 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
8099 # POSIX will say in a future version that running "rm -f" with no argument
8100 # is OK; and we want to be able to make that assumption in our Makefile
8101 # recipes. So use an aggressive probe to check that the usage we want is
8102 # actually supported "in the wild" to an acceptable degree.
8103 # See automake bug#10828.
8104 # To make any issue more visible, cause the running configure to be aborted
8105 # by default if the 'rm' program in use doesn't match our expectations; the
8106 # user can still override this though.
8107 if rm -f && rm -fr && rm -rf; then : OK
; else
8111 Your 'rm' program seems unable to run without file operands specified
8112 on the command line, even when the '-f' option is present. This is contrary
8113 to the behaviour of most rm programs out there, and not conforming with
8114 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
8116 Please tell bug-automake@gnu.org about your system, including the value
8117 of your $PATH and any error possibly output before this message. This
8118 can help us improve future automake versions.
8121 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
8122 echo 'Configuration will proceed anyway, since you have set the' >&2
8123 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
8127 Aborting the configuration process, to ensure you take notice of the issue.
8129 You can download and install GNU coreutils to get an 'rm' implementation
8130 that behaves properly: <http://www.gnu.org/software/coreutils/>.
8132 If you want to complete the configuration process using your problematic
8133 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
8134 to "yes", and re-run configure.
8137 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
8143 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
8144 # Check whether --enable-maintainer-mode was given.
8145 if test "${enable_maintainer_mode+set}" = set; then :
8146 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
8148 USE_MAINTAINER_MODE
=no
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
8152 $as_echo "$USE_MAINTAINER_MODE" >&6; }
8153 if test $USE_MAINTAINER_MODE = yes; then
8154 MAINTAINER_MODE_TRUE
=
8155 MAINTAINER_MODE_FALSE
='#'
8157 MAINTAINER_MODE_TRUE
='#'
8158 MAINTAINER_MODE_FALSE
=
8161 MAINT
=$MAINTAINER_MODE_TRUE
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
8165 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
8166 if ${kb_cv_c_prototypes+:} false
; then :
8167 $as_echo_n "(cached) " >&6
8169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8170 /* end confdefs.h. */
8175 extern void foo(int i,...);
8180 if ac_fn_c_try_link
"$LINENO"; then :
8181 kb_cv_c_prototypes
=yes
8183 kb_cv_c_prototypes
=no
8185 rm -f core conftest.err conftest.
$ac_objext \
8186 conftest
$ac_exeext conftest.
$ac_ext
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
8189 $as_echo "$kb_cv_c_prototypes" >&6; }
8190 if test "x$kb_cv_c_prototypes" = xno
; then
8191 as_fn_error $?
"Sorry, your compiler does not understand prototypes." "$LINENO" 5
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
8194 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
8195 if ${kpse_cv_warning_cflags+:} false
; then :
8196 $as_echo_n "(cached) " >&6
8198 if test "x$GCC" = xyes
; then
8199 kpse_cv_warning_cflags
=
8200 if test "x$enable_compiler_warnings" != xno
; then
8201 kpse_cv_warning_cflags
="-Wimplicit -Wreturn-type"
8202 case `$CC -dumpversion` in #(
8203 3.4.
* |
4.
* |
5.
*) :
8204 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
8208 case `$CC -dumpversion` in #(
8209 3.
[234].
* |
4.
* |
5.
*) :
8210 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
8214 if test "x$enable_compiler_warnings" != xmin
; then
8215 kpse_cv_warning_cflags
="-Wall -Wunused $kpse_cv_warning_cflags"
8216 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
8217 if test "x$enable_compiler_warnings" != xyes
; then
8218 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
8219 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
8220 case `$CC -dumpversion` in #(
8221 3.4.
* |
4.
* |
5.
*) :
8222 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
8226 if test "x$enable_compiler_warnings" != xmax
; then
8227 kpse_cv_warning_cflags
="$kpse_cv_warning_cflags -Wshadow"
8232 elif test "x$enable_compiler_warnings" = xno
; then
8233 kpse_cv_warning_cflags
=
8235 kpse_cv_warning_cflags
= # FIXME: warning flags for non-GNU C compilers
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
8239 $as_echo "$kpse_cv_warning_cflags" >&6; }
8240 WARNING_CFLAGS
=$kpse_cv_warning_cflags
8254 enable_win32_dll
=yes
8257 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
8258 if test -n "$ac_tool_prefix"; then
8259 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8260 set dummy
${ac_tool_prefix}as
; ac_word
=$2
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8262 $as_echo_n "checking for $ac_word... " >&6; }
8263 if ${ac_cv_prog_AS+:} false
; then :
8264 $as_echo_n "(cached) " >&6
8266 if test -n "$AS"; then
8267 ac_cv_prog_AS
="$AS" # Let the user override the test.
8269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8273 test -z "$as_dir" && as_dir
=.
8274 for ac_exec_ext
in '' $ac_executable_extensions; do
8275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8276 ac_cv_prog_AS
="${ac_tool_prefix}as"
8277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 if test -n "$AS"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8289 $as_echo "$AS" >&6; }
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8297 if test -z "$ac_cv_prog_AS"; then
8299 # Extract the first word of "as", so it can be a program name with args.
8300 set dummy as
; ac_word
=$2
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8302 $as_echo_n "checking for $ac_word... " >&6; }
8303 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
8304 $as_echo_n "(cached) " >&6
8306 if test -n "$ac_ct_AS"; then
8307 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
8309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8313 test -z "$as_dir" && as_dir
=.
8314 for ac_exec_ext
in '' $ac_executable_extensions; do
8315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8316 ac_cv_prog_ac_ct_AS
="as"
8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
8327 if test -n "$ac_ct_AS"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8329 $as_echo "$ac_ct_AS" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8335 if test "x$ac_ct_AS" = x
; then
8338 case $cross_compiling:$ac_tool_warned in
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8342 ac_tool_warned
=yes ;;
8350 if test -n "$ac_tool_prefix"; then
8351 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8352 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8354 $as_echo_n "checking for $ac_word... " >&6; }
8355 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8356 $as_echo_n "(cached) " >&6
8358 if test -n "$DLLTOOL"; then
8359 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8365 test -z "$as_dir" && as_dir
=.
8366 for ac_exec_ext
in '' $ac_executable_extensions; do
8367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8368 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 DLLTOOL
=$ac_cv_prog_DLLTOOL
8379 if test -n "$DLLTOOL"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8381 $as_echo "$DLLTOOL" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8389 if test -z "$ac_cv_prog_DLLTOOL"; then
8390 ac_ct_DLLTOOL
=$DLLTOOL
8391 # Extract the first word of "dlltool", so it can be a program name with args.
8392 set dummy dlltool
; ac_word
=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8394 $as_echo_n "checking for $ac_word... " >&6; }
8395 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8396 $as_echo_n "(cached) " >&6
8398 if test -n "$ac_ct_DLLTOOL"; then
8399 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8405 test -z "$as_dir" && as_dir
=.
8406 for ac_exec_ext
in '' $ac_executable_extensions; do
8407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8408 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8418 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8419 if test -n "$ac_ct_DLLTOOL"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8421 $as_echo "$ac_ct_DLLTOOL" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8424 $as_echo "no" >&6; }
8427 if test "x$ac_ct_DLLTOOL" = x
; then
8430 case $cross_compiling:$ac_tool_warned in
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8434 ac_tool_warned
=yes ;;
8436 DLLTOOL
=$ac_ct_DLLTOOL
8439 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8442 if test -n "$ac_tool_prefix"; then
8443 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8444 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; }
8447 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8448 $as_echo_n "(cached) " >&6
8450 if test -n "$OBJDUMP"; then
8451 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8457 test -z "$as_dir" && as_dir
=.
8458 for ac_exec_ext
in '' $ac_executable_extensions; do
8459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8460 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8470 OBJDUMP
=$ac_cv_prog_OBJDUMP
8471 if test -n "$OBJDUMP"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8473 $as_echo "$OBJDUMP" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8481 if test -z "$ac_cv_prog_OBJDUMP"; then
8482 ac_ct_OBJDUMP
=$OBJDUMP
8483 # Extract the first word of "objdump", so it can be a program name with args.
8484 set dummy objdump
; ac_word
=$2
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8486 $as_echo_n "checking for $ac_word... " >&6; }
8487 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8488 $as_echo_n "(cached) " >&6
8490 if test -n "$ac_ct_OBJDUMP"; then
8491 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8497 test -z "$as_dir" && as_dir
=.
8498 for ac_exec_ext
in '' $ac_executable_extensions; do
8499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8500 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8510 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8511 if test -n "$ac_ct_OBJDUMP"; then
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8513 $as_echo "$ac_ct_OBJDUMP" >&6; }
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8516 $as_echo "no" >&6; }
8519 if test "x$ac_ct_OBJDUMP" = x
; then
8522 case $cross_compiling:$ac_tool_warned in
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8526 ac_tool_warned
=yes ;;
8528 OBJDUMP
=$ac_ct_OBJDUMP
8531 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8537 test -z "$AS" && AS
=as
8543 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8549 test -z "$OBJDUMP" && OBJDUMP
=objdump
8561 # Check whether --enable-shared was given.
8562 if test "${enable_shared+set}" = set; then :
8563 enableval
=$enable_shared; p
=${PACKAGE-default}
8565 yes) enable_shared
=yes ;;
8566 no
) enable_shared
=no
;;
8569 # Look at the argument we got. We use all the common list separators.
8570 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8571 for pkg
in $enableval; do
8573 if test "X$pkg" = "X$p"; then
8592 # Check whether --enable-static was given.
8593 if test "${enable_static+set}" = set; then :
8594 enableval
=$enable_static; p
=${PACKAGE-default}
8596 yes) enable_static
=yes ;;
8597 no
) enable_static
=no
;;
8600 # Look at the argument we got. We use all the common list separators.
8601 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8602 for pkg
in $enableval; do
8604 if test "X$pkg" = "X$p"; then
8624 # Check whether --with-pic was given.
8625 if test "${with_pic+set}" = set; then :
8626 withval
=$with_pic; lt_p
=${PACKAGE-default}
8628 yes|no
) pic_mode
=$withval ;;
8631 # Look at the argument we got. We use all the common list separators.
8632 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8633 for lt_pkg
in $withval; do
8635 if test "X$lt_pkg" = "X$lt_p"; then
8653 # Check whether --enable-fast-install was given.
8654 if test "${enable_fast_install+set}" = set; then :
8655 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8657 yes) enable_fast_install
=yes ;;
8658 no
) enable_fast_install
=no
;;
8660 enable_fast_install
=no
8661 # Look at the argument we got. We use all the common list separators.
8662 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8663 for pkg
in $enableval; do
8665 if test "X$pkg" = "X$p"; then
8666 enable_fast_install
=yes
8673 enable_fast_install
=yes
8683 shared_archive_member_spec
=
8684 case $host,$enable_shared in
8685 power
*-*-aix[5-9]*,yes)
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8687 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8689 # Check whether --with-aix-soname was given.
8690 if test "${with_aix_soname+set}" = set; then :
8691 withval
=$with_aix_soname; case $withval in
8695 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
8698 lt_cv_with_aix_soname
=$with_aix_soname
8700 if ${lt_cv_with_aix_soname+:} false
; then :
8701 $as_echo_n "(cached) " >&6
8703 lt_cv_with_aix_soname
=aix
8706 with_aix_soname
=$lt_cv_with_aix_soname
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8710 $as_echo "$with_aix_soname" >&6; }
8711 if test aix
!= "$with_aix_soname"; then
8712 # For the AIX way of multilib, we name the shared archive member
8713 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8714 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8715 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8716 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8717 if test 64 = "${OBJECT_MODE-32}"; then
8718 shared_archive_member_spec
=shr_64
8720 shared_archive_member_spec
=shr
8738 # This can be used to rebuild libtool when needed
8739 LIBTOOL_DEPS
=$ltmain
8741 # Always use our own libtool.
8742 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8773 test -z "$LN_S" && LN_S
="ln -s"
8788 if test -n "${ZSH_VERSION+set}"; then
8789 setopt NO_GLOB_SUBST
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8793 $as_echo_n "checking for objdir... " >&6; }
8794 if ${lt_cv_objdir+:} false
; then :
8795 $as_echo_n "(cached) " >&6
8797 rm -f .libs
2>/dev
/null
8798 mkdir .libs
2>/dev
/null
8799 if test -d .libs
; then
8802 # MS-DOS does not allow filenames that begin with a dot.
8805 rmdir .libs
2>/dev
/null
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8808 $as_echo "$lt_cv_objdir" >&6; }
8809 objdir
=$lt_cv_objdir
8815 cat >>confdefs.h
<<_ACEOF
8816 #define LT_OBJDIR "$lt_cv_objdir/"
8824 # AIX sometimes has problems with the GCC collect2 program. For some
8825 # reason, if we set the COLLECT_NAMES environment variable, the problems
8826 # vanish in a puff of smoke.
8827 if test set != "${COLLECT_NAMES+set}"; then
8829 export COLLECT_NAMES
8836 can_build_shared
=yes
8838 # All known linkers require a '.a' archive for static linking (except MSVC,
8839 # which needs '.lib').
8842 with_gnu_ld
=$lt_cv_prog_gnu_ld
8847 # Set sane defaults for various variables
8848 test -z "$CC" && CC
=cc
8849 test -z "$LTCC" && LTCC
=$CC
8850 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8851 test -z "$LD" && LD
=ld
8852 test -z "$ac_objext" && ac_objext
=o
8854 func_cc_basename
$compiler
8855 cc_basename
=$func_cc_basename_result
8858 # Only perform the check for file, if the check method requires it
8859 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8860 case $deplibs_check_method in
8862 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8864 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8865 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8866 $as_echo_n "(cached) " >&6
8870 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8873 lt_save_MAGIC_CMD
=$MAGIC_CMD
8874 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8875 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8876 for ac_dir
in $ac_dummy; do
8878 test -z "$ac_dir" && ac_dir
=.
8879 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8880 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8881 if test -n "$file_magic_test_file"; then
8882 case $deplibs_check_method in
8884 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8885 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8886 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8887 $EGREP "$file_magic_regex" > /dev
/null
; then
8892 *** Warning: the command libtool uses to detect shared libraries,
8893 *** $file_magic_cmd, produces output that libtool cannot recognize.
8894 *** The result is that libtool may fail to recognize shared libraries
8895 *** as such. This will affect the creation of libtool libraries that
8896 *** depend on shared libraries, but programs linked with such libtool
8897 *** libraries will work regardless of this problem. Nevertheless, you
8898 *** may want to report the problem to your system manager and/or to
8899 *** bug-libtool@gnu.org
8909 MAGIC_CMD
=$lt_save_MAGIC_CMD
8914 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8915 if test -n "$MAGIC_CMD"; then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8917 $as_echo "$MAGIC_CMD" >&6; }
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8920 $as_echo "no" >&6; }
8927 if test -z "$lt_cv_path_MAGIC_CMD"; then
8928 if test -n "$ac_tool_prefix"; then
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8930 $as_echo_n "checking for file... " >&6; }
8931 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8932 $as_echo_n "(cached) " >&6
8936 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8939 lt_save_MAGIC_CMD
=$MAGIC_CMD
8940 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8941 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8942 for ac_dir
in $ac_dummy; do
8944 test -z "$ac_dir" && ac_dir
=.
8945 if test -f "$ac_dir/file"; then
8946 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8947 if test -n "$file_magic_test_file"; then
8948 case $deplibs_check_method in
8950 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8951 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8952 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8953 $EGREP "$file_magic_regex" > /dev
/null
; then
8958 *** Warning: the command libtool uses to detect shared libraries,
8959 *** $file_magic_cmd, produces output that libtool cannot recognize.
8960 *** The result is that libtool may fail to recognize shared libraries
8961 *** as such. This will affect the creation of libtool libraries that
8962 *** depend on shared libraries, but programs linked with such libtool
8963 *** libraries will work regardless of this problem. Nevertheless, you
8964 *** may want to report the problem to your system manager and/or to
8965 *** bug-libtool@gnu.org
8975 MAGIC_CMD
=$lt_save_MAGIC_CMD
8980 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8981 if test -n "$MAGIC_CMD"; then
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8983 $as_echo "$MAGIC_CMD" >&6; }
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8986 $as_echo "no" >&6; }
8999 # Use C for the default configuration in the libtool script
9003 ac_cpp
='$CPP $CPPFLAGS'
9004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9009 # Source file extension for C test sources.
9012 # Object file extension for compiled C test sources.
9016 # Code to be used in simple compile tests
9017 lt_simple_compile_test_code
="int some_variable = 0;"
9019 # Code to be used in simple link tests
9020 lt_simple_link_test_code
='int main(){return(0);}'
9028 # If no C compiler was specified, use CC.
9031 # If no C compiler flags were specified, use CFLAGS.
9032 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9034 # Allow CC to be a program name with arguments.
9037 # Save the default compiler, since it gets overwritten when the other
9038 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9039 compiler_DEFAULT
=$CC
9041 # save warnings/boilerplate of simple test code
9042 ac_outfile
=conftest.
$ac_objext
9043 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9044 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9045 _lt_compiler_boilerplate
=`cat conftest.err`
9048 ac_outfile
=conftest.
$ac_objext
9049 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9050 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9051 _lt_linker_boilerplate
=`cat conftest.err`
9056 ## There is no encapsulation within the following macros, do not change
9057 ## the running order or otherwise move them around unless you know exactly
9058 ## what you are doing...
9059 if test -n "$compiler"; then
9061 lt_prog_compiler_no_builtin_flag
=
9063 if test yes = "$GCC"; then
9064 case $cc_basename in
9066 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9068 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9072 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9073 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 lt_cv_prog_compiler_rtti_exceptions
=no
9077 ac_outfile
=conftest.
$ac_objext
9078 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9079 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9080 # Insert the option either (1) after the last *FLAGS variable, or
9081 # (2) before a word containing "conftest.", or (3) at the end.
9082 # Note that $ac_compile itself does not contain backslashes and begins
9083 # with a dollar sign (not a hyphen), so the echo should work correctly.
9084 # The option is referenced via a variable to avoid confusing sed.
9085 lt_compile
=`echo "$ac_compile" | $SED \
9086 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9087 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9088 -e 's:$: $lt_compiler_flag:'`
9089 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9090 (eval "$lt_compile" 2>conftest.err
)
9092 cat conftest.err
>&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 if (exit $ac_status) && test -s "$ac_outfile"; then
9095 # The compiler can only warn and ignore the option if not recognized
9096 # So say no if there are warnings other than the usual output.
9097 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9098 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9099 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9100 lt_cv_prog_compiler_rtti_exceptions
=yes
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9107 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9109 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9110 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9122 lt_prog_compiler_wl
=
9123 lt_prog_compiler_pic
=
9124 lt_prog_compiler_static
=
9127 if test yes = "$GCC"; then
9128 lt_prog_compiler_wl
='-Wl,'
9129 lt_prog_compiler_static
='-static'
9133 # All AIX code is PIC.
9134 if test ia64
= "$host_cpu"; then
9135 # AIX 5 now supports IA64 processor
9136 lt_prog_compiler_static
='-Bstatic'
9138 lt_prog_compiler_pic
='-fPIC'
9144 # see comment about AmigaOS4 .so support
9145 lt_prog_compiler_pic
='-fPIC'
9148 # FIXME: we need at least 68020 code to build shared libraries, but
9149 # adding the '-m68020' flag to GCC prevents building anything better,
9151 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9156 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9157 # PIC is the default for these OSes.
9160 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9161 # This hack is so that the source file can tell whether it is being
9162 # built for inclusion in a dll (and should export symbols for example).
9163 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9164 # (--disable-auto-import) libraries
9165 lt_prog_compiler_pic
='-DDLL_EXPORT'
9168 lt_prog_compiler_static
='$wl-static'
9173 darwin
* | rhapsody
*)
9174 # PIC is the default on this platform
9175 # Common symbols not allowed in MH_DYLIB files
9176 lt_prog_compiler_pic
='-fno-common'
9180 # PIC is the default for Haiku.
9181 # The "-static" flag exists, but is broken.
9182 lt_prog_compiler_static
=
9186 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9187 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9188 # sets the default TLS model and affects inlining.
9194 lt_prog_compiler_pic
='-fPIC'
9200 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9201 # Instead, we relocate shared libraries at runtime.
9205 # Just because we use GCC doesn't mean we suddenly get shared libraries
9206 # on systems that don't support them.
9207 lt_prog_compiler_can_build_shared
=no
9212 # QNX uses GNU C++, but need to define -shared option too, otherwise
9214 lt_prog_compiler_pic
='-fPIC -shared'
9218 if test -d /usr
/nec
; then
9219 lt_prog_compiler_pic
=-Kconform_pic
9224 lt_prog_compiler_pic
='-fPIC'
9228 case $cc_basename in
9229 nvcc
*) # Cuda Compiler Driver 2.2
9230 lt_prog_compiler_wl
='-Xlinker '
9231 if test -n "$lt_prog_compiler_pic"; then
9232 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9237 # PORTME Check for flag to pass linker flags through the system compiler.
9240 lt_prog_compiler_wl
='-Wl,'
9241 if test ia64
= "$host_cpu"; then
9242 # AIX 5 now supports IA64 processor
9243 lt_prog_compiler_static
='-Bstatic'
9245 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9249 darwin
* | rhapsody
*)
9250 # PIC is the default on this platform
9251 # Common symbols not allowed in MH_DYLIB files
9252 lt_prog_compiler_pic
='-fno-common'
9253 case $cc_basename in
9255 # NAG Fortran compiler
9256 lt_prog_compiler_wl
='-Wl,-Wl,,'
9257 lt_prog_compiler_pic
='-PIC'
9258 lt_prog_compiler_static
='-Bstatic'
9263 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9264 # This hack is so that the source file can tell whether it is being
9265 # built for inclusion in a dll (and should export symbols for example).
9266 lt_prog_compiler_pic
='-DDLL_EXPORT'
9269 lt_prog_compiler_static
='$wl-static'
9274 hpux9
* | hpux10
* | hpux11
*)
9275 lt_prog_compiler_wl
='-Wl,'
9276 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9283 lt_prog_compiler_pic
='+Z'
9286 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9287 lt_prog_compiler_static
='$wl-a ${wl}archive'
9290 irix5
* | irix6
* | nonstopux
*)
9291 lt_prog_compiler_wl
='-Wl,'
9292 # PIC (with -KPIC) is the default.
9293 lt_prog_compiler_static
='-non_shared'
9296 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9297 case $cc_basename in
9298 # old Intel for x86_64, which still supported -KPIC.
9300 lt_prog_compiler_wl
='-Wl,'
9301 lt_prog_compiler_pic
='-KPIC'
9302 lt_prog_compiler_static
='-static'
9304 # icc used to be incompatible with GCC.
9305 # ICC 10 doesn't accept -KPIC any more.
9307 lt_prog_compiler_wl
='-Wl,'
9308 lt_prog_compiler_pic
='-fPIC'
9309 lt_prog_compiler_static
='-static'
9311 # Lahey Fortran 8.1.
9313 lt_prog_compiler_wl
='-Wl,'
9314 lt_prog_compiler_pic
='--shared'
9315 lt_prog_compiler_static
='--static'
9318 # NAG Fortran compiler
9319 lt_prog_compiler_wl
='-Wl,-Wl,,'
9320 lt_prog_compiler_pic
='-PIC'
9321 lt_prog_compiler_static
='-Bstatic'
9324 # Fabrice Bellard et al's Tiny C Compiler
9325 lt_prog_compiler_wl
='-Wl,'
9326 lt_prog_compiler_pic
='-fPIC'
9327 lt_prog_compiler_static
='-static'
9329 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9330 # Portland Group compilers (*not* the Pentium gcc compiler,
9331 # which looks to be a dead project)
9332 lt_prog_compiler_wl
='-Wl,'
9333 lt_prog_compiler_pic
='-fpic'
9334 lt_prog_compiler_static
='-Bstatic'
9337 lt_prog_compiler_wl
='-Wl,'
9338 # All Alpha code is PIC.
9339 lt_prog_compiler_static
='-non_shared'
9341 xl
* | bgxl
* | bgf
* | mpixl
*)
9342 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9343 lt_prog_compiler_wl
='-Wl,'
9344 lt_prog_compiler_pic
='-qpic'
9345 lt_prog_compiler_static
='-qstaticlink'
9348 case `$CC -V 2>&1 | sed 5q` in
9349 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9350 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9351 lt_prog_compiler_pic
='-KPIC'
9352 lt_prog_compiler_static
='-Bstatic'
9353 lt_prog_compiler_wl
=''
9355 *Sun\ F
* |
*Sun
*Fortran
*)
9356 lt_prog_compiler_pic
='-KPIC'
9357 lt_prog_compiler_static
='-Bstatic'
9358 lt_prog_compiler_wl
='-Qoption ld '
9362 lt_prog_compiler_pic
='-KPIC'
9363 lt_prog_compiler_static
='-Bstatic'
9364 lt_prog_compiler_wl
='-Wl,'
9366 *Intel
*\
[CF
]*Compiler
*)
9367 lt_prog_compiler_wl
='-Wl,'
9368 lt_prog_compiler_pic
='-fPIC'
9369 lt_prog_compiler_static
='-static'
9372 lt_prog_compiler_wl
='-Wl,'
9373 lt_prog_compiler_pic
='-fpic'
9374 lt_prog_compiler_static
='-Bstatic'
9382 lt_prog_compiler_pic
='-KPIC'
9383 lt_prog_compiler_static
='-Bstatic'
9387 # QNX uses GNU C++, but need to define -shared option too, otherwise
9389 lt_prog_compiler_pic
='-fPIC -shared'
9392 osf3
* | osf4
* | osf5
*)
9393 lt_prog_compiler_wl
='-Wl,'
9394 # All OSF/1 code is PIC.
9395 lt_prog_compiler_static
='-non_shared'
9399 lt_prog_compiler_static
='-non_shared'
9403 lt_prog_compiler_pic
='-KPIC'
9404 lt_prog_compiler_static
='-Bstatic'
9405 case $cc_basename in
9406 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9407 lt_prog_compiler_wl
='-Qoption ld ';;
9409 lt_prog_compiler_wl
='-Wl,';;
9414 lt_prog_compiler_wl
='-Qoption ld '
9415 lt_prog_compiler_pic
='-PIC'
9416 lt_prog_compiler_static
='-Bstatic'
9419 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9420 lt_prog_compiler_wl
='-Wl,'
9421 lt_prog_compiler_pic
='-KPIC'
9422 lt_prog_compiler_static
='-Bstatic'
9426 if test -d /usr
/nec
; then
9427 lt_prog_compiler_pic
='-Kconform_pic'
9428 lt_prog_compiler_static
='-Bstatic'
9432 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9433 lt_prog_compiler_wl
='-Wl,'
9434 lt_prog_compiler_pic
='-KPIC'
9435 lt_prog_compiler_static
='-Bstatic'
9439 lt_prog_compiler_wl
='-Wl,'
9440 lt_prog_compiler_can_build_shared
=no
9444 lt_prog_compiler_pic
='-pic'
9445 lt_prog_compiler_static
='-Bstatic'
9449 lt_prog_compiler_can_build_shared
=no
9455 # For platforms that do not support PIC, -DPIC is meaningless:
9457 lt_prog_compiler_pic
=
9460 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9465 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9466 if ${lt_cv_prog_compiler_pic+:} false
; then :
9467 $as_echo_n "(cached) " >&6
9469 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9472 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9473 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9476 # Check to make sure the PIC flag actually works.
9478 if test -n "$lt_prog_compiler_pic"; then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9480 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9481 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9482 $as_echo_n "(cached) " >&6
9484 lt_cv_prog_compiler_pic_works
=no
9485 ac_outfile
=conftest.
$ac_objext
9486 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9487 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9488 # Insert the option either (1) after the last *FLAGS variable, or
9489 # (2) before a word containing "conftest.", or (3) at the end.
9490 # Note that $ac_compile itself does not contain backslashes and begins
9491 # with a dollar sign (not a hyphen), so the echo should work correctly.
9492 # The option is referenced via a variable to avoid confusing sed.
9493 lt_compile
=`echo "$ac_compile" | $SED \
9494 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9496 -e 's:$: $lt_compiler_flag:'`
9497 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9498 (eval "$lt_compile" 2>conftest.err
)
9500 cat conftest.err
>&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 if (exit $ac_status) && test -s "$ac_outfile"; then
9503 # The compiler can only warn and ignore the option if not recognized
9504 # So say no if there are warnings other than the usual output.
9505 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9506 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9507 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9508 lt_cv_prog_compiler_pic_works
=yes
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9515 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9517 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9518 case $lt_prog_compiler_pic in
9520 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9523 lt_prog_compiler_pic
=
9524 lt_prog_compiler_can_build_shared
=no
9540 # Check to make sure the static flag actually works.
9542 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9544 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9545 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9548 lt_cv_prog_compiler_static_works
=no
9549 save_LDFLAGS
=$LDFLAGS
9550 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9551 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9552 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9553 # The linker can only warn and ignore the option if not recognized
9554 # So say no if there are warnings
9555 if test -s conftest.err
; then
9556 # Append any errors to the config.log.
9557 cat conftest.err
1>&5
9558 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9559 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9560 if diff conftest.exp conftest.er2
>/dev
/null
; then
9561 lt_cv_prog_compiler_static_works
=yes
9564 lt_cv_prog_compiler_static_works
=yes
9568 LDFLAGS
=$save_LDFLAGS
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9572 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9574 if test yes = "$lt_cv_prog_compiler_static_works"; then
9577 lt_prog_compiler_static
=
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9587 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9588 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9589 $as_echo_n "(cached) " >&6
9591 lt_cv_prog_compiler_c_o
=no
9592 $RM -r conftest
2>/dev
/null
9596 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9598 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9599 # Insert the option either (1) after the last *FLAGS variable, or
9600 # (2) before a word containing "conftest.", or (3) at the end.
9601 # Note that $ac_compile itself does not contain backslashes and begins
9602 # with a dollar sign (not a hyphen), so the echo should work correctly.
9603 lt_compile
=`echo "$ac_compile" | $SED \
9604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9606 -e 's:$: $lt_compiler_flag:'`
9607 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9608 (eval "$lt_compile" 2>out
/conftest.err
)
9610 cat out
/conftest.err
>&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9614 # The compiler can only warn and ignore the option if not recognized
9615 # So say no if there are warnings
9616 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9617 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9618 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9619 lt_cv_prog_compiler_c_o
=yes
9624 # SGI C++ compiler will create directory out/ii_files/ for
9625 # template instantiation
9626 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9627 $RM out
/* && rmdir out
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9634 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9642 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9643 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9644 $as_echo_n "(cached) " >&6
9646 lt_cv_prog_compiler_c_o
=no
9647 $RM -r conftest
2>/dev
/null
9651 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9653 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9654 # Insert the option either (1) after the last *FLAGS variable, or
9655 # (2) before a word containing "conftest.", or (3) at the end.
9656 # Note that $ac_compile itself does not contain backslashes and begins
9657 # with a dollar sign (not a hyphen), so the echo should work correctly.
9658 lt_compile
=`echo "$ac_compile" | $SED \
9659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9661 -e 's:$: $lt_compiler_flag:'`
9662 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9663 (eval "$lt_compile" 2>out
/conftest.err
)
9665 cat out
/conftest.err
>&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9669 # The compiler can only warn and ignore the option if not recognized
9670 # So say no if there are warnings
9671 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9672 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9673 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9674 lt_cv_prog_compiler_c_o
=yes
9679 # SGI C++ compiler will create directory out/ii_files/ for
9680 # template instantiation
9681 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9682 $RM out
/* && rmdir out
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9689 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9694 hard_links
=nottested
9695 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
9696 # do not overwrite the value of need_locks provided by the user
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9698 $as_echo_n "checking if we can lock with hard links... " >&6; }
9701 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9703 ln conftest.a conftest.b
2>&5 || hard_links
=no
9704 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9706 $as_echo "$hard_links" >&6; }
9707 if test no
= "$hard_links"; then
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9709 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9722 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9725 allow_undefined_flag
=
9726 always_export_symbols
=no
9728 archive_expsym_cmds
=
9729 compiler_needs_object
=no
9730 enable_shared_with_static_runtimes
=no
9731 export_dynamic_flag_spec
=
9732 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9733 hardcode_automatic
=no
9735 hardcode_direct_absolute
=no
9736 hardcode_libdir_flag_spec
=
9737 hardcode_libdir_separator
=
9739 hardcode_shlibpath_var
=unsupported
9741 link_all_deplibs
=unknown
9744 old_archive_from_new_cmds
=
9745 old_archive_from_expsyms_cmds
=
9746 thread_safe_flag_spec
=
9747 whole_archive_flag_spec
=
9748 # include_expsyms should be a list of space-separated symbols to be *always*
9749 # included in the symbol list
9751 # exclude_expsyms can be an extended regexp of symbols to exclude
9752 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9753 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9754 # as well as any symbol that contains 'd'.
9755 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9756 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9757 # platforms (ab)use it in PIC code, but their linkers get confused if
9758 # the symbol is explicitly referenced. Since portable code cannot
9759 # rely on this symbol name, it's probably fine to never include it in
9760 # preloaded symbol tables.
9761 # Exclude shared library initialization/finalization symbols.
9762 extract_expsyms_cmds
=
9765 cygwin
* | mingw
* | pw32
* | cegcc
*)
9766 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9767 # When not using gcc, we currently assume that we are using
9768 # Microsoft Visual C++.
9769 if test yes != "$GCC"; then
9774 # we just hope/assume this is gcc and not c89 (= MSVC++)
9784 # On some targets, GNU ld is compatible enough with the native linker
9785 # that we're better off using the native interface for both.
9786 lt_use_gnu_ld_interface
=no
9787 if test yes = "$with_gnu_ld"; then
9790 # The AIX port of GNU ld has always aspired to compatibility
9791 # with the native linker. However, as the warning in the GNU ld
9792 # block says, versions before 2.19.5* couldn't really create working
9793 # shared libraries, regardless of the interface used.
9794 case `$LD -v 2>&1` in
9795 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9796 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9797 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9799 lt_use_gnu_ld_interface
=yes
9804 lt_use_gnu_ld_interface
=yes
9809 if test yes = "$lt_use_gnu_ld_interface"; then
9810 # If archive_cmds runs LD, not CC, wlarc should be empty
9813 # Set some defaults for GNU ld with shared library support. These
9814 # are reset later if shared libraries are not supported. Putting them
9815 # here allows them to be overridden if necessary.
9816 runpath_var
=LD_RUN_PATH
9817 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9818 export_dynamic_flag_spec
='$wl--export-dynamic'
9819 # ancient GNU ld didn't support --whole-archive et. al.
9820 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9821 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9823 whole_archive_flag_spec
=
9825 supports_anon_versioning
=no
9826 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9827 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9828 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9829 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9830 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9831 *\
2.11.
*) ;; # other 2.11 versions
9832 *) supports_anon_versioning
=yes ;;
9835 # See if GNU ld supports shared libraries.
9838 # On AIX/PPC, the GNU linker is very broken
9839 if test ia64
!= "$host_cpu"; then
9843 *** Warning: the GNU linker, at least up to release 2.19, is reported
9844 *** to be unable to reliably create shared libraries on AIX.
9845 *** Therefore, libtool is disabling shared libraries support. If you
9846 *** really care for shared libraries, you may want to install binutils
9847 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9848 *** You will then need to restart the configuration process.
9857 # see comment about AmigaOS4 .so support
9858 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9859 archive_expsym_cmds
=''
9862 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)'
9863 hardcode_libdir_flag_spec
='-L$libdir'
9864 hardcode_minus_L
=yes
9870 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9871 allow_undefined_flag
=unsupported
9872 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9873 # support --undefined. This deserves some investigation. FIXME
9874 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9880 cygwin
* | mingw
* | pw32
* | cegcc
*)
9881 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9882 # as there is no search path for DLLs.
9883 hardcode_libdir_flag_spec
='-L$libdir'
9884 export_dynamic_flag_spec
='$wl--export-all-symbols'
9885 allow_undefined_flag
=unsupported
9886 always_export_symbols
=no
9887 enable_shared_with_static_runtimes
=yes
9888 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9889 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9891 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9892 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9893 # If the export-symbols file already is a .def file, use it as
9894 # is; otherwise, prepend EXPORTS...
9895 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9896 cp $export_symbols $output_objdir/$soname.def;
9898 echo EXPORTS > $output_objdir/$soname.def;
9899 cat $export_symbols >> $output_objdir/$soname.def;
9901 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9908 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9909 link_all_deplibs
=yes
9913 hardcode_libdir_flag_spec
='-L$libdir'
9914 hardcode_minus_L
=yes
9915 allow_undefined_flag
=unsupported
9917 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9918 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9919 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9920 $ECHO EXPORTS >> $output_objdir/$libname.def~
9921 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9922 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9923 emximp -o $lib $output_objdir/$libname.def'
9924 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9925 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9926 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9927 $ECHO EXPORTS >> $output_objdir/$libname.def~
9929 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9930 prefix_cmds="$prefix_cmds -e 1d";
9932 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9933 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9934 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9935 emximp -o $lib $output_objdir/$libname.def'
9936 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9937 enable_shared_with_static_runtimes
=yes
9942 hardcode_shlibpath_var
=no
9943 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9944 export_dynamic_flag_spec
='$wl-E'
9945 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9946 # Instead, shared libraries are loaded at an image base (0x10000000 by
9947 # default) and relocated if they conflict, which is a slow very memory
9948 # consuming and fragmenting process. To avoid this, we pick a random,
9949 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9950 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9951 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9952 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'
9955 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9957 if test linux-dietlibc
= "$host_os"; then
9958 case $cc_basename in
9959 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9962 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9963 && test no
= "$tmp_diet"
9965 tmp_addflag
=' $pic_flag'
9966 tmp_sharedflag
='-shared'
9967 case $cc_basename,$host_cpu in
9968 pgcc
*) # Portland Group C compiler
9969 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'
9970 tmp_addflag
=' $pic_flag'
9972 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9973 # Portland Group f77 and f90 compilers
9974 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'
9975 tmp_addflag
=' $pic_flag -Mnomain' ;;
9976 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9977 tmp_addflag
=' -i_dynamic' ;;
9978 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9979 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9980 ifc
* | ifort
*) # Intel Fortran compiler
9981 tmp_addflag
=' -nofor_main' ;;
9982 lf95
*) # Lahey Fortran 8.1
9983 whole_archive_flag_spec
=
9984 tmp_sharedflag
='--shared' ;;
9985 nagfor
*) # NAGFOR 5.3
9986 tmp_sharedflag
='-Wl,-shared' ;;
9987 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9988 tmp_sharedflag
='-qmkshrobj'
9990 nvcc
*) # Cuda Compiler Driver 2.2
9991 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'
9992 compiler_needs_object
=yes
9995 case `$CC -V 2>&1 | sed 5q` in
9996 *Sun\ C
*) # Sun C 5.9
9997 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'
9998 compiler_needs_object
=yes
9999 tmp_sharedflag
='-G' ;;
10000 *Sun\ F
*) # Sun Fortran 8.3
10001 tmp_sharedflag
='-G' ;;
10003 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10005 if test yes = "$supports_anon_versioning"; then
10006 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10007 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10008 echo "local: *; };" >> $output_objdir/$libname.ver~
10009 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10012 case $cc_basename in
10014 export_dynamic_flag_spec
='-rdynamic'
10016 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10017 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10018 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10019 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10020 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10021 if test yes = "$supports_anon_versioning"; then
10022 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10023 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10024 echo "local: *; };" >> $output_objdir/$libname.ver~
10025 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10035 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10036 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10039 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10040 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10045 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10049 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10050 *** create shared libraries on Solaris systems. Therefore, libtool
10051 *** is disabling shared libraries support. We urge you to upgrade GNU
10052 *** binutils to release 2.9.1 or newer. Another option is to modify
10053 *** your PATH or compiler configuration so that the native linker is
10054 *** used, and then restart.
10057 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10058 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10059 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10065 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10066 case `$LD -v 2>&1` in
10067 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10071 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10072 *** reliably create shared libraries on SCO systems. Therefore, libtool
10073 *** is disabling shared libraries support. We urge you to upgrade GNU
10074 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10075 *** your PATH or compiler configuration so that the native linker is
10076 *** used, and then restart.
10081 # For security reasons, it is highly recommended that you always
10082 # use absolute paths for naming shared libraries, and exclude the
10083 # DT_RUNPATH tag from executables and libraries. But doing so
10084 # requires that you compile everything twice, which is a pain.
10085 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10086 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10087 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10088 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10097 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10099 hardcode_direct
=yes
10100 hardcode_shlibpath_var
=no
10104 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10105 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10106 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10113 if test no
= "$ld_shlibs"; then
10115 hardcode_libdir_flag_spec
=
10116 export_dynamic_flag_spec
=
10117 whole_archive_flag_spec
=
10120 # PORTME fill in a description of your system's linker (not GNU ld)
10123 allow_undefined_flag
=unsupported
10124 always_export_symbols
=yes
10125 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'
10126 # Note: this linker hardcodes the directories in LIBPATH if there
10127 # are no directories specified by -L.
10128 hardcode_minus_L
=yes
10129 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10130 # Neither direct hardcoding nor static linking is supported with a
10132 hardcode_direct
=unsupported
10137 if test ia64
= "$host_cpu"; then
10138 # On IA64, the linker does run time linking by default, so we don't
10139 # have to do anything special.
10140 aix_use_runtimelinking
=no
10141 exp_sym_flag
='-Bexport'
10144 # If we're using GNU nm, then we don't want the "-C" option.
10145 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10146 # Without the "-l" option, or with the "-B" option, AIX nm treats
10147 # weak defined symbols like other global defined symbols, whereas
10148 # GNU nm marks them as "W".
10149 # While the 'weak' keyword is ignored in the Export File, we need
10150 # it in the Import File for the 'aix-soname' feature, so we have
10151 # to replace the "-B" option with "-P" for AIX nm.
10152 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10153 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10155 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10157 aix_use_runtimelinking
=no
10159 # Test if we are trying to use run time linking or normal
10160 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10161 # have runtime linking enabled, and use it for executables.
10162 # For shared libraries, we enable/disable runtime linking
10163 # depending on the kind of the shared library created -
10164 # when "with_aix_soname,aix_use_runtimelinking" is:
10165 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10166 # "aix,yes" lib.so shared, rtl:yes, for executables
10167 # lib.a static archive
10168 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10169 # lib.a(lib.so.V) shared, rtl:no, for executables
10170 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10171 # lib.a(lib.so.V) shared, rtl:no
10172 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10173 # lib.a static archive
10174 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10175 for ld_flag
in $LDFLAGS; do
10176 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10177 aix_use_runtimelinking
=yes
10181 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10182 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10183 # so we don't have lib.a shared libs to link our executables.
10184 # We have to force runtime linking in this case.
10185 aix_use_runtimelinking
=yes
10186 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10191 exp_sym_flag
='-bexport'
10192 no_entry_flag
='-bnoentry'
10195 # When large executables or shared objects are built, AIX ld can
10196 # have problems creating the table of contents. If linking a library
10197 # or program results in "error TOC overflow" add -mminimal-toc to
10198 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10199 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10202 hardcode_direct
=yes
10203 hardcode_direct_absolute
=yes
10204 hardcode_libdir_separator
=':'
10205 link_all_deplibs
=yes
10206 file_list_spec
='$wl-f,'
10207 case $with_aix_soname,$aix_use_runtimelinking in
10208 aix
,*) ;; # traditional, no import file
10209 svr4
,* |
*,yes) # use import file
10210 # The Import File defines what to hardcode.
10212 hardcode_direct_absolute
=no
10216 if test yes = "$GCC"; then
10217 case $host_os in aix4.
[012]|aix4.
[012].
*)
10218 # We only want to do this on AIX 4.2 and lower, the check
10219 # below for broken collect2 doesn't work under 4.3+
10220 collect2name
=`$CC -print-prog-name=collect2`
10221 if test -f "$collect2name" &&
10222 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10224 # We have reworked collect2
10227 # We have old collect2
10228 hardcode_direct
=unsupported
10229 # It fails to find uninstalled libraries when the uninstalled
10230 # path is not listed in the libpath. Setting hardcode_minus_L
10231 # to unsupported forces relinking
10232 hardcode_minus_L
=yes
10233 hardcode_libdir_flag_spec
='-L$libdir'
10234 hardcode_libdir_separator
=
10238 shared_flag
='-shared'
10239 if test yes = "$aix_use_runtimelinking"; then
10240 shared_flag
="$shared_flag "'$wl-G'
10242 # Need to ensure runtime linking is disabled for the traditional
10243 # shared library, or the linker may eventually find shared libraries
10244 # /with/ Import File - we do not want to mix them.
10245 shared_flag_aix
='-shared'
10246 shared_flag_svr4
='-shared $wl-G'
10249 if test ia64
= "$host_cpu"; then
10250 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10251 # chokes on -Wl,-G. The following line is correct:
10254 if test yes = "$aix_use_runtimelinking"; then
10255 shared_flag
='$wl-G'
10257 shared_flag
='$wl-bM:SRE'
10259 shared_flag_aix
='$wl-bM:SRE'
10260 shared_flag_svr4
='$wl-G'
10264 export_dynamic_flag_spec
='$wl-bexpall'
10265 # It seems that -bexpall does not export symbols beginning with
10266 # underscore (_), so it is better to generate a list of symbols to export.
10267 always_export_symbols
=yes
10268 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10269 # Warning - without using the other runtime loading flags (-brtl),
10270 # -berok will link without error, but may produce a broken library.
10271 allow_undefined_flag
='-berok'
10272 # Determine the default libpath from the value encoded in an
10273 # empty executable.
10274 if test set = "${lt_cv_aix_libpath+set}"; then
10275 aix_libpath
=$lt_cv_aix_libpath
10277 if ${lt_cv_aix_libpath_+:} false
; then :
10278 $as_echo_n "(cached) " >&6
10280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10291 if ac_fn_c_try_link
"$LINENO"; then :
10293 lt_aix_libpath_sed
='
10294 /Import File Strings/,/^$/ {
10296 s/^0 *\([^ ]*\) *$/\1/
10300 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10301 # Check for a 64-bit object if we didn't find anything.
10302 if test -z "$lt_cv_aix_libpath_"; then
10303 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10306 rm -f core conftest.err conftest.
$ac_objext \
10307 conftest
$ac_exeext conftest.
$ac_ext
10308 if test -z "$lt_cv_aix_libpath_"; then
10309 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10314 aix_libpath
=$lt_cv_aix_libpath_
10317 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10318 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10320 if test ia64
= "$host_cpu"; then
10321 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10322 allow_undefined_flag
="-z nodefs"
10323 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"
10325 # Determine the default libpath from the value encoded in an
10326 # empty executable.
10327 if test set = "${lt_cv_aix_libpath+set}"; then
10328 aix_libpath
=$lt_cv_aix_libpath
10330 if ${lt_cv_aix_libpath_+:} false
; then :
10331 $as_echo_n "(cached) " >&6
10333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10344 if ac_fn_c_try_link
"$LINENO"; then :
10346 lt_aix_libpath_sed
='
10347 /Import File Strings/,/^$/ {
10349 s/^0 *\([^ ]*\) *$/\1/
10353 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10354 # Check for a 64-bit object if we didn't find anything.
10355 if test -z "$lt_cv_aix_libpath_"; then
10356 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10359 rm -f core conftest.err conftest.
$ac_objext \
10360 conftest
$ac_exeext conftest.
$ac_ext
10361 if test -z "$lt_cv_aix_libpath_"; then
10362 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10367 aix_libpath
=$lt_cv_aix_libpath_
10370 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10371 # Warning - without using the other run time loading flags,
10372 # -berok will link without error, but may produce a broken library.
10373 no_undefined_flag
=' $wl-bernotok'
10374 allow_undefined_flag
=' $wl-berok'
10375 if test yes = "$with_gnu_ld"; then
10376 # We only use this code for GNU lds that support --whole-archive.
10377 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10379 # Exported symbols can be pulled into shared objects from archives
10380 whole_archive_flag_spec
='$convenience'
10382 archive_cmds_need_lc
=yes
10383 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10384 # -brtl affects multiple linker settings, -berok does not and is overridden later
10385 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10386 if test svr4
!= "$with_aix_soname"; then
10387 # This is similar to how AIX traditionally builds its shared libraries.
10388 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10390 if test aix
!= "$with_aix_soname"; then
10391 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10393 # used by -dlpreopen to get the symbols
10394 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10396 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10404 # see comment about AmigaOS4 .so support
10405 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10406 archive_expsym_cmds
=''
10409 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)'
10410 hardcode_libdir_flag_spec
='-L$libdir'
10411 hardcode_minus_L
=yes
10417 export_dynamic_flag_spec
=-rdynamic
10420 cygwin
* | mingw
* | pw32
* | cegcc
*)
10421 # When not using gcc, we currently assume that we are using
10422 # Microsoft Visual C++.
10423 # hardcode_libdir_flag_spec is actually meaningless, as there is
10424 # no search path for DLLs.
10425 case $cc_basename in
10428 hardcode_libdir_flag_spec
=' '
10429 allow_undefined_flag
=unsupported
10430 always_export_symbols
=yes
10432 # Tell ltmain to make .lib files, not .a files.
10434 # Tell ltmain to make .dll files, not .so files.
10436 # FIXME: Setting linknames here is a bad hack.
10437 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10438 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10439 cp "$export_symbols" "$output_objdir/$soname.def";
10440 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10442 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10444 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10446 # The linker will not automatically build a static lib if we build a DLL.
10447 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10448 enable_shared_with_static_runtimes
=yes
10449 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10450 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10452 old_postinstall_cmds
='chmod 644 $oldlib'
10453 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10454 lt_tool_outputfile="@TOOL_OUTPUT@"~
10455 case $lt_outputfile in
10458 lt_outputfile=$lt_outputfile.exe
10459 lt_tool_outputfile=$lt_tool_outputfile.exe
10462 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10463 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10464 $RM "$lt_outputfile.manifest";
10468 # Assume MSVC wrapper
10469 hardcode_libdir_flag_spec
=' '
10470 allow_undefined_flag
=unsupported
10471 # Tell ltmain to make .lib files, not .a files.
10473 # Tell ltmain to make .dll files, not .so files.
10475 # FIXME: Setting linknames here is a bad hack.
10476 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10477 # The linker will automatically build a .lib file if we build a DLL.
10478 old_archive_from_new_cmds
='true'
10479 # FIXME: Should let the user specify the lib program.
10480 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10481 enable_shared_with_static_runtimes
=yes
10486 darwin
* | rhapsody
*)
10489 archive_cmds_need_lc
=no
10491 hardcode_automatic
=yes
10492 hardcode_shlibpath_var
=unsupported
10493 if test yes = "$lt_cv_ld_force_load"; then
10494 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\"`'
10497 whole_archive_flag_spec
=''
10499 link_all_deplibs
=yes
10500 allow_undefined_flag
=$_lt_dar_allow_undefined
10501 case $cc_basename in
10502 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10503 *) _lt_dar_can_shared
=$GCC ;;
10505 if test yes = "$_lt_dar_can_shared"; then
10506 output_verbose_link_cmd
=func_echo_all
10507 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10508 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10509 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"
10510 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"
10519 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10520 hardcode_libdir_flag_spec
='-L$libdir'
10521 hardcode_shlibpath_var
=no
10524 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10525 # support. Future versions do this automatically, but an explicit c++rt0.o
10526 # does not break anything, and helps significantly (at the cost of a little
10529 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10530 hardcode_libdir_flag_spec
='-R$libdir'
10531 hardcode_direct
=yes
10532 hardcode_shlibpath_var
=no
10535 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10537 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10538 hardcode_direct
=yes
10539 hardcode_minus_L
=yes
10540 hardcode_shlibpath_var
=no
10543 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10544 freebsd
* | dragonfly
*)
10545 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10546 hardcode_libdir_flag_spec
='-R$libdir'
10547 hardcode_direct
=yes
10548 hardcode_shlibpath_var
=no
10552 if test yes = "$GCC"; then
10553 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10555 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10557 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10558 hardcode_libdir_separator
=:
10559 hardcode_direct
=yes
10561 # hardcode_minus_L: Not really in the search PATH,
10562 # but as the default location of the library.
10563 hardcode_minus_L
=yes
10564 export_dynamic_flag_spec
='$wl-E'
10568 if test yes,no
= "$GCC,$with_gnu_ld"; then
10569 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10571 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10573 if test no
= "$with_gnu_ld"; then
10574 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10575 hardcode_libdir_separator
=:
10576 hardcode_direct
=yes
10577 hardcode_direct_absolute
=yes
10578 export_dynamic_flag_spec
='$wl-E'
10579 # hardcode_minus_L: Not really in the search PATH,
10580 # but as the default location of the library.
10581 hardcode_minus_L
=yes
10586 if test yes,no
= "$GCC,$with_gnu_ld"; then
10589 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10592 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10595 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10601 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10604 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10608 # Older versions of the 11.00 compiler do not understand -b yet
10609 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10611 $as_echo_n "checking if $CC understands -b... " >&6; }
10612 if ${lt_cv_prog_compiler__b+:} false
; then :
10613 $as_echo_n "(cached) " >&6
10615 lt_cv_prog_compiler__b
=no
10616 save_LDFLAGS
=$LDFLAGS
10617 LDFLAGS
="$LDFLAGS -b"
10618 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10619 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10620 # The linker can only warn and ignore the option if not recognized
10621 # So say no if there are warnings
10622 if test -s conftest.err
; then
10623 # Append any errors to the config.log.
10624 cat conftest.err
1>&5
10625 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10626 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10627 if diff conftest.exp conftest.er2
>/dev
/null
; then
10628 lt_cv_prog_compiler__b
=yes
10631 lt_cv_prog_compiler__b
=yes
10635 LDFLAGS
=$save_LDFLAGS
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10639 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10641 if test yes = "$lt_cv_prog_compiler__b"; then
10642 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10644 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10650 if test no
= "$with_gnu_ld"; then
10651 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10652 hardcode_libdir_separator
=:
10657 hardcode_shlibpath_var
=no
10660 hardcode_direct
=yes
10661 hardcode_direct_absolute
=yes
10662 export_dynamic_flag_spec
='$wl-E'
10664 # hardcode_minus_L: Not really in the search PATH,
10665 # but as the default location of the library.
10666 hardcode_minus_L
=yes
10672 irix5
* | irix6
* | nonstopux
*)
10673 if test yes = "$GCC"; then
10674 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10675 # Try to use the -exported_symbol ld option, if it does not
10676 # work, assume that -exports_file does not work either and
10677 # implicitly export all symbols.
10678 # This should be the same for all languages, so no per-tag cache variable.
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10680 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10681 if ${lt_cv_irix_exported_symbol+:} false
; then :
10682 $as_echo_n "(cached) " >&6
10684 save_LDFLAGS
=$LDFLAGS
10685 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10688 int foo (void) { return 0; }
10690 if ac_fn_c_try_link
"$LINENO"; then :
10691 lt_cv_irix_exported_symbol
=yes
10693 lt_cv_irix_exported_symbol
=no
10695 rm -f core conftest.err conftest.
$ac_objext \
10696 conftest
$ac_exeext conftest.
$ac_ext
10697 LDFLAGS
=$save_LDFLAGS
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10700 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10701 if test yes = "$lt_cv_irix_exported_symbol"; then
10702 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10705 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'
10706 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'
10708 archive_cmds_need_lc
='no'
10709 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10710 hardcode_libdir_separator
=:
10712 link_all_deplibs
=yes
10716 case $cc_basename in
10718 # Fabrice Bellard et al's Tiny C Compiler
10720 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10726 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10727 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10729 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10731 hardcode_libdir_flag_spec
='-R$libdir'
10732 hardcode_direct
=yes
10733 hardcode_shlibpath_var
=no
10737 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10738 hardcode_direct
=yes
10739 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10740 hardcode_libdir_separator
=:
10741 hardcode_shlibpath_var
=no
10747 openbsd
* | bitrig
*)
10748 if test -f /usr
/libexec
/ld.so
; then
10749 hardcode_direct
=yes
10750 hardcode_shlibpath_var
=no
10751 hardcode_direct_absolute
=yes
10752 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10753 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10754 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10755 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10756 export_dynamic_flag_spec
='$wl-E'
10758 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10759 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10767 hardcode_libdir_flag_spec
='-L$libdir'
10768 hardcode_minus_L
=yes
10769 allow_undefined_flag
=unsupported
10771 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10772 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10773 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10774 $ECHO EXPORTS >> $output_objdir/$libname.def~
10775 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10776 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10777 emximp -o $lib $output_objdir/$libname.def'
10778 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10779 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10780 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10781 $ECHO EXPORTS >> $output_objdir/$libname.def~
10782 prefix_cmds="$SED"~
10783 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10784 prefix_cmds="$prefix_cmds -e 1d";
10786 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10787 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10788 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10789 emximp -o $lib $output_objdir/$libname.def'
10790 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10791 enable_shared_with_static_runtimes
=yes
10795 if test yes = "$GCC"; then
10796 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10797 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'
10799 allow_undefined_flag
=' -expect_unresolved \*'
10800 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'
10802 archive_cmds_need_lc
='no'
10803 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10804 hardcode_libdir_separator
=:
10807 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10808 if test yes = "$GCC"; then
10809 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10810 archive_cmds
='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10811 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10813 allow_undefined_flag
=' -expect_unresolved \*'
10814 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'
10815 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~
10816 $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'
10818 # Both c and cxx compiler support -rpath directly
10819 hardcode_libdir_flag_spec
='-rpath $libdir'
10821 archive_cmds_need_lc
='no'
10822 hardcode_libdir_separator
=:
10826 no_undefined_flag
=' -z defs'
10827 if test yes = "$GCC"; then
10829 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10831 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10833 case `$CC -V 2>&1` in
10836 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10838 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10842 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10843 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10844 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10848 hardcode_libdir_flag_spec
='-R$libdir'
10849 hardcode_shlibpath_var
=no
10851 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10853 # The compiler driver will combine and reorder linker options,
10854 # but understands '-z linker_flag'. GCC discards it without '$wl',
10855 # but is careful enough not to reorder.
10856 # Supported since Solaris 2.6 (maybe 2.5.1?)
10857 if test yes = "$GCC"; then
10858 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10860 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10864 link_all_deplibs
=yes
10868 if test sequent
= "$host_vendor"; then
10869 # Use $CC to link under sequent, because it throws in some extra .o
10870 # files that make .init and .fini sections work.
10871 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10873 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10875 hardcode_libdir_flag_spec
='-L$libdir'
10876 hardcode_direct
=yes
10877 hardcode_minus_L
=yes
10878 hardcode_shlibpath_var
=no
10882 case $host_vendor in
10884 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_direct
=yes # is this really true???
10888 ## LD is ld it makes a PLAMLIB
10889 ## CC just makes a GrossModule.
10890 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10891 reload_cmds
='$CC -r -o $output$reload_objs'
10895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10899 runpath_var
='LD_RUN_PATH'
10900 hardcode_shlibpath_var
=no
10904 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10905 hardcode_shlibpath_var
=no
10906 export_dynamic_flag_spec
='-Bexport'
10910 if test -d /usr
/nec
; then
10911 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10912 hardcode_shlibpath_var
=no
10913 runpath_var
=LD_RUN_PATH
10914 hardcode_runpath_var
=yes
10919 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10920 no_undefined_flag
='$wl-z,text'
10921 archive_cmds_need_lc
=no
10922 hardcode_shlibpath_var
=no
10923 runpath_var
='LD_RUN_PATH'
10925 if test yes = "$GCC"; then
10926 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10929 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10930 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10934 sysv5
* | sco3.2v5
* | sco5v6
*)
10935 # Note: We CANNOT use -z defs as we might desire, because we do not
10936 # link with -lc, and that would cause any symbols used from libc to
10937 # always be unresolved, which means just about no library would
10938 # ever link correctly. If we're not using GNU ld we use -z text
10939 # though, which does catch some bad symbols but isn't as heavy-handed
10941 no_undefined_flag
='$wl-z,text'
10942 allow_undefined_flag
='$wl-z,nodefs'
10943 archive_cmds_need_lc
=no
10944 hardcode_shlibpath_var
=no
10945 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10946 hardcode_libdir_separator
=':'
10947 link_all_deplibs
=yes
10948 export_dynamic_flag_spec
='$wl-Bexport'
10949 runpath_var
='LD_RUN_PATH'
10951 if test yes = "$GCC"; then
10952 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10955 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10956 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10961 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10962 hardcode_libdir_flag_spec
='-L$libdir'
10963 hardcode_shlibpath_var
=no
10971 if test sni
= "$host_vendor"; then
10973 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10974 export_dynamic_flag_spec
='$wl-Blargedynsym'
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10981 $as_echo "$ld_shlibs" >&6; }
10982 test no
= "$ld_shlibs" && can_build_shared
=no
10984 with_gnu_ld
=$with_gnu_ld
11001 # Do we need to explicitly link libc?
11003 case "x$archive_cmds_need_lc" in
11005 # Assume -lc should be added
11006 archive_cmds_need_lc
=yes
11008 if test yes,yes = "$GCC,$enable_shared"; then
11009 case $archive_cmds in
11011 # FIXME: we may have to deal with multi-command sequences.
11014 # Test whether the compiler implicitly links with -lc since on some
11015 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11016 # to ld, don't add -lc before -lgcc.
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11018 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11019 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11020 $as_echo_n "(cached) " >&6
11023 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11026 (eval $ac_compile) 2>&5
11028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11029 test $ac_status = 0; } 2>conftest.err
; then
11032 libobjs
=conftest.
$ac_objext
11034 wl
=$lt_prog_compiler_wl
11035 pic_flag
=$lt_prog_compiler_pic
11041 lt_save_allow_undefined_flag
=$allow_undefined_flag
11042 allow_undefined_flag
=
11043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11044 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11047 test $ac_status = 0; }
11049 lt_cv_archive_cmds_need_lc
=no
11051 lt_cv_archive_cmds_need_lc
=yes
11053 allow_undefined_flag
=$lt_save_allow_undefined_flag
11055 cat conftest.err
1>&5
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11061 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11062 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11221 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11223 if test yes = "$GCC"; then
11225 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11226 *) lt_awk_arg
='/^libraries:/' ;;
11229 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11230 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11232 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11233 case $lt_search_path_spec in
11235 # if the path contains ";" then we assume it to be the separator
11236 # otherwise default to the standard path separator (i.e. ":") - it is
11237 # assumed that no part of a normal pathname contains ";" but that should
11238 # okay in the real world where ";" in dirpaths is itself problematic.
11239 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11242 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11245 # Ok, now we have the path, separated by spaces, we can step through it
11246 # and add multilib dir if necessary...
11247 lt_tmp_lt_search_path_spec
=
11248 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11249 # ...but if some path component already ends with the multilib dir we assume
11250 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11251 case "$lt_multi_os_dir; $lt_search_path_spec " in
11252 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11256 for lt_sys_path
in $lt_search_path_spec; do
11257 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11258 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11259 elif test -n "$lt_multi_os_dir"; then
11260 test -d "$lt_sys_path" && \
11261 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11264 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11265 BEGIN {RS = " "; FS = "/|\n";} {
11268 for (lt_i = NF; lt_i > 0; lt_i--) {
11269 if ($lt_i != "" && $lt_i != ".") {
11270 if ($lt_i == "..") {
11273 if (lt_count == 0) {
11274 lt_foo = "/" $lt_i lt_foo;
11281 if (lt_foo != "") { lt_freq[lt_foo]++; }
11282 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11284 # AWK program above erroneously prepends '/' to C:/dos/paths
11287 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11288 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11290 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11292 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11294 library_names_spec
=
11295 libname_spec
='lib$name'
11299 postuninstall_cmds
=
11303 shlibpath_overrides_runpath
=unknown
11305 dynamic_linker
="$host_os ld.so"
11306 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11307 need_lib_prefix
=unknown
11308 hardcode_into_libs
=no
11310 # when you set need_version to no, make sure it does not cause -set_version
11311 # flags to be left without arguments
11312 need_version
=unknown
11318 version_type
=linux
# correct to gnu/linux during the next big refactor
11319 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11320 shlibpath_var
=LIBPATH
11322 # AIX 3 has no versioning support, so we append a major version to the name.
11323 soname_spec
='$libname$release$shared_ext$major'
11327 version_type
=linux
# correct to gnu/linux during the next big refactor
11330 hardcode_into_libs
=yes
11331 if test ia64
= "$host_cpu"; then
11332 # AIX 5 supports IA64
11333 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11334 shlibpath_var
=LD_LIBRARY_PATH
11336 # With GCC up to 2.95.x, collect2 would create an import file
11337 # for dependence libraries. The import file would start with
11338 # the line '#! .'. This would cause the generated library to
11339 # depend on '.', always an invalid library. This was fixed in
11340 # development snapshots of GCC prior to 3.0.
11342 aix4 | aix4.
[01] | aix4.
[01].
*)
11343 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11345 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11348 can_build_shared
=no
11352 # Using Import Files as archive members, it is possible to support
11353 # filename-based versioning of shared library archives on AIX. While
11354 # this would work for both with and without runtime linking, it will
11355 # prevent static linking of such archives. So we do filename-based
11356 # shared library versioning with .so extension only, which is used
11357 # when both runtime linking and shared linking is enabled.
11358 # Unfortunately, runtime linking may impact performance, so we do
11359 # not want this to be the default eventually. Also, we use the
11360 # versioned .so libs for executables only if there is the -brtl
11361 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11362 # To allow for filename-based versioning support, we need to create
11363 # libNAME.so.V as an archive file, containing:
11364 # *) an Import File, referring to the versioned filename of the
11365 # archive as well as the shared archive member, telling the
11366 # bitwidth (32 or 64) of that shared object, and providing the
11367 # list of exported symbols of that shared object, eventually
11368 # decorated with the 'weak' keyword
11369 # *) the shared object with the F_LOADONLY flag set, to really avoid
11370 # it being seen by the linker.
11371 # At run time we better use the real file rather than another symlink,
11372 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11374 case $with_aix_soname,$aix_use_runtimelinking in
11375 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11376 # soname into executable. Probably we can add versioning support to
11377 # collect2, so additional links can be useful in future.
11378 aix
,yes) # traditional libtool
11379 dynamic_linker
='AIX unversionable lib.so'
11380 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11381 # instead of lib<name>.a to let people know that these are not
11382 # typical AIX shared libraries.
11383 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11385 aix
,no
) # traditional AIX only
11386 dynamic_linker
='AIX lib.a(lib.so.V)'
11387 # We preserve .a as extension for shared libraries through AIX4.2
11388 # and later when we are not doing run time linking.
11389 library_names_spec
='$libname$release.a $libname.a'
11390 soname_spec
='$libname$release$shared_ext$major'
11392 svr4
,*) # full svr4 only
11393 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11394 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11395 # We do not specify a path in Import Files, so LIBPATH fires.
11396 shlibpath_overrides_runpath
=yes
11398 *,yes) # both, prefer svr4
11399 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11400 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11401 # unpreferred sharedlib libNAME.a needs extra handling
11402 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11403 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11404 # We do not specify a path in Import Files, so LIBPATH fires.
11405 shlibpath_overrides_runpath
=yes
11407 *,no
) # both, prefer aix
11408 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11409 library_names_spec
='$libname$release.a $libname.a'
11410 soname_spec
='$libname$release$shared_ext$major'
11411 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11412 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11413 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11416 shlibpath_var
=LIBPATH
11423 # Since July 2007 AmigaOS4 officially supports .so libraries.
11424 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11425 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11428 library_names_spec
='$libname.ixlibrary $libname.a'
11429 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11430 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11436 library_names_spec
='$libname$shared_ext'
11437 dynamic_linker
="$host_os ld.so"
11438 shlibpath_var
=LIBRARY_PATH
11442 version_type
=linux
# correct to gnu/linux during the next big refactor
11444 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11445 soname_spec
='$libname$release$shared_ext$major'
11446 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11447 shlibpath_var
=LD_LIBRARY_PATH
11448 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11449 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11450 # the default ld.so.conf also contains /usr/contrib/lib and
11451 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11452 # libtool to hard-code these into programs
11455 cygwin
* | mingw
* | pw32
* | cegcc
*)
11456 version_type
=windows
11461 case $GCC,$cc_basename in
11464 library_names_spec
='$libname.dll.a'
11465 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11466 postinstall_cmds
='base_file=`basename \$file`~
11467 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11468 dldir=$destdir/`dirname \$dlpath`~
11469 test -d \$dldir || mkdir -p \$dldir~
11470 $install_prog $dir/$dlname \$dldir/$dlname~
11471 chmod a+x \$dldir/$dlname~
11472 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11473 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11475 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11476 dlpath=$dir/\$dldll~
11478 shlibpath_overrides_runpath
=yes
11482 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11483 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11485 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11488 # MinGW DLLs use traditional 'lib' prefix
11489 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11492 # pw32 DLLs use 'pw' prefix rather than 'lib'
11493 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11496 dynamic_linker
='Win32 ld.exe'
11501 libname_spec
='$name'
11502 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11503 library_names_spec
='$libname.dll.lib'
11507 sys_lib_search_path_spec
=
11510 for lt_path
in $LIB
11513 # Let DOS variable expansion print the short 8.3 style file name.
11514 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11515 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11518 # Convert to MSYS style.
11519 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11522 # Convert to unix form, then to dos form, then back to unix form
11523 # but this time dos style (no spaces!) so that the unix form looks
11524 # like /cygdrive/c/PROGRA~1:/cygdr...
11525 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11526 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11527 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11530 sys_lib_search_path_spec
=$LIB
11531 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11532 # It is most probably a Windows format PATH.
11533 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11535 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11537 # FIXME: find the short name or the path components, as spaces are
11538 # common. (e.g. "Program Files" -> "PROGRA~1")
11542 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11543 postinstall_cmds
='base_file=`basename \$file`~
11544 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11545 dldir=$destdir/`dirname \$dlpath`~
11546 test -d \$dldir || mkdir -p \$dldir~
11547 $install_prog $dir/$dlname \$dldir/$dlname'
11548 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11549 dlpath=$dir/\$dldll~
11551 shlibpath_overrides_runpath
=yes
11552 dynamic_linker
='Win32 link.exe'
11556 # Assume MSVC wrapper
11557 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11558 dynamic_linker
='Win32 ld.exe'
11561 # FIXME: first we should search . and the directory the executable is in
11565 darwin
* | rhapsody
*)
11566 dynamic_linker
="$host_os dyld"
11567 version_type
=darwin
11570 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11571 soname_spec
='$libname$release$major$shared_ext'
11572 shlibpath_overrides_runpath
=yes
11573 shlibpath_var
=DYLD_LIBRARY_PATH
11574 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11576 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11577 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11581 version_type
=linux
# correct to gnu/linux during the next big refactor
11584 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11585 soname_spec
='$libname$release$shared_ext$major'
11586 shlibpath_var
=LD_LIBRARY_PATH
11589 freebsd
* | dragonfly
*)
11590 # DragonFly does not have aout. When/if they implement a new
11591 # versioning mechanism, adjust this.
11592 if test -x /usr
/bin
/objformat
; then
11593 objformat
=`/usr/bin/objformat`
11596 freebsd
[23].
*) objformat
=aout
;;
11597 *) objformat
=elf
;;
11600 version_type
=freebsd-
$objformat
11601 case $version_type in
11603 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11604 soname_spec
='$libname$release$shared_ext$major'
11609 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11613 shlibpath_var
=LD_LIBRARY_PATH
11616 shlibpath_overrides_runpath
=yes
11618 freebsd3.
[01]* | freebsdelf3.
[01]*)
11619 shlibpath_overrides_runpath
=yes
11620 hardcode_into_libs
=yes
11622 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11623 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11624 shlibpath_overrides_runpath
=no
11625 hardcode_into_libs
=yes
11627 *) # from 4.6 on, and DragonFly
11628 shlibpath_overrides_runpath
=yes
11629 hardcode_into_libs
=yes
11635 version_type
=linux
# correct to gnu/linux during the next big refactor
11638 dynamic_linker
="$host_os runtime_loader"
11639 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11640 soname_spec
='$libname$release$shared_ext$major'
11641 shlibpath_var
=LIBRARY_PATH
11642 shlibpath_overrides_runpath
=no
11643 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11644 hardcode_into_libs
=yes
11647 hpux9
* | hpux10
* | hpux11
*)
11648 # Give a soname corresponding to the major version so that dld.sl refuses to
11649 # link against other versions.
11656 hardcode_into_libs
=yes
11657 dynamic_linker
="$host_os dld.so"
11658 shlibpath_var
=LD_LIBRARY_PATH
11659 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11660 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11661 soname_spec
='$libname$release$shared_ext$major'
11662 if test 32 = "$HPUX_IA64_MODE"; then
11663 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11664 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11666 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11667 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11672 hardcode_into_libs
=yes
11673 dynamic_linker
="$host_os dld.sl"
11674 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11675 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11676 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11677 soname_spec
='$libname$release$shared_ext$major'
11678 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11679 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11683 dynamic_linker
="$host_os dld.sl"
11684 shlibpath_var
=SHLIB_PATH
11685 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11686 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11687 soname_spec
='$libname$release$shared_ext$major'
11690 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11691 postinstall_cmds
='chmod 555 $lib'
11692 # or fails outright, so override atomically:
11693 install_override_mode
=555
11697 version_type
=linux
# correct to gnu/linux during the next big refactor
11700 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11701 soname_spec
='$libname$release$shared_ext$major'
11702 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11703 shlibpath_var
=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath
=no
11705 hardcode_into_libs
=yes
11708 irix5
* | irix6
* | nonstopux
*)
11710 nonstopux
*) version_type
=nonstopux
;;
11712 if test yes = "$lt_cv_prog_gnu_ld"; then
11713 version_type
=linux
# correct to gnu/linux during the next big refactor
11720 soname_spec
='$libname$release$shared_ext$major'
11721 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11723 irix5
* | nonstopux
*)
11724 libsuff
= shlibsuff
=
11727 case $LD in # libtool.m4 will add one of these switches to LD
11728 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11729 libsuff
= shlibsuff
= libmagic
=32-bit;;
11730 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11731 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11732 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11733 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11734 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11738 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11739 shlibpath_overrides_runpath
=no
11740 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11741 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11742 hardcode_into_libs
=yes
11745 # No shared lib support for Linux oldld, aout, or coff.
11746 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11751 version_type
=none
# Android doesn't support versioned libraries.
11754 library_names_spec
='$libname$release$shared_ext'
11755 soname_spec
='$libname$release$shared_ext'
11757 shlibpath_var
=LD_LIBRARY_PATH
11758 shlibpath_overrides_runpath
=yes
11760 # This implies no fast_install, which is unacceptable.
11761 # Some rework will be needed to allow for fast_install
11762 # before this can be enabled.
11763 hardcode_into_libs
=yes
11765 dynamic_linker
='Android linker'
11766 # Don't embed -rpath directories since the linker doesn't support them.
11767 hardcode_libdir_flag_spec
='-L$libdir'
11770 # This must be glibc/ELF.
11771 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11772 version_type
=linux
# correct to gnu/linux during the next big refactor
11775 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11776 soname_spec
='$libname$release$shared_ext$major'
11777 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11778 shlibpath_var
=LD_LIBRARY_PATH
11779 shlibpath_overrides_runpath
=no
11781 # Some binutils ld are patched to set DT_RUNPATH
11782 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11783 $as_echo_n "(cached) " >&6
11785 lt_cv_shlibpath_overrides_runpath
=no
11786 save_LDFLAGS
=$LDFLAGS
11787 save_libdir
=$libdir
11788 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11789 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11801 if ac_fn_c_try_link
"$LINENO"; then :
11802 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11803 lt_cv_shlibpath_overrides_runpath
=yes
11806 rm -f core conftest.err conftest.
$ac_objext \
11807 conftest
$ac_exeext conftest.
$ac_ext
11808 LDFLAGS
=$save_LDFLAGS
11809 libdir
=$save_libdir
11813 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11815 # This implies no fast_install, which is unacceptable.
11816 # Some rework will be needed to allow for fast_install
11817 # before this can be enabled.
11818 hardcode_into_libs
=yes
11820 # Ideally, we could use ldconfig to report *all* directores which are
11821 # searched for libraries, however this is still not possible. Aside from not
11822 # being certain /sbin/ldconfig is available, command
11823 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11824 # even though it is searched at run-time. Try to do the best guess by
11825 # appending ld.so.conf contents (and includes) to the search path.
11826 if test -f /etc
/ld.so.conf
; then
11827 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' ' '`
11828 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11831 # We used to test for /lib/ld.so.1 and disable shared libraries on
11832 # powerpc, because MkLinux only supported shared libraries with the
11833 # GNU dynamic linker. Since this was broken with cross compilers,
11834 # most powerpc-linux boxes support dynamic linking these days and
11835 # people can always --disable-shared, the test was removed, and we
11836 # assume the GNU/Linux dynamic linker is in use.
11837 dynamic_linker
='GNU/Linux ld.so'
11844 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11845 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11846 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11847 dynamic_linker
='NetBSD (a.out) ld.so'
11849 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11850 soname_spec
='$libname$release$shared_ext$major'
11851 dynamic_linker
='NetBSD ld.elf_so'
11853 shlibpath_var
=LD_LIBRARY_PATH
11854 shlibpath_overrides_runpath
=yes
11855 hardcode_into_libs
=yes
11859 version_type
=linux
# correct to gnu/linux during the next big refactor
11860 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11861 shlibpath_var
=LD_LIBRARY_PATH
11862 shlibpath_overrides_runpath
=yes
11869 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11870 soname_spec
='$libname$release$shared_ext$major'
11871 shlibpath_var
=LD_LIBRARY_PATH
11872 shlibpath_overrides_runpath
=no
11873 hardcode_into_libs
=yes
11874 dynamic_linker
='ldqnx.so'
11877 openbsd
* | bitrig
*)
11879 sys_lib_dlsearch_path_spec
=/usr
/lib
11881 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11886 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11887 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11888 shlibpath_var
=LD_LIBRARY_PATH
11889 shlibpath_overrides_runpath
=yes
11893 libname_spec
='$name'
11894 version_type
=windows
11898 # OS/2 can only load a DLL with a base name of 8 characters or less.
11899 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11900 v=$($ECHO $release$versuffix | tr -d .-);
11901 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11902 $ECHO $n$v`$shared_ext'
11903 library_names_spec
='${libname}_dll.$libext'
11904 dynamic_linker
='OS/2 ld.exe'
11905 shlibpath_var
=BEGINLIBPATH
11906 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11908 postinstall_cmds
='base_file=`basename \$file`~
11909 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11910 dldir=$destdir/`dirname \$dlpath`~
11911 test -d \$dldir || mkdir -p \$dldir~
11912 $install_prog $dir/$dlname \$dldir/$dlname~
11913 chmod a+x \$dldir/$dlname~
11914 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11915 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11917 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11918 dlpath=$dir/\$dldll~
11922 osf3
* | osf4
* | osf5
*)
11926 soname_spec
='$libname$release$shared_ext$major'
11927 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11928 shlibpath_var
=LD_LIBRARY_PATH
11929 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11930 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11938 version_type
=linux
# correct to gnu/linux during the next big refactor
11941 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11942 soname_spec
='$libname$release$shared_ext$major'
11943 shlibpath_var
=LD_LIBRARY_PATH
11944 shlibpath_overrides_runpath
=yes
11945 hardcode_into_libs
=yes
11946 # ldd complains unless libraries are executable
11947 postinstall_cmds
='chmod +x $lib'
11952 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11953 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11954 shlibpath_var
=LD_LIBRARY_PATH
11955 shlibpath_overrides_runpath
=yes
11956 if test yes = "$with_gnu_ld"; then
11963 version_type
=linux
# correct to gnu/linux during the next big refactor
11964 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11965 soname_spec
='$libname$release$shared_ext$major'
11966 shlibpath_var
=LD_LIBRARY_PATH
11967 case $host_vendor in
11969 shlibpath_overrides_runpath
=no
11971 runpath_var
=LD_RUN_PATH
11979 shlibpath_overrides_runpath
=no
11980 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11986 if test -d /usr
/nec
; then
11987 version_type
=linux
# correct to gnu/linux during the next big refactor
11988 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11989 soname_spec
='$libname$shared_ext.$major'
11990 shlibpath_var
=LD_LIBRARY_PATH
11994 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11998 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11999 soname_spec
='$libname$release$shared_ext$major'
12000 shlibpath_var
=LD_LIBRARY_PATH
12001 shlibpath_overrides_runpath
=yes
12002 hardcode_into_libs
=yes
12003 if test yes = "$with_gnu_ld"; then
12004 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12006 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12009 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12013 sys_lib_dlsearch_path_spec
='/usr/lib'
12017 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12018 version_type
=linux
# correct to gnu/linux during the next big refactor
12021 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12022 shlibpath_var
=LD_LIBRARY_PATH
12023 shlibpath_overrides_runpath
=no
12024 hardcode_into_libs
=yes
12028 version_type
=linux
# correct to gnu/linux during the next big refactor
12029 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12030 soname_spec
='$libname$release$shared_ext$major'
12031 shlibpath_var
=LD_LIBRARY_PATH
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12039 $as_echo "$dynamic_linker" >&6; }
12040 test no
= "$dynamic_linker" && can_build_shared
=no
12042 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12043 if test yes = "$GCC"; then
12044 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12047 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12048 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12051 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12052 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12055 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12056 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12058 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12059 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12061 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12062 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12161 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12163 if test -n "$hardcode_libdir_flag_spec" ||
12164 test -n "$runpath_var" ||
12165 test yes = "$hardcode_automatic"; then
12167 # We can hardcode non-existent directories.
12168 if test no
!= "$hardcode_direct" &&
12169 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12170 # have to relink, otherwise we might link with an installed library
12171 # when we should be linking with a yet-to-be-installed one
12172 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12173 test no
!= "$hardcode_minus_L"; then
12174 # Linking always hardcodes the temporary library directory.
12175 hardcode_action
=relink
12177 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12178 hardcode_action
=immediate
12181 # We cannot hardcode anything, or else we can only hardcode existing
12183 hardcode_action
=unsupported
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12186 $as_echo "$hardcode_action" >&6; }
12188 if test relink
= "$hardcode_action" ||
12189 test yes = "$inherit_rpath"; then
12190 # Fast installation is not supported
12191 enable_fast_install
=no
12192 elif test yes = "$shlibpath_overrides_runpath" ||
12193 test no
= "$enable_shared"; then
12194 # Fast installation is not necessary
12195 enable_fast_install
=needless
12203 if test yes != "$enable_dlopen"; then
12204 enable_dlopen
=unknown
12205 enable_dlopen_self
=unknown
12206 enable_dlopen_self_static
=unknown
12213 lt_cv_dlopen
=load_add_on
12215 lt_cv_dlopen_self
=yes
12218 mingw
* | pw32
* | cegcc
*)
12219 lt_cv_dlopen
=LoadLibrary
12224 lt_cv_dlopen
=dlopen
12229 # if libdl is installed we need to link against it
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12231 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12232 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12233 $as_echo_n "(cached) " >&6
12235 ac_check_lib_save_LIBS
=$LIBS
12237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12240 /* Override any GCC internal prototype to avoid an error.
12241 Use char because int might match the return type of a GCC
12242 builtin and then its argument prototype would still apply. */
12255 if ac_fn_c_try_link
"$LINENO"; then :
12256 ac_cv_lib_dl_dlopen
=yes
12258 ac_cv_lib_dl_dlopen
=no
12260 rm -f core conftest.err conftest.
$ac_objext \
12261 conftest
$ac_exeext conftest.
$ac_ext
12262 LIBS
=$ac_check_lib_save_LIBS
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12265 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12266 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12267 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12272 lt_cv_dlopen_self
=yes
12279 # Don't try to run any link tests for TPF. We know it's impossible
12280 # because TPF is a cross-compiler, and we know how we open DSOs.
12281 lt_cv_dlopen
=dlopen
12283 lt_cv_dlopen_self
=no
12287 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12288 if test "x$ac_cv_func_shl_load" = xyes
; then :
12289 lt_cv_dlopen
=shl_load
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12292 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12293 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12294 $as_echo_n "(cached) " >&6
12296 ac_check_lib_save_LIBS
=$LIBS
12298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 /* Override any GCC internal prototype to avoid an error.
12302 Use char because int might match the return type of a GCC
12303 builtin and then its argument prototype would still apply. */
12311 return shl_load ();
12316 if ac_fn_c_try_link
"$LINENO"; then :
12317 ac_cv_lib_dld_shl_load
=yes
12319 ac_cv_lib_dld_shl_load
=no
12321 rm -f core conftest.err conftest.
$ac_objext \
12322 conftest
$ac_exeext conftest.
$ac_ext
12323 LIBS
=$ac_check_lib_save_LIBS
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12326 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12327 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12328 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12330 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12331 if test "x$ac_cv_func_dlopen" = xyes
; then :
12332 lt_cv_dlopen
=dlopen
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12335 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12336 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12337 $as_echo_n "(cached) " >&6
12339 ac_check_lib_save_LIBS
=$LIBS
12341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12344 /* Override any GCC internal prototype to avoid an error.
12345 Use char because int might match the return type of a GCC
12346 builtin and then its argument prototype would still apply. */
12359 if ac_fn_c_try_link
"$LINENO"; then :
12360 ac_cv_lib_dl_dlopen
=yes
12362 ac_cv_lib_dl_dlopen
=no
12364 rm -f core conftest.err conftest.
$ac_objext \
12365 conftest
$ac_exeext conftest.
$ac_ext
12366 LIBS
=$ac_check_lib_save_LIBS
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12369 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12370 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12371 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12374 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12375 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12376 $as_echo_n "(cached) " >&6
12378 ac_check_lib_save_LIBS
=$LIBS
12379 LIBS
="-lsvld $LIBS"
12380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12383 /* Override any GCC internal prototype to avoid an error.
12384 Use char because int might match the return type of a GCC
12385 builtin and then its argument prototype would still apply. */
12398 if ac_fn_c_try_link
"$LINENO"; then :
12399 ac_cv_lib_svld_dlopen
=yes
12401 ac_cv_lib_svld_dlopen
=no
12403 rm -f core conftest.err conftest.
$ac_objext \
12404 conftest
$ac_exeext conftest.
$ac_ext
12405 LIBS
=$ac_check_lib_save_LIBS
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12408 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12409 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12410 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12413 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12414 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12415 $as_echo_n "(cached) " >&6
12417 ac_check_lib_save_LIBS
=$LIBS
12419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12432 return dld_link ();
12437 if ac_fn_c_try_link
"$LINENO"; then :
12438 ac_cv_lib_dld_dld_link
=yes
12440 ac_cv_lib_dld_dld_link
=no
12442 rm -f core conftest.err conftest.
$ac_objext \
12443 conftest
$ac_exeext conftest.
$ac_ext
12444 LIBS
=$ac_check_lib_save_LIBS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12447 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12448 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12449 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12470 if test no
= "$lt_cv_dlopen"; then
12476 case $lt_cv_dlopen in
12478 save_CPPFLAGS
=$CPPFLAGS
12479 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12481 save_LDFLAGS
=$LDFLAGS
12482 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12485 LIBS
="$lt_cv_dlopen_libs $LIBS"
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12488 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12489 if ${lt_cv_dlopen_self+:} false
; then :
12490 $as_echo_n "(cached) " >&6
12492 if test yes = "$cross_compiling"; then :
12493 lt_cv_dlopen_self
=cross
12495 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12496 lt_status
=$lt_dlunknown
12497 cat > conftest.
$ac_ext <<_LT_EOF
12498 #line $LINENO "configure"
12499 #include "confdefs.h"
12508 # define LT_DLGLOBAL RTLD_GLOBAL
12511 # define LT_DLGLOBAL DL_GLOBAL
12513 # define LT_DLGLOBAL 0
12517 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12518 find out it does not work in some platform. */
12519 #ifndef LT_DLLAZY_OR_NOW
12521 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12524 # define LT_DLLAZY_OR_NOW DL_LAZY
12527 # define LT_DLLAZY_OR_NOW RTLD_NOW
12530 # define LT_DLLAZY_OR_NOW DL_NOW
12532 # define LT_DLLAZY_OR_NOW 0
12539 /* When -fvisibility=hidden is used, assume the code has been annotated
12540 correspondingly for the symbols needed. */
12541 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12542 int fnord () __attribute__((visibility("default")));
12545 int fnord () { return 42; }
12548 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12549 int status = $lt_dlunknown;
12553 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12556 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12557 else puts (dlerror ());
12559 /* dlclose (self); */
12567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12568 (eval $ac_link) 2>&5
12570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12571 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12572 (.
/conftest
; exit; ) >&5 2>/dev
/null
12574 case x
$lt_status in
12575 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12576 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12577 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12580 # compilation failed
12581 lt_cv_dlopen_self
=no
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12589 $as_echo "$lt_cv_dlopen_self" >&6; }
12591 if test yes = "$lt_cv_dlopen_self"; then
12592 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12594 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12595 if ${lt_cv_dlopen_self_static+:} false
; then :
12596 $as_echo_n "(cached) " >&6
12598 if test yes = "$cross_compiling"; then :
12599 lt_cv_dlopen_self_static
=cross
12601 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12602 lt_status
=$lt_dlunknown
12603 cat > conftest.
$ac_ext <<_LT_EOF
12604 #line $LINENO "configure"
12605 #include "confdefs.h"
12614 # define LT_DLGLOBAL RTLD_GLOBAL
12617 # define LT_DLGLOBAL DL_GLOBAL
12619 # define LT_DLGLOBAL 0
12623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12624 find out it does not work in some platform. */
12625 #ifndef LT_DLLAZY_OR_NOW
12627 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12630 # define LT_DLLAZY_OR_NOW DL_LAZY
12633 # define LT_DLLAZY_OR_NOW RTLD_NOW
12636 # define LT_DLLAZY_OR_NOW DL_NOW
12638 # define LT_DLLAZY_OR_NOW 0
12645 /* When -fvisibility=hidden is used, assume the code has been annotated
12646 correspondingly for the symbols needed. */
12647 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12648 int fnord () __attribute__((visibility("default")));
12651 int fnord () { return 42; }
12654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12655 int status = $lt_dlunknown;
12659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12662 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12663 else puts (dlerror ());
12665 /* dlclose (self); */
12673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12674 (eval $ac_link) 2>&5
12676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12678 (.
/conftest
; exit; ) >&5 2>/dev
/null
12680 case x
$lt_status in
12681 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12682 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12683 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12686 # compilation failed
12687 lt_cv_dlopen_self_static
=no
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12695 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12698 CPPFLAGS
=$save_CPPFLAGS
12699 LDFLAGS
=$save_LDFLAGS
12704 case $lt_cv_dlopen_self in
12705 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12706 *) enable_dlopen_self
=unknown
;;
12709 case $lt_cv_dlopen_self_static in
12710 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12711 *) enable_dlopen_self_static
=unknown
;;
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12734 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12735 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12736 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12737 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12739 $as_echo "yes" >&6; }
12741 # FIXME - insert some real tests, host_os isn't really good enough
12744 if test -n "$STRIP"; then
12745 striplib
="$STRIP -x"
12746 old_striplib
="$STRIP -S"
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12748 $as_echo "yes" >&6; }
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12751 $as_echo "no" >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12756 $as_echo "no" >&6; }
12772 # Report what library types will actually be built
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12774 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12776 $as_echo "$can_build_shared" >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12779 $as_echo_n "checking whether to build shared libraries... " >&6; }
12780 test no
= "$can_build_shared" && enable_shared
=no
12782 # On AIX, shared libraries and static libraries use the same namespace, and
12783 # are all built from PIC.
12786 test yes = "$enable_shared" && enable_static
=no
12787 if test -n "$RANLIB"; then
12788 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12789 postinstall_cmds
='$RANLIB $lib'
12794 if test ia64
!= "$host_cpu"; then
12795 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12796 yes,aix
,yes) ;; # shared object as lib.so file only
12797 yes,svr4
,*) ;; # shared object as lib.so archive member only
12798 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12804 $as_echo "$enable_shared" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12807 $as_echo_n "checking whether to build static libraries... " >&6; }
12808 # Make sure either enable_shared or enable_static is yes.
12809 test yes = "$enable_shared" || enable_static
=yes
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12811 $as_echo "$enable_static" >&6; }
12818 ac_cpp
='$CPP $CPPFLAGS'
12819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12839 ac_config_commands
="$ac_config_commands libtool"
12844 # Only expand once:
12847 # Check whether --enable-largefile was given.
12848 if test "${enable_largefile+set}" = set; then :
12849 enableval
=$enable_largefile;
12852 if test "$enable_largefile" != no
; then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12855 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12856 if ${ac_cv_sys_largefile_CC+:} false
; then :
12857 $as_echo_n "(cached) " >&6
12859 ac_cv_sys_largefile_CC
=no
12860 if test "$GCC" != yes; then
12863 # IRIX 6.2 and later do not support large files by default,
12864 # so use the C compiler's -n32 option if that helps.
12865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12867 #include <sys/types.h>
12868 /* Check that off_t can represent 2**63 - 1 correctly.
12869 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12870 since some C++ compilers masquerading as C compilers
12871 incorrectly reject 9223372036854775807. */
12872 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12873 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12874 && LARGE_OFF_T % 2147483647 == 1)
12884 if ac_fn_c_try_compile
"$LINENO"; then :
12887 rm -f core conftest.err conftest.
$ac_objext
12889 if ac_fn_c_try_compile
"$LINENO"; then :
12890 ac_cv_sys_largefile_CC
=' -n32'; break
12892 rm -f core conftest.err conftest.
$ac_objext
12896 rm -f conftest.
$ac_ext
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12900 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12901 if test "$ac_cv_sys_largefile_CC" != no
; then
12902 CC
=$CC$ac_cv_sys_largefile_CC
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12906 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12907 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12908 $as_echo_n "(cached) " >&6
12911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12913 #include <sys/types.h>
12914 /* Check that off_t can represent 2**63 - 1 correctly.
12915 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12916 since some C++ compilers masquerading as C compilers
12917 incorrectly reject 9223372036854775807. */
12918 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12919 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12920 && LARGE_OFF_T % 2147483647 == 1)
12930 if ac_fn_c_try_compile
"$LINENO"; then :
12931 ac_cv_sys_file_offset_bits
=no
; break
12933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12936 #define _FILE_OFFSET_BITS 64
12937 #include <sys/types.h>
12938 /* Check that off_t can represent 2**63 - 1 correctly.
12939 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12940 since some C++ compilers masquerading as C compilers
12941 incorrectly reject 9223372036854775807. */
12942 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12943 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12944 && LARGE_OFF_T % 2147483647 == 1)
12954 if ac_fn_c_try_compile
"$LINENO"; then :
12955 ac_cv_sys_file_offset_bits
=64; break
12957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12958 ac_cv_sys_file_offset_bits
=unknown
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12963 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12964 case $ac_cv_sys_file_offset_bits in #(
12967 cat >>confdefs.h
<<_ACEOF
12968 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12973 if test $ac_cv_sys_file_offset_bits = unknown
; then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12975 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12976 if ${ac_cv_sys_large_files+:} false
; then :
12977 $as_echo_n "(cached) " >&6
12980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12982 #include <sys/types.h>
12983 /* Check that off_t can represent 2**63 - 1 correctly.
12984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12985 since some C++ compilers masquerading as C compilers
12986 incorrectly reject 9223372036854775807. */
12987 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12989 && LARGE_OFF_T % 2147483647 == 1)
12999 if ac_fn_c_try_compile
"$LINENO"; then :
13000 ac_cv_sys_large_files
=no
; break
13002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13005 #define _LARGE_FILES 1
13006 #include <sys/types.h>
13007 /* Check that off_t can represent 2**63 - 1 correctly.
13008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13009 since some C++ compilers masquerading as C compilers
13010 incorrectly reject 9223372036854775807. */
13011 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13013 && LARGE_OFF_T % 2147483647 == 1)
13023 if ac_fn_c_try_compile
"$LINENO"; then :
13024 ac_cv_sys_large_files
=1; break
13026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13027 ac_cv_sys_large_files
=unknown
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13032 $as_echo "$ac_cv_sys_large_files" >&6; }
13033 case $ac_cv_sys_large_files in #(
13036 cat >>confdefs.h
<<_ACEOF
13037 #define _LARGE_FILES $ac_cv_sys_large_files
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13048 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13049 if ${ac_cv_sys_largefile_source+:} false
; then :
13050 $as_echo_n "(cached) " >&6
13053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13055 #include <sys/types.h> /* for off_t */
13060 int (*fp) (FILE *, off_t, int) = fseeko;
13061 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13066 if ac_fn_c_try_link
"$LINENO"; then :
13067 ac_cv_sys_largefile_source
=no
; break
13069 rm -f core conftest.err conftest.
$ac_objext \
13070 conftest
$ac_exeext conftest.
$ac_ext
13071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13073 #define _LARGEFILE_SOURCE 1
13074 #include <sys/types.h> /* for off_t */
13079 int (*fp) (FILE *, off_t, int) = fseeko;
13080 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13085 if ac_fn_c_try_link
"$LINENO"; then :
13086 ac_cv_sys_largefile_source
=1; break
13088 rm -f core conftest.err conftest.
$ac_objext \
13089 conftest
$ac_exeext conftest.
$ac_ext
13090 ac_cv_sys_largefile_source
=unknown
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
13095 $as_echo "$ac_cv_sys_largefile_source" >&6; }
13096 case $ac_cv_sys_largefile_source in #(
13099 cat >>confdefs.h
<<_ACEOF
13100 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
13106 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
13107 # in glibc 2.1.3, but that breaks too many other things.
13108 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
13109 if test $ac_cv_sys_largefile_source != unknown
; then
13111 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
13115 ac_header_dirent
=no
13116 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
13117 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13119 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13120 if eval \
${$as_ac_Header+:} false
; then :
13121 $as_echo_n "(cached) " >&6
13123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13125 #include <sys/types.h>
13137 if ac_fn_c_try_compile
"$LINENO"; then :
13138 eval "$as_ac_Header=yes"
13140 eval "$as_ac_Header=no"
13142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13144 eval ac_res
=\$
$as_ac_Header
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13146 $as_echo "$ac_res" >&6; }
13147 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13148 cat >>confdefs.h
<<_ACEOF
13149 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13152 ac_header_dirent
=$ac_hdr; break
13156 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13157 if test $ac_header_dirent = dirent.h
; then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13159 $as_echo_n "checking for library containing opendir... " >&6; }
13160 if ${ac_cv_search_opendir+:} false
; then :
13161 $as_echo_n "(cached) " >&6
13163 ac_func_search_save_LIBS
=$LIBS
13164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13167 /* Override any GCC internal prototype to avoid an error.
13168 Use char because int might match the return type of a GCC
13169 builtin and then its argument prototype would still apply. */
13182 for ac_lib
in '' dir
; do
13183 if test -z "$ac_lib"; then
13184 ac_res
="none required"
13187 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13189 if ac_fn_c_try_link
"$LINENO"; then :
13190 ac_cv_search_opendir
=$ac_res
13192 rm -f core conftest.err conftest.
$ac_objext \
13194 if ${ac_cv_search_opendir+:} false
; then :
13198 if ${ac_cv_search_opendir+:} false
; then :
13201 ac_cv_search_opendir
=no
13203 rm conftest.
$ac_ext
13204 LIBS
=$ac_func_search_save_LIBS
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13207 $as_echo "$ac_cv_search_opendir" >&6; }
13208 ac_res
=$ac_cv_search_opendir
13209 if test "$ac_res" != no
; then :
13210 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13216 $as_echo_n "checking for library containing opendir... " >&6; }
13217 if ${ac_cv_search_opendir+:} false
; then :
13218 $as_echo_n "(cached) " >&6
13220 ac_func_search_save_LIBS
=$LIBS
13221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13222 /* end confdefs.h. */
13224 /* Override any GCC internal prototype to avoid an error.
13225 Use char because int might match the return type of a GCC
13226 builtin and then its argument prototype would still apply. */
13239 for ac_lib
in '' x
; do
13240 if test -z "$ac_lib"; then
13241 ac_res
="none required"
13244 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13246 if ac_fn_c_try_link
"$LINENO"; then :
13247 ac_cv_search_opendir
=$ac_res
13249 rm -f core conftest.err conftest.
$ac_objext \
13251 if ${ac_cv_search_opendir+:} false
; then :
13255 if ${ac_cv_search_opendir+:} false
; then :
13258 ac_cv_search_opendir
=no
13260 rm conftest.
$ac_ext
13261 LIBS
=$ac_func_search_save_LIBS
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13264 $as_echo "$ac_cv_search_opendir" >&6; }
13265 ac_res
=$ac_cv_search_opendir
13266 if test "$ac_res" != no
; then :
13267 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13274 $as_echo_n "checking for ANSI C header files... " >&6; }
13275 if ${ac_cv_header_stdc+:} false
; then :
13276 $as_echo_n "(cached) " >&6
13278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13280 #include <stdlib.h>
13281 #include <stdarg.h>
13282 #include <string.h>
13293 if ac_fn_c_try_compile
"$LINENO"; then :
13294 ac_cv_header_stdc
=yes
13296 ac_cv_header_stdc
=no
13298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13300 if test $ac_cv_header_stdc = yes; then
13301 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13304 #include <string.h>
13307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13308 $EGREP "memchr" >/dev
/null
2>&1; then :
13311 ac_cv_header_stdc
=no
13317 if test $ac_cv_header_stdc = yes; then
13318 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h. */
13321 #include <stdlib.h>
13324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13325 $EGREP "free" >/dev
/null
2>&1; then :
13328 ac_cv_header_stdc
=no
13334 if test $ac_cv_header_stdc = yes; then
13335 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13336 if test "$cross_compiling" = yes; then :
13339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 #include <stdlib.h>
13343 #if ((' ' & 0x0FF) == 0x020)
13344 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13345 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13347 # define ISLOWER(c) \
13348 (('a' <= (c) && (c) <= 'i') \
13349 || ('j' <= (c) && (c) <= 'r') \
13350 || ('s' <= (c) && (c) <= 'z'))
13351 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13354 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13359 for (i = 0; i < 256; i++)
13360 if (XOR (islower (i), ISLOWER (i))
13361 || toupper (i) != TOUPPER (i))
13366 if ac_fn_c_try_run
"$LINENO"; then :
13369 ac_cv_header_stdc
=no
13371 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13372 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13378 $as_echo "$ac_cv_header_stdc" >&6; }
13379 if test $ac_cv_header_stdc = yes; then
13381 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
13386 $as_echo_n "checking whether closedir returns void... " >&6; }
13387 if ${ac_cv_func_closedir_void+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 if test "$cross_compiling" = yes; then :
13391 ac_cv_func_closedir_void
=yes
13393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13395 $ac_includes_default
13396 #include <$ac_header_dirent>
13397 #ifndef __cplusplus
13404 return closedir (opendir (".")) != 0;
13409 if ac_fn_c_try_run
"$LINENO"; then :
13410 ac_cv_func_closedir_void
=no
13412 ac_cv_func_closedir_void
=yes
13414 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13415 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
13420 $as_echo "$ac_cv_func_closedir_void" >&6; }
13421 if test $ac_cv_func_closedir_void = yes; then
13423 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
13427 for ac_header
in assert.h float.h limits.h
pwd.h stdlib.h sys
/param.h
13429 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13430 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13431 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13432 cat >>confdefs.h
<<_ACEOF
13433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13440 for ac_func
in putenv
13442 ac_fn_c_check_func
"$LINENO" "putenv" "ac_cv_func_putenv"
13443 if test "x$ac_cv_func_putenv" = xyes
; then :
13444 cat >>confdefs.h
<<_ACEOF
13445 #define HAVE_PUTENV 1
13451 for ac_func
in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr
13453 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13454 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13455 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13456 cat >>confdefs.h
<<_ACEOF
13457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13464 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13465 if ${ac_cv_c_const+:} false
; then :
13466 $as_echo_n "(cached) " >&6
13468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13469 /* end confdefs.h. */
13475 #ifndef __cplusplus
13476 /* Ultrix mips cc rejects this sort of thing. */
13477 typedef int charset[2];
13478 const charset cs = { 0, 0 };
13479 /* SunOS 4.1.1 cc rejects this. */
13480 char const *const *pcpcc;
13482 /* NEC SVR4.0.2 mips cc rejects this. */
13483 struct point {int x, y;};
13484 static struct point const zero = {0,0};
13485 /* AIX XL C 1.02.0.0 rejects this.
13486 It does not let you subtract one const X* pointer from another in
13487 an arm of an if-expression whose if-part is not a constant
13489 const char *g = "string";
13490 pcpcc = &g + (g ? g-g : 0);
13491 /* HPUX 7.0 cc rejects these. */
13493 ppc = (char**) pcpcc;
13494 pcpcc = (char const *const *) ppc;
13495 { /* SCO 3.2v4 cc rejects this sort of thing. */
13498 char const *s = 0 ? (char *) 0 : (char const *) 0;
13503 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13504 int x[] = {25, 17};
13505 const int *foo = &x[0];
13508 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13509 typedef const int *iptr;
13513 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13514 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13515 struct s { int j; const int *ap[3]; } bx;
13516 struct s *b = &bx; b->j = 5;
13518 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13519 const int foo = 10;
13520 if (!foo) return 0;
13522 return !cs[0] && !zero.x;
13529 if ac_fn_c_try_compile
"$LINENO"; then :
13534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13537 $as_echo "$ac_cv_c_const" >&6; }
13538 if test $ac_cv_c_const = no
; then
13540 $as_echo "#define const /**/" >>confdefs.h
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13545 $as_echo_n "checking for inline... " >&6; }
13546 if ${ac_cv_c_inline+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13550 for ac_kw
in inline __inline__ __inline
; do
13551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13553 #ifndef __cplusplus
13555 static $ac_kw foo_t static_foo () {return 0; }
13556 $ac_kw foo_t foo () {return 0; }
13560 if ac_fn_c_try_compile
"$LINENO"; then :
13561 ac_cv_c_inline
=$ac_kw
13563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13564 test "$ac_cv_c_inline" != no
&& break
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13569 $as_echo "$ac_cv_c_inline" >&6; }
13571 case $ac_cv_c_inline in
13574 case $ac_cv_c_inline in
13576 *) ac_val
=$ac_cv_c_inline;;
13578 cat >>confdefs.h
<<_ACEOF
13579 #ifndef __cplusplus
13580 #define inline $ac_val
13586 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13587 if test "x$ac_cv_type_size_t" = xyes
; then :
13591 cat >>confdefs.h
<<_ACEOF
13592 #define size_t unsigned int
13597 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
13598 case $ac_cv_c_int64_t in #(
13602 cat >>confdefs.h
<<_ACEOF
13603 #define int64_t $ac_cv_c_int64_t
13608 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
13609 case $ac_cv_c_uint64_t in #(
13613 $as_echo "#define _UINT64_T 1" >>confdefs.h
13616 cat >>confdefs.h
<<_ACEOF
13617 #define uint64_t $ac_cv_c_uint64_t
13622 case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
13624 as_fn_error $?
"Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
13628 ac_fn_c_check_decl
"$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
13630 if test "x$ac_cv_have_decl_isascii" = xyes
; then :
13636 cat >>confdefs.h
<<_ACEOF
13637 #define HAVE_DECL_ISASCII $ac_have_decl
13640 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13641 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
13643 cat >>confdefs.h
<<_ACEOF
13644 #define HAVE_STRUCT_STAT_ST_MTIM 1
13652 for ac_prog
in 'bison -y' byacc
13654 # Extract the first word of "$ac_prog", so it can be a program name with args.
13655 set dummy
$ac_prog; ac_word
=$2
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13657 $as_echo_n "checking for $ac_word... " >&6; }
13658 if ${ac_cv_prog_YACC+:} false
; then :
13659 $as_echo_n "(cached) " >&6
13661 if test -n "$YACC"; then
13662 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
13664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13665 for as_dir
in $PATH
13668 test -z "$as_dir" && as_dir
=.
13669 for ac_exec_ext
in '' $ac_executable_extensions; do
13670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13671 ac_cv_prog_YACC
="$ac_prog"
13672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13681 YACC
=$ac_cv_prog_YACC
13682 if test -n "$YACC"; then
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13684 $as_echo "$YACC" >&6; }
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13687 $as_echo "no" >&6; }
13691 test -n "$YACC" && break
13693 test -n "$YACC" || YACC
="yacc"
13695 for ac_prog
in flex
lex
13697 # Extract the first word of "$ac_prog", so it can be a program name with args.
13698 set dummy
$ac_prog; ac_word
=$2
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13700 $as_echo_n "checking for $ac_word... " >&6; }
13701 if ${ac_cv_prog_LEX+:} false
; then :
13702 $as_echo_n "(cached) " >&6
13704 if test -n "$LEX"; then
13705 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
13707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13708 for as_dir
in $PATH
13711 test -z "$as_dir" && as_dir
=.
13712 for ac_exec_ext
in '' $ac_executable_extensions; do
13713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13714 ac_cv_prog_LEX
="$ac_prog"
13715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13724 LEX
=$ac_cv_prog_LEX
13725 if test -n "$LEX"; then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13727 $as_echo "$LEX" >&6; }
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13730 $as_echo "no" >&6; }
13734 test -n "$LEX" && break
13736 test -n "$LEX" || LEX
=":"
13738 if test "x$LEX" != "x:"; then
13739 cat >conftest.l
<<_ACEOF
13745 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
13746 yyless ((input () != 0)); }
13747 f { unput (yytext[0]); }
13748 . { BEGIN INITIAL; }
13750 #ifdef YYTEXT_POINTER
13751 extern char *yytext;
13756 return ! yylex () + ! yywrap ();
13759 { { ac_try
="$LEX conftest.l"
13760 case "(($ac_try" in
13761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13762 *) ac_try_echo=$ac_try;;
13764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13765 $as_echo "$ac_try_echo"; } >&5
13766 (eval "$LEX conftest.l") 2>&5
13768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13769 test $ac_status = 0; }
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13771 $as_echo_n "checking lex output file root... " >&6; }
13772 if ${ac_cv_prog_lex_root+:} false; then :
13773 $as_echo_n "(cached) " >&6
13776 if test -f lex.yy.c; then
13777 ac_cv_prog_lex_root=lex.yy
13778 elif test -f lexyy.c; then
13779 ac_cv_prog_lex_root=lexyy
13781 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13785 $as_echo "$ac_cv_prog_lex_root" >&6; }
13786 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13788 if test -z "${LEXLIB+set}"; then
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13790 $as_echo_n "checking lex library... " >&6; }
13791 if ${ac_cv_lib_lex+:} false; then :
13792 $as_echo_n "(cached) " >&6
13796 ac_cv_lib_lex='none needed'
13797 for ac_lib in '' -lfl -ll; do
13798 LIBS="$ac_lib $ac_save_LIBS"
13799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13801 `cat $LEX_OUTPUT_ROOT.c
`
13803 if ac_fn_c_try_link "$LINENO"; then :
13804 ac_cv_lib_lex=$ac_lib
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 test "$ac_cv_lib_lex" != 'none needed' && break
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13814 $as_echo "$ac_cv_lib_lex" >&6; }
13815 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13820 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13821 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
13822 $as_echo_n "(cached) " >&6
13824 # POSIX says lex can declare yytext either as a pointer or an array; the
13825 # default is implementation-dependent. Figure out which it is, since
13826 # not all implementations provide the %pointer and %array declarations.
13827 ac_cv_prog_lex_yytext_pointer=no
13829 LIBS="$LEXLIB $ac_save_LIBS"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13833 #define YYTEXT_POINTER 1
13834 `cat $LEX_OUTPUT_ROOT.c
`
13836 if ac_fn_c_try_link "$LINENO"; then :
13837 ac_cv_prog_lex_yytext_pointer=yes
13839 rm -f core conftest.err conftest.$ac_objext \
13840 conftest$ac_exeext conftest.$ac_ext
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13845 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13846 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13848 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13851 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13855 # Work around a problem with Flex Version 2.5.31 which needs -l flag.
13856 # Since all recent versions of flex support -l, don't check for the
13857 # specific version, but check that at least "--version" is supported.
13858 # We also want to catch LEX=/some/where/flex, so:
13860 *flex) $LEX --version >/dev/null 2>&1 && LEX="$LEX -l" ;;
13864 for ac_func in strerror
13866 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
13867 if test "x$ac_cv_func_strerror" = xyes; then :
13868 cat >>confdefs.h <<_ACEOF
13869 #define HAVE_STRERROR 1
13875 for ac_header in errno.h
13877 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
13878 if test "x$ac_cv_header_errno_h" = xyes; then :
13879 cat >>confdefs.h <<_ACEOF
13880 #define HAVE_ERRNO_H 1
13887 # The cast to long int works around a bug in the HP C Compiler
13888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13889 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
13890 # This bug is HP SR number 8606223364.
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13892 $as_echo_n "checking size of int... " >&6; }
13893 if ${ac_cv_sizeof_int+:} false; then :
13894 $as_echo_n "(cached) " >&6
13896 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13899 if test "$ac_cv_type_int" = yes; then
13900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13901 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
13902 as_fn_error 77 "cannot compute sizeof (int)
13903 See \`config.log
' for more details" "$LINENO" 5; }
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13911 $as_echo "$ac_cv_sizeof_int" >&6; }
13915 cat >>confdefs.h <<_ACEOF
13916 #define SIZEOF_INT $ac_cv_sizeof_int
13920 # The cast to long int works around a bug in the HP C Compiler
13921 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13922 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13923 # This bug is HP SR number 8606223364.
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13925 $as_echo_n "checking size of long... " >&6; }
13926 if ${ac_cv_sizeof_long+:} false
; then :
13927 $as_echo_n "(cached) " >&6
13929 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13932 if test "$ac_cv_type_long" = yes; then
13933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13935 as_fn_error
77 "cannot compute sizeof (long)
13936 See \`config.log' for more details" "$LINENO" 5; }
13938 ac_cv_sizeof_long
=0
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13944 $as_echo "$ac_cv_sizeof_long" >&6; }
13948 cat >>confdefs.h
<<_ACEOF
13949 #define SIZEOF_LONG $ac_cv_sizeof_long
13953 # The cast to long int works around a bug in the HP C Compiler
13954 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13955 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13956 # This bug is HP SR number 8606223364.
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13958 $as_echo_n "checking size of void *... " >&6; }
13959 if ${ac_cv_sizeof_void_p+:} false
; then :
13960 $as_echo_n "(cached) " >&6
13962 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13965 if test "$ac_cv_type_void_p" = yes; then
13966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13968 as_fn_error
77 "cannot compute sizeof (void *)
13969 See \`config.log' for more details" "$LINENO" 5; }
13971 ac_cv_sizeof_void_p
=0
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13977 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13981 cat >>confdefs.h
<<_ACEOF
13982 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13987 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
13988 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
13990 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
13993 for ac_type
in 'unsigned int' 'unsigned long int' \
13994 'unsigned long long int'; do
13995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 $ac_includes_default
14001 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
14002 test_array [0] = 0;
14003 return test_array [0];
14009 if ac_fn_c_try_compile
"$LINENO"; then :
14011 cat >>confdefs.h
<<_ACEOF
14012 #define uintptr_t $ac_type
14017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14018 test -z "$ac_type" && break
14024 ac_fn_c_check_decl
"$LINENO" "isascii" "ac_cv_have_decl_isascii" "#include <ctype.h>
14026 if test "x$ac_cv_have_decl_isascii" = xyes
; then :
14032 cat >>confdefs.h
<<_ACEOF
14033 #define HAVE_DECL_ISASCII $ac_have_decl
14037 ac_config_headers
="$ac_config_headers kpathsea/c-auto.h:c-auto.in"
14040 ac_config_files
="$ac_config_files Makefile"
14043 cat >confcache
<<\_ACEOF
14044 # This file is a shell script that caches the results of configure
14045 # tests run on this system so they can be shared between configure
14046 # scripts and configure runs, see configure's option --config-cache.
14047 # It is not useful on other systems. If it contains results you don't
14048 # want to keep, you may remove or edit it.
14050 # config.status only pays attention to the cache file if you give it
14051 # the --recheck option to rerun configure.
14053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14055 # following values.
14059 # The following way of writing the cache mishandles newlines in values,
14060 # but we know of no workaround that is simple, portable, and efficient.
14061 # So, we kill variables containing newlines.
14062 # Ultrix sh set writes to stderr and can't be redirected directly,
14063 # and sets the high bit in the cache file unless we assign to the vars.
14065 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14066 eval ac_val
=\$
$ac_var
14070 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14074 _ | IFS | as_nl
) ;; #(
14075 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14076 *) { eval $ac_var=; unset $ac_var;} ;;
14082 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14083 *${as_nl}ac_space
=\
*)
14084 # `set' does not quote correctly, so add quotes: double-quote
14085 # substitution turns \\\\ into \\, and sed turns \\ into \.
14088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14091 # `set' quotes correctly as required by POSIX, so do not add quotes.
14092 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14103 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14105 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14106 if test -w "$cache_file"; then
14107 if test "x$cache_file" != "x/dev/null"; then
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14109 $as_echo "$as_me: updating cache $cache_file" >&6;}
14110 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14111 cat confcache
>"$cache_file"
14113 case $cache_file in #(
14115 mv -f confcache
"$cache_file"$$
&&
14116 mv -f "$cache_file"$$
"$cache_file" ;; #(
14118 mv -f confcache
"$cache_file" ;;
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14124 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14129 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14130 # Let make expand exec_prefix.
14131 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14133 DEFS
=-DHAVE_CONFIG_H
14138 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14139 # 1. Remove the extension, and $U if already installed.
14140 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14141 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14142 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14143 # will be set to the directory where LIBOBJS objects are built.
14144 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14145 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14147 LIBOBJS
=$ac_libobjs
14149 LTLIBOBJS
=$ac_ltlibobjs
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14153 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14154 if test -n "$am_sleep_pid"; then
14155 # Hide warnings about reused PIDs.
14156 wait $am_sleep_pid 2>/dev
/null
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14159 $as_echo "done" >&6; }
14160 if test -n "$EXEEXT"; then
14162 am__EXEEXT_FALSE
='#'
14164 am__EXEEXT_TRUE
='#'
14168 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14169 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14172 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14173 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14176 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14177 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14181 : "${CONFIG_STATUS=./config.status}"
14183 ac_clean_files_save
=$ac_clean_files
14184 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14186 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14188 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14190 # Generated by $as_me.
14191 # Run this file to recreate the current configuration.
14192 # Compiler output produced by configure, useful for debugging
14193 # configure, is in config.log if it exists.
14196 ac_cs_recheck=false
14199 SHELL=\${CONFIG_SHELL-$SHELL}
14202 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14203 ## -------------------- ##
14204 ## M4sh Initialization. ##
14205 ## -------------------- ##
14207 # Be more Bourne compatible
14208 DUALCASE
=1; export DUALCASE
# for MKS sh
14209 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14212 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14213 # is contrary to our usage. Disable this feature.
14214 alias -g '${1+"$@"}'='"$@"'
14215 setopt NO_GLOB_SUBST
14217 case `(set -o) 2>/dev/null` in #(
14229 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14230 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14231 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14232 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14233 # Prefer a ksh shell builtin over an external printf program on Solaris,
14234 # but without wasting forks for bash or zsh.
14235 if test -z "$BASH_VERSION$ZSH_VERSION" \
14236 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14237 as_echo='print
-r --'
14238 as_echo_n='print
-rn --'
14239 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14240 as_echo='printf %s
\n'
14241 as_echo_n='printf %s
'
14243 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14244 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14245 as_echo_n='/usr
/ucb
/echo -n'
14247 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14248 as_echo_n_body='eval
14252 expr "X$arg" : "X\\(.*\\)$as_nl";
14253 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14255 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14257 export as_echo_n_body
14258 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14260 export as_echo_body
14261 as_echo='sh
-c $as_echo_body as_echo
'
14264 # The user is always right.
14265 if test "${PATH_SEPARATOR+set}" != set; then
14267 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14268 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14275 # We need space, tab and new line, in precisely that order. Quoting is
14276 # there to prevent editors from complaining about space-tab.
14277 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14278 # splitting by setting IFS to empty value.)
14281 # Find who we are. Look in the path if we contain no directory separator.
14284 *[\\/]* ) as_myself=$0 ;;
14285 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14286 for as_dir in $PATH
14289 test -z "$as_dir" && as_dir=.
14290 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14296 # We did not find ourselves, most probably we were run as `sh COMMAND'
14297 # in which case we are not to be found in the path.
14298 if test "x$as_myself" = x
; then
14301 if test ! -f "$as_myself"; then
14302 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14306 # Unset variables that we do not need and which cause bugs (e.g. in
14307 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14308 # suppresses any "Segmentation fault" message there. '((' could
14309 # trigger a bug in pdksh 5.2.14.
14310 for as_var
in BASH_ENV ENV MAIL MAILPATH
14311 do eval test x\
${$as_var+set} = xset \
14312 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14325 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14328 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14329 # ----------------------------------------
14330 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14331 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14332 # script with STATUS, using 1 if that was 0.
14335 as_status
=$1; test $as_status -eq 0 && as_status
=1
14337 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14338 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14340 $as_echo "$as_me: error: $2" >&2
14341 as_fn_exit
$as_status
14345 # as_fn_set_status STATUS
14346 # -----------------------
14347 # Set $? to STATUS, without forking.
14348 as_fn_set_status
()
14351 } # as_fn_set_status
14353 # as_fn_exit STATUS
14354 # -----------------
14355 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14359 as_fn_set_status
$1
14365 # Portably unset VAR.
14368 { eval $1=; unset $1;}
14370 as_unset
=as_fn_unset
14371 # as_fn_append VAR VALUE
14372 # ----------------------
14373 # Append the text in VALUE to the end of the definition contained in VAR. Take
14374 # advantage of any shell optimizations that allow amortized linear growth over
14375 # repeated appends, instead of the typical quadratic growth present in naive
14377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14378 eval 'as_fn_append ()
14389 # as_fn_arith ARG...
14390 # ------------------
14391 # Perform arithmetic evaluation on the ARGs, and store the result in the
14392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14393 # must be portable across $(()) and expr.
14394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14395 eval 'as_fn_arith ()
14402 as_val
=`expr "$@" || test $? -eq 1`
14407 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14408 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14414 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14415 as_basename
=basename
14420 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14426 as_me
=`$as_basename -- "$0" ||
14427 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14428 X"$0" : 'X\(//\)$' \| \
14429 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14431 sed '/^.*\/\([^/][^/]*\)\/*$/{
14445 # Avoid depending upon Character Ranges.
14446 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14447 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14448 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14449 as_cr_digits
='0123456789'
14450 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14452 ECHO_C
= ECHO_N
= ECHO_T
=
14453 case `echo -n x` in #(((((
14455 case `echo 'xy\c'` in
14456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14465 rm -f conf$$ conf$$.exe conf$$.
file
14466 if test -d conf$$.dir
; then
14467 rm -f conf$$.dir
/conf$$.
file
14470 mkdir conf$$.dir
2>/dev
/null
14472 if (echo >conf$$.
file) 2>/dev
/null
; then
14473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14475 # ... but there are two gotchas:
14476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14478 # In both cases, we have to default to `cp -pR'.
14479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14490 rmdir conf$$.dir
2>/dev
/null
14495 # Create "$as_dir" as a directory, including parents if necessary.
14500 -*) as_dir
=.
/$as_dir;;
14502 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14506 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14507 *) as_qdir
=$as_dir;;
14509 as_dirs
="'$as_qdir' $as_dirs"
14510 as_dir
=`$as_dirname -- "$as_dir" ||
14511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14512 X"$as_dir" : 'X\(//\)[^/]' \| \
14513 X"$as_dir" : 'X\(//\)$' \| \
14514 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14515 $as_echo X"$as_dir" |
14516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14520 /^X\(\/\/\)[^/].*/{
14533 test -d "$as_dir" && break
14535 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14536 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14540 if mkdir
-p .
2>/dev
/null
; then
14541 as_mkdir_p
='mkdir -p "$as_dir"'
14543 test -d .
/-p && rmdir .
/-p
14548 # as_fn_executable_p FILE
14549 # -----------------------
14550 # Test if FILE is an executable regular file.
14551 as_fn_executable_p
()
14553 test -f "$1" && test -x "$1"
14554 } # as_fn_executable_p
14555 as_test_x
='test -x'
14556 as_executable_p
=as_fn_executable_p
14558 # Sed expression to map a string onto a valid CPP name.
14559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14561 # Sed expression to map a string onto a valid variable name.
14562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14566 ## ----------------------------------- ##
14567 ## Main body of $CONFIG_STATUS script. ##
14568 ## ----------------------------------- ##
14570 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14573 # Save the log message, to keep $0 and so on meaningful, and to
14574 # report actual input values of CONFIG_FILES etc. instead of their
14575 # values after options handling.
14577 This file was extended by Web2C Tools $as_me 2017/dev, which was
14578 generated by GNU Autoconf 2.69. Invocation command line was
14580 CONFIG_FILES = $CONFIG_FILES
14581 CONFIG_HEADERS = $CONFIG_HEADERS
14582 CONFIG_LINKS = $CONFIG_LINKS
14583 CONFIG_COMMANDS = $CONFIG_COMMANDS
14586 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14591 case $ac_config_files in *"
14592 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14595 case $ac_config_headers in *"
14596 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14601 # Files that config.status was made for.
14602 config_files="$ac_config_files"
14603 config_headers="$ac_config_headers"
14604 config_commands="$ac_config_commands"
14608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14610 \`$as_me' instantiates files and other configuration actions
14611 from templates according to the current configuration. Unless the files
14612 and actions are specified as TAGs, all are instantiated by default.
14614 Usage: $0 [OPTION]... [TAG]...
14616 -h, --help print this help, then exit
14617 -V, --version print version number and configuration settings, then exit
14618 --config print configuration, then exit
14619 -q, --quiet, --silent
14620 do not print progress messages
14621 -d, --debug don't remove temporary files
14622 --recheck update $as_me by reconfiguring in the same conditions
14623 --file=FILE[:TEMPLATE]
14624 instantiate the configuration file FILE
14625 --header=FILE[:TEMPLATE]
14626 instantiate the configuration header FILE
14628 Configuration files:
14631 Configuration headers:
14634 Configuration commands:
14637 Report bugs to <tex-k@tug.org>."
14640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14641 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14643 Web2C Tools config.status 2017/dev
14644 configured by $0, generated by GNU Autoconf 2.69,
14645 with options \\"\$ac_cs_config\\"
14647 Copyright (C) 2012 Free Software Foundation, Inc.
14648 This config.status script is free software; the Free Software Foundation
14649 gives unlimited permission to copy, distribute and modify it."
14656 test -n "\$AWK" || AWK=awk
14659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14660 # The default lists apply if the user does not specify any file.
14666 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14667 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14671 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14683 # Handling of the options.
14684 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14686 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14687 $as_echo "$ac_cs_version"; exit ;;
14688 --config |
--confi |
--conf |
--con |
--co |
--c )
14689 $as_echo "$ac_cs_config"; exit ;;
14690 --debug |
--debu |
--deb |
--de |
--d |
-d )
14692 --file |
--fil |
--fi |
--f )
14695 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14696 '') as_fn_error $?
"missing file argument" ;;
14698 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14699 ac_need_defaults
=false
;;
14700 --header |
--heade |
--head |
--hea )
14703 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14705 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14706 ac_need_defaults
=false
;;
14708 # Conflict between --help and --header
14709 as_fn_error $?
"ambiguous option: \`$1'
14710 Try \`$0 --help' for more information.";;
14711 --help |
--hel |
-h )
14712 $as_echo "$ac_cs_usage"; exit ;;
14713 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14714 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14717 # This is an error.
14718 -*) as_fn_error $?
"unrecognized option: \`$1'
14719 Try \`$0 --help' for more information." ;;
14721 *) as_fn_append ac_config_targets
" $1"
14722 ac_need_defaults
=false
;;
14728 ac_configure_extra_args
=
14730 if $ac_cs_silent; then
14732 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14737 if \$ac_cs_recheck; then
14738 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14740 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14741 CONFIG_SHELL='$SHELL'
14742 export CONFIG_SHELL
14747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14751 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14752 ## Running $as_me. ##
14758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14762 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14765 # The HP-UX ksh and POSIX shell print the target directory to stdout
14766 # if CDPATH is set.
14767 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14769 sed_quote_subst='$sed_quote_subst'
14770 double_quote_subst='$double_quote_subst'
14771 delay_variable_subst='$delay_variable_subst'
14772 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14773 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14774 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14775 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14776 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14777 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14778 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14779 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14780 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14781 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14782 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14783 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14784 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14785 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14786 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14787 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14788 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14789 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14790 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14791 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14792 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14793 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14794 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14795 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14796 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14797 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14798 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14799 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14800 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14801 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14802 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14803 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14804 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14805 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14806 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14807 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14808 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14809 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14810 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14811 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14812 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14813 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14814 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14815 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14816 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14817 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14818 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14819 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14820 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14821 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14822 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14823 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14824 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14825 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14826 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14827 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14828 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14829 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14830 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14831 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"`'
14832 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14833 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14834 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14835 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14836 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14837 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14838 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14839 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14840 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14841 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14842 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14843 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14844 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14845 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14846 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14847 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14848 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14849 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14850 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14851 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14852 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14853 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14854 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14855 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14856 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14857 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14858 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14859 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14860 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14861 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14862 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14863 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14864 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14865 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14866 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14867 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14868 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14869 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14870 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14871 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14872 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14873 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14874 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14875 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14876 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14877 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14878 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14879 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14880 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14881 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14882 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14883 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14884 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14885 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14886 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14887 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14888 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14889 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14890 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14891 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14892 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14893 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14894 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14895 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14896 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14897 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14898 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14899 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14900 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14901 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14902 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14903 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14904 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14905 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14906 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14907 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14910 LTCFLAGS='$LTCFLAGS'
14911 compiler='$compiler_DEFAULT'
14913 # A function that is used when there is no print builtin or printf.
14914 func_fallback_echo ()
14916 eval 'cat <<_LTECHO_EOF
14921 # Quote evaled strings.
14938 deplibs_check_method \
14942 sharedlib_from_linklib_cmd \
14945 archiver_list_spec \
14951 lt_cv_sys_global_symbol_pipe \
14952 lt_cv_sys_global_symbol_to_cdecl \
14953 lt_cv_sys_global_symbol_to_import \
14954 lt_cv_sys_global_symbol_to_c_name_address \
14955 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14956 lt_cv_nm_interface \
14957 nm_file_list_spec \
14958 lt_cv_truncate_bin \
14959 lt_prog_compiler_no_builtin_flag \
14960 lt_prog_compiler_pic \
14961 lt_prog_compiler_wl \
14962 lt_prog_compiler_static \
14963 lt_cv_prog_compiler_c_o \
14972 export_dynamic_flag_spec \
14973 whole_archive_flag_spec \
14974 compiler_needs_object \
14976 allow_undefined_flag \
14977 no_undefined_flag \
14978 hardcode_libdir_flag_spec \
14979 hardcode_libdir_separator \
14983 variables_saved_for_relink \
14985 library_names_spec \
14987 install_override_mode \
14991 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14992 *[\\\\\\\`\\"\\\$]*)
14993 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14996 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15001 # Double-quote double-evaled strings.
15002 for var in reload_cmds \
15003 old_postinstall_cmds \
15004 old_postuninstall_cmds \
15006 extract_expsyms_cmds \
15007 old_archive_from_new_cmds \
15008 old_archive_from_expsyms_cmds \
15010 archive_expsym_cmds \
15012 module_expsym_cmds \
15013 export_symbols_cmds \
15017 postuninstall_cmds \
15019 sys_lib_search_path_spec \
15020 configure_time_dlsearch_path \
15021 configure_time_lt_sys_library_path; do
15022 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15023 *[\\\\\\\`\\"\\\$]*)
15024 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15027 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15032 ac_aux_dir='$ac_aux_dir'
15034 # See if we are running on zsh, and set the options that allow our
15035 # commands through without removal of \ escapes INIT.
15036 if test -n "\${ZSH_VERSION+set}"; then
15037 setopt NO_GLOB_SUBST
15051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15053 # Handling of arguments.
15054 for ac_config_target
in $ac_config_targets
15056 case $ac_config_target in
15057 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15058 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15059 "kpathsea/c-auto.h") CONFIG_HEADERS
="$CONFIG_HEADERS kpathsea/c-auto.h:c-auto.in" ;;
15060 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15062 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15067 # If the user did not use the arguments to specify the items to instantiate,
15068 # then the envvar interface is used. Set only those that are not.
15069 # We use the long form for the default assignment because of an extremely
15070 # bizarre bug on SunOS 4.1.3.
15071 if $ac_need_defaults; then
15072 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15073 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15074 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15077 # Have a temporary directory for convenience. Make it in the build tree
15078 # simply because there is no reason against having it here, and in addition,
15079 # creating and moving files from /tmp can sometimes cause problems.
15080 # Hook for its removal unless debugging.
15081 # Note that there is a small window in which the directory will not be cleaned:
15082 # after its creation but before its name has been assigned to `$tmp'.
15086 trap 'exit_status=$?
15087 : "${ac_tmp:=$tmp}"
15088 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15090 trap 'as_fn_exit 1' 1 2 13 15
15092 # Create a (secure) tmp directory for tmp files.
15095 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15099 tmp
=.
/conf$$
-$RANDOM
15100 (umask 077 && mkdir
"$tmp")
15101 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15104 # Set up the scripts for CONFIG_FILES section.
15105 # No need to generate them if there are no CONFIG_FILES.
15106 # This happens for instance with `./config.status config.h'.
15107 if test -n "$CONFIG_FILES"; then
15110 ac_cr
=`echo X | tr X '\015'`
15111 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15112 # But we know of no other shell where ac_cr would be empty at this
15113 # point, so we can use a bashism as a fallback.
15114 if test "x$ac_cr" = x
; then
15115 eval ac_cr
=\$
\'\\r
\'
15117 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15118 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15121 ac_cs_awk_cr
=$ac_cr
15124 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15129 echo "cat >conf$$subs.awk <<_ACEOF" &&
15130 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15132 } >conf$$subs.sh ||
15133 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15134 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15136 for ac_last_try in false false false false false :; do
15137 . ./conf$$subs.sh ||
15138 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15140 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15141 if test $ac_delim_n = $ac_delim_num; then
15143 elif $ac_last_try; then
15144 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15146 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15149 rm -f conf$$subs.sh
15151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15152 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15156 s/^/S["/; s
/!.
*/"]=/
15166 s/\(.\{148\}\)..*/\1/
15168 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15173 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15180 s/\(.\{148\}\)..*/\1/
15182 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15186 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15191 ' <conf$$subs.awk | sed '
15196 ' >>$CONFIG_STATUS || ac_write_fail=1
15197 rm -f conf$$subs.awk
15198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15200 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15201 for (key in S) S_is_set[key] = 1
15207 nfields = split(line, field, "@
")
15209 len = length(field[1])
15210 for (i = 2; i < nfields; i++) {
15212 keylen = length(key)
15213 if (S_is_set[key]) {
15215 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15216 len += length(value) + length(field[++i])
15227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15228 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15229 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15232 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15233 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15236 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15237 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15238 # trailing colons and then remove the whole line if VPATH becomes empty
15239 # (actually we leave an empty line to preserve line numbers).
15240 if test "x
$srcdir" = x.; then
15241 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15260 fi # test -n "$CONFIG_FILES"
15262 # Set up the scripts for CONFIG_HEADERS section.
15263 # No need to generate them if there are no CONFIG_HEADERS.
15264 # This happens for instance with `./config.status Makefile'.
15265 if test -n "$CONFIG_HEADERS"; then
15266 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15270 # Transform confdefs.h into an awk script `defines.awk', embedded as
15271 # here-document in config.status, that substitutes the proper values into
15272 # config.h.in to produce config.h.
15274 # Create a delimiter string that does not exist in confdefs.h, to ease
15275 # handling of long lines.
15277 for ac_last_try in false false :; do
15278 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15279 if test -z "$ac_tt"; then
15281 elif $ac_last_try; then
15282 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15284 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15288 # For the awk script, D is an array of macro values keyed by name,
15289 # likewise P contains macro parameters if any. Preserve backslash
15290 # newline sequences.
15292 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15294 s/.\{148\}/&'"$ac_delim"'/g
15297 s/^[ ]*#[ ]*define[ ][ ]*/ /
15304 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15306 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15310 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15311 D["\
1"]=" \
3\\\\\\n
"\\/p
15313 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15318 s/.\{148\}/&'"$ac_delim"'/g
15323 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15326 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15328 ' <confdefs.h | sed '
15329 s/'"$ac_delim"'/"\\\
15330 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15333 for (key in D) D_is_set[key] = 1
15336 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15338 split(line, arg, " ")
15339 if (arg[1] == "#") {
15343 defundef
= substr
(arg
[1], 2)
15346 split(mac1
, mac2
, "(") #)
15348 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15349 if (D_is_set
[macro
]) {
15350 # Preserve the white space surrounding the "#".
15351 print prefix
"define", macro P
[macro
] D
[macro
]
15354 # Replace #undef with comments. This is necessary, for example,
15355 # in the case of _POSIX_SOURCE, which is predefined and required
15356 # on some systems where configure will not decide to define it.
15357 if (defundef
== "undef") {
15358 print
"/*", prefix defundef
, macro
, "*/"
15366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15367 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15368 fi # test -n "$CONFIG_HEADERS"
15371 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15376 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15378 case $ac_mode$ac_tag in
15380 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15381 :[FH
]-) ac_tag
=-:-;;
15382 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15399 -) ac_f
="$ac_tmp/stdin";;
15400 *) # Look for the file first in the build tree, then in the source tree
15401 # (if the path is not absolute). The absolute path cannot be DOS-style,
15402 # because $ac_f cannot contain `:'.
15406 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15408 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15410 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15411 as_fn_append ac_file_inputs
" '$ac_f'"
15414 # Let's still pretend it is `configure' which instantiates (i.e., don't
15415 # use $as_me), people would be surprised to read:
15416 # /* config.h. Generated by config.status. */
15417 configure_input
='Generated from '`
15418 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15420 if test x
"$ac_file" != x-
; then
15421 configure_input
="$ac_file. $configure_input"
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15423 $as_echo "$as_me: creating $ac_file" >&6;}
15425 # Neutralize special characters interpreted by sed in replacement strings.
15426 case $configure_input in #(
15427 *\
&* |
*\|
* |
*\\* )
15428 ac_sed_conf_input
=`$as_echo "$configure_input" |
15429 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15430 *) ac_sed_conf_input
=$configure_input;;
15434 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15435 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15440 ac_dir
=`$as_dirname -- "$ac_file" ||
15441 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15442 X"$ac_file" : 'X\(//\)[^/]' \| \
15443 X"$ac_file" : 'X\(//\)$' \| \
15444 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15445 $as_echo X"$ac_file" |
15446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15450 /^X\(\/\/\)[^/].*/{
15463 as_dir
="$ac_dir"; as_fn_mkdir_p
15467 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15469 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15470 # A ".." for each directory in $ac_dir_suffix.
15471 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15472 case $ac_top_builddir_sub in
15473 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15474 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15477 ac_abs_top_builddir
=$ac_pwd
15478 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15479 # for backward compatibility:
15480 ac_top_builddir
=$ac_top_build_prefix
15483 .
) # We are building in place.
15485 ac_top_srcdir
=$ac_top_builddir_sub
15486 ac_abs_top_srcdir
=$ac_pwd ;;
15487 [\\/]* | ?
:[\\/]* ) # Absolute name.
15488 ac_srcdir
=$srcdir$ac_dir_suffix;
15489 ac_top_srcdir
=$srcdir
15490 ac_abs_top_srcdir
=$srcdir ;;
15491 *) # Relative name.
15492 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15493 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15494 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15496 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15506 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15507 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15509 ac_MKDIR_P
=$MKDIR_P
15511 [\\/$
]* | ?
:[\\/]* ) ;;
15512 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15517 # If the template does not know about datarootdir, expand it.
15518 # FIXME: This hack should be removed a few years after 2.60.
15519 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15530 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15531 *datarootdir
*) ac_datarootdir_seen
=yes;;
15532 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15534 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15537 ac_datarootdir_hack='
15538 s&@datadir@&$datadir&g
15539 s&@docdir@&$docdir&g
15540 s&@infodir@&$infodir&g
15541 s&@localedir@&$localedir&g
15542 s&@mandir@&$mandir&g
15543 s&\\\${datarootdir}&$datarootdir&g' ;;
15547 # Neutralize VPATH when `$srcdir' = `.'.
15548 # Shell code in configure.ac might set extrasub.
15549 # FIXME: do we really want to maintain this feature?
15550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15551 ac_sed_extra="$ac_vpsub
15554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15556 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15557 s|@configure_input@|
$ac_sed_conf_input|
;t t
15558 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15559 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15560 s
&@srcdir@
&$ac_srcdir&;t t
15561 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15562 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15563 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15564 s
&@builddir@
&$ac_builddir&;t t
15565 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15566 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15567 s
&@INSTALL@
&$ac_INSTALL&;t t
15568 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15569 $ac_datarootdir_hack
15571 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15572 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15574 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15575 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15576 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15577 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15579 which seems to be undefined. Please make sure it is defined" >&5
15580 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15581 which seems to be undefined. Please make sure it is defined" >&2;}
15583 rm -f "$ac_tmp/stdin"
15585 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15586 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15588 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15594 if test x"$ac_file" != x-; then
15596 $as_echo "/* $configure_input */" \
15597 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15598 } >"$ac_tmp/config.h" \
15599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15600 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15602 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15605 mv "$ac_tmp/config.h" "$ac_file" \
15606 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15609 $as_echo "/* $configure_input */" \
15610 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15611 || as_fn_error $? "could not create -" "$LINENO" 5
15613 # Compute "$ac_file"'s index
in $config_headers.
15616 for _am_header
in $config_headers :; do
15617 case $_am_header in
15618 $_am_arg |
$_am_arg:* )
15621 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15624 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15625 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15626 X"$_am_arg" : 'X\(//\)[^/]' \| \
15627 X"$_am_arg" : 'X\(//\)$' \| \
15628 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15629 $as_echo X"$_am_arg" |
15630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15634 /^X\(\/\/\)[^/].*/{
15646 s/.*/./; q'`/stamp-h
$_am_stamp_count
15649 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15650 $as_echo "$as_me: executing $ac_file commands" >&6;}
15655 case $ac_file$ac_mode in
15656 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15657 # Older Autoconf quotes --file arguments for eval, but not when files
15658 # are listed without --file. Let's play safe and only enable the eval
15659 # if we detect the quoting.
15660 case $CONFIG_FILES in
15661 *\'*) eval set x
"$CONFIG_FILES" ;;
15662 *) set x
$CONFIG_FILES ;;
15667 # Strip MF so we end up with the name of the file.
15668 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15669 # Check whether this is an Automake generated Makefile or not.
15670 # We used to match only the files named 'Makefile.in', but
15671 # some people rename them; so instead we look at the file content.
15672 # Grep'ing the first line is not enough: some people post-process
15673 # each Makefile.in and add a new line on top of each file to say so.
15674 # Grep'ing the whole file is not good either: AIX grep has a line
15675 # limit of 2048, but all sed's we know have understand at least 4000.
15676 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15677 dirpart
=`$as_dirname -- "$mf" ||
15678 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15679 X"$mf" : 'X\(//\)[^/]' \| \
15680 X"$mf" : 'X\(//\)$' \| \
15681 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15687 /^X\(\/\/\)[^/].*/{
15703 # Extract the definition of DEPDIR, am__include, and am__quote
15704 # from the Makefile without running 'make'.
15705 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15706 test -z "$DEPDIR" && continue
15707 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15708 test -z "$am__include" && continue
15709 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15710 # Find all dependency output files, they are included files with
15711 # $(DEPDIR) in their names. We invoke sed twice because it is the
15712 # simplest approach to changing $(DEPDIR) to its actual value in the
15714 for file in `sed -n "
15715 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15716 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15717 # Make sure the directory exists.
15718 test -f "$dirpart/$file" && continue
15719 fdir
=`$as_dirname -- "$file" ||
15720 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15721 X"$file" : 'X\(//\)[^/]' \| \
15722 X"$file" : 'X\(//\)$' \| \
15723 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15724 $as_echo X"$file" |
15725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15729 /^X\(\/\/\)[^/].*/{
15742 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15743 # echo "creating $dirpart/$file"
15744 echo '# dummy' > "$dirpart/$file"
15751 # See if we are running on zsh, and set the options that allow our
15752 # commands through without removal of \ escapes.
15753 if test -n "${ZSH_VERSION+set}"; then
15754 setopt NO_GLOB_SUBST
15758 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15761 cat <<_LT_EOF >> "$cfgfile"
15763 # Generated automatically by $as_me ($PACKAGE) $VERSION
15764 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15765 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15767 # Provide generalized library-building support services.
15768 # Written by Gordon Matzigkeit, 1996
15770 # Copyright (C) 2014 Free Software Foundation, Inc.
15771 # This is free software; see the source for copying conditions. There is NO
15772 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15774 # GNU Libtool is free software; you can redistribute it and/or modify
15775 # it under the terms of the GNU General Public License as published by
15776 # the Free Software Foundation; either version 2 of of the License, or
15777 # (at your option) any later version.
15779 # As a special exception to the GNU General Public License, if you
15780 # distribute this file as part of a program or library that is built
15781 # using GNU Libtool, you may include this file under the same
15782 # distribution terms that you use for the rest of that program.
15784 # GNU Libtool is distributed in the hope that it will be useful, but
15785 # WITHOUT ANY WARRANTY; without even the implied warranty of
15786 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15787 # GNU General Public License for more details.
15789 # You should have received a copy of the GNU General Public License
15790 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15793 # The names of the tagged configurations supported by this script.
15796 # Configured defaults for sys_lib_dlsearch_path munging.
15797 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15799 # ### BEGIN LIBTOOL CONFIG
15801 # Which release of libtool.m4 was used?
15802 macro_version=$macro_version
15803 macro_revision=$macro_revision
15805 # Assembler program.
15808 # DLL creation program.
15809 DLLTOOL=$lt_DLLTOOL
15811 # Object dumper program.
15812 OBJDUMP=$lt_OBJDUMP
15814 # Whether or not to build shared libraries.
15815 build_libtool_libs=$enable_shared
15817 # Whether or not to build static libraries.
15818 build_old_libs=$enable_static
15820 # What type of objects to build.
15823 # Whether or not to optimize for fast installation.
15824 fast_install=$enable_fast_install
15826 # Shared archive member basename,for filename based shared library versioning on AIX.
15827 shared_archive_member_spec=$shared_archive_member_spec
15829 # Shell to use when invoking shell scripts.
15832 # An echo program that protects backslashes.
15835 # The PATH separator for the build system.
15836 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15839 host_alias=$host_alias
15843 # The build system.
15844 build_alias=$build_alias
15848 # A sed program that does not truncate output.
15851 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15852 Xsed="\$SED -e 1s/^X//"
15854 # A grep program that handles long lines.
15860 # A literal string matcher.
15863 # A BSD- or MS-compatible name lister.
15866 # Whether we need soft or hard links.
15869 # What is the maximum length of a command?
15870 max_cmd_len=$max_cmd_len
15872 # Object file suffix (normally "o").
15875 # Executable file suffix (normally "").
15878 # whether the shell understands "unset".
15881 # turn spaces into newlines.
15884 # turn newlines into spaces.
15887 # convert \$build file names to \$host format.
15888 to_host_file_cmd=$lt_cv_to_host_file_cmd
15890 # convert \$build files to toolchain format.
15891 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15893 # Method to check whether dependent libraries are shared objects.
15894 deplibs_check_method=$lt_deplibs_check_method
15896 # Command to use when deplibs_check_method = "file_magic".
15897 file_magic_cmd=$lt_file_magic_cmd
15899 # How to find potential files when deplibs_check_method = "file_magic".
15900 file_magic_glob=$lt_file_magic_glob
15902 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15903 want_nocaseglob=$lt_want_nocaseglob
15905 # Command to associate shared and link libraries.
15906 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15911 # Flags to create an archive.
15912 AR_FLAGS=$lt_AR_FLAGS
15914 # How to feed a file listing to the archiver.
15915 archiver_list_spec=$lt_archiver_list_spec
15917 # A symbol stripping program.
15920 # Commands used to install an old-style archive.
15922 old_postinstall_cmds=$lt_old_postinstall_cmds
15923 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15925 # Whether to use a lock for old archive extraction.
15926 lock_old_archive_extraction=$lock_old_archive_extraction
15931 # LTCC compiler flags.
15932 LTCFLAGS=$lt_CFLAGS
15934 # Take the output of nm and produce a listing of raw symbols and C names.
15935 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15937 # Transform the output of nm in a proper C declaration.
15938 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15940 # Transform the output of nm into a list of symbols to manually relocate.
15941 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15943 # Transform the output of nm in a C name address pair.
15944 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15946 # Transform the output of nm in a C name address pair when lib prefix is needed.
15947 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15949 # The name lister interface.
15950 nm_interface=$lt_lt_cv_nm_interface
15952 # Specify filename containing input files for \$NM.
15953 nm_file_list_spec=$lt_nm_file_list_spec
15955 # The root where to search for dependent libraries,and where our libraries should be installed.
15956 lt_sysroot=$lt_sysroot
15958 # Command to truncate a binary pipe.
15959 lt_truncate_bin=$lt_lt_cv_truncate_bin
15961 # The name of the directory that contains temporary libtool files.
15964 # Used to examine libraries when file_magic_cmd begins with "file".
15965 MAGIC_CMD=$MAGIC_CMD
15967 # Must we lock files when doing compilation?
15968 need_locks=$lt_need_locks
15971 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15973 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15974 DSYMUTIL=$lt_DSYMUTIL
15976 # Tool to change global to local symbols on Mac OS X.
15979 # Tool to manipulate fat objects and archives on Mac OS X.
15982 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15985 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15986 OTOOL64=$lt_OTOOL64
15988 # Old archive suffix (normally "a").
15991 # Shared library suffix (normally ".so").
15992 shrext_cmds=$lt_shrext_cmds
15994 # The commands to extract the exported symbol list from a shared archive.
15995 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15997 # Variables whose values should be saved in libtool wrapper scripts and
15998 # restored at link time.
15999 variables_saved_for_relink=$lt_variables_saved_for_relink
16001 # Do we need the "lib" prefix for modules?
16002 need_lib_prefix=$need_lib_prefix
16004 # Do we need a version for libraries?
16005 need_version=$need_version
16007 # Library versioning type.
16008 version_type=$version_type
16010 # Shared library runtime path variable.
16011 runpath_var=$runpath_var
16013 # Shared library path variable.
16014 shlibpath_var=$shlibpath_var
16016 # Is shlibpath searched before the hard-coded library search path?
16017 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16019 # Format of library name prefix.
16020 libname_spec=$lt_libname_spec
16022 # List of archive names. First name is the real one, the rest are links.
16023 # The last name is the one that the linker finds with -lNAME
16024 library_names_spec=$lt_library_names_spec
16026 # The coded name of the library, if different from the real name.
16027 soname_spec=$lt_soname_spec
16029 # Permission mode override for installation of shared libraries.
16030 install_override_mode=$lt_install_override_mode
16032 # Command to use after installation of a shared archive.
16033 postinstall_cmds=$lt_postinstall_cmds
16035 # Command to use after uninstallation of a shared archive.
16036 postuninstall_cmds=$lt_postuninstall_cmds
16038 # Commands used to finish a libtool library installation in a directory.
16039 finish_cmds=$lt_finish_cmds
16041 # As "finish_cmds", except a single script fragment to be evaled but
16043 finish_eval=$lt_finish_eval
16045 # Whether we should hardcode library paths into libraries.
16046 hardcode_into_libs=$hardcode_into_libs
16048 # Compile-time system search path for libraries.
16049 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16051 # Detected run-time system search path for libraries.
16052 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16054 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16055 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16057 # Whether dlopen is supported.
16058 dlopen_support=$enable_dlopen
16060 # Whether dlopen of programs is supported.
16061 dlopen_self=$enable_dlopen_self
16063 # Whether dlopen of statically linked programs is supported.
16064 dlopen_self_static=$enable_dlopen_self_static
16066 # Commands to strip libraries.
16067 old_striplib=$lt_old_striplib
16068 striplib=$lt_striplib
16071 # The linker used to build libraries.
16074 # How to create reloadable object files.
16075 reload_flag=$lt_reload_flag
16076 reload_cmds=$lt_reload_cmds
16078 # Commands used to build an old-style archive.
16079 old_archive_cmds=$lt_old_archive_cmds
16081 # A language specific compiler.
16084 # Is the compiler the GNU compiler?
16087 # Compiler flag to turn off builtin functions.
16088 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16090 # Additional compiler flags for building library objects.
16091 pic_flag=$lt_lt_prog_compiler_pic
16093 # How to pass a linker flag through the compiler.
16094 wl=$lt_lt_prog_compiler_wl
16096 # Compiler flag to prevent dynamic linking.
16097 link_static_flag=$lt_lt_prog_compiler_static
16099 # Does compiler simultaneously support -c and -o options?
16100 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16102 # Whether or not to add -lc for building shared libraries.
16103 build_libtool_need_lc=$archive_cmds_need_lc
16105 # Whether or not to disallow shared libs when runtime libs are static.
16106 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16108 # Compiler flag to allow reflexive dlopens.
16109 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16111 # Compiler flag to generate shared objects directly from archives.
16112 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16114 # Whether the compiler copes with passing no objects directly.
16115 compiler_needs_object=$lt_compiler_needs_object
16117 # Create an old-style archive from a shared archive.
16118 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16120 # Create a temporary old-style archive to link instead of a shared archive.
16121 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16123 # Commands used to build a shared archive.
16124 archive_cmds=$lt_archive_cmds
16125 archive_expsym_cmds=$lt_archive_expsym_cmds
16127 # Commands used to build a loadable module if different from building
16128 # a shared archive.
16129 module_cmds=$lt_module_cmds
16130 module_expsym_cmds=$lt_module_expsym_cmds
16132 # Whether we are building with GNU ld or not.
16133 with_gnu_ld=$lt_with_gnu_ld
16135 # Flag that allows shared libraries with undefined symbols to be built.
16136 allow_undefined_flag=$lt_allow_undefined_flag
16138 # Flag that enforces no undefined symbols.
16139 no_undefined_flag=$lt_no_undefined_flag
16141 # Flag to hardcode \$libdir into a binary during linking.
16142 # This must work even if \$libdir does not exist
16143 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16145 # Whether we need a single "-rpath" flag with a separated argument.
16146 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16148 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16149 # DIR into the resulting binary.
16150 hardcode_direct=$hardcode_direct
16152 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16153 # DIR into the resulting binary and the resulting library dependency is
16154 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16155 # library is relocated.
16156 hardcode_direct_absolute=$hardcode_direct_absolute
16158 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16159 # into the resulting binary.
16160 hardcode_minus_L=$hardcode_minus_L
16162 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16163 # into the resulting binary.
16164 hardcode_shlibpath_var=$hardcode_shlibpath_var
16166 # Set to "yes" if building a shared library automatically hardcodes DIR
16167 # into the library and all subsequent libraries and executables linked
16169 hardcode_automatic=$hardcode_automatic
16171 # Set to yes if linker adds runtime paths of dependent libraries
16172 # to runtime path list.
16173 inherit_rpath=$inherit_rpath
16175 # Whether libtool must link a program against all its dependency libraries.
16176 link_all_deplibs=$link_all_deplibs
16178 # Set to "yes" if exported symbols are required.
16179 always_export_symbols=$always_export_symbols
16181 # The commands to list exported symbols.
16182 export_symbols_cmds=$lt_export_symbols_cmds
16184 # Symbols that should not be listed in the preloaded symbols.
16185 exclude_expsyms=$lt_exclude_expsyms
16187 # Symbols that must always be exported.
16188 include_expsyms=$lt_include_expsyms
16190 # Commands necessary for linking programs (against libraries) with templates.
16191 prelink_cmds=$lt_prelink_cmds
16193 # Commands necessary for finishing linking programs.
16194 postlink_cmds=$lt_postlink_cmds
16196 # Specify filename containing input files.
16197 file_list_spec=$lt_file_list_spec
16199 # How to hardcode a shared library path into an executable.
16200 hardcode_action=$hardcode_action
16202 # ### END LIBTOOL CONFIG
16206 cat <<'_LT_EOF' >> "$cfgfile"
16208 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16210 # func_munge_path_list VARIABLE PATH
16211 # -----------------------------------
16212 # VARIABLE is name of variable containing _space_ separated list of
16213 # directories to be munged by the contents of PATH, which is string
16216 # string "DIR[ DIR]" will be prepended to VARIABLE
16218 # string "DIR[ DIR]" will be appended to VARIABLE
16219 # "DIRP[:DIRP]::[DIRA:]DIRA"
16220 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16221 # "DIRA[ DIRA]" will be appended to VARIABLE
16223 # VARIABLE will be replaced by "DIR[ DIR]"
16224 func_munge_path_list ()
16230 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16233 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16236 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16237 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16240 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16246 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16247 func_cc_basename ()
16249 for cc_temp in $*""; do
16251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16257 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16261 # ### END FUNCTIONS SHARED WITH CONFIGURE
16267 cat <<\_LT_EOF
>> "$cfgfile"
16268 # AIX sometimes has problems with the GCC collect2 program. For some
16269 # reason, if we set the COLLECT_NAMES environment variable, the problems
16270 # vanish in a puff of smoke.
16271 if test set != "${COLLECT_NAMES+set}"; then
16273 export COLLECT_NAMES
16280 ltmain
=$ac_aux_dir/ltmain.sh
16283 # We use sed instead of cat because bash on DJGPP gets confused if
16284 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16285 # text mode, it properly converts lines to CR/LF. This bash problem
16286 # is reportedly fixed, but why not run on old versions too?
16287 sed '$q' "$ltmain" >> "$cfgfile" \
16288 ||
(rm -f "$cfgfile"; exit 1)
16290 mv -f "$cfgfile" "$ofile" ||
16291 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16302 ac_clean_files
=$ac_clean_files_save
16304 test $ac_write_fail = 0 ||
16305 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16308 # configure is writing to config.log, and then calls config.status.
16309 # config.status does its own redirection, appending to config.log.
16310 # Unfortunately, on DOS this fails, as config.log is still kept open
16311 # by configure, so config.status won't be able to write to it; its
16312 # output is simply discarded. So we exec the FD to /dev/null,
16313 # effectively closing config.log, so it can be properly (re)opened and
16314 # appended to by config.status. When coming back to configure, we
16315 # need to make the FD available again.
16316 if test "$no_create" != yes; then
16318 ac_config_status_args
=
16319 test "$silent" = yes &&
16320 ac_config_status_args
="$ac_config_status_args --quiet"
16322 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16324 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16325 # would make configure fail if this is the last instruction.
16326 $ac_cs_success || as_fn_exit
1
16328 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16330 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}