2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for lua52 (TeX Live) 5.2.4.
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
='lua52 (TeX Live)'
592 PACKAGE_TARNAME
='lua52--tex-live-'
593 PACKAGE_VERSION
='5.2.4'
594 PACKAGE_STRING
='lua52 (TeX Live) 5.2.4'
595 PACKAGE_BUGREPORT
='tex-k@tug.org'
598 ac_unique_file
="lua52-src/src/lua.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
696 MAINTAINER_MODE_FALSE
710 INSTALL_STRIP_PROGRAM
752 program_transform_name
765 enable_option_checking
767 enable_maintainer_mode
768 enable_dependency_tracking
769 enable_compiler_warnings
780 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 ac_unrecognized_opts
=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error $?
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error $?
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=\
$ac_optarg ;;
937 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
938 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
939 |
--exec |
--exe |
--ex)
940 ac_prev
=exec_prefix
;;
941 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
942 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
943 |
--exec=* |
--exe=* |
--ex=*)
944 exec_prefix
=$ac_optarg ;;
946 -gas |
--gas |
--ga |
--g)
947 # Obsolete; use --with-gas.
950 -help |
--help |
--hel |
--he |
-h)
952 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
953 ac_init_help
=recursive
;;
954 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
955 ac_init_help
=short
;;
957 -host |
--host |
--hos |
--ho)
958 ac_prev
=host_alias
;;
959 -host=* |
--host=* |
--hos=* |
--ho=*)
960 host_alias
=$ac_optarg ;;
962 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
964 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
966 htmldir
=$ac_optarg ;;
968 -includedir |
--includedir |
--includedi |
--included |
--include \
969 |
--includ |
--inclu |
--incl |
--inc)
970 ac_prev
=includedir
;;
971 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
972 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
973 includedir
=$ac_optarg ;;
975 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
977 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
978 infodir
=$ac_optarg ;;
980 -libdir |
--libdir |
--libdi |
--libd)
982 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
985 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
986 |
--libexe |
--libex |
--libe)
987 ac_prev
=libexecdir
;;
988 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
989 |
--libexe=* |
--libex=* |
--libe=*)
990 libexecdir
=$ac_optarg ;;
992 -localedir |
--localedir |
--localedi |
--localed |
--locale)
994 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
995 localedir
=$ac_optarg ;;
997 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
998 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
999 ac_prev
=localstatedir
;;
1000 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1001 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1002 localstatedir
=$ac_optarg ;;
1004 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1006 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1007 mandir
=$ac_optarg ;;
1009 -nfp |
--nfp |
--nf)
1010 # Obsolete; use --without-fp.
1013 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1014 |
--no-cr |
--no-c |
-n)
1017 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1018 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1021 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1022 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1023 |
--oldin |
--oldi |
--old |
--ol |
--o)
1024 ac_prev
=oldincludedir
;;
1025 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1026 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1027 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1028 oldincludedir
=$ac_optarg ;;
1030 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1032 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1033 prefix
=$ac_optarg ;;
1035 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1036 |
--program-pre |
--program-pr |
--program-p)
1037 ac_prev
=program_prefix
;;
1038 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1039 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1040 program_prefix
=$ac_optarg ;;
1042 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1043 |
--program-suf |
--program-su |
--program-s)
1044 ac_prev
=program_suffix
;;
1045 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1046 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1047 program_suffix
=$ac_optarg ;;
1049 -program-transform-name |
--program-transform-name \
1050 |
--program-transform-nam |
--program-transform-na \
1051 |
--program-transform-n |
--program-transform- \
1052 |
--program-transform |
--program-transfor \
1053 |
--program-transfo |
--program-transf \
1054 |
--program-trans |
--program-tran \
1055 |
--progr-tra |
--program-tr |
--program-t)
1056 ac_prev
=program_transform_name
;;
1057 -program-transform-name=* |
--program-transform-name=* \
1058 |
--program-transform-nam=* |
--program-transform-na=* \
1059 |
--program-transform-n=* |
--program-transform-=* \
1060 |
--program-transform=* |
--program-transfor=* \
1061 |
--program-transfo=* |
--program-transf=* \
1062 |
--program-trans=* |
--program-tran=* \
1063 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1064 program_transform_name
=$ac_optarg ;;
1066 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1068 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1069 pdfdir
=$ac_optarg ;;
1071 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1073 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1077 |
-silent |
--silent |
--silen |
--sile |
--sil)
1080 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1082 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1084 sbindir
=$ac_optarg ;;
1086 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1087 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1088 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1090 ac_prev
=sharedstatedir
;;
1091 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1092 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1093 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1095 sharedstatedir
=$ac_optarg ;;
1097 -site |
--site |
--sit)
1099 -site=* |
--site=* |
--sit=*)
1102 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1104 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1105 srcdir
=$ac_optarg ;;
1107 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1108 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1109 ac_prev
=sysconfdir
;;
1110 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1111 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1112 sysconfdir
=$ac_optarg ;;
1114 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1115 ac_prev
=target_alias
;;
1116 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1117 target_alias
=$ac_optarg ;;
1119 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1122 -version |
--version |
--versio |
--versi |
--vers |
-V)
1123 ac_init_version
=: ;;
1126 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error $?
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=\
$ac_optarg ;;
1141 -without-* |
--without-*)
1142 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1145 as_fn_error $?
"invalid package name: $ac_useropt"
1146 ac_useropt_orig
=$ac_useropt
1147 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep
=', ';;
1155 eval with_
$ac_useropt=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information"
1180 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1184 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error $?
"missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1208 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213 # Check all directory arguments for consistency.
1214 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val
=\$
$ac_var
1220 # Remove trailing slashes.
1223 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\
$ac_val;;
1226 # Be sure to have absolute directory names.
1228 [\\/$
]* | ?
:[\\/]* ) continue;;
1229 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1231 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1239 target
=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x
; then
1243 if test "x$build_alias" = x
; then
1244 cross_compiling
=maybe
1245 elif test "x$build_alias" != "x$host_alias"; then
1251 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1253 test "$silent" = yes && exec 6>/dev
/null
1256 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di
=`ls -di .` &&
1258 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error $?
"working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error $?
"pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted
=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir
=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted
=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1300 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1314 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 for ac_var
in $ac_precious_vars; do
1317 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1319 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1330 \`configure' configures lua52 (TeX Live) 5.2.4 to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking ...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root
1379 [DATAROOTDIR/doc/lua52--tex-live-]
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 lua52 (TeX Live) 5.2.4:";;
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.
1452 Use these variables to override the choices made by `configure' or to
help
1453 it to
find libraries and programs with nonstandard names
/locations.
1455 Report bugs to
<tex-k@tug.org
>.
1460 if test "$ac_init_help" = "recursive"; then
1461 # If there are subdirs, report their specific --help.
1462 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1463 test -d "$ac_dir" ||
1464 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1469 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1471 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1472 # A ".." for each directory in $ac_dir_suffix.
1473 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1474 case $ac_top_builddir_sub in
1475 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1476 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1479 ac_abs_top_builddir
=$ac_pwd
1480 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1481 # for backward compatibility:
1482 ac_top_builddir
=$ac_top_build_prefix
1485 .
) # We are building in place.
1487 ac_top_srcdir
=$ac_top_builddir_sub
1488 ac_abs_top_srcdir
=$ac_pwd ;;
1489 [\\/]* | ?
:[\\/]* ) # Absolute name.
1490 ac_srcdir
=$srcdir$ac_dir_suffix;
1491 ac_top_srcdir
=$srcdir
1492 ac_abs_top_srcdir
=$srcdir ;;
1494 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1496 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1498 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1500 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1501 # Check for guested configure.
1502 if test -f "$ac_srcdir/configure.gnu"; then
1504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505 elif test -f "$ac_srcdir/configure"; then
1507 $SHELL "$ac_srcdir/configure" --help=recursive
1509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1511 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1515 test -n "$ac_init_help" && exit $ac_status
1516 if $ac_init_version; then
1518 lua52
(TeX Live
) configure
5.2.4
1519 generated by GNU Autoconf
2.69
1521 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1522 This configure
script is free software
; the Free Software Foundation
1523 gives unlimited permission to copy
, distribute and modify it.
1528 ## ------------------------ ##
1529 ## Autoconf initialization. ##
1530 ## ------------------------ ##
1532 # ac_fn_c_try_compile LINENO
1533 # --------------------------
1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1535 ac_fn_c_try_compile
()
1537 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1538 rm -f conftest.
$ac_objext
1539 if { { ac_try
="$ac_compile"
1541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1542 *) ac_try_echo=$ac_try;;
1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_compile") 2>conftest.err
1548 if test -s conftest.err; then
1549 grep -v '^ *+' conftest.err >conftest.er1
1550 cat conftest.er1 >&5
1551 mv -f conftest.er1 conftest.err
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } && {
1555 test -z "$ac_c_werror_flag" ||
1556 test ! -s conftest.err
1557 } && test -s conftest.$ac_objext; then :
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.$ac_ext >&5
1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566 as_fn_set_status $ac_retval
1568 } # ac_fn_c_try_compile
1570 # ac_fn_c_try_link LINENO
1571 # -----------------------
1572 # Try to link conftest.$ac_ext, and return whether this succeeded.
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 rm -f conftest.$ac_objext conftest$ac_exeext
1577 if { { ac_try="$ac_link"
1579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1580 *) ac_try_echo
=$ac_try;;
1582 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583 $as_echo "$ac_try_echo"; } >&5
1584 (eval "$ac_link") 2>conftest.err
1586 if test -s conftest.err
; then
1587 grep -v '^ *+' conftest.err
>conftest.er1
1588 cat conftest.er1
>&5
1589 mv -f conftest.er1 conftest.err
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && {
1593 test -z "$ac_c_werror_flag" ||
1594 test ! -s conftest.err
1595 } && test -s conftest
$ac_exeext && {
1596 test "$cross_compiling" = yes ||
1597 test -x conftest
$ac_exeext
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.
$ac_ext >&5
1606 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1607 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1608 # interfere with the next link command; also delete a directory that is
1609 # left behind by Apple's compiler. We do this before executing the actions.
1610 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 as_fn_set_status
$ac_retval
1614 } # ac_fn_c_try_link
1616 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1617 # -------------------------------------------------------
1618 # Tests whether HEADER exists and can be compiled using the include files in
1619 # INCLUDES, setting the cache variable VAR accordingly.
1620 ac_fn_c_check_header_compile
()
1622 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if eval \
${$3+:} false
; then :
1626 $as_echo_n "(cached) " >&6
1628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1633 if ac_fn_c_try_compile
"$LINENO"; then :
1638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642 $as_echo "$ac_res" >&6; }
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 } # ac_fn_c_check_header_compile
1647 # ac_fn_c_try_cpp LINENO
1648 # ----------------------
1649 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1653 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } > conftest.i && {
1669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1684 # ac_fn_c_try_run LINENO
1685 # ----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1687 # that executables *can* be run.
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 if { { ac_try="$ac_link"
1693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1694 *) ac_try_echo
=$ac_try;;
1696 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_link") 2>&5
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1702 { { case "(($ac_try" in
1703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_try") 2>&5
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; }; }; then :
1714 $as_echo "$as_me: program exited with status $ac_status" >&5
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1718 ac_retval=$ac_status
1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 as_fn_set_status $ac_retval
1726 # ac_fn_c_check_func LINENO FUNC VAR
1727 # ----------------------------------
1728 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1729 ac_fn_c_check_func ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1739 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1741 #define $2 innocuous_$2
1743 /* System header to define __stub macros and hopefully few prototypes,
1744 which can conflict with char $2 (); below.
1745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1746 <limits.h> exists even on freestanding compilers. */
1749 # include <limits.h>
1751 # include <assert.h>
1756 /* Override any GCC internal prototype to avoid an error.
1757 Use char because int might match the return type of a GCC
1758 builtin and then its argument prototype would still apply. */
1763 /* The GNU C library defines this for functions which it implements
1764 to always fail with ENOSYS. Some functions are actually named
1765 something starting with __ and the normal name is an alias. */
1766 #if defined __stub_$2 || defined __stub___$2
1778 if ac_fn_c_try_link "$LINENO"; then :
1783 rm -f core conftest.err conftest.$ac_objext \
1784 conftest$ac_exeext conftest.$ac_ext
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 } # ac_fn_c_check_func
1793 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1794 # --------------------------------------------
1795 # Tries to find the compile-time value of EXPR in a program that includes
1796 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1798 ac_fn_c_compute_int ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 if test "$cross_compiling" = yes; then
1802 # Depending upon the size, compute the lo and hi bounds.
1803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1809 static int test_array [1 - 2 * !(($2) >= 0)];
1811 return test_array [0];
1817 if ac_fn_c_try_compile "$LINENO"; then :
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1826 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1828 return test_array [0];
1834 if ac_fn_c_try_compile "$LINENO"; then :
1835 ac_hi=$ac_mid; break
1837 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1838 if test $ac_lo -le $ac_mid; then
1842 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1853 static int test_array [1 - 2 * !(($2) < 0)];
1855 return test_array [0];
1861 if ac_fn_c_try_compile "$LINENO"; then :
1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1870 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1872 return test_array [0];
1878 if ac_fn_c_try_compile "$LINENO"; then :
1879 ac_lo=$ac_mid; break
1881 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1882 if test $ac_mid -le $ac_hi; then
1886 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896 # Binary search between lo and hi bounds.
1897 while test "x$ac_lo" != "x$ac_hi"; do
1898 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1905 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1907 return test_array [0];
1913 if ac_fn_c_try_compile "$LINENO"; then :
1916 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1928 static long int longval () { return $2; }
1929 static unsigned long int ulongval () { return $2; }
1936 FILE *f = fopen ("conftest.val", "w");
1941 long int i = longval ();
1944 fprintf (f, "%ld", i);
1948 unsigned long int i = ulongval ();
1951 fprintf (f, "%lu", i);
1953 /* Do not output a trailing newline, as this causes \r\n confusion
1954 on some platforms. */
1955 return ferror (f) || fclose (f) != 0;
1961 if ac_fn_c_try_run "$LINENO"; then :
1962 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1967 conftest.$ac_objext conftest.beam conftest.$ac_ext
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_c_compute_int
1975 cat >config.log <<_ACEOF
1976 This file contains any messages produced by compilers while
1977 running configure, to aid debugging if configure makes a mistake.
1979 It was created by lua52 (TeX Live) $as_me 5.2.4, which was
1980 generated by GNU Autoconf 2.69. Invocation command line was
1992 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1993 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1994 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1995 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1996 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1998 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1999 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2001 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2002 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2003 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2004 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2005 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2006 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2007 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015 test -z "$as_dir" && as_dir=.
2016 $as_echo "PATH: $as_dir"
2032 # Keep a trace of the command line.
2033 # Strip out --no-create and --no-recursion so they do not pile up.
2034 # Strip out --silent because we don't want to record it for future runs.
2035 # Also quote any args containing shell meta-characters.
2036 # Make two passes to allow for proper duplicate-argument suppression.
2040 ac_must_keep_next=false
2046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2048 | -silent | --silent | --silen | --sile | --sil)
2051 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2054 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2056 as_fn_append ac_configure_args1 " '$ac_arg'"
2057 if test $ac_must_keep_next = true; then
2058 ac_must_keep_next=false # Got value, back to normal.
2061 *=* | --config-cache | -C | -disable-* | --disable-* \
2062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2064 | -with-* | --with-* | -without-* | --without-* | --x)
2065 case "$ac_configure_args0 " in
2066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2069 -* ) ac_must_keep_next=true ;;
2072 as_fn_append ac_configure_args " '$ac_arg'"
2077 { ac_configure_args0=; unset ac_configure_args0;}
2078 { ac_configure_args1=; unset ac_configure_args1;}
2080 # When interrupted or exit'd, cleanup temporary files, and complete
2081 # config.log. We remove comments because anyway the quotes in there
2082 # would cause problems or look ugly.
2083 # WARNING: Use '\'' to represent an apostrophe within the trap.
2084 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2085 trap 'exit_status=$?
2086 # Save into config.log some information that might help in debugging.
2090 $as_echo "## ---------------- ##
2091 ## Cache variables. ##
2092 ## ---------------- ##"
2094 # The following way of writing the cache mishandles newlines in values,
2096 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2097 eval ac_val=\$$ac_var
2101 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2105 _ | IFS | as_nl) ;; #(
2106 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2107 *) { eval $ac_var=; unset $ac_var;} ;;
2112 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2113 *${as_nl}ac_space=\ *)
2115 "s/'\''/'\''\\\\'\'''\''/g;
2116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2119 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2126 $as_echo "## ----------------- ##
2127 ## Output variables. ##
2128 ## ----------------- ##"
2130 for ac_var in $ac_subst_vars
2132 eval ac_val=\$$ac_var
2134 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2136 $as_echo "$ac_var='\''$ac_val'\''"
2140 if test -n "$ac_subst_files"; then
2141 $as_echo "## ------------------- ##
2142 ## File substitutions. ##
2143 ## ------------------- ##"
2145 for ac_var in $ac_subst_files
2147 eval ac_val=\$$ac_var
2149 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2151 $as_echo "$ac_var='\''$ac_val'\''"
2156 if test -s confdefs.h; then
2157 $as_echo "## ----------- ##
2164 test "$ac_signal" != 0 &&
2165 $as_echo "$as_me: caught signal $ac_signal"
2166 $as_echo "$as_me: exit $exit_status"
2168 rm -f core *.core core.conftest.* &&
2169 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2172 for ac_signal in 1 2 13 15; do
2173 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2178 rm -f -r conftest* confdefs.h
2180 $as_echo "/* confdefs.h */" > confdefs.h
2182 # Predefined preprocessor variables.
2184 cat >>confdefs.h <<_ACEOF
2185 #define PACKAGE_NAME "$PACKAGE_NAME"
2188 cat >>confdefs.h <<_ACEOF
2189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2192 cat >>confdefs.h <<_ACEOF
2193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2196 cat >>confdefs.h <<_ACEOF
2197 #define PACKAGE_STRING "$PACKAGE_STRING"
2200 cat >>confdefs.h <<_ACEOF
2201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_URL "$PACKAGE_URL"
2209 # Let the site file select an alternate cache file if it wants to.
2210 # Prefer an explicitly selected file to automatically selected ones.
2213 if test -n "$CONFIG_SITE"; then
2214 # We do not want a PATH search for config.site.
2215 case $CONFIG_SITE in #((
2216 -*) ac_site_file1=./$CONFIG_SITE;;
2217 */*) ac_site_file1=$CONFIG_SITE;;
2218 *) ac_site_file1=./$CONFIG_SITE;;
2220 elif test "x$prefix" != xNONE; then
2221 ac_site_file1=$prefix/share/config.site
2222 ac_site_file2=$prefix/etc/config.site
2224 ac_site_file1=$ac_default_prefix/share/config.site
2225 ac_site_file2=$ac_default_prefix/etc/config.site
2227 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2229 test "x$ac_site_file" = xNONE && continue
2230 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2232 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2233 sed 's/^/| /' "$ac_site_file" >&5
2235 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2237 as_fn_error $? "failed to load site
script $ac_site_file
2238 See \
`config.log' for more details" "$LINENO" 5; }
2242 if test -r "$cache_file"; then
2243 # Some versions of bash will fail to source /dev/null (special files
2244 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2245 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2247 $as_echo "$as_me: loading cache $cache_file" >&6;}
2249 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2250 *) . "./$cache_file";;
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2255 $as_echo "$as_me: creating cache $cache_file" >&6;}
2259 # Check that the precious variables saved in the cache have kept the same
2261 ac_cache_corrupted=false
2262 for ac_var in $ac_precious_vars; do
2263 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2264 eval ac_new_set=\$ac_env_${ac_var}_set
2265 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2266 eval ac_new_val=\$ac_env_${ac_var}_value
2267 case $ac_old_set,$ac_new_set in
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2270 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271 ac_cache_corrupted=: ;;
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2274 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2275 ac_cache_corrupted=: ;;
2278 if test "x$ac_old_val" != "x$ac_new_val"; then
2279 # differences in whitespace do not lead to failure.
2280 ac_old_val_w=`echo x
$ac_old_val`
2281 ac_new_val_w=`echo x
$ac_new_val`
2282 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2284 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2285 ac_cache_corrupted=:
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2288 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2289 eval $ac_var=\$ac_old_val
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2292 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2294 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2297 # Pass precious variables to config.status.
2298 if test "$ac_new_set" = set; then
2300 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2301 *) ac_arg=$ac_var=$ac_new_val ;;
2303 case " $ac_configure_args " in
2304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2305 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2309 if $ac_cache_corrupted; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2313 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2316 ## -------------------- ##
2317 ## Main body of script. ##
2318 ## -------------------- ##
2321 ac_cpp='$CPP $CPPFLAGS'
2322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2330 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2331 if test -f "$ac_dir/install-sh"; then
2333 ac_install_sh="$ac_aux_dir/install-sh -c"
2335 elif test -f "$ac_dir/install.sh"; then
2337 ac_install_sh="$ac_aux_dir/install.sh -c"
2339 elif test -f "$ac_dir/shtool"; then
2341 ac_install_sh="$ac_aux_dir/shtool install -c"
2345 if test -z "$ac_aux_dir"; then
2346 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2349 # These three variables are undocumented and unsupported,
2350 # and are intended to be withdrawn in a future Autoconf release.
2351 # They can cause serious problems if a builder's source tree is in a directory
2352 # whose full name contains unusual characters.
2353 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2354 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2355 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2360 am__api_version='1.15'
2362 # Find a good install program. We prefer a C program (faster),
2363 # so one script is as good as another. But avoid the broken or
2364 # incompatible versions:
2365 # SysV /etc/install, /usr/sbin/install
2366 # SunOS /usr/etc/install
2367 # IRIX /sbin/install
2369 # AmigaOS /C/install, which installs bootblocks on floppy discs
2370 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2373 # OS/2's system install, which has a completely different semantic
2374 # ./install, which can be erroneously created by make from ./install.sh.
2375 # Reject install programs that cannot install multiple files.
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2377 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2378 if test -z "$INSTALL"; then
2379 if ${ac_cv_path_install+:} false; then :
2380 $as_echo_n "(cached) " >&6
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir=.
2387 # Account for people who put trailing slashes in PATH elements.
2388 case $as_dir/ in #((
2389 ./ | .// | /[cC]/* | \
2390 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2391 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2394 # OSF1 and SCO ODT 3.0 have their own names for install.
2395 # Don't use installbsd from OSF since it installs stuff as root
2397 for ac_prog in ginstall scoinst install; do
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2400 if test $ac_prog = install &&
2401 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402 # AIX install. It has an incompatible calling convention.
2404 elif test $ac_prog = install &&
2405 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2406 # program-specific install script used by HP pwplus--don't use.
2409 rm -rf conftest.one conftest.two conftest.dir
2410 echo one > conftest.one
2411 echo two > conftest.two
2413 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2414 test -s conftest.one && test -s conftest.two &&
2415 test -s conftest.dir/conftest.one &&
2416 test -s conftest.dir/conftest.two
2418 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2431 rm -rf conftest.one conftest.two conftest.dir
2434 if test "${ac_cv_path_install+set}" = set; then
2435 INSTALL=$ac_cv_path_install
2437 # As a last resort, use the slow shell script. Don't cache a
2438 # value for INSTALL within a source directory, because that will
2439 # break other packages using the cache if that directory is
2440 # removed, or if the value is a relative name.
2441 INSTALL=$ac_install_sh
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2445 $as_echo "$INSTALL" >&6; }
2447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2448 # It thinks the first close brace ends the variable substitution.
2449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2453 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2456 $as_echo_n "checking whether build environment is sane... " >&6; }
2457 # Reject unsafe characters in $srcdir or the absolute working directory
2458 # name. Accept space and tab only in the latter.
2462 *[\\\"\#\$\&\'\`$am_lf]*)
2463 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2466 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2467 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2470 # Do 'set' in a subshell so we don't clobber the current shell's
2471 # arguments. Must try -L first in case configure is actually a
2472 # symlink; some systems play weird games with the mod time of symlinks
2473 # (eg FreeBSD returns the mod time of the symlink's containing
2477 for am_try
in 1 2; do
2478 echo "timestamp, slept: $am_has_slept" > conftest.
file
2479 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2480 if test "$*" = "X"; then
2482 set X
`ls -t "$srcdir/configure" conftest.file`
2484 if test "$*" != "X $srcdir/configure conftest.file" \
2485 && test "$*" != "X conftest.file $srcdir/configure"; then
2487 # If neither matched, then we have a broken ls. This can happen
2488 # if, for instance, CONFIG_SHELL is bash and it inherits a
2489 # broken ls alias from the environment. This has actually
2490 # happened. Such a system could not be considered "sane".
2491 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2492 alias in your environment" "$LINENO" 5
2494 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2501 test "$2" = conftest.
file
2507 as_fn_error $?
"newly created file is older than distributed files!
2508 Check your system clock" "$LINENO" 5
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2511 $as_echo "yes" >&6; }
2512 # If we didn't sleep, we still need to ensure time stamps of config.status and
2513 # generated files are strictly newer.
2515 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2522 test "$program_prefix" != NONE
&&
2523 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2524 # Use a double $ so make ignores it.
2525 test "$program_suffix" != NONE
&&
2526 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2527 # Double any \ or $.
2528 # By default was `s,x,x', remove it if useless.
2529 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2530 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2532 # Expand $ac_aux_dir to an absolute path.
2533 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2535 if test x
"${MISSING+set}" != xset
; then
2538 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2540 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2543 # Use eval to expand $SHELL
2544 if eval "$MISSING --is-lightweight"; then
2545 am_missing_run
="$MISSING "
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2549 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2552 if test x
"${install_sh+set}" != xset
; then
2555 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2557 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2561 # Installed binaries are usually stripped using 'strip' when the user
2562 # run "make install-strip". However 'strip' might not be the right
2563 # tool to use in cross-compilation environments, therefore Automake
2564 # will honor the 'STRIP' environment variable to overrule this program.
2565 if test "$cross_compiling" != no
; then
2566 if test -n "$ac_tool_prefix"; then
2567 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2568 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if ${ac_cv_prog_STRIP+:} false
; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$STRIP"; then
2575 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 STRIP
=$ac_cv_prog_STRIP
2595 if test -n "$STRIP"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2597 $as_echo "$STRIP" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2605 if test -z "$ac_cv_prog_STRIP"; then
2607 # Extract the first word of "strip", so it can be a program name with args.
2608 set dummy strip
; ac_word
=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$ac_ct_STRIP"; then
2615 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir
=.
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2624 ac_cv_prog_ac_ct_STRIP
="strip"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2635 if test -n "$ac_ct_STRIP"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2637 $as_echo "$ac_ct_STRIP" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2643 if test "x$ac_ct_STRIP" = x
; then
2646 case $cross_compiling:$ac_tool_warned in
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2650 ac_tool_warned
=yes ;;
2655 STRIP
="$ac_cv_prog_STRIP"
2659 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2662 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2663 if test -z "$MKDIR_P"; then
2664 if ${ac_cv_path_mkdir+:} false
; then :
2665 $as_echo_n "(cached) " >&6
2667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2671 test -z "$as_dir" && as_dir
=.
2672 for ac_prog
in mkdir gmkdir
; do
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2675 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2676 'mkdir (GNU coreutils) '* | \
2677 'mkdir (coreutils) '* | \
2678 'mkdir (fileutils) '4.1*)
2679 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2689 test -d .
/--version && rmdir .
/--version
2690 if test "${ac_cv_path_mkdir+set}" = set; then
2691 MKDIR_P
="$ac_cv_path_mkdir -p"
2693 # As a last resort, use the slow shell script. Don't cache a
2694 # value for MKDIR_P within a source directory, because that will
2695 # break other packages using the cache if that directory is
2696 # removed, or if the value is a relative name.
2697 MKDIR_P
="$ac_install_sh -d"
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2701 $as_echo "$MKDIR_P" >&6; }
2703 for ac_prog
in gawk mawk nawk
awk
2705 # Extract the first word of "$ac_prog", so it can be a program name with args.
2706 set dummy
$ac_prog; ac_word
=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_prog_AWK+:} false
; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$AWK"; then
2713 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_AWK
="$ac_prog"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test -n "$AWK"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2735 $as_echo "$AWK" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2742 test -n "$AWK" && break
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2746 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2748 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2749 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2750 $as_echo_n "(cached) " >&6
2752 cat >conftest.
make <<\_ACEOF
2755 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2757 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2758 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2760 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2762 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2766 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2768 $as_echo "yes" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2773 SET_MAKE
="MAKE=${MAKE-make}"
2776 rm -rf .tst
2>/dev
/null
2777 mkdir .tst
2>/dev
/null
2778 if test -d .tst
; then
2783 rmdir .tst
2>/dev
/null
2785 # Check whether --enable-silent-rules was given.
2786 if test "${enable_silent_rules+set}" = set; then :
2787 enableval
=$enable_silent_rules;
2790 case $enable_silent_rules in # (((
2791 yes) AM_DEFAULT_VERBOSITY
=0;;
2792 no
) AM_DEFAULT_VERBOSITY
=1;;
2793 *) AM_DEFAULT_VERBOSITY
=1;;
2795 am_make
=${MAKE-make}
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2797 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2798 if ${am_cv_make_support_nested_variables+:} false
; then :
2799 $as_echo_n "(cached) " >&6
2801 if $as_echo 'TRUE=$(BAR$(V))
2807 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2808 am_cv_make_support_nested_variables
=yes
2810 am_cv_make_support_nested_variables
=no
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2814 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2815 if test $am_cv_make_support_nested_variables = yes; then
2817 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2819 AM_V
=$AM_DEFAULT_VERBOSITY
2820 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2824 DEPDIR="${am__leading_dot}deps"
2826 ac_config_commands="$ac_config_commands depfiles"
2829 am_make=${MAKE-make}
2830 cat > confinc << 'END
'
2832 @echo this is the am__doit target
2835 # If we don't
find an include directive
, just comment out the code.
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2837 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2841 # First try GNU make style include.
2842 echo "include confinc" > confmf
2843 # Ignore all kinds of additional output from 'make'.
2844 case `$am_make -s -f confmf 2> /dev/null` in #(
2845 *the\ am__doit\ target
*)
2851 # Now try BSD make style include.
2852 if test "$am__include" = "#"; then
2853 echo '.include "confinc"' > confmf
2854 case `$am_make -s -f confmf 2> /dev/null` in #(
2855 *the\ am__doit\ target
*)
2856 am__include
=.include
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2865 $as_echo "$_am_result" >&6; }
2866 rm -f confinc confmf
2868 # Check whether --enable-dependency-tracking was given.
2869 if test "${enable_dependency_tracking+set}" = set; then :
2870 enableval
=$enable_dependency_tracking;
2873 if test "x$enable_dependency_tracking" != xno
; then
2874 am_depcomp
="$ac_aux_dir/depcomp"
2878 if test "x$enable_dependency_tracking" != xno; then
2888 ac_cpp
='$CPP $CPPFLAGS'
2889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2894 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_CC+:} false
; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC
="$CC" # Let the user override the test.
2903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir
=.
2908 for ac_exec_ext
in '' $ac_executable_extensions; do
2909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2931 if test -z "$ac_cv_prog_CC"; then
2933 # Extract the first word of "gcc", so it can be a program name with args.
2934 set dummy gcc
; ac_word
=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$ac_ct_CC"; then
2941 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2950 ac_cv_prog_ac_ct_CC
="gcc"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2961 if test -n "$ac_ct_CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2963 $as_echo "$ac_ct_CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2969 if test "x$ac_ct_CC" = x
; then
2972 case $cross_compiling:$ac_tool_warned in
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976 ac_tool_warned
=yes ;;
2984 if test -z "$CC"; then
2985 if test -n "$ac_tool_prefix"; then
2986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2987 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_CC+:} false
; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$CC"; then
2994 ac_cv_prog_CC
="$CC" # Let the user override the test.
2996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir
=.
3001 for ac_exec_ext
in '' $ac_executable_extensions; do
3002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 if test -n "$CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016 $as_echo "$CC" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3025 if test -z "$CC"; then
3026 # Extract the first word of "cc", so it can be a program name with args.
3027 set dummy cc
; ac_word
=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if ${ac_cv_prog_CC+:} false
; then :
3031 $as_echo_n "(cached) " >&6
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC
="$CC" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3045 ac_prog_rejected
=yes
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test $ac_prog_rejected = yes; then
3057 # We found a bogon in the path, so make sure we never use it.
3058 set dummy
$ac_cv_prog_CC
3060 if test $# != 0; then
3061 # We chose a different compiler from the bogus one.
3062 # However, it has the same basename, so the bogon will be chosen
3063 # first if we set CC to just the basename; use the full file name.
3065 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3071 if test -n "$CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073 $as_echo "$CC" >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3081 if test -z "$CC"; then
3082 if test -n "$ac_tool_prefix"; then
3083 for ac_prog
in cl.exe
3085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3086 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if ${ac_cv_prog_CC+:} false
; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$CC"; then
3093 ac_cv_prog_CC
="$CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3102 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test -n "$CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115 $as_echo "$CC" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3122 test -n "$CC" && break
3125 if test -z "$CC"; then
3127 for ac_prog
in cl.exe
3129 # Extract the first word of "$ac_prog", so it can be a program name with args.
3130 set dummy
$ac_prog; ac_word
=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$ac_ct_CC"; then
3137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir
=.
3144 for ac_exec_ext
in '' $ac_executable_extensions; do
3145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_ac_ct_CC
="$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3157 if test -n "$ac_ct_CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3159 $as_echo "$ac_ct_CC" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3166 test -n "$ac_ct_CC" && break
3169 if test "x$ac_ct_CC" = x
; then
3172 case $cross_compiling:$ac_tool_warned in
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned
=yes ;;
3185 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $?
"no acceptable C compiler found in \$PATH
3188 See \`config.log' for more details" "$LINENO" 5; }
3190 # Provide some information about the compiler.
3191 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3194 for ac_option
in --version -v -V -qversion; do
3195 { { ac_try
="$ac_compiler $ac_option >&5"
3197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201 $as_echo "$ac_try_echo"; } >&5
3202 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3204 if test -s conftest.err; then
3206 ... rest of stderr output deleted ...
3207 10q' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3210 rm -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 ac_clean_files_save=$ac_clean_files
3227 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3228 # Try to create an executable without -o first, disregard a.out.
3229 # It will help us diagnose broken compilers, and finding out an intuition
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3232 $as_echo_n "checking whether the C compiler works... " >&6; }
3233 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3235 # The possible output files:
3236 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3239 for ac_file in $ac_files
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3248 if { { ac_try="$ac_link_default"
3250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3251 *) ac_try_echo
=$ac_try;;
3253 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_link_default") 2>&5
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }; then :
3259 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3260 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3261 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3262 # so that the user can short-circuit this test for compilers unknown to
3264 for ac_file
in $ac_files ''
3266 test -f "$ac_file" ||
continue
3268 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3271 # We found the default executable, but exeext='' is most
3275 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3277 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3279 # We set ac_cv_exeext here because the later test for it is not
3280 # safe: cross compilers may not add the suffix if given an `-o'
3281 # argument, so we may need to know it at that point already.
3282 # Even if this section looks crufty: it has the advantage of
3289 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3294 if test -z "$ac_file"; then :
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error
77 "C compiler cannot create executables
3303 See \`config.log' for more details" "$LINENO" 5; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3309 $as_echo_n "checking for C compiler default output file name... " >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3311 $as_echo "$ac_file" >&6; }
3312 ac_exeext
=$ac_cv_exeext
3314 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3315 ac_clean_files
=$ac_clean_files_save
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3317 $as_echo_n "checking for suffix of executables... " >&6; }
3318 if { { ac_try
="$ac_link"
3320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324 $as_echo "$ac_try_echo"; } >&5
3325 (eval "$ac_link") 2>&5
3327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328 test $ac_status = 0; }; then :
3329 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3330 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3331 # work properly (i.e., refer to `conftest.exe'), while it won't with
3333 for ac_file
in conftest.exe conftest conftest.
*; do
3334 test -f "$ac_file" ||
continue
3336 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3337 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3346 See \`config.log' for more details" "$LINENO" 5; }
3348 rm -f conftest conftest
$ac_cv_exeext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3350 $as_echo "$ac_cv_exeext" >&6; }
3352 rm -f conftest.
$ac_ext
3353 EXEEXT
=$ac_cv_exeext
3355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3361 FILE *f = fopen ("conftest.out", "w");
3362 return ferror (f) || fclose (f) != 0;
3368 ac_clean_files
="$ac_clean_files conftest.out"
3369 # Check that the compiler produces executables we can run. If not, either
3370 # the compiler is broken, or we cross compile.
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3372 $as_echo_n "checking whether we are cross compiling... " >&6; }
3373 if test "$cross_compiling" != yes; then
3374 { { ac_try
="$ac_link"
3376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381 (eval "$ac_link") 2>&5
3383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384 test $ac_status = 0; }
3385 if { ac_try='./conftest$ac_cv_exeext'
3386 { { case "(($ac_try" in
3387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3388 *) ac_try_echo
=$ac_try;;
3390 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_try") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; }; then
3398 if test "$cross_compiling" = maybe
; then
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $?
"cannot run C compiled programs.
3404 If you meant to cross compile, use \`--host'.
3405 See \`config.log' for more details" "$LINENO" 5; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3410 $as_echo "$cross_compiling" >&6; }
3412 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3413 ac_clean_files
=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3415 $as_echo_n "checking for suffix of object files... " >&6; }
3416 if ${ac_cv_objext+:} false
; then :
3417 $as_echo_n "(cached) " >&6
3419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3430 rm -f conftest.o conftest.obj
3431 if { { ac_try
="$ac_compile"
3433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_compile") 2>&5
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; then :
3442 for ac_file in conftest.o conftest.obj conftest.*; do
3443 test -f "$ac_file" || continue;
3445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3446 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3451 $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3457 See \
`config.log' for more details" "$LINENO" 5; }
3459 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3462 $as_echo "$ac_cv_objext" >&6; }
3463 OBJEXT=$ac_cv_objext
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3466 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3467 if ${ac_cv_c_compiler_gnu+:} false; then :
3468 $as_echo_n "(cached) " >&6
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3494 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3495 if test $ac_compiler_gnu = yes; then
3500 ac_test_CFLAGS=${CFLAGS+set}
3501 ac_save_CFLAGS=$CFLAGS
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3503 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3504 if ${ac_cv_prog_cc_g+:} false; then :
3505 $as_echo_n "(cached) " >&6
3507 ac_save_c_werror_flag=$ac_c_werror_flag
3508 ac_c_werror_flag=yes
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3522 if ac_fn_c_try_compile "$LINENO"; then :
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3537 if ac_fn_c_try_compile "$LINENO"; then :
3540 ac_c_werror_flag=$ac_save_c_werror_flag
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 ac_c_werror_flag=$ac_save_c_werror_flag
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3564 $as_echo "$ac_cv_prog_cc_g" >&6; }
3565 if test "$ac_test_CFLAGS" = set; then
3566 CFLAGS=$ac_save_CFLAGS
3567 elif test $ac_cv_prog_cc_g = yes; then
3568 if test "$GCC" = yes; then
3574 if test "$GCC" = yes; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3581 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3582 if ${ac_cv_prog_cc_c89+:} false; then :
3583 $as_echo_n "(cached) " >&6
3585 ac_cv_prog_cc_c89=no
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3593 struct buf { int x; };
3594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3595 static char *e (p, i)
3601 static char *f (char * (*g) (char **, int), char **p, ...)
3606 s = g (p, va_arg (v,int));
3611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3612 function prototypes and stuff, but not '\xHH' hex character constants.
3613 These don't provoke an error unfortunately, instead are silently treated
3614 as 'x'. The following induces an error, until -std is added to get
3615 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3616 array size at least. It's necessary to write '\x00'==0 to get something
3617 that's true only with -std. */
3618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3620 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3621 inside strings and character constants. */
3623 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3625 int test (int i, double x);
3626 struct s1 {int (*f) (int a);};
3627 struct s2 {int (*f) (double a);};
3628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3634 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3639 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3640 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3642 CC="$ac_save_CC $ac_arg"
3643 if ac_fn_c_try_compile "$LINENO"; then :
3644 ac_cv_prog_cc_c89=$ac_arg
3646 rm -f core conftest.err conftest.$ac_objext
3647 test "x$ac_cv_prog_cc_c89" != "xno" && break
3649 rm -f conftest.$ac_ext
3654 case "x$ac_cv_prog_cc_c89" in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3657 $as_echo "none needed" >&6; } ;;
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3660 $as_echo "unsupported" >&6; } ;;
3662 CC="$CC $ac_cv_prog_cc_c89"
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3664 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3666 if test "x$ac_cv_prog_cc_c89" != xno; then :
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3682 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3683 if ${am_cv_prog_cc_c_o+:} false; then :
3684 $as_echo_n "(cached) " >&6
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 # Make sure it works both with $CC and with simple cc.
3698 # Following AC_PROG_CC_C_O, we do the test twice because some
3699 # compilers refuse to overwrite an existing .o file with -o,
3700 # though they will create one.
3701 am_cv_prog_cc_c_o=yes
3703 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3704 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } \
3708 && test -f conftest2.$ac_objext; then
3711 am_cv_prog_cc_c_o=no
3715 rm -f core conftest*
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3719 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3720 if test "$am_cv_prog_cc_c_o" != yes; then
3721 # Losing compiler, so override with the script.
3722 # FIXME: It is wrong to rewrite CC.
3723 # But if we don't then we get into trouble of one sort or another.
3724 # A longer-term fix would be to have automake use am__CC in this case,
3725 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3726 CC="$am_aux_dir/compile $CC"
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735 depcc="$CC" am_compiler_list=
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3738 $as_echo_n "checking dependency style of $depcc... " >&6; }
3739 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3743 # We make a subdir and do the tests there. Otherwise we can end up
3744 # making bogus files that we don't know about and never remove. For
3745 # instance it was reported that on HP-UX the gcc test will end up
3746 # making a dummy file named 'D' -- because '-MD' means "put the output
3750 # Copy depcomp to subdir because otherwise we won't find it if we're
3751 # using a relative directory.
3752 cp "$am_depcomp" conftest.dir
3754 # We will build objects and dependencies in a subdirectory because
3755 # it helps to detect inapplicable dependency modes. For instance
3756 # both Tru64's cc and ICC support -MD to output dependencies as a
3757 # side effect of compilation, but ICC will put the dependencies in
3758 # the current directory while Tru64 will put them in the object
3762 am_cv_CC_dependencies_compiler_type=none
3763 if test "$am_compiler_list" = ""; then
3764 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3767 case " $depcc " in #(
3768 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3771 for depmode in $am_compiler_list; do
3772 # Setup a source with many dependencies, because some compilers
3773 # like to wrap large dependency lists on column 80 (with \), and
3774 # we should not choose a depcomp mode which is confused by this.
3776 # We need to recreate these files for each test, as the compiler may
3777 # overwrite some of them when testing with obscure command lines.
3778 # This happens at least with the AIX C compiler.
3780 for i in 1 2 3 4 5 6; do
3781 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3782 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3783 # Solaris 10 /bin/sh.
3784 echo '/* dummy */' > sub/conftst$i.h
3786 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3788 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3789 # mode. It turns out that the SunPro C++ compiler does not properly
3790 # handle '-M -o', and we need to detect this. Also, some Intel
3791 # versions had trouble with output in subdirs.
3792 am__obj=sub/conftest.${OBJEXT-o}
3793 am__minus_obj="-o $am__obj"
3796 # This depmode causes a compiler race in universal mode.
3797 test "$am__universal" = false || continue
3800 # After this tag, mechanisms are not by side-effect, so they'll
3801 # only be used when explicitly requested.
3802 if test "x$enable_dependency_tracking" = xyes; then
3808 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3809 # This compiler won't grok '-c -o', but also, the minuso test has
3810 # not run yet. These depmodes are late enough in the game, and
3811 # so weak that their functioning should not be impacted.
3812 am__obj=conftest.${OBJEXT-o}
3817 if depmode=$depmode \
3818 source=sub/conftest.c object=$am__obj \
3819 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3820 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3821 >/dev/null 2>conftest.err &&
3822 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3823 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3824 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3825 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3826 # icc doesn't choke on unknown options, it will just issue warnings
3827 # or remarks (even with -Werror). So we grep stderr for any message
3828 # that says an option was ignored or not supported.
3829 # When given -MP, icc 7.0 and 7.1 complain thusly:
3830 # icc: Command line warning: ignoring option '-M'; no argument required
3831 # The diagnosis changed in icc 8.0:
3832 # icc: Command line remark: option '-MP' not supported
3833 if (grep 'ignoring option' conftest.err ||
3834 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3835 am_cv_CC_dependencies_compiler_type=$depmode
3844 am_cv_CC_dependencies_compiler_type=none
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3849 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3850 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3853 test "x$enable_dependency_tracking" != xno \
3854 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3856 am__fastdepCC_FALSE='#'
3858 am__fastdepCC_TRUE='#'
3859 am__fastdepCC_FALSE=
3864 # Check whether --enable-compiler-warnings was given.
3865 if test "${enable_compiler_warnings+set}" = set; then :
3866 enableval=$enable_compiler_warnings;
3868 case $enable_compiler_warnings in #(
3869 no | min | yes | max | all) :
3872 if test "x$enable_maintainer_mode" = xyes; then :
3873 enable_compiler_warnings=yes
3875 enable_compiler_warnings=min
3880 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3881 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3882 # is not polluted with repeated "-I."
3883 am__isrc=' -I$(srcdir)'
3884 # test to see if srcdir already configured
3885 if test -f $srcdir/config.status; then
3886 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3890 # test whether we have cygpath
3891 if test -z "$CYGPATH_W"; then
3892 if (cygpath --version) >/dev/null 2>/dev/null; then
3893 CYGPATH_W='cygpath -w'
3900 # Define the identity of the package.
3901 PACKAGE='lua52--tex-live-'
3905 cat >>confdefs.h <<_ACEOF
3906 #define PACKAGE "$PACKAGE"
3910 cat >>confdefs.h <<_ACEOF
3911 #define VERSION "$VERSION"
3914 # Some tools Automake needs.
3916 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3919 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3922 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3925 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3928 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3930 # For better backward compatibility. To be removed once Automake 1.9.x
3931 # dies out for good. For more background, see:
3932 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3933 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3934 mkdir_p='$(MKDIR_P)'
3936 # We need awk for the "check" target (and possibly the TAP driver). The
3937 # system "awk" is bad on some platforms.
3938 # Always define AMTAR for backward compatibility. Yes, it's still used
3939 # in the wild :-( We should find a proper way to deprecate it ...
3943 # We'll loop over all known methods to create a tar archive until one works.
3944 _am_tools='gnutar pax cpio none'
3946 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3953 # POSIX will say in a future version that running "rm -f" with no argument
3954 # is OK; and we want to be able to make that assumption in our Makefile
3955 # recipes. So use an aggressive probe to check that the usage we want is
3956 # actually supported "in the wild" to an acceptable degree.
3957 # See automake bug#10828.
3958 # To make any issue more visible, cause the running configure to be aborted
3959 # by default if the 'rm' program in use doesn't match our expectations; the
3960 # user can still override this though.
3961 if rm -f && rm -fr && rm -rf; then : OK; else
3965 Your 'rm' program seems unable to run without file operands specified
3966 on the command line, even when the '-f' option is present. This is contrary
3967 to the behaviour of most rm programs out there, and not conforming with
3968 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3970 Please tell bug-automake@gnu.org about your system, including the value
3971 of your $PATH and any error possibly output before this message. This
3972 can help us improve future automake versions.
3975 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3976 echo 'Configuration will proceed anyway, since you have set the' >&2
3977 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3981 Aborting the configuration process, to ensure you take notice of the issue.
3983 You can download and install GNU coreutils to get an 'rm' implementation
3984 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3986 If you want to complete the configuration process using your problematic
3987 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3988 to "yes", and re-run configure.
3991 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3997 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3998 # Check whether --enable-maintainer-mode was given.
3999 if test "${enable_maintainer_mode+set}" = set; then :
4000 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4002 USE_MAINTAINER_MODE=no
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4006 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4007 if test $USE_MAINTAINER_MODE = yes; then
4008 MAINTAINER_MODE_TRUE=
4009 MAINTAINER_MODE_FALSE='#'
4011 MAINTAINER_MODE_TRUE='#'
4012 MAINTAINER_MODE_FALSE=
4015 MAINT=$MAINTAINER_MODE_TRUE
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4019 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4020 if ${kb_cv_c_prototypes+:} false; then :
4021 $as_echo_n "(cached) " >&6
4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4029 extern void foo(int i,...);
4034 if ac_fn_c_try_link "$LINENO"; then :
4035 kb_cv_c_prototypes=yes
4037 kb_cv_c_prototypes=no
4039 rm -f core conftest.err conftest.$ac_objext \
4040 conftest$ac_exeext conftest.$ac_ext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4043 $as_echo "$kb_cv_c_prototypes" >&6; }
4044 if test "x$kb_cv_c_prototypes" = xno; then
4045 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4048 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4049 if ${kpse_cv_warning_cflags+:} false; then :
4050 $as_echo_n "(cached) " >&6
4052 if test "x$GCC" = xyes; then
4053 kpse_cv_warning_cflags=
4054 if test "x$enable_compiler_warnings" != xno; then
4055 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4056 case `$CC -dumpversion` in #(
4057 3.4.* | 4.* | 5.*) :
4058 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4062 case `$CC -dumpversion` in #(
4063 3.[234].* | 4.* | 5.*) :
4064 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4068 if test "x$enable_compiler_warnings" != xmin; then
4069 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4070 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4071 if test "x$enable_compiler_warnings" != xyes; then
4072 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4073 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4074 case `$CC -dumpversion` in #(
4075 3.4.* | 4.* | 5.*) :
4076 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4080 if test "x$enable_compiler_warnings" != xmax; then
4081 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4086 elif test "x$enable_compiler_warnings" = xno; then
4087 kpse_cv_warning_cflags=
4089 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4093 $as_echo "$kpse_cv_warning_cflags" >&6; }
4094 WARNING_CFLAGS=$kpse_cv_warning_cflags
4104 ac_cpp='$CPP $CPPFLAGS'
4105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4108 if test -n "$ac_tool_prefix"; then
4109 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4110 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_CC+:} false; then :
4114 $as_echo_n "(cached) " >&6
4116 if test -n "$CC"; then
4117 ac_cv_prog_CC="$CC" # Let the user override the test.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 if test -n "$CC"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4139 $as_echo "$CC" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4147 if test -z "$ac_cv_prog_CC"; then
4149 # Extract the first word of "gcc", so it can be a program name with args.
4150 set dummy gcc; ac_word=$2
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -n "$ac_ct_CC"; then
4157 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 test -z "$as_dir" && as_dir=.
4164 for ac_exec_ext in '' $ac_executable_extensions; do
4165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4166 ac_cv_prog_ac_ct_CC="gcc"
4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4177 if test -n "$ac_ct_CC"; then
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4179 $as_echo "$ac_ct_CC" >&6; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4185 if test "x$ac_ct_CC" = x; then
4188 case $cross_compiling:$ac_tool_warned in
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4192 ac_tool_warned=yes ;;
4200 if test -z "$CC"; then
4201 if test -n "$ac_tool_prefix"; then
4202 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4203 set dummy ${ac_tool_prefix}cc; ac_word=$2
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205 $as_echo_n "checking for $ac_word... " >&6; }
4206 if ${ac_cv_prog_CC+:} false; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -n "$CC"; then
4210 ac_cv_prog_CC="$CC" # Let the user override the test.
4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir=.
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219 ac_cv_prog_CC="${ac_tool_prefix}cc"
4220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 if test -n "$CC"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4232 $as_echo "$CC" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4241 if test -z "$CC"; then
4242 # Extract the first word of "cc", so it can be a program name with args.
4243 set dummy cc; ac_word=$2
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245 $as_echo_n "checking for $ac_word... " >&6; }
4246 if ${ac_cv_prog_CC+:} false; then :
4247 $as_echo_n "(cached) " >&6
4249 if test -n "$CC"; then
4250 ac_cv_prog_CC="$CC" # Let the user override the test.
4253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir=.
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4261 ac_prog_rejected=yes
4265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 if test $ac_prog_rejected = yes; then
4273 # We found a bogon in the path, so make sure we never use it.
4274 set dummy $ac_cv_prog_CC
4276 if test $# != 0; then
4277 # We chose a different compiler from the bogus one.
4278 # However, it has the same basename, so the bogon will be chosen
4279 # first if we set CC to just the basename; use the full file name.
4281 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4287 if test -n "$CC"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4289 $as_echo "$CC" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4297 if test -z "$CC"; then
4298 if test -n "$ac_tool_prefix"; then
4299 for ac_prog in cl.exe
4301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_CC+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$CC"; then
4309 ac_cv_prog_CC="$CC" # Let the user override the test.
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir=.
4316 for ac_exec_ext in '' $ac_executable_extensions; do
4317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4318 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 if test -n "$CC"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4331 $as_echo "$CC" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4338 test -n "$CC" && break
4341 if test -z "$CC"; then
4343 for ac_prog in cl.exe
4345 # Extract the first word of "$ac_prog", so it can be a program name with args.
4346 set dummy $ac_prog; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$ac_ct_CC"; then
4353 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_ac_ct_CC="$ac_prog"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4373 if test -n "$ac_ct_CC"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4375 $as_echo "$ac_ct_CC" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4382 test -n "$ac_ct_CC" && break
4385 if test "x$ac_ct_CC" = x; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392 ac_tool_warned=yes ;;
4401 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4403 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4404 See \
`config.log' for more details" "$LINENO" 5; }
4406 # Provide some information about the compiler.
4407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4410 for ac_option in --version -v -V -qversion; do
4411 { { ac_try="$ac_compiler $ac_option >&5"
4413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4414 *) ac_try_echo
=$ac_try;;
4416 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4420 if test -s conftest.err
; then
4422 ... rest of stderr output deleted ...
4423 10q' conftest.err
>conftest.er1
4424 cat conftest.er1
>&5
4426 rm -f conftest.er1 conftest.err
4427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4432 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4433 if ${ac_cv_c_compiler_gnu+:} false
; then :
4434 $as_echo_n "(cached) " >&6
4436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4450 if ac_fn_c_try_compile
"$LINENO"; then :
4455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4456 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4460 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4461 if test $ac_compiler_gnu = yes; then
4466 ac_test_CFLAGS
=${CFLAGS+set}
4467 ac_save_CFLAGS
=$CFLAGS
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4469 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4470 if ${ac_cv_prog_cc_g+:} false
; then :
4471 $as_echo_n "(cached) " >&6
4473 ac_save_c_werror_flag
=$ac_c_werror_flag
4474 ac_c_werror_flag
=yes
4477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_c_try_compile
"$LINENO"; then :
4492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 if ac_fn_c_try_compile
"$LINENO"; then :
4506 ac_c_werror_flag
=$ac_save_c_werror_flag
4508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_c_try_compile
"$LINENO"; then :
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 ac_c_werror_flag
=$ac_save_c_werror_flag
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4530 $as_echo "$ac_cv_prog_cc_g" >&6; }
4531 if test "$ac_test_CFLAGS" = set; then
4532 CFLAGS
=$ac_save_CFLAGS
4533 elif test $ac_cv_prog_cc_g = yes; then
4534 if test "$GCC" = yes; then
4540 if test "$GCC" = yes; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4547 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4548 if ${ac_cv_prog_cc_c89+:} false
; then :
4549 $as_echo_n "(cached) " >&6
4551 ac_cv_prog_cc_c89
=no
4553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4558 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4559 struct buf { int x; };
4560 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4561 static char *e (p, i)
4567 static char *f (char * (*g) (char **, int), char **p, ...)
4572 s = g (p, va_arg (v,int));
4577 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4578 function prototypes and stuff, but not '\xHH' hex character constants.
4579 These don't provoke an error unfortunately, instead are silently treated
4580 as 'x'. The following induces an error, until -std is added to get
4581 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4582 array size at least. It's necessary to write '\x00'==0 to get something
4583 that's true only with -std. */
4584 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4586 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4587 inside strings and character constants. */
4589 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4591 int test (int i, double x);
4592 struct s1 {int (*f) (int a);};
4593 struct s2 {int (*f) (double a);};
4594 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4600 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4605 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4606 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4608 CC
="$ac_save_CC $ac_arg"
4609 if ac_fn_c_try_compile
"$LINENO"; then :
4610 ac_cv_prog_cc_c89
=$ac_arg
4612 rm -f core conftest.err conftest.
$ac_objext
4613 test "x$ac_cv_prog_cc_c89" != "xno" && break
4615 rm -f conftest.
$ac_ext
4620 case "x$ac_cv_prog_cc_c89" in
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4623 $as_echo "none needed" >&6; } ;;
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4626 $as_echo "unsupported" >&6; } ;;
4628 CC
="$CC $ac_cv_prog_cc_c89"
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4630 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4632 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4637 ac_cpp
='$CPP $CPPFLAGS'
4638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4643 ac_cpp
='$CPP $CPPFLAGS'
4644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4648 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4649 if ${am_cv_prog_cc_c_o+:} false
; then :
4650 $as_echo_n "(cached) " >&6
4652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4663 # Make sure it works both with $CC and with simple cc.
4664 # Following AC_PROG_CC_C_O, we do the test twice because some
4665 # compilers refuse to overwrite an existing .o file with -o,
4666 # though they will create one.
4667 am_cv_prog_cc_c_o
=yes
4669 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4670 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } \
4674 && test -f conftest2.
$ac_objext; then
4677 am_cv_prog_cc_c_o
=no
4681 rm -f core conftest
*
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4685 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4686 if test "$am_cv_prog_cc_c_o" != yes; then
4687 # Losing compiler, so override with the script.
4688 # FIXME: It is wrong to rewrite CC.
4689 # But if we don't then we get into trouble of one sort or another.
4690 # A longer-term fix would be to have automake use am__CC in this case,
4691 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4692 CC
="$am_aux_dir/compile $CC"
4695 ac_cpp
='$CPP $CPPFLAGS'
4696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4701 depcc
="$CC" am_compiler_list
=
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4704 $as_echo_n "checking dependency style of $depcc... " >&6; }
4705 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4706 $as_echo_n "(cached) " >&6
4708 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4709 # We make a subdir and do the tests there. Otherwise we can end up
4710 # making bogus files that we don't know about and never remove. For
4711 # instance it was reported that on HP-UX the gcc test will end up
4712 # making a dummy file named 'D' -- because '-MD' means "put the output
4716 # Copy depcomp to subdir because otherwise we won't find it if we're
4717 # using a relative directory.
4718 cp "$am_depcomp" conftest.dir
4720 # We will build objects and dependencies in a subdirectory because
4721 # it helps to detect inapplicable dependency modes. For instance
4722 # both Tru64's cc and ICC support -MD to output dependencies as a
4723 # side effect of compilation, but ICC will put the dependencies in
4724 # the current directory while Tru64 will put them in the object
4728 am_cv_CC_dependencies_compiler_type
=none
4729 if test "$am_compiler_list" = ""; then
4730 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4733 case " $depcc " in #(
4734 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4737 for depmode
in $am_compiler_list; do
4738 # Setup a source with many dependencies, because some compilers
4739 # like to wrap large dependency lists on column 80 (with \), and
4740 # we should not choose a depcomp mode which is confused by this.
4742 # We need to recreate these files for each test, as the compiler may
4743 # overwrite some of them when testing with obscure command lines.
4744 # This happens at least with the AIX C compiler.
4746 for i
in 1 2 3 4 5 6; do
4747 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4748 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4749 # Solaris 10 /bin/sh.
4750 echo '/* dummy */' > sub
/conftst
$i.h
4752 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4754 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4755 # mode. It turns out that the SunPro C++ compiler does not properly
4756 # handle '-M -o', and we need to detect this. Also, some Intel
4757 # versions had trouble with output in subdirs.
4758 am__obj
=sub
/conftest.
${OBJEXT-o}
4759 am__minus_obj
="-o $am__obj"
4762 # This depmode causes a compiler race in universal mode.
4763 test "$am__universal" = false ||
continue
4766 # After this tag, mechanisms are not by side-effect, so they'll
4767 # only be used when explicitly requested.
4768 if test "x$enable_dependency_tracking" = xyes
; then
4774 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4775 # This compiler won't grok '-c -o', but also, the minuso test has
4776 # not run yet. These depmodes are late enough in the game, and
4777 # so weak that their functioning should not be impacted.
4778 am__obj
=conftest.
${OBJEXT-o}
4783 if depmode
=$depmode \
4784 source=sub
/conftest.c object
=$am__obj \
4785 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4786 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4787 >/dev
/null
2>conftest.err
&&
4788 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4789 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4790 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4791 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4792 # icc doesn't choke on unknown options, it will just issue warnings
4793 # or remarks (even with -Werror). So we grep stderr for any message
4794 # that says an option was ignored or not supported.
4795 # When given -MP, icc 7.0 and 7.1 complain thusly:
4796 # icc: Command line warning: ignoring option '-M'; no argument required
4797 # The diagnosis changed in icc 8.0:
4798 # icc: Command line remark: option '-MP' not supported
4799 if (grep 'ignoring option' conftest.err ||
4800 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4801 am_cv_CC_dependencies_compiler_type
=$depmode
4810 am_cv_CC_dependencies_compiler_type
=none
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4815 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4816 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4819 test "x$enable_dependency_tracking" != xno \
4820 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4822 am__fastdepCC_FALSE
='#'
4824 am__fastdepCC_TRUE
='#'
4825 am__fastdepCC_FALSE
=
4829 if test -n "$ac_tool_prefix"; then
4830 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4831 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_RANLIB+:} false
; then :
4835 $as_echo_n "(cached) " >&6
4837 if test -n "$RANLIB"; then
4838 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4844 test -z "$as_dir" && as_dir
=.
4845 for ac_exec_ext
in '' $ac_executable_extensions; do
4846 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4857 RANLIB
=$ac_cv_prog_RANLIB
4858 if test -n "$RANLIB"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4860 $as_echo "$RANLIB" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4868 if test -z "$ac_cv_prog_RANLIB"; then
4869 ac_ct_RANLIB
=$RANLIB
4870 # Extract the first word of "ranlib", so it can be a program name with args.
4871 set dummy ranlib
; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$ac_ct_RANLIB"; then
4878 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4898 if test -n "$ac_ct_RANLIB"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4900 $as_echo "$ac_ct_RANLIB" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4906 if test "x$ac_ct_RANLIB" = x
; then
4909 case $cross_compiling:$ac_tool_warned in
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4913 ac_tool_warned
=yes ;;
4915 RANLIB
=$ac_ct_RANLIB
4918 RANLIB
="$ac_cv_prog_RANLIB"
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4922 $as_echo_n "checking whether ln -s works... " >&6; }
4924 if test "$LN_S" = "ln -s"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4929 $as_echo "no, using $LN_S" >&6; }
4936 LUA52_LT_VERSINFO
=7:4:2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4942 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4947 macro_version
='2.4.6'
4948 macro_revision
='2.4.6'
4962 ltmain
=$ac_aux_dir/ltmain.sh
4964 # Make sure we can run config.sub.
4965 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4966 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4969 $as_echo_n "checking build system type... " >&6; }
4970 if ${ac_cv_build+:} false
; then :
4971 $as_echo_n "(cached) " >&6
4973 ac_build_alias
=$build_alias
4974 test "x$ac_build_alias" = x
&&
4975 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4976 test "x$ac_build_alias" = x
&&
4977 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4978 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4979 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4983 $as_echo "$ac_cv_build" >&6; }
4984 case $ac_cv_build in
4986 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4989 ac_save_IFS
=$IFS; IFS
='-'
4995 # Remember, the first character of IFS is used to create $*,
4996 # except with old shells:
4999 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5003 $as_echo_n "checking host system type... " >&6; }
5004 if ${ac_cv_host+:} false
; then :
5005 $as_echo_n "(cached) " >&6
5007 if test "x$host_alias" = x
; then
5008 ac_cv_host
=$ac_cv_build
5010 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5011 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5016 $as_echo "$ac_cv_host" >&6; }
5019 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5022 ac_save_IFS
=$IFS; IFS
='-'
5028 # Remember, the first character of IFS is used to create $*,
5029 # except with old shells:
5032 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5035 # Backslashify metacharacters that are still active within
5036 # double-quoted strings.
5037 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5039 # Same as above, but do not quote variable references.
5040 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5042 # Sed substitution to delay expansion of an escaped shell variable in a
5043 # double_quote_subst'ed string.
5044 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5046 # Sed substitution to delay expansion of an escaped single quote.
5047 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5049 # Sed substitution to avoid accidental globbing in evaled expressions
5050 no_glob_subst
='s/\*/\\\*/g'
5052 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5053 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5054 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5057 $as_echo_n "checking how to print strings... " >&6; }
5058 # Test print first, because it will be a builtin if present.
5059 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5060 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5062 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5065 # Use this function as a fallback that always works.
5066 func_fallback_echo ()
5068 eval 'cat <<_LTECHO_EOF
5072 ECHO='func_fallback_echo
'
5075 # func_echo_all arg...
5076 # Invoke $ECHO with all args, space-separated.
5083 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5084 $as_echo "printf" >&6; } ;;
5085 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5086 $as_echo "print -r" >&6; } ;;
5087 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5088 $as_echo "cat" >&6; } ;;
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5105 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5106 if ${ac_cv_path_SED+:} false; then :
5107 $as_echo_n "(cached) " >&6
5109 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5110 for ac_i in 1 2 3 4 5 6 7; do
5111 ac_script="$ac_script$as_nl$ac_script"
5113 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5114 { ac_script=; unset ac_script;}
5115 if test -z "$SED"; then
5116 ac_path_SED_found=false
5117 # Loop through the user's path and
test for each of PROGNAME-LIST
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_prog
in sed gsed
; do
5124 for ac_exec_ext
in '' $ac_executable_extensions; do
5125 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5126 as_fn_executable_p
"$ac_path_SED" ||
continue
5127 # Check for GNU ac_path_SED and select it if it is found.
5128 # Check for GNU $ac_path_SED
5129 case `"$ac_path_SED" --version 2>&1` in
5131 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5134 $as_echo_n 0123456789 >"conftest.in"
5137 cat "conftest.in" "conftest.in" >"conftest.tmp"
5138 mv "conftest.tmp" "conftest.in"
5139 cp "conftest.in" "conftest.nl"
5140 $as_echo '' >> "conftest.nl"
5141 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5142 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5143 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5144 if test $ac_count -gt ${ac_path_SED_max-0}; then
5145 # Best one so far, save it but keep looking for a better one
5146 ac_cv_path_SED
="$ac_path_SED"
5147 ac_path_SED_max
=$ac_count
5149 # 10*(2^10) chars as input seems more than enough
5150 test $ac_count -gt 10 && break
5152 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5155 $ac_path_SED_found && break 3
5160 if test -z "$ac_cv_path_SED"; then
5161 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5169 $as_echo "$ac_cv_path_SED" >&6; }
5170 SED
="$ac_cv_path_SED"
5173 test -z "$SED" && SED
=sed
5174 Xsed
="$SED -e 1s/^X//"
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5187 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5188 if ${ac_cv_path_GREP+:} false
; then :
5189 $as_echo_n "(cached) " >&6
5191 if test -z "$GREP"; then
5192 ac_path_GREP_found
=false
5193 # Loop through the user's path and test for each of PROGNAME-LIST
5194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5195 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5198 test -z "$as_dir" && as_dir
=.
5199 for ac_prog
in grep ggrep
; do
5200 for ac_exec_ext
in '' $ac_executable_extensions; do
5201 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5202 as_fn_executable_p
"$ac_path_GREP" ||
continue
5203 # Check for GNU ac_path_GREP and select it if it is found.
5204 # Check for GNU $ac_path_GREP
5205 case `"$ac_path_GREP" --version 2>&1` in
5207 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5210 $as_echo_n 0123456789 >"conftest.in"
5213 cat "conftest.in" "conftest.in" >"conftest.tmp"
5214 mv "conftest.tmp" "conftest.in"
5215 cp "conftest.in" "conftest.nl"
5216 $as_echo 'GREP' >> "conftest.nl"
5217 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5218 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5219 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5220 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5221 # Best one so far, save it but keep looking for a better one
5222 ac_cv_path_GREP
="$ac_path_GREP"
5223 ac_path_GREP_max
=$ac_count
5225 # 10*(2^10) chars as input seems more than enough
5226 test $ac_count -gt 10 && break
5228 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5231 $ac_path_GREP_found && break 3
5236 if test -z "$ac_cv_path_GREP"; then
5237 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5240 ac_cv_path_GREP
=$GREP
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5245 $as_echo "$ac_cv_path_GREP" >&6; }
5246 GREP
="$ac_cv_path_GREP"
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5250 $as_echo_n "checking for egrep... " >&6; }
5251 if ${ac_cv_path_EGREP+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5255 then ac_cv_path_EGREP
="$GREP -E"
5257 if test -z "$EGREP"; then
5258 ac_path_EGREP_found
=false
5259 # Loop through the user's path and test for each of PROGNAME-LIST
5260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5264 test -z "$as_dir" && as_dir
=.
5265 for ac_prog
in egrep; do
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5268 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5269 # Check for GNU ac_path_EGREP and select it if it is found.
5270 # Check for GNU $ac_path_EGREP
5271 case `"$ac_path_EGREP" --version 2>&1` in
5273 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5276 $as_echo_n 0123456789 >"conftest.in"
5279 cat "conftest.in" "conftest.in" >"conftest.tmp"
5280 mv "conftest.tmp" "conftest.in"
5281 cp "conftest.in" "conftest.nl"
5282 $as_echo 'EGREP' >> "conftest.nl"
5283 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5284 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5285 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5286 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5287 # Best one so far, save it but keep looking for a better one
5288 ac_cv_path_EGREP
="$ac_path_EGREP"
5289 ac_path_EGREP_max
=$ac_count
5291 # 10*(2^10) chars as input seems more than enough
5292 test $ac_count -gt 10 && break
5294 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5297 $ac_path_EGREP_found && break 3
5302 if test -z "$ac_cv_path_EGREP"; then
5303 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5306 ac_cv_path_EGREP
=$EGREP
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5312 $as_echo "$ac_cv_path_EGREP" >&6; }
5313 EGREP
="$ac_cv_path_EGREP"
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5317 $as_echo_n "checking for fgrep... " >&6; }
5318 if ${ac_cv_path_FGREP+:} false
; then :
5319 $as_echo_n "(cached) " >&6
5321 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5322 then ac_cv_path_FGREP
="$GREP -F"
5324 if test -z "$FGREP"; then
5325 ac_path_FGREP_found
=false
5326 # Loop through the user's path and test for each of PROGNAME-LIST
5327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5328 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5331 test -z "$as_dir" && as_dir
=.
5332 for ac_prog
in fgrep
; do
5333 for ac_exec_ext
in '' $ac_executable_extensions; do
5334 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5335 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5336 # Check for GNU ac_path_FGREP and select it if it is found.
5337 # Check for GNU $ac_path_FGREP
5338 case `"$ac_path_FGREP" --version 2>&1` in
5340 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5343 $as_echo_n 0123456789 >"conftest.in"
5346 cat "conftest.in" "conftest.in" >"conftest.tmp"
5347 mv "conftest.tmp" "conftest.in"
5348 cp "conftest.in" "conftest.nl"
5349 $as_echo 'FGREP' >> "conftest.nl"
5350 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5351 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5352 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5353 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5354 # Best one so far, save it but keep looking for a better one
5355 ac_cv_path_FGREP
="$ac_path_FGREP"
5356 ac_path_FGREP_max
=$ac_count
5358 # 10*(2^10) chars as input seems more than enough
5359 test $ac_count -gt 10 && break
5361 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5364 $ac_path_FGREP_found && break 3
5369 if test -z "$ac_cv_path_FGREP"; then
5370 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5373 ac_cv_path_FGREP
=$FGREP
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5379 $as_echo "$ac_cv_path_FGREP" >&6; }
5380 FGREP
="$ac_cv_path_FGREP"
5383 test -z "$GREP" && GREP
=grep
5403 # Check whether --with-gnu-ld was given.
5404 if test "${with_gnu_ld+set}" = set; then :
5405 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
5411 if test yes = "$GCC"; then
5412 # Check if gcc -print-prog-name=ld gives a path.
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5414 $as_echo_n "checking for ld used by $CC... " >&6; }
5417 # gcc leaves a trailing carriage return, which upsets mingw
5418 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5420 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5423 # Accept absolute paths.
5425 re_direlt
='/[^/][^/]*/\.\./'
5426 # Canonicalize the pathname of ld
5427 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5428 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5429 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5431 test -z "$LD" && LD
=$ac_prog
5434 # If it fails, then pretend we aren't using GCC.
5438 # If it is relative, then search for the first ld in PATH.
5442 elif test yes = "$with_gnu_ld"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5444 $as_echo_n "checking for GNU ld... " >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5447 $as_echo_n "checking for non-GNU ld... " >&6; }
5449 if ${lt_cv_path_LD+:} false
; then :
5450 $as_echo_n "(cached) " >&6
5452 if test -z "$LD"; then
5453 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
5454 for ac_dir
in $PATH; do
5456 test -z "$ac_dir" && ac_dir
=.
5457 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5458 lt_cv_path_LD
=$ac_dir/$ac_prog
5459 # Check to see if the program is GNU ld. I'd rather use --version,
5460 # but apparently some variants of GNU ld only accept -v.
5461 # Break only if it was the GNU/non-GNU ld that we prefer.
5462 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5463 *GNU
* |
*'with BFD'*)
5464 test no
!= "$with_gnu_ld" && break
5467 test yes != "$with_gnu_ld" && break
5474 lt_cv_path_LD
=$LD # Let the user override the test with a path.
5479 if test -n "$LD"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5481 $as_echo "$LD" >&6; }
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5486 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5488 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5489 if ${lt_cv_prog_gnu_ld+:} false
; then :
5490 $as_echo_n "(cached) " >&6
5492 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5493 case `$LD -v 2>&1 </dev/null` in
5494 *GNU
* |
*'with BFD'*)
5495 lt_cv_prog_gnu_ld
=yes
5498 lt_cv_prog_gnu_ld
=no
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5503 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5504 with_gnu_ld
=$lt_cv_prog_gnu_ld
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5515 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5516 if ${lt_cv_path_NM+:} false
; then :
5517 $as_echo_n "(cached) " >&6
5519 if test -n "$NM"; then
5520 # Let the user override the test.
5523 lt_nm_to_check
=${ac_tool_prefix}nm
5524 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5525 lt_nm_to_check
="$lt_nm_to_check nm"
5527 for lt_tmp_nm
in $lt_nm_to_check; do
5528 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
5529 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5531 test -z "$ac_dir" && ac_dir
=.
5532 tmp_nm
=$ac_dir/$lt_tmp_nm
5533 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
5534 # Check to see if the nm accepts a BSD-compat flag.
5535 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5536 # nm: unknown option "B" ignored
5537 # Tru64's nm complains that /dev/null is an invalid object file
5538 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5540 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
5541 *) lt_bad_file
=/dev
/null
;;
5543 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5544 *$lt_bad_file* |
*'Invalid file or object type'*)
5545 lt_cv_path_NM
="$tmp_nm -B"
5549 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5551 lt_cv_path_NM
="$tmp_nm -p"
5555 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5556 continue # so that we can try to find one that supports BSD flags
5565 : ${lt_cv_path_NM=no}
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5569 $as_echo "$lt_cv_path_NM" >&6; }
5570 if test no
!= "$lt_cv_path_NM"; then
5573 # Didn't find any BSD compatible name lister, look for dumpbin.
5574 if test -n "$DUMPBIN"; then :
5575 # Let the user override the test.
5577 if test -n "$ac_tool_prefix"; then
5578 for ac_prog
in dumpbin
"link -dump"
5580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5581 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5585 $as_echo_n "(cached) " >&6
5587 if test -n "$DUMPBIN"; then
5588 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5594 test -z "$as_dir" && as_dir
=.
5595 for ac_exec_ext
in '' $ac_executable_extensions; do
5596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 DUMPBIN
=$ac_cv_prog_DUMPBIN
5608 if test -n "$DUMPBIN"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5610 $as_echo "$DUMPBIN" >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5617 test -n "$DUMPBIN" && break
5620 if test -z "$DUMPBIN"; then
5621 ac_ct_DUMPBIN
=$DUMPBIN
5622 for ac_prog
in dumpbin
"link -dump"
5624 # Extract the first word of "$ac_prog", so it can be a program name with args.
5625 set dummy
$ac_prog; ac_word
=$2
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5627 $as_echo_n "checking for $ac_word... " >&6; }
5628 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5629 $as_echo_n "(cached) " >&6
5631 if test -n "$ac_ct_DUMPBIN"; then
5632 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for ac_exec_ext
in '' $ac_executable_extensions; do
5640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5641 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5652 if test -n "$ac_ct_DUMPBIN"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5654 $as_echo "$ac_ct_DUMPBIN" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5657 $as_echo "no" >&6; }
5661 test -n "$ac_ct_DUMPBIN" && break
5664 if test "x$ac_ct_DUMPBIN" = x
; then
5667 case $cross_compiling:$ac_tool_warned in
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5671 ac_tool_warned
=yes ;;
5673 DUMPBIN
=$ac_ct_DUMPBIN
5677 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5679 DUMPBIN
="$DUMPBIN -symbols -headers"
5687 if test : != "$DUMPBIN"; then
5691 test -z "$NM" && NM
=nm
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5699 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5700 if ${lt_cv_nm_interface+:} false
; then :
5701 $as_echo_n "(cached) " >&6
5703 lt_cv_nm_interface
="BSD nm"
5704 echo "int some_variable = 0;" > conftest.
$ac_ext
5705 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5706 (eval "$ac_compile" 2>conftest.err
)
5707 cat conftest.err
>&5
5708 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5709 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5710 cat conftest.err
>&5
5711 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5712 cat conftest.out
>&5
5713 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5714 lt_cv_nm_interface
="MS dumpbin"
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5719 $as_echo "$lt_cv_nm_interface" >&6; }
5721 # find the maximum length of command line arguments
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5723 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5724 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5725 $as_echo_n "(cached) " >&6
5732 # On DJGPP, this test can blow up pretty badly due to problems in libc
5733 # (any single argument exceeding 2000 bytes causes a buffer overrun
5734 # during glob expansion). Even if it were fixed, the result of this
5735 # check would be larger than it should be.
5736 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5740 # Under GNU Hurd, this test is not required because there is
5741 # no limit to the length of command line arguments.
5742 # Libtool will interpret -1 as no limit whatsoever
5743 lt_cv_sys_max_cmd_len
=-1;
5746 cygwin
* | mingw
* | cegcc
*)
5747 # On Win9x/ME, this test blows up -- it succeeds, but takes
5748 # about 5 minutes as the teststring grows exponentially.
5749 # Worse, since 9x/ME are not pre-emptively multitasking,
5750 # you end up with a "frozen" computer, even though with patience
5751 # the test eventually succeeds (with a max line length of 256k).
5752 # Instead, let's just punt: use the minimum linelength reported by
5753 # all of the supported platforms: 8192 (on NT/2K/XP).
5754 lt_cv_sys_max_cmd_len
=8192;
5758 # On MiNT this can take a long time and run out of memory.
5759 lt_cv_sys_max_cmd_len
=8192;
5763 # On AmigaOS with pdksh, this test takes hours, literally.
5764 # So we just punt and use a minimum line length of 8192.
5765 lt_cv_sys_max_cmd_len
=8192;
5768 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
5769 # This has been around since 386BSD, at least. Likely further.
5770 if test -x /sbin
/sysctl
; then
5771 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5772 elif test -x /usr
/sbin
/sysctl
; then
5773 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5775 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5777 # And add a safety zone
5778 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5779 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5783 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5784 lt_cv_sys_max_cmd_len
=196608
5788 # The test takes a long time on OS/2.
5789 lt_cv_sys_max_cmd_len
=8192
5793 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5794 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5795 # nice to cause kernel panics so lets avoid the loop below.
5796 # First set a reasonable default.
5797 lt_cv_sys_max_cmd_len
=16384
5799 if test -x /sbin
/sysconfig
; then
5800 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5801 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5806 lt_cv_sys_max_cmd_len
=102400
5808 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5809 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5810 if test -n "$kargmax"; then
5811 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5813 lt_cv_sys_max_cmd_len
=32768
5817 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5818 if test -n "$lt_cv_sys_max_cmd_len" && \
5819 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
5820 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5821 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5823 # Make teststring a little bigger before we do anything with it.
5824 # a 1K string should be a reasonable start.
5825 for i
in 1 2 3 4 5 6 7 8; do
5826 teststring
=$teststring$teststring
5828 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5829 # If test is not a shell built-in, we'll probably end up computing a
5830 # maximum length that is only half of the actual maximum length, but
5832 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
5833 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5834 test 17 != "$i" # 1/2 MB should be enough
5837 teststring
=$teststring$teststring
5839 # Only check the string length outside the loop.
5840 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5842 # Add a significant safety factor because C++ compilers can tack on
5843 # massive amounts of additional arguments before passing them to the
5844 # linker. It appears as though 1/2 is a usable value.
5845 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5852 if test -n "$lt_cv_sys_max_cmd_len"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5854 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5857 $as_echo "none" >&6; }
5859 max_cmd_len
=$lt_cv_sys_max_cmd_len
5870 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5880 # test EBCDIC or ASCII
5881 case `echo X|tr X '\101'` in
5882 A
) # ASCII based system
5883 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5884 lt_SP2NL
='tr \040 \012'
5885 lt_NL2SP
='tr \015\012 \040\040'
5887 *) # EBCDIC based system
5888 lt_SP2NL
='tr \100 \n'
5889 lt_NL2SP
='tr \r\n \100\100'
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5902 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5903 if ${lt_cv_to_host_file_cmd+:} false
; then :
5904 $as_echo_n "(cached) " >&6
5909 *-*-mingw* ) # actually msys
5910 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5913 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5915 * ) # otherwise, assume *nix
5916 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5922 *-*-mingw* ) # actually msys
5923 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5926 lt_cv_to_host_file_cmd
=func_convert_file_noop
5928 * ) # otherwise, assume *nix
5929 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5933 * ) # unhandled hosts (and "normal" native builds)
5934 lt_cv_to_host_file_cmd
=func_convert_file_noop
5940 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5942 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5949 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5950 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5951 $as_echo_n "(cached) " >&6
5953 #assume ordinary cross tools, or native build.
5954 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5958 *-*-mingw* ) # actually msys
5959 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5967 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5969 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5976 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5977 if ${lt_cv_ld_reload_flag+:} false
; then :
5978 $as_echo_n "(cached) " >&6
5980 lt_cv_ld_reload_flag
='-r'
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5983 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5984 reload_flag
=$lt_cv_ld_reload_flag
5985 case $reload_flag in
5987 *) reload_flag
=" $reload_flag" ;;
5989 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5991 cygwin
* | mingw
* | pw32
* | cegcc
*)
5992 if test yes != "$GCC"; then
5997 if test yes = "$GCC"; then
5998 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6000 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6013 if test -n "$ac_tool_prefix"; then
6014 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6015 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6019 $as_echo_n "(cached) " >&6
6021 if test -n "$OBJDUMP"; then
6022 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6028 test -z "$as_dir" && as_dir
=.
6029 for ac_exec_ext
in '' $ac_executable_extensions; do
6030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 OBJDUMP
=$ac_cv_prog_OBJDUMP
6042 if test -n "$OBJDUMP"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6044 $as_echo "$OBJDUMP" >&6; }
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6052 if test -z "$ac_cv_prog_OBJDUMP"; then
6053 ac_ct_OBJDUMP
=$OBJDUMP
6054 # Extract the first word of "objdump", so it can be a program name with args.
6055 set dummy objdump
; ac_word
=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6059 $as_echo_n "(cached) " >&6
6061 if test -n "$ac_ct_OBJDUMP"; then
6062 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6068 test -z "$as_dir" && as_dir
=.
6069 for ac_exec_ext
in '' $ac_executable_extensions; do
6070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6082 if test -n "$ac_ct_OBJDUMP"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6084 $as_echo "$ac_ct_OBJDUMP" >&6; }
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6090 if test "x$ac_ct_OBJDUMP" = x
; then
6093 case $cross_compiling:$ac_tool_warned in
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6097 ac_tool_warned
=yes ;;
6099 OBJDUMP
=$ac_ct_OBJDUMP
6102 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6105 test -z "$OBJDUMP" && OBJDUMP
=objdump
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6113 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6114 if ${lt_cv_deplibs_check_method+:} false
; then :
6115 $as_echo_n "(cached) " >&6
6117 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6118 lt_cv_file_magic_test_file
=
6119 lt_cv_deplibs_check_method
='unknown'
6120 # Need to set the preceding variable on all platforms that support
6121 # interlibrary dependencies.
6122 # 'none' -- dependencies not supported.
6123 # 'unknown' -- same as none, but documents that we really don't know.
6124 # 'pass_all' -- all dependencies passed with no checks.
6125 # 'test_compile' -- check by making test program.
6126 # 'file_magic [[regex]]' -- check by looking for files in library path
6127 # that responds to the $file_magic_cmd with a given extended regex.
6128 # If you have 'file' or equivalent on your system and you're not sure
6129 # whether 'pass_all' will *always* work, you probably want this one.
6133 lt_cv_deplibs_check_method
=pass_all
6137 lt_cv_deplibs_check_method
=pass_all
6141 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6142 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6143 lt_cv_file_magic_test_file
=/shlib
/libc.so
6147 # func_win32_libid is a shell function defined in ltmain.sh
6148 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6149 lt_cv_file_magic_cmd
='func_win32_libid'
6153 # Base MSYS/MinGW do not provide the 'file' command needed by
6154 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6155 # unless we find 'file', for example because we are cross-compiling.
6156 if ( file / ) >/dev
/null
2>&1; then
6157 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6158 lt_cv_file_magic_cmd
='func_win32_libid'
6160 # Keep this pattern in sync with the one in func_win32_libid.
6161 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6162 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6167 # use the weaker test based on 'objdump'. See mingw*.
6168 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6169 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6172 darwin
* | rhapsody
*)
6173 lt_cv_deplibs_check_method
=pass_all
6176 freebsd
* | dragonfly
*)
6177 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6180 # Not sure whether the presence of OpenBSD here was a mistake.
6181 # Let's accept both of them until this is cleared up.
6182 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6183 lt_cv_file_magic_cmd
=/usr
/bin
/file
6184 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6188 lt_cv_deplibs_check_method
=pass_all
6193 lt_cv_deplibs_check_method
=pass_all
6196 hpux10.20
* | hpux11
*)
6197 lt_cv_file_magic_cmd
=/usr
/bin
/file
6200 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6201 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6204 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]'
6205 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6208 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6209 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6215 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6216 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6219 irix5
* | irix6
* | nonstopux
*)
6221 *-32|
*"-32 ") libmagic
=32-bit;;
6222 *-n32|
*"-n32 ") libmagic
=N32
;;
6223 *-64|
*"-64 ") libmagic
=64-bit;;
6224 *) libmagic
=never-match
;;
6226 lt_cv_deplibs_check_method
=pass_all
6229 # This must be glibc/ELF.
6230 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
6231 lt_cv_deplibs_check_method
=pass_all
6235 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6236 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6238 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6243 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6244 lt_cv_file_magic_cmd
=/usr
/bin
/file
6245 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6249 lt_cv_deplibs_check_method
=pass_all
6253 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6254 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6256 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6260 osf3
* | osf4
* | osf5
*)
6261 lt_cv_deplibs_check_method
=pass_all
6265 lt_cv_deplibs_check_method
=pass_all
6269 lt_cv_deplibs_check_method
=pass_all
6272 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6273 lt_cv_deplibs_check_method
=pass_all
6277 case $host_vendor in
6279 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]'
6280 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6283 lt_cv_deplibs_check_method
=pass_all
6286 lt_cv_file_magic_cmd
='/bin/file'
6287 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6290 lt_cv_file_magic_cmd
='/bin/file'
6291 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6292 lt_cv_file_magic_test_file
=/lib
/libc.so
6295 lt_cv_deplibs_check_method
=pass_all
6298 lt_cv_deplibs_check_method
=pass_all
6304 lt_cv_deplibs_check_method
=pass_all
6307 lt_cv_deplibs_check_method
=pass_all
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6313 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6317 if test "$build" = "$host"; then
6320 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
6323 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6329 file_magic_cmd
=$lt_cv_file_magic_cmd
6330 deplibs_check_method
=$lt_cv_deplibs_check_method
6331 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6354 if test -n "$ac_tool_prefix"; then
6355 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6356 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358 $as_echo_n "checking for $ac_word... " >&6; }
6359 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6360 $as_echo_n "(cached) " >&6
6362 if test -n "$DLLTOOL"; then
6363 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6369 test -z "$as_dir" && as_dir
=.
6370 for ac_exec_ext
in '' $ac_executable_extensions; do
6371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6372 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 DLLTOOL
=$ac_cv_prog_DLLTOOL
6383 if test -n "$DLLTOOL"; then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6385 $as_echo "$DLLTOOL" >&6; }
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6388 $as_echo "no" >&6; }
6393 if test -z "$ac_cv_prog_DLLTOOL"; then
6394 ac_ct_DLLTOOL
=$DLLTOOL
6395 # Extract the first word of "dlltool", so it can be a program name with args.
6396 set dummy dlltool
; ac_word
=$2
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6400 $as_echo_n "(cached) " >&6
6402 if test -n "$ac_ct_DLLTOOL"; then
6403 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6409 test -z "$as_dir" && as_dir
=.
6410 for ac_exec_ext
in '' $ac_executable_extensions; do
6411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6412 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6423 if test -n "$ac_ct_DLLTOOL"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6425 $as_echo "$ac_ct_DLLTOOL" >&6; }
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6431 if test "x$ac_ct_DLLTOOL" = x
; then
6434 case $cross_compiling:$ac_tool_warned in
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6438 ac_tool_warned
=yes ;;
6440 DLLTOOL
=$ac_ct_DLLTOOL
6443 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6446 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6455 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6456 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6457 $as_echo_n "(cached) " >&6
6459 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6462 cygwin
* | mingw
* | pw32
* | cegcc
*)
6463 # two different shell functions defined in ltmain.sh;
6464 # decide which one to use based on capabilities of $DLLTOOL
6465 case `$DLLTOOL --help 2>&1` in
6466 *--identify-strict*)
6467 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6470 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6475 # fallback: assume linklib IS sharedlib
6476 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6482 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6483 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6484 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6492 if test -n "$ac_tool_prefix"; then
6495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6496 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498 $as_echo_n "checking for $ac_word... " >&6; }
6499 if ${ac_cv_prog_AR+:} false
; then :
6500 $as_echo_n "(cached) " >&6
6502 if test -n "$AR"; then
6503 ac_cv_prog_AR
="$AR" # Let the user override the test.
6505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6509 test -z "$as_dir" && as_dir
=.
6510 for ac_exec_ext
in '' $ac_executable_extensions; do
6511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6512 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 if test -n "$AR"; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6525 $as_echo "$AR" >&6; }
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6528 $as_echo "no" >&6; }
6532 test -n "$AR" && break
6535 if test -z "$AR"; then
6539 # Extract the first word of "$ac_prog", so it can be a program name with args.
6540 set dummy
$ac_prog; ac_word
=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6544 $as_echo_n "(cached) " >&6
6546 if test -n "$ac_ct_AR"; then
6547 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir
=.
6554 for ac_exec_ext
in '' $ac_executable_extensions; do
6555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_prog_ac_ct_AR
="$ac_prog"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6567 if test -n "$ac_ct_AR"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6569 $as_echo "$ac_ct_AR" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6576 test -n "$ac_ct_AR" && break
6579 if test "x$ac_ct_AR" = x
; then
6582 case $cross_compiling:$ac_tool_warned in
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6586 ac_tool_warned
=yes ;;
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6606 $as_echo_n "checking for archiver @FILE support... " >&6; }
6607 if ${lt_cv_ar_at_file+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6622 if ac_fn_c_try_compile
"$LINENO"; then :
6623 echo conftest.
$ac_objext > conftest.lst
6624 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6625 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6626 (eval $lt_ar_try) 2>&5
6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629 test $ac_status = 0; }
6630 if test 0 -eq "$ac_status"; then
6631 # Ensure the archiver fails upon bogus file names.
6632 rm -f conftest.
$ac_objext libconftest.a
6633 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6634 (eval $lt_ar_try) 2>&5
6636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6637 test $ac_status = 0; }
6638 if test 0 -ne "$ac_status"; then
6642 rm -f conftest.
* libconftest.a
6645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6649 $as_echo "$lt_cv_ar_at_file" >&6; }
6651 if test no
= "$lt_cv_ar_at_file"; then
6654 archiver_list_spec
=$lt_cv_ar_at_file
6663 if test -n "$ac_tool_prefix"; then
6664 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6665 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if ${ac_cv_prog_STRIP+:} false
; then :
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$STRIP"; then
6672 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir
=.
6679 for ac_exec_ext
in '' $ac_executable_extensions; do
6680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6681 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 STRIP
=$ac_cv_prog_STRIP
6692 if test -n "$STRIP"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6694 $as_echo "$STRIP" >&6; }
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6702 if test -z "$ac_cv_prog_STRIP"; then
6704 # Extract the first word of "strip", so it can be a program name with args.
6705 set dummy strip
; ac_word
=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6709 $as_echo_n "(cached) " >&6
6711 if test -n "$ac_ct_STRIP"; then
6712 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6718 test -z "$as_dir" && as_dir
=.
6719 for ac_exec_ext
in '' $ac_executable_extensions; do
6720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6721 ac_cv_prog_ac_ct_STRIP
="strip"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6731 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6732 if test -n "$ac_ct_STRIP"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6734 $as_echo "$ac_ct_STRIP" >&6; }
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6740 if test "x$ac_ct_STRIP" = x
; then
6743 case $cross_compiling:$ac_tool_warned in
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6747 ac_tool_warned
=yes ;;
6752 STRIP
="$ac_cv_prog_STRIP"
6755 test -z "$STRIP" && STRIP
=:
6762 if test -n "$ac_tool_prefix"; then
6763 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6764 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 $as_echo_n "checking for $ac_word... " >&6; }
6767 if ${ac_cv_prog_RANLIB+:} false
; then :
6768 $as_echo_n "(cached) " >&6
6770 if test -n "$RANLIB"; then
6771 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir
=.
6778 for ac_exec_ext
in '' $ac_executable_extensions; do
6779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 RANLIB
=$ac_cv_prog_RANLIB
6791 if test -n "$RANLIB"; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6793 $as_echo "$RANLIB" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 $as_echo "no" >&6; }
6801 if test -z "$ac_cv_prog_RANLIB"; then
6802 ac_ct_RANLIB
=$RANLIB
6803 # Extract the first word of "ranlib", so it can be a program name with args.
6804 set dummy ranlib
; ac_word
=$2
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806 $as_echo_n "checking for $ac_word... " >&6; }
6807 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6808 $as_echo_n "(cached) " >&6
6810 if test -n "$ac_ct_RANLIB"; then
6811 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6817 test -z "$as_dir" && as_dir
=.
6818 for ac_exec_ext
in '' $ac_executable_extensions; do
6819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6820 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6830 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6831 if test -n "$ac_ct_RANLIB"; then
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6833 $as_echo "$ac_ct_RANLIB" >&6; }
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836 $as_echo "no" >&6; }
6839 if test "x$ac_ct_RANLIB" = x
; then
6842 case $cross_compiling:$ac_tool_warned in
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6846 ac_tool_warned
=yes ;;
6848 RANLIB
=$ac_ct_RANLIB
6851 RANLIB
="$ac_cv_prog_RANLIB"
6854 test -z "$RANLIB" && RANLIB
=:
6861 # Determine commands to create old-style static archives.
6862 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6863 old_postinstall_cmds
='chmod 644 $oldlib'
6864 old_postuninstall_cmds
=
6866 if test -n "$RANLIB"; then
6869 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6872 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6875 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6880 lock_old_archive_extraction
=yes ;;
6882 lock_old_archive_extraction
=no
;;
6923 # If no C compiler was specified, use CC.
6926 # If no C compiler flags were specified, use CFLAGS.
6927 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6929 # Allow CC to be a program name with arguments.
6933 # Check for command to grab the raw symbol name followed by C symbol from nm.
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6935 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6936 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6937 $as_echo_n "(cached) " >&6
6940 # These are sane defaults that work on at least a few old systems.
6941 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6943 # Character class describing NM global symbol codes.
6944 symcode
='[BCDEGRST]'
6946 # Regexp to match symbols that can be accessed directly from C.
6947 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6949 # Define system-specific variables.
6954 cygwin
* | mingw
* | pw32
* | cegcc
*)
6955 symcode
='[ABCDGISTW]'
6958 if test ia64
= "$host_cpu"; then
6959 symcode
='[ABCDEGRST]'
6963 symcode
='[BCDEGRST]'
6966 symcode
='[BCDEGQRST]'
6977 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6985 # If we're using GNU nm, then use its standard symbol codes.
6986 case `$NM -V 2>&1` in
6987 *GNU
* |
*'with BFD'*)
6988 symcode
='[ABCDGIRSTW]' ;;
6991 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6992 # Gets list of data symbols to import.
6993 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6994 # Adjust the below global symbol transforms to fixup imported variables.
6995 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6996 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6997 lt_c_name_lib_hook
="\
6998 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6999 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7001 # Disable hooks by default.
7002 lt_cv_sys_global_symbol_to_import
=
7008 # Transform an extracted symbol line into a proper C declaration.
7009 # Some systems (esp. on ia64) link data and code symbols differently,
7010 # so use this general approach.
7011 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
7013 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7014 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7016 # Transform an extracted symbol line into symbol name and symbol address
7017 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
7019 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7020 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7022 # Transform an extracted symbol line into symbol name with lib prefix and
7024 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
7025 $lt_c_name_lib_hook\
7026 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7027 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7028 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7030 # Handle CRLF in mingw tool chain
7034 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7038 # Try without a prefix underscore, then with it.
7039 for ac_symprfx
in "" "_"; do
7041 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7042 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7044 # Write the raw and C identifiers.
7045 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7046 # Fake it for dumpbin and say T for any non-static function,
7047 # D for any global variable and I for any imported variable.
7048 # Also find C++ and __fastcall symbols from MSVC++,
7049 # which start with @ or ?.
7050 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7051 " {last_section=section; section=\$ 3};"\
7052 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7053 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7054 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7055 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7056 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7057 " \$ 0!~/External *\|/{next};"\
7058 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7059 " {if(hide[section]) next};"\
7060 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7061 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7062 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7063 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7064 " ' prfx=^$ac_symprfx"
7066 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7068 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7070 # Check to see that the pipe works correctly.
7074 cat > conftest.
$ac_ext <<_LT_EOF
7079 void nm_test_func(void);
7080 void nm_test_func(void){}
7084 int main(){nm_test_var='a';nm_test_func();return(0);}
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 # Now try to grab the symbols.
7094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7095 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7098 test $ac_status = 0; } && test -s "$nlist"; then
7099 # Try sorting and uniquifying the output.
7100 if sort "$nlist" |
uniq > "$nlist"T
; then
7101 mv -f "$nlist"T
"$nlist"
7106 # Make sure that we snagged all the symbols we need.
7107 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7108 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7109 cat <<_LT_EOF > conftest.$ac_ext
7110 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7111 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7112 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7113 relocations are performed -- see ld's documentation on pseudo-relocs. */
7114 # define LT_DLSYM_CONST
7115 #elif defined __osf__
7116 /* This system does not cope well with relocations in const data. */
7117 # define LT_DLSYM_CONST
7119 # define LT_DLSYM_CONST const
7127 # Now generate the symbol file.
7128 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7130 cat <<_LT_EOF >> conftest.$ac_ext
7132 /* The mapping between symbol names and symbols. */
7133 LT_DLSYM_CONST struct {
7137 lt__PROGRAM__LTX_preloaded_symbols[] =
7139 { "@PROGRAM@", (void *) 0 },
7141 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7142 cat <<\_LT_EOF
>> conftest.
$ac_ext
7146 /* This works around a problem
in FreeBSD linker
*/
7147 #ifdef FREEBSD_WORKAROUND
7148 static const void
*lt_preloaded_setup
() {
7149 return lt__PROGRAM__LTX_preloaded_symbols
;
7157 # Now try linking the two files.
7158 mv conftest.
$ac_objext conftstm.
$ac_objext
7159 lt_globsym_save_LIBS
=$LIBS
7160 lt_globsym_save_CFLAGS
=$CFLAGS
7161 LIBS
=conftstm.
$ac_objext
7162 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7164 (eval $ac_link) 2>&5
7166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7167 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
7170 LIBS
=$lt_globsym_save_LIBS
7171 CFLAGS
=$lt_globsym_save_CFLAGS
7173 echo "cannot find nm_test_func in $nlist" >&5
7176 echo "cannot find nm_test_var in $nlist" >&5
7179 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7182 echo "$progname: failed program was:" >&5
7183 cat conftest.
$ac_ext >&5
7185 rm -rf conftest
* conftst
*
7187 # Do not use the global_symbol_pipe unless it works.
7188 if test yes = "$pipe_works"; then
7191 lt_cv_sys_global_symbol_pipe
=
7197 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7198 lt_cv_sys_global_symbol_to_cdecl
=
7200 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7202 $as_echo "failed" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7205 $as_echo "ok" >&6; }
7208 # Response file support.
7209 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7210 nm_file_list_spec
='@'
7211 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7212 nm_file_list_spec
='@'
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7252 $as_echo_n "checking for sysroot... " >&6; }
7254 # Check whether --with-sysroot was given.
7255 if test "${with_sysroot+set}" = set; then :
7256 withval
=$with_sysroot;
7263 case $with_sysroot in #(
7265 if test yes = "$GCC"; then
7266 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7270 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7276 $as_echo "$with_sysroot" >&6; }
7277 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7282 $as_echo "${lt_sysroot:-no}" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7289 $as_echo_n "checking for a working dd... " >&6; }
7290 if ${ac_cv_path_lt_DD+:} false
; then :
7291 $as_echo_n "(cached) " >&6
7293 printf 0123456789abcdef0123456789abcdef
>conftest.i
7294 cat conftest.i conftest.i
>conftest2.i
7296 if test -z "$lt_DD"; then
7297 ac_path_lt_DD_found
=false
7298 # Loop through the user's path and test for each of PROGNAME-LIST
7299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7303 test -z "$as_dir" && as_dir
=.
7304 for ac_prog
in dd; do
7305 for ac_exec_ext
in '' $ac_executable_extensions; do
7306 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
7307 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
7308 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7309 cmp -s conftest.i conftest.out \
7310 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
7312 $ac_path_lt_DD_found && break 3
7317 if test -z "$ac_cv_path_lt_DD"; then
7321 ac_cv_path_lt_DD
=$lt_DD
7324 rm -f conftest.i conftest2.i conftest.out
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7327 $as_echo "$ac_cv_path_lt_DD" >&6; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7331 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7332 if ${lt_cv_truncate_bin+:} false
; then :
7333 $as_echo_n "(cached) " >&6
7335 printf 0123456789abcdef0123456789abcdef
>conftest.i
7336 cat conftest.i conftest.i
>conftest2.i
7338 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7339 cmp -s conftest.i conftest.out \
7340 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
7342 rm -f conftest.i conftest2.i conftest.out
7343 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7346 $as_echo "$lt_cv_truncate_bin" >&6; }
7354 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7357 for cc_temp
in $
*""; do
7359 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7360 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7365 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7368 # Check whether --enable-libtool-lock was given.
7369 if test "${enable_libtool_lock+set}" = set; then :
7370 enableval
=$enable_libtool_lock;
7373 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
7375 # Some flags need to be propagated to the compiler or linker for good
7379 # Find out what ABI is being produced by ac_compile, and set mode
7380 # options accordingly.
7381 echo 'int i;' > conftest.
$ac_ext
7382 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7383 (eval $ac_compile) 2>&5
7385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7386 test $ac_status = 0; }; then
7387 case `/usr/bin/file conftest.$ac_objext` in
7399 # Find out what ABI is being produced by ac_compile, and set linker
7400 # options accordingly.
7401 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7403 (eval $ac_compile) 2>&5
7405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7406 test $ac_status = 0; }; then
7407 if test yes = "$lt_cv_prog_gnu_ld"; then
7408 case `/usr/bin/file conftest.$ac_objext` in
7410 LD
="${LD-ld} -melf32bsmip"
7413 LD
="${LD-ld} -melf32bmipn32"
7416 LD
="${LD-ld} -melf64bmip"
7420 case `/usr/bin/file conftest.$ac_objext` in
7437 # Find out what ABI is being produced by ac_compile, and set linker
7438 # options accordingly.
7439 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7441 (eval $ac_compile) 2>&5
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444 test $ac_status = 0; }; then
7446 case `/usr/bin/file conftest.$ac_objext` in
7454 case `/usr/bin/file conftest.$ac_objext` in
7456 emul
="${emul}btsmip"
7459 emul
="${emul}ltsmip"
7462 case `/usr/bin/file conftest.$ac_objext` in
7467 LD
="${LD-ld} -m $emul"
7472 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7473 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7474 # Find out what ABI is being produced by ac_compile, and set linker
7475 # options accordingly. Note that the listed cases only cover the
7476 # situations where additional linker options are needed (such as when
7477 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7478 # vice versa); the common cases where no linker options are needed do
7479 # not appear in the list.
7480 echo 'int i;' > conftest.
$ac_ext
7481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7482 (eval $ac_compile) 2>&5
7484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7485 test $ac_status = 0; }; then
7486 case `/usr/bin/file conftest.o` in
7489 x86_64-
*kfreebsd
*-gnu)
7490 LD
="${LD-ld} -m elf_i386_fbsd"
7493 case `/usr/bin/file conftest.o` in
7495 LD
="${LD-ld} -m elf32_x86_64"
7498 LD
="${LD-ld} -m elf_i386"
7502 powerpc64le-
*linux
*)
7503 LD
="${LD-ld} -m elf32lppclinux"
7506 LD
="${LD-ld} -m elf32ppclinux"
7509 LD
="${LD-ld} -m elf_s390"
7512 LD
="${LD-ld} -m elf32_sparc"
7518 x86_64-
*kfreebsd
*-gnu)
7519 LD
="${LD-ld} -m elf_x86_64_fbsd"
7522 LD
="${LD-ld} -m elf_x86_64"
7525 LD
="${LD-ld} -m elf64lppc"
7528 LD
="${LD-ld} -m elf64ppc"
7530 s390
*-*linux
*|s390
*-*tpf
*)
7531 LD
="${LD-ld} -m elf64_s390"
7534 LD
="${LD-ld} -m elf64_sparc"
7544 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7546 CFLAGS
="$CFLAGS -belf"
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7548 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7549 if ${lt_cv_cc_needs_belf+:} false
; then :
7550 $as_echo_n "(cached) " >&6
7553 ac_cpp
='$CPP $CPPFLAGS'
7554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7559 /* end confdefs.h. */
7569 if ac_fn_c_try_link
"$LINENO"; then :
7570 lt_cv_cc_needs_belf
=yes
7572 lt_cv_cc_needs_belf
=no
7574 rm -f core conftest.err conftest.
$ac_objext \
7575 conftest
$ac_exeext conftest.
$ac_ext
7577 ac_cpp
='$CPP $CPPFLAGS'
7578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7584 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7585 if test yes != "$lt_cv_cc_needs_belf"; then
7586 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7591 # Find out what ABI is being produced by ac_compile, and set linker
7592 # options accordingly.
7593 echo 'int i;' > conftest.
$ac_ext
7594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7595 (eval $ac_compile) 2>&5
7597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598 test $ac_status = 0; }; then
7599 case `/usr/bin/file conftest.o` in
7601 case $lt_cv_prog_gnu_ld in
7604 i?
86-*-solaris*|x86_64-
*-solaris*)
7605 LD
="${LD-ld} -m elf_x86_64"
7608 LD
="${LD-ld} -m elf64_sparc"
7611 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7612 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
7617 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7629 need_locks
=$enable_libtool_lock
7631 if test -n "$ac_tool_prefix"; then
7632 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7633 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7637 $as_echo_n "(cached) " >&6
7639 if test -n "$MANIFEST_TOOL"; then
7640 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7646 test -z "$as_dir" && as_dir
=.
7647 for ac_exec_ext
in '' $ac_executable_extensions; do
7648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7649 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7660 if test -n "$MANIFEST_TOOL"; then
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7662 $as_echo "$MANIFEST_TOOL" >&6; }
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665 $as_echo "no" >&6; }
7670 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7671 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7672 # Extract the first word of "mt", so it can be a program name with args.
7673 set dummy mt
; ac_word
=$2
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7675 $as_echo_n "checking for $ac_word... " >&6; }
7676 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7677 $as_echo_n "(cached) " >&6
7679 if test -n "$ac_ct_MANIFEST_TOOL"; then
7680 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7686 test -z "$as_dir" && as_dir
=.
7687 for ac_exec_ext
in '' $ac_executable_extensions; do
7688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7689 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7699 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7700 if test -n "$ac_ct_MANIFEST_TOOL"; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7702 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7705 $as_echo "no" >&6; }
7708 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7711 case $cross_compiling:$ac_tool_warned in
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7715 ac_tool_warned
=yes ;;
7717 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7720 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7723 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7725 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7726 if ${lt_cv_path_mainfest_tool+:} false
; then :
7727 $as_echo_n "(cached) " >&6
7729 lt_cv_path_mainfest_tool
=no
7730 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7731 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7732 cat conftest.err
>&5
7733 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7734 lt_cv_path_mainfest_tool
=yes
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7739 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7740 if test yes != "$lt_cv_path_mainfest_tool"; then
7750 rhapsody
* | darwin
*)
7751 if test -n "$ac_tool_prefix"; then
7752 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7753 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7755 $as_echo_n "checking for $ac_word... " >&6; }
7756 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7757 $as_echo_n "(cached) " >&6
7759 if test -n "$DSYMUTIL"; then
7760 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir
=.
7767 for ac_exec_ext
in '' $ac_executable_extensions; do
7768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7769 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7780 if test -n "$DSYMUTIL"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7782 $as_echo "$DSYMUTIL" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785 $as_echo "no" >&6; }
7790 if test -z "$ac_cv_prog_DSYMUTIL"; then
7791 ac_ct_DSYMUTIL
=$DSYMUTIL
7792 # Extract the first word of "dsymutil", so it can be a program name with args.
7793 set dummy dsymutil
; ac_word
=$2
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7795 $as_echo_n "checking for $ac_word... " >&6; }
7796 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7797 $as_echo_n "(cached) " >&6
7799 if test -n "$ac_ct_DSYMUTIL"; then
7800 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir
=.
7807 for ac_exec_ext
in '' $ac_executable_extensions; do
7808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7809 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7819 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7820 if test -n "$ac_ct_DSYMUTIL"; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7822 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7825 $as_echo "no" >&6; }
7828 if test "x$ac_ct_DSYMUTIL" = x
; then
7831 case $cross_compiling:$ac_tool_warned in
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7835 ac_tool_warned
=yes ;;
7837 DSYMUTIL
=$ac_ct_DSYMUTIL
7840 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7843 if test -n "$ac_tool_prefix"; then
7844 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7845 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7847 $as_echo_n "checking for $ac_word... " >&6; }
7848 if ${ac_cv_prog_NMEDIT+:} false
; then :
7849 $as_echo_n "(cached) " >&6
7851 if test -n "$NMEDIT"; then
7852 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7858 test -z "$as_dir" && as_dir
=.
7859 for ac_exec_ext
in '' $ac_executable_extensions; do
7860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7861 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 NMEDIT
=$ac_cv_prog_NMEDIT
7872 if test -n "$NMEDIT"; then
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7874 $as_echo "$NMEDIT" >&6; }
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7877 $as_echo "no" >&6; }
7882 if test -z "$ac_cv_prog_NMEDIT"; then
7883 ac_ct_NMEDIT
=$NMEDIT
7884 # Extract the first word of "nmedit", so it can be a program name with args.
7885 set dummy nmedit
; ac_word
=$2
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7887 $as_echo_n "checking for $ac_word... " >&6; }
7888 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7889 $as_echo_n "(cached) " >&6
7891 if test -n "$ac_ct_NMEDIT"; then
7892 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7898 test -z "$as_dir" && as_dir
=.
7899 for ac_exec_ext
in '' $ac_executable_extensions; do
7900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7901 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7911 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7912 if test -n "$ac_ct_NMEDIT"; then
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7914 $as_echo "$ac_ct_NMEDIT" >&6; }
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 $as_echo "no" >&6; }
7920 if test "x$ac_ct_NMEDIT" = x
; then
7923 case $cross_compiling:$ac_tool_warned in
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7927 ac_tool_warned
=yes ;;
7929 NMEDIT
=$ac_ct_NMEDIT
7932 NMEDIT
="$ac_cv_prog_NMEDIT"
7935 if test -n "$ac_tool_prefix"; then
7936 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7937 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939 $as_echo_n "checking for $ac_word... " >&6; }
7940 if ${ac_cv_prog_LIPO+:} false
; then :
7941 $as_echo_n "(cached) " >&6
7943 if test -n "$LIPO"; then
7944 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7950 test -z "$as_dir" && as_dir
=.
7951 for ac_exec_ext
in '' $ac_executable_extensions; do
7952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7953 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7963 LIPO
=$ac_cv_prog_LIPO
7964 if test -n "$LIPO"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7966 $as_echo "$LIPO" >&6; }
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969 $as_echo "no" >&6; }
7974 if test -z "$ac_cv_prog_LIPO"; then
7976 # Extract the first word of "lipo", so it can be a program name with args.
7977 set dummy lipo
; ac_word
=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979 $as_echo_n "checking for $ac_word... " >&6; }
7980 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7981 $as_echo_n "(cached) " >&6
7983 if test -n "$ac_ct_LIPO"; then
7984 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7990 test -z "$as_dir" && as_dir
=.
7991 for ac_exec_ext
in '' $ac_executable_extensions; do
7992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7993 ac_cv_prog_ac_ct_LIPO
="lipo"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8003 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8004 if test -n "$ac_ct_LIPO"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8006 $as_echo "$ac_ct_LIPO" >&6; }
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8012 if test "x$ac_ct_LIPO" = x
; then
8015 case $cross_compiling:$ac_tool_warned in
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8019 ac_tool_warned
=yes ;;
8024 LIPO
="$ac_cv_prog_LIPO"
8027 if test -n "$ac_tool_prefix"; then
8028 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8029 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8031 $as_echo_n "checking for $ac_word... " >&6; }
8032 if ${ac_cv_prog_OTOOL+:} false
; then :
8033 $as_echo_n "(cached) " >&6
8035 if test -n "$OTOOL"; then
8036 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8042 test -z "$as_dir" && as_dir
=.
8043 for ac_exec_ext
in '' $ac_executable_extensions; do
8044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8045 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 OTOOL
=$ac_cv_prog_OTOOL
8056 if test -n "$OTOOL"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8058 $as_echo "$OTOOL" >&6; }
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061 $as_echo "no" >&6; }
8066 if test -z "$ac_cv_prog_OTOOL"; then
8068 # Extract the first word of "otool", so it can be a program name with args.
8069 set dummy otool
; ac_word
=$2
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8071 $as_echo_n "checking for $ac_word... " >&6; }
8072 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8073 $as_echo_n "(cached) " >&6
8075 if test -n "$ac_ct_OTOOL"; then
8076 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8082 test -z "$as_dir" && as_dir
=.
8083 for ac_exec_ext
in '' $ac_executable_extensions; do
8084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8085 ac_cv_prog_ac_ct_OTOOL
="otool"
8086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8095 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8096 if test -n "$ac_ct_OTOOL"; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8098 $as_echo "$ac_ct_OTOOL" >&6; }
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101 $as_echo "no" >&6; }
8104 if test "x$ac_ct_OTOOL" = x
; then
8107 case $cross_compiling:$ac_tool_warned in
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8111 ac_tool_warned
=yes ;;
8116 OTOOL
="$ac_cv_prog_OTOOL"
8119 if test -n "$ac_tool_prefix"; then
8120 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8121 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8123 $as_echo_n "checking for $ac_word... " >&6; }
8124 if ${ac_cv_prog_OTOOL64+:} false
; then :
8125 $as_echo_n "(cached) " >&6
8127 if test -n "$OTOOL64"; then
8128 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8134 test -z "$as_dir" && as_dir
=.
8135 for ac_exec_ext
in '' $ac_executable_extensions; do
8136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8137 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 OTOOL64
=$ac_cv_prog_OTOOL64
8148 if test -n "$OTOOL64"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8150 $as_echo "$OTOOL64" >&6; }
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153 $as_echo "no" >&6; }
8158 if test -z "$ac_cv_prog_OTOOL64"; then
8159 ac_ct_OTOOL64
=$OTOOL64
8160 # Extract the first word of "otool64", so it can be a program name with args.
8161 set dummy otool64
; ac_word
=$2
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8163 $as_echo_n "checking for $ac_word... " >&6; }
8164 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8165 $as_echo_n "(cached) " >&6
8167 if test -n "$ac_ct_OTOOL64"; then
8168 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8174 test -z "$as_dir" && as_dir
=.
8175 for ac_exec_ext
in '' $ac_executable_extensions; do
8176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8177 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8187 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8188 if test -n "$ac_ct_OTOOL64"; then
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8190 $as_echo "$ac_ct_OTOOL64" >&6; }
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8193 $as_echo "no" >&6; }
8196 if test "x$ac_ct_OTOOL64" = x
; then
8199 case $cross_compiling:$ac_tool_warned in
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8203 ac_tool_warned
=yes ;;
8205 OTOOL64
=$ac_ct_OTOOL64
8208 OTOOL64
="$ac_cv_prog_OTOOL64"
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8238 $as_echo_n "checking for -single_module linker flag... " >&6; }
8239 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8240 $as_echo_n "(cached) " >&6
8242 lt_cv_apple_cc_single_mod
=no
8243 if test -z "$LT_MULTI_MODULE"; then
8244 # By default we will add the -single_module flag. You can override
8245 # by either setting the environment variable LT_MULTI_MODULE
8246 # non-empty at configure time, or by adding -multi_module to the
8248 rm -rf libconftest.dylib
*
8249 echo "int foo(void){return 1;}" > conftest.c
8250 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8251 -dynamiclib -Wl,-single_module conftest.c" >&5
8252 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8253 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8255 # If there is a non-empty error log, and "single_module"
8256 # appears in it, assume the flag caused a linker warning
8257 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8258 cat conftest.err
>&5
8259 # Otherwise, if the output was created with a 0 exit code from
8260 # the compiler, it worked.
8261 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
8262 lt_cv_apple_cc_single_mod
=yes
8264 cat conftest.err
>&5
8266 rm -rf libconftest.dylib
*
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8271 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8274 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8275 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8276 $as_echo_n "(cached) " >&6
8278 lt_cv_ld_exported_symbols_list
=no
8279 save_LDFLAGS
=$LDFLAGS
8280 echo "_main" > conftest.sym
8281 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8293 if ac_fn_c_try_link
"$LINENO"; then :
8294 lt_cv_ld_exported_symbols_list
=yes
8296 lt_cv_ld_exported_symbols_list
=no
8298 rm -f core conftest.err conftest.
$ac_objext \
8299 conftest
$ac_exeext conftest.
$ac_ext
8300 LDFLAGS
=$save_LDFLAGS
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8304 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8307 $as_echo_n "checking for -force_load linker flag... " >&6; }
8308 if ${lt_cv_ld_force_load+:} false
; then :
8309 $as_echo_n "(cached) " >&6
8311 lt_cv_ld_force_load
=no
8312 cat > conftest.c
<< _LT_EOF
8313 int forced_loaded() { return 2;}
8315 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8316 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8317 echo "$AR cru libconftest.a conftest.o" >&5
8318 $AR cru libconftest.a conftest.o
2>&5
8319 echo "$RANLIB libconftest.a" >&5
8320 $RANLIB libconftest.a
2>&5
8321 cat > conftest.c
<< _LT_EOF
8322 int main() { return 0;}
8324 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8325 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8327 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8328 cat conftest.err
>&5
8329 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
8330 lt_cv_ld_force_load
=yes
8332 cat conftest.err
>&5
8334 rm -f conftest.err libconftest.a conftest conftest.c
8335 rm -rf conftest.dSYM
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8339 $as_echo "$lt_cv_ld_force_load" >&6; }
8341 rhapsody
* | darwin1.
[012])
8342 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
8344 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8345 darwin
*) # darwin 5.x on
8346 # if running on 10.5 or later, the deployment target defaults
8347 # to the OS version, if on x86, and 10.4, the deployment
8348 # target defaults to 10.4. Don't you love it?
8349 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8350 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8351 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
8353 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8355 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
8359 if test yes = "$lt_cv_apple_cc_single_mod"; then
8360 _lt_dar_single_mod
='$single_module'
8362 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8363 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8365 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8367 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
8368 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8375 # func_munge_path_list VARIABLE PATH
8376 # -----------------------------------
8377 # VARIABLE is name of variable containing _space_ separated list of
8378 # directories to be munged by the contents of PATH, which is string
8381 # string "DIR[ DIR]" will be prepended to VARIABLE
8383 # string "DIR[ DIR]" will be appended to VARIABLE
8384 # "DIRP[:DIRP]::[DIRA:]DIRA"
8385 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8386 # "DIRA[ DIRA]" will be appended to VARIABLE
8388 # VARIABLE will be replaced by "DIR[ DIR]"
8389 func_munge_path_list
()
8395 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
8398 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8401 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8402 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
8405 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8411 ac_cpp
='$CPP $CPPFLAGS'
8412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8416 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8417 # On Suns, sometimes $CPP names a directory.
8418 if test -n "$CPP" && test -d "$CPP"; then
8421 if test -z "$CPP"; then
8422 if ${ac_cv_prog_CPP+:} false
; then :
8423 $as_echo_n "(cached) " >&6
8425 # Double quotes because CPP needs to be expanded
8426 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8429 for ac_c_preproc_warn_flag
in '' yes
8431 # Use a header file that comes with gcc, so configuring glibc
8432 # with a fresh cross-compiler works.
8433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8434 # <limits.h> exists even on freestanding compilers.
8435 # On the NeXT, cc -E runs the code through the compiler's parser,
8436 # not just through cpp. "Syntax error" is here to catch this case.
8437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8438 /* end confdefs.h. */
8440 # include <limits.h>
8442 # include <assert.h>
8446 if ac_fn_c_try_cpp
"$LINENO"; then :
8449 # Broken: fails on valid input.
8452 rm -f conftest.err conftest.i conftest.
$ac_ext
8454 # OK, works on sane cases. Now check whether nonexistent headers
8455 # can be detected and how.
8456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8458 #include <ac_nonexistent.h>
8460 if ac_fn_c_try_cpp
"$LINENO"; then :
8461 # Broken: success on invalid input.
8464 # Passes both tests.
8468 rm -f conftest.err conftest.i conftest.
$ac_ext
8471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8472 rm -f conftest.i conftest.err conftest.
$ac_ext
8473 if $ac_preproc_ok; then :
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8486 $as_echo "$CPP" >&6; }
8488 for ac_c_preproc_warn_flag
in '' yes
8490 # Use a header file that comes with gcc, so configuring glibc
8491 # with a fresh cross-compiler works.
8492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8493 # <limits.h> exists even on freestanding compilers.
8494 # On the NeXT, cc -E runs the code through the compiler's parser,
8495 # not just through cpp. "Syntax error" is here to catch this case.
8496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8499 # include <limits.h>
8501 # include <assert.h>
8505 if ac_fn_c_try_cpp
"$LINENO"; then :
8508 # Broken: fails on valid input.
8511 rm -f conftest.err conftest.i conftest.
$ac_ext
8513 # OK, works on sane cases. Now check whether nonexistent headers
8514 # can be detected and how.
8515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 #include <ac_nonexistent.h>
8519 if ac_fn_c_try_cpp
"$LINENO"; then :
8520 # Broken: success on invalid input.
8523 # Passes both tests.
8527 rm -f conftest.err conftest.i conftest.
$ac_ext
8530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8531 rm -f conftest.i conftest.err conftest.
$ac_ext
8532 if $ac_preproc_ok; then :
8535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8537 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8538 See \`config.log' for more details" "$LINENO" 5; }
8542 ac_cpp
='$CPP $CPPFLAGS'
8543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8549 $as_echo_n "checking for ANSI C header files... " >&6; }
8550 if ${ac_cv_header_stdc+:} false
; then :
8551 $as_echo_n "(cached) " >&6
8553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8568 if ac_fn_c_try_compile
"$LINENO"; then :
8569 ac_cv_header_stdc
=yes
8571 ac_cv_header_stdc
=no
8573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8575 if test $ac_cv_header_stdc = yes; then
8576 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8583 $EGREP "memchr" >/dev
/null
2>&1; then :
8586 ac_cv_header_stdc
=no
8592 if test $ac_cv_header_stdc = yes; then
8593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8600 $EGREP "free" >/dev
/null
2>&1; then :
8603 ac_cv_header_stdc
=no
8609 if test $ac_cv_header_stdc = yes; then
8610 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8611 if test "$cross_compiling" = yes; then :
8614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8618 #if ((' ' & 0x0FF) == 0x020)
8619 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8620 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8622 # define ISLOWER(c) \
8623 (('a' <= (c) && (c) <= 'i') \
8624 || ('j' <= (c) && (c) <= 'r') \
8625 || ('s' <= (c) && (c) <= 'z'))
8626 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8629 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8634 for (i = 0; i < 256; i++)
8635 if (XOR (islower (i), ISLOWER (i))
8636 || toupper (i) != TOUPPER (i))
8641 if ac_fn_c_try_run
"$LINENO"; then :
8644 ac_cv_header_stdc
=no
8646 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8647 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8653 $as_echo "$ac_cv_header_stdc" >&6; }
8654 if test $ac_cv_header_stdc = yes; then
8656 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8660 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8661 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8662 inttypes.h stdint.h unistd.h
8664 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8665 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8667 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8668 cat >>confdefs.h
<<_ACEOF
8669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8677 for ac_header
in dlfcn.h
8679 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8681 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8682 cat >>confdefs.h
<<_ACEOF
8683 #define HAVE_DLFCN_H 1
8695 enable_win32_dll
=yes
8698 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
8699 if test -n "$ac_tool_prefix"; then
8700 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8701 set dummy
${ac_tool_prefix}as
; ac_word
=$2
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8703 $as_echo_n "checking for $ac_word... " >&6; }
8704 if ${ac_cv_prog_AS+:} false
; then :
8705 $as_echo_n "(cached) " >&6
8707 if test -n "$AS"; then
8708 ac_cv_prog_AS
="$AS" # Let the user override the test.
8710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8714 test -z "$as_dir" && as_dir
=.
8715 for ac_exec_ext
in '' $ac_executable_extensions; do
8716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8717 ac_cv_prog_AS
="${ac_tool_prefix}as"
8718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8728 if test -n "$AS"; then
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8730 $as_echo "$AS" >&6; }
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8733 $as_echo "no" >&6; }
8738 if test -z "$ac_cv_prog_AS"; then
8740 # Extract the first word of "as", so it can be a program name with args.
8741 set dummy as
; ac_word
=$2
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8743 $as_echo_n "checking for $ac_word... " >&6; }
8744 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
8745 $as_echo_n "(cached) " >&6
8747 if test -n "$ac_ct_AS"; then
8748 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
8750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8754 test -z "$as_dir" && as_dir
=.
8755 for ac_exec_ext
in '' $ac_executable_extensions; do
8756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8757 ac_cv_prog_ac_ct_AS
="as"
8758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8767 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
8768 if test -n "$ac_ct_AS"; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8770 $as_echo "$ac_ct_AS" >&6; }
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8773 $as_echo "no" >&6; }
8776 if test "x$ac_ct_AS" = x
; then
8779 case $cross_compiling:$ac_tool_warned in
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8783 ac_tool_warned
=yes ;;
8791 if test -n "$ac_tool_prefix"; then
8792 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8793 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8795 $as_echo_n "checking for $ac_word... " >&6; }
8796 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8797 $as_echo_n "(cached) " >&6
8799 if test -n "$DLLTOOL"; then
8800 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8806 test -z "$as_dir" && as_dir
=.
8807 for ac_exec_ext
in '' $ac_executable_extensions; do
8808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8809 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8819 DLLTOOL
=$ac_cv_prog_DLLTOOL
8820 if test -n "$DLLTOOL"; then
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8822 $as_echo "$DLLTOOL" >&6; }
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8825 $as_echo "no" >&6; }
8830 if test -z "$ac_cv_prog_DLLTOOL"; then
8831 ac_ct_DLLTOOL
=$DLLTOOL
8832 # Extract the first word of "dlltool", so it can be a program name with args.
8833 set dummy dlltool
; ac_word
=$2
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8835 $as_echo_n "checking for $ac_word... " >&6; }
8836 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8837 $as_echo_n "(cached) " >&6
8839 if test -n "$ac_ct_DLLTOOL"; then
8840 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8846 test -z "$as_dir" && as_dir
=.
8847 for ac_exec_ext
in '' $ac_executable_extensions; do
8848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8849 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8859 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8860 if test -n "$ac_ct_DLLTOOL"; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8862 $as_echo "$ac_ct_DLLTOOL" >&6; }
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865 $as_echo "no" >&6; }
8868 if test "x$ac_ct_DLLTOOL" = x
; then
8871 case $cross_compiling:$ac_tool_warned in
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8875 ac_tool_warned
=yes ;;
8877 DLLTOOL
=$ac_ct_DLLTOOL
8880 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8883 if test -n "$ac_tool_prefix"; then
8884 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8885 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8887 $as_echo_n "checking for $ac_word... " >&6; }
8888 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8889 $as_echo_n "(cached) " >&6
8891 if test -n "$OBJDUMP"; then
8892 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8898 test -z "$as_dir" && as_dir
=.
8899 for ac_exec_ext
in '' $ac_executable_extensions; do
8900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8901 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8911 OBJDUMP
=$ac_cv_prog_OBJDUMP
8912 if test -n "$OBJDUMP"; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8914 $as_echo "$OBJDUMP" >&6; }
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8917 $as_echo "no" >&6; }
8922 if test -z "$ac_cv_prog_OBJDUMP"; then
8923 ac_ct_OBJDUMP
=$OBJDUMP
8924 # Extract the first word of "objdump", so it can be a program name with args.
8925 set dummy objdump
; ac_word
=$2
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8927 $as_echo_n "checking for $ac_word... " >&6; }
8928 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 if test -n "$ac_ct_OBJDUMP"; then
8932 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8938 test -z "$as_dir" && as_dir
=.
8939 for ac_exec_ext
in '' $ac_executable_extensions; do
8940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8941 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8951 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8952 if test -n "$ac_ct_OBJDUMP"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8954 $as_echo "$ac_ct_OBJDUMP" >&6; }
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8960 if test "x$ac_ct_OBJDUMP" = x
; then
8963 case $cross_compiling:$ac_tool_warned in
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8967 ac_tool_warned
=yes ;;
8969 OBJDUMP
=$ac_ct_OBJDUMP
8972 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8978 test -z "$AS" && AS
=as
8984 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8990 test -z "$OBJDUMP" && OBJDUMP
=objdump
9002 # Check whether --enable-shared was given.
9003 if test "${enable_shared+set}" = set; then :
9004 enableval
=$enable_shared; p
=${PACKAGE-default}
9006 yes) enable_shared
=yes ;;
9007 no
) enable_shared
=no
;;
9010 # Look at the argument we got. We use all the common list separators.
9011 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9012 for pkg
in $enableval; do
9014 if test "X$pkg" = "X$p"; then
9033 # Check whether --enable-static was given.
9034 if test "${enable_static+set}" = set; then :
9035 enableval
=$enable_static; p
=${PACKAGE-default}
9037 yes) enable_static
=yes ;;
9038 no
) enable_static
=no
;;
9041 # Look at the argument we got. We use all the common list separators.
9042 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9043 for pkg
in $enableval; do
9045 if test "X$pkg" = "X$p"; then
9065 # Check whether --with-pic was given.
9066 if test "${with_pic+set}" = set; then :
9067 withval
=$with_pic; lt_p
=${PACKAGE-default}
9069 yes|no
) pic_mode
=$withval ;;
9072 # Look at the argument we got. We use all the common list separators.
9073 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9074 for lt_pkg
in $withval; do
9076 if test "X$lt_pkg" = "X$lt_p"; then
9094 # Check whether --enable-fast-install was given.
9095 if test "${enable_fast_install+set}" = set; then :
9096 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9098 yes) enable_fast_install
=yes ;;
9099 no
) enable_fast_install
=no
;;
9101 enable_fast_install
=no
9102 # Look at the argument we got. We use all the common list separators.
9103 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9104 for pkg
in $enableval; do
9106 if test "X$pkg" = "X$p"; then
9107 enable_fast_install
=yes
9114 enable_fast_install
=yes
9124 shared_archive_member_spec
=
9125 case $host,$enable_shared in
9126 power
*-*-aix[5-9]*,yes)
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9128 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9130 # Check whether --with-aix-soname was given.
9131 if test "${with_aix_soname+set}" = set; then :
9132 withval
=$with_aix_soname; case $withval in
9136 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9139 lt_cv_with_aix_soname
=$with_aix_soname
9141 if ${lt_cv_with_aix_soname+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9144 lt_cv_with_aix_soname
=aix
9147 with_aix_soname
=$lt_cv_with_aix_soname
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9151 $as_echo "$with_aix_soname" >&6; }
9152 if test aix
!= "$with_aix_soname"; then
9153 # For the AIX way of multilib, we name the shared archive member
9154 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9155 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9156 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9157 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9158 if test 64 = "${OBJECT_MODE-32}"; then
9159 shared_archive_member_spec
=shr_64
9161 shared_archive_member_spec
=shr
9179 # This can be used to rebuild libtool when needed
9180 LIBTOOL_DEPS
=$ltmain
9182 # Always use our own libtool.
9183 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9214 test -z "$LN_S" && LN_S
="ln -s"
9229 if test -n "${ZSH_VERSION+set}"; then
9230 setopt NO_GLOB_SUBST
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9234 $as_echo_n "checking for objdir... " >&6; }
9235 if ${lt_cv_objdir+:} false
; then :
9236 $as_echo_n "(cached) " >&6
9238 rm -f .libs
2>/dev
/null
9239 mkdir .libs
2>/dev
/null
9240 if test -d .libs
; then
9243 # MS-DOS does not allow filenames that begin with a dot.
9246 rmdir .libs
2>/dev
/null
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9249 $as_echo "$lt_cv_objdir" >&6; }
9250 objdir
=$lt_cv_objdir
9256 cat >>confdefs.h
<<_ACEOF
9257 #define LT_OBJDIR "$lt_cv_objdir/"
9265 # AIX sometimes has problems with the GCC collect2 program. For some
9266 # reason, if we set the COLLECT_NAMES environment variable, the problems
9267 # vanish in a puff of smoke.
9268 if test set != "${COLLECT_NAMES+set}"; then
9270 export COLLECT_NAMES
9277 can_build_shared
=yes
9279 # All known linkers require a '.a' archive for static linking (except MSVC,
9280 # which needs '.lib').
9283 with_gnu_ld
=$lt_cv_prog_gnu_ld
9288 # Set sane defaults for various variables
9289 test -z "$CC" && CC
=cc
9290 test -z "$LTCC" && LTCC
=$CC
9291 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9292 test -z "$LD" && LD
=ld
9293 test -z "$ac_objext" && ac_objext
=o
9295 func_cc_basename
$compiler
9296 cc_basename
=$func_cc_basename_result
9299 # Only perform the check for file, if the check method requires it
9300 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9301 case $deplibs_check_method in
9303 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9305 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9306 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9307 $as_echo_n "(cached) " >&6
9311 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9314 lt_save_MAGIC_CMD
=$MAGIC_CMD
9315 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9316 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9317 for ac_dir
in $ac_dummy; do
9319 test -z "$ac_dir" && ac_dir
=.
9320 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9321 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9322 if test -n "$file_magic_test_file"; then
9323 case $deplibs_check_method in
9325 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9326 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9327 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9328 $EGREP "$file_magic_regex" > /dev
/null
; then
9333 *** Warning: the command libtool uses to detect shared libraries,
9334 *** $file_magic_cmd, produces output that libtool cannot recognize.
9335 *** The result is that libtool may fail to recognize shared libraries
9336 *** as such. This will affect the creation of libtool libraries that
9337 *** depend on shared libraries, but programs linked with such libtool
9338 *** libraries will work regardless of this problem. Nevertheless, you
9339 *** may want to report the problem to your system manager and/or to
9340 *** bug-libtool@gnu.org
9350 MAGIC_CMD
=$lt_save_MAGIC_CMD
9355 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9356 if test -n "$MAGIC_CMD"; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9358 $as_echo "$MAGIC_CMD" >&6; }
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361 $as_echo "no" >&6; }
9368 if test -z "$lt_cv_path_MAGIC_CMD"; then
9369 if test -n "$ac_tool_prefix"; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9371 $as_echo_n "checking for file... " >&6; }
9372 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9373 $as_echo_n "(cached) " >&6
9377 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9380 lt_save_MAGIC_CMD
=$MAGIC_CMD
9381 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9382 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9383 for ac_dir
in $ac_dummy; do
9385 test -z "$ac_dir" && ac_dir
=.
9386 if test -f "$ac_dir/file"; then
9387 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9388 if test -n "$file_magic_test_file"; then
9389 case $deplibs_check_method in
9391 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9392 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9393 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9394 $EGREP "$file_magic_regex" > /dev
/null
; then
9399 *** Warning: the command libtool uses to detect shared libraries,
9400 *** $file_magic_cmd, produces output that libtool cannot recognize.
9401 *** The result is that libtool may fail to recognize shared libraries
9402 *** as such. This will affect the creation of libtool libraries that
9403 *** depend on shared libraries, but programs linked with such libtool
9404 *** libraries will work regardless of this problem. Nevertheless, you
9405 *** may want to report the problem to your system manager and/or to
9406 *** bug-libtool@gnu.org
9416 MAGIC_CMD
=$lt_save_MAGIC_CMD
9421 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9422 if test -n "$MAGIC_CMD"; then
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9424 $as_echo "$MAGIC_CMD" >&6; }
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9427 $as_echo "no" >&6; }
9440 # Use C for the default configuration in the libtool script
9444 ac_cpp
='$CPP $CPPFLAGS'
9445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9450 # Source file extension for C test sources.
9453 # Object file extension for compiled C test sources.
9457 # Code to be used in simple compile tests
9458 lt_simple_compile_test_code
="int some_variable = 0;"
9460 # Code to be used in simple link tests
9461 lt_simple_link_test_code
='int main(){return(0);}'
9469 # If no C compiler was specified, use CC.
9472 # If no C compiler flags were specified, use CFLAGS.
9473 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9475 # Allow CC to be a program name with arguments.
9478 # Save the default compiler, since it gets overwritten when the other
9479 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9480 compiler_DEFAULT
=$CC
9482 # save warnings/boilerplate of simple test code
9483 ac_outfile
=conftest.
$ac_objext
9484 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9485 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9486 _lt_compiler_boilerplate
=`cat conftest.err`
9489 ac_outfile
=conftest.
$ac_objext
9490 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9491 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9492 _lt_linker_boilerplate
=`cat conftest.err`
9497 ## There is no encapsulation within the following macros, do not change
9498 ## the running order or otherwise move them around unless you know exactly
9499 ## what you are doing...
9500 if test -n "$compiler"; then
9502 lt_prog_compiler_no_builtin_flag
=
9504 if test yes = "$GCC"; then
9505 case $cc_basename in
9507 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9509 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9513 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9514 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9515 $as_echo_n "(cached) " >&6
9517 lt_cv_prog_compiler_rtti_exceptions
=no
9518 ac_outfile
=conftest.
$ac_objext
9519 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9520 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9521 # Insert the option either (1) after the last *FLAGS variable, or
9522 # (2) before a word containing "conftest.", or (3) at the end.
9523 # Note that $ac_compile itself does not contain backslashes and begins
9524 # with a dollar sign (not a hyphen), so the echo should work correctly.
9525 # The option is referenced via a variable to avoid confusing sed.
9526 lt_compile
=`echo "$ac_compile" | $SED \
9527 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9528 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9529 -e 's:$: $lt_compiler_flag:'`
9530 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9531 (eval "$lt_compile" 2>conftest.err
)
9533 cat conftest.err
>&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 if (exit $ac_status) && test -s "$ac_outfile"; then
9536 # The compiler can only warn and ignore the option if not recognized
9537 # So say no if there are warnings other than the usual output.
9538 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9539 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9540 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9541 lt_cv_prog_compiler_rtti_exceptions
=yes
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9548 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9550 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9551 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9563 lt_prog_compiler_wl
=
9564 lt_prog_compiler_pic
=
9565 lt_prog_compiler_static
=
9568 if test yes = "$GCC"; then
9569 lt_prog_compiler_wl
='-Wl,'
9570 lt_prog_compiler_static
='-static'
9574 # All AIX code is PIC.
9575 if test ia64
= "$host_cpu"; then
9576 # AIX 5 now supports IA64 processor
9577 lt_prog_compiler_static
='-Bstatic'
9579 lt_prog_compiler_pic
='-fPIC'
9585 # see comment about AmigaOS4 .so support
9586 lt_prog_compiler_pic
='-fPIC'
9589 # FIXME: we need at least 68020 code to build shared libraries, but
9590 # adding the '-m68020' flag to GCC prevents building anything better,
9592 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9597 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9598 # PIC is the default for these OSes.
9601 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9602 # This hack is so that the source file can tell whether it is being
9603 # built for inclusion in a dll (and should export symbols for example).
9604 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9605 # (--disable-auto-import) libraries
9606 lt_prog_compiler_pic
='-DDLL_EXPORT'
9609 lt_prog_compiler_static
='$wl-static'
9614 darwin
* | rhapsody
*)
9615 # PIC is the default on this platform
9616 # Common symbols not allowed in MH_DYLIB files
9617 lt_prog_compiler_pic
='-fno-common'
9621 # PIC is the default for Haiku.
9622 # The "-static" flag exists, but is broken.
9623 lt_prog_compiler_static
=
9627 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9628 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9629 # sets the default TLS model and affects inlining.
9635 lt_prog_compiler_pic
='-fPIC'
9641 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9642 # Instead, we relocate shared libraries at runtime.
9646 # Just because we use GCC doesn't mean we suddenly get shared libraries
9647 # on systems that don't support them.
9648 lt_prog_compiler_can_build_shared
=no
9653 # QNX uses GNU C++, but need to define -shared option too, otherwise
9655 lt_prog_compiler_pic
='-fPIC -shared'
9659 if test -d /usr
/nec
; then
9660 lt_prog_compiler_pic
=-Kconform_pic
9665 lt_prog_compiler_pic
='-fPIC'
9669 case $cc_basename in
9670 nvcc
*) # Cuda Compiler Driver 2.2
9671 lt_prog_compiler_wl
='-Xlinker '
9672 if test -n "$lt_prog_compiler_pic"; then
9673 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9678 # PORTME Check for flag to pass linker flags through the system compiler.
9681 lt_prog_compiler_wl
='-Wl,'
9682 if test ia64
= "$host_cpu"; then
9683 # AIX 5 now supports IA64 processor
9684 lt_prog_compiler_static
='-Bstatic'
9686 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9690 darwin
* | rhapsody
*)
9691 # PIC is the default on this platform
9692 # Common symbols not allowed in MH_DYLIB files
9693 lt_prog_compiler_pic
='-fno-common'
9694 case $cc_basename in
9696 # NAG Fortran compiler
9697 lt_prog_compiler_wl
='-Wl,-Wl,,'
9698 lt_prog_compiler_pic
='-PIC'
9699 lt_prog_compiler_static
='-Bstatic'
9704 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9705 # This hack is so that the source file can tell whether it is being
9706 # built for inclusion in a dll (and should export symbols for example).
9707 lt_prog_compiler_pic
='-DDLL_EXPORT'
9710 lt_prog_compiler_static
='$wl-static'
9715 hpux9
* | hpux10
* | hpux11
*)
9716 lt_prog_compiler_wl
='-Wl,'
9717 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9724 lt_prog_compiler_pic
='+Z'
9727 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9728 lt_prog_compiler_static
='$wl-a ${wl}archive'
9731 irix5
* | irix6
* | nonstopux
*)
9732 lt_prog_compiler_wl
='-Wl,'
9733 # PIC (with -KPIC) is the default.
9734 lt_prog_compiler_static
='-non_shared'
9737 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9738 case $cc_basename in
9739 # old Intel for x86_64, which still supported -KPIC.
9741 lt_prog_compiler_wl
='-Wl,'
9742 lt_prog_compiler_pic
='-KPIC'
9743 lt_prog_compiler_static
='-static'
9745 # icc used to be incompatible with GCC.
9746 # ICC 10 doesn't accept -KPIC any more.
9748 lt_prog_compiler_wl
='-Wl,'
9749 lt_prog_compiler_pic
='-fPIC'
9750 lt_prog_compiler_static
='-static'
9752 # Lahey Fortran 8.1.
9754 lt_prog_compiler_wl
='-Wl,'
9755 lt_prog_compiler_pic
='--shared'
9756 lt_prog_compiler_static
='--static'
9759 # NAG Fortran compiler
9760 lt_prog_compiler_wl
='-Wl,-Wl,,'
9761 lt_prog_compiler_pic
='-PIC'
9762 lt_prog_compiler_static
='-Bstatic'
9765 # Fabrice Bellard et al's Tiny C Compiler
9766 lt_prog_compiler_wl
='-Wl,'
9767 lt_prog_compiler_pic
='-fPIC'
9768 lt_prog_compiler_static
='-static'
9770 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9771 # Portland Group compilers (*not* the Pentium gcc compiler,
9772 # which looks to be a dead project)
9773 lt_prog_compiler_wl
='-Wl,'
9774 lt_prog_compiler_pic
='-fpic'
9775 lt_prog_compiler_static
='-Bstatic'
9778 lt_prog_compiler_wl
='-Wl,'
9779 # All Alpha code is PIC.
9780 lt_prog_compiler_static
='-non_shared'
9782 xl
* | bgxl
* | bgf
* | mpixl
*)
9783 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9784 lt_prog_compiler_wl
='-Wl,'
9785 lt_prog_compiler_pic
='-qpic'
9786 lt_prog_compiler_static
='-qstaticlink'
9789 case `$CC -V 2>&1 | sed 5q` in
9790 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9791 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9792 lt_prog_compiler_pic
='-KPIC'
9793 lt_prog_compiler_static
='-Bstatic'
9794 lt_prog_compiler_wl
=''
9796 *Sun\ F
* |
*Sun
*Fortran
*)
9797 lt_prog_compiler_pic
='-KPIC'
9798 lt_prog_compiler_static
='-Bstatic'
9799 lt_prog_compiler_wl
='-Qoption ld '
9803 lt_prog_compiler_pic
='-KPIC'
9804 lt_prog_compiler_static
='-Bstatic'
9805 lt_prog_compiler_wl
='-Wl,'
9807 *Intel
*\
[CF
]*Compiler
*)
9808 lt_prog_compiler_wl
='-Wl,'
9809 lt_prog_compiler_pic
='-fPIC'
9810 lt_prog_compiler_static
='-static'
9813 lt_prog_compiler_wl
='-Wl,'
9814 lt_prog_compiler_pic
='-fpic'
9815 lt_prog_compiler_static
='-Bstatic'
9823 lt_prog_compiler_pic
='-KPIC'
9824 lt_prog_compiler_static
='-Bstatic'
9828 # QNX uses GNU C++, but need to define -shared option too, otherwise
9830 lt_prog_compiler_pic
='-fPIC -shared'
9833 osf3
* | osf4
* | osf5
*)
9834 lt_prog_compiler_wl
='-Wl,'
9835 # All OSF/1 code is PIC.
9836 lt_prog_compiler_static
='-non_shared'
9840 lt_prog_compiler_static
='-non_shared'
9844 lt_prog_compiler_pic
='-KPIC'
9845 lt_prog_compiler_static
='-Bstatic'
9846 case $cc_basename in
9847 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9848 lt_prog_compiler_wl
='-Qoption ld ';;
9850 lt_prog_compiler_wl
='-Wl,';;
9855 lt_prog_compiler_wl
='-Qoption ld '
9856 lt_prog_compiler_pic
='-PIC'
9857 lt_prog_compiler_static
='-Bstatic'
9860 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9861 lt_prog_compiler_wl
='-Wl,'
9862 lt_prog_compiler_pic
='-KPIC'
9863 lt_prog_compiler_static
='-Bstatic'
9867 if test -d /usr
/nec
; then
9868 lt_prog_compiler_pic
='-Kconform_pic'
9869 lt_prog_compiler_static
='-Bstatic'
9873 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9874 lt_prog_compiler_wl
='-Wl,'
9875 lt_prog_compiler_pic
='-KPIC'
9876 lt_prog_compiler_static
='-Bstatic'
9880 lt_prog_compiler_wl
='-Wl,'
9881 lt_prog_compiler_can_build_shared
=no
9885 lt_prog_compiler_pic
='-pic'
9886 lt_prog_compiler_static
='-Bstatic'
9890 lt_prog_compiler_can_build_shared
=no
9896 # For platforms that do not support PIC, -DPIC is meaningless:
9898 lt_prog_compiler_pic
=
9901 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9906 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9907 if ${lt_cv_prog_compiler_pic+:} false
; then :
9908 $as_echo_n "(cached) " >&6
9910 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9913 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9914 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9917 # Check to make sure the PIC flag actually works.
9919 if test -n "$lt_prog_compiler_pic"; then
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9921 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9922 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9923 $as_echo_n "(cached) " >&6
9925 lt_cv_prog_compiler_pic_works
=no
9926 ac_outfile
=conftest.
$ac_objext
9927 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9928 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9929 # Insert the option either (1) after the last *FLAGS variable, or
9930 # (2) before a word containing "conftest.", or (3) at the end.
9931 # Note that $ac_compile itself does not contain backslashes and begins
9932 # with a dollar sign (not a hyphen), so the echo should work correctly.
9933 # The option is referenced via a variable to avoid confusing sed.
9934 lt_compile
=`echo "$ac_compile" | $SED \
9935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9937 -e 's:$: $lt_compiler_flag:'`
9938 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9939 (eval "$lt_compile" 2>conftest.err
)
9941 cat conftest.err
>&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 if (exit $ac_status) && test -s "$ac_outfile"; then
9944 # The compiler can only warn and ignore the option if not recognized
9945 # So say no if there are warnings other than the usual output.
9946 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9947 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9948 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9949 lt_cv_prog_compiler_pic_works
=yes
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9956 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9958 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9959 case $lt_prog_compiler_pic in
9961 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9964 lt_prog_compiler_pic
=
9965 lt_prog_compiler_can_build_shared
=no
9981 # Check to make sure the static flag actually works.
9983 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9985 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9986 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9987 $as_echo_n "(cached) " >&6
9989 lt_cv_prog_compiler_static_works
=no
9990 save_LDFLAGS
=$LDFLAGS
9991 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9992 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9993 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9994 # The linker can only warn and ignore the option if not recognized
9995 # So say no if there are warnings
9996 if test -s conftest.err
; then
9997 # Append any errors to the config.log.
9998 cat conftest.err
1>&5
9999 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10000 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10001 if diff conftest.exp conftest.er2
>/dev
/null
; then
10002 lt_cv_prog_compiler_static_works
=yes
10005 lt_cv_prog_compiler_static_works
=yes
10009 LDFLAGS
=$save_LDFLAGS
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10013 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10015 if test yes = "$lt_cv_prog_compiler_static_works"; then
10018 lt_prog_compiler_static
=
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10028 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10029 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10030 $as_echo_n "(cached) " >&6
10032 lt_cv_prog_compiler_c_o
=no
10033 $RM -r conftest
2>/dev
/null
10037 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10039 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10040 # Insert the option either (1) after the last *FLAGS variable, or
10041 # (2) before a word containing "conftest.", or (3) at the end.
10042 # Note that $ac_compile itself does not contain backslashes and begins
10043 # with a dollar sign (not a hyphen), so the echo should work correctly.
10044 lt_compile
=`echo "$ac_compile" | $SED \
10045 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10047 -e 's:$: $lt_compiler_flag:'`
10048 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10049 (eval "$lt_compile" 2>out
/conftest.err
)
10051 cat out
/conftest.err
>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10055 # The compiler can only warn and ignore the option if not recognized
10056 # So say no if there are warnings
10057 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10058 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10059 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10060 lt_cv_prog_compiler_c_o
=yes
10065 # SGI C++ compiler will create directory out/ii_files/ for
10066 # template instantiation
10067 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10068 $RM out
/* && rmdir out
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10075 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10083 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10084 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10085 $as_echo_n "(cached) " >&6
10087 lt_cv_prog_compiler_c_o
=no
10088 $RM -r conftest
2>/dev
/null
10092 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10094 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10095 # Insert the option either (1) after the last *FLAGS variable, or
10096 # (2) before a word containing "conftest.", or (3) at the end.
10097 # Note that $ac_compile itself does not contain backslashes and begins
10098 # with a dollar sign (not a hyphen), so the echo should work correctly.
10099 lt_compile
=`echo "$ac_compile" | $SED \
10100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10102 -e 's:$: $lt_compiler_flag:'`
10103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10104 (eval "$lt_compile" 2>out
/conftest.err
)
10106 cat out
/conftest.err
>&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10110 # The compiler can only warn and ignore the option if not recognized
10111 # So say no if there are warnings
10112 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10113 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10114 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10115 lt_cv_prog_compiler_c_o
=yes
10120 # SGI C++ compiler will create directory out/ii_files/ for
10121 # template instantiation
10122 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10123 $RM out
/* && rmdir out
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10130 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10135 hard_links
=nottested
10136 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10137 # do not overwrite the value of need_locks provided by the user
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10139 $as_echo_n "checking if we can lock with hard links... " >&6; }
10142 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10144 ln conftest.a conftest.b
2>&5 || hard_links
=no
10145 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10147 $as_echo "$hard_links" >&6; }
10148 if test no
= "$hard_links"; then
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10150 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10163 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10166 allow_undefined_flag
=
10167 always_export_symbols
=no
10169 archive_expsym_cmds
=
10170 compiler_needs_object
=no
10171 enable_shared_with_static_runtimes
=no
10172 export_dynamic_flag_spec
=
10173 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10174 hardcode_automatic
=no
10176 hardcode_direct_absolute
=no
10177 hardcode_libdir_flag_spec
=
10178 hardcode_libdir_separator
=
10179 hardcode_minus_L
=no
10180 hardcode_shlibpath_var
=unsupported
10182 link_all_deplibs
=unknown
10184 module_expsym_cmds
=
10185 old_archive_from_new_cmds
=
10186 old_archive_from_expsyms_cmds
=
10187 thread_safe_flag_spec
=
10188 whole_archive_flag_spec
=
10189 # include_expsyms should be a list of space-separated symbols to be *always*
10190 # included in the symbol list
10192 # exclude_expsyms can be an extended regexp of symbols to exclude
10193 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10194 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10195 # as well as any symbol that contains 'd'.
10196 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10197 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10198 # platforms (ab)use it in PIC code, but their linkers get confused if
10199 # the symbol is explicitly referenced. Since portable code cannot
10200 # rely on this symbol name, it's probably fine to never include it in
10201 # preloaded symbol tables.
10202 # Exclude shared library initialization/finalization symbols.
10203 extract_expsyms_cmds
=
10206 cygwin
* | mingw
* | pw32
* | cegcc
*)
10207 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10208 # When not using gcc, we currently assume that we are using
10209 # Microsoft Visual C++.
10210 if test yes != "$GCC"; then
10215 # we just hope/assume this is gcc and not c89 (= MSVC++)
10218 openbsd
* | bitrig
*)
10225 # On some targets, GNU ld is compatible enough with the native linker
10226 # that we're better off using the native interface for both.
10227 lt_use_gnu_ld_interface
=no
10228 if test yes = "$with_gnu_ld"; then
10231 # The AIX port of GNU ld has always aspired to compatibility
10232 # with the native linker. However, as the warning in the GNU ld
10233 # block says, versions before 2.19.5* couldn't really create working
10234 # shared libraries, regardless of the interface used.
10235 case `$LD -v 2>&1` in
10236 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10237 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10238 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10240 lt_use_gnu_ld_interface
=yes
10245 lt_use_gnu_ld_interface
=yes
10250 if test yes = "$lt_use_gnu_ld_interface"; then
10251 # If archive_cmds runs LD, not CC, wlarc should be empty
10254 # Set some defaults for GNU ld with shared library support. These
10255 # are reset later if shared libraries are not supported. Putting them
10256 # here allows them to be overridden if necessary.
10257 runpath_var
=LD_RUN_PATH
10258 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10259 export_dynamic_flag_spec
='$wl--export-dynamic'
10260 # ancient GNU ld didn't support --whole-archive et. al.
10261 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10262 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10264 whole_archive_flag_spec
=
10266 supports_anon_versioning
=no
10267 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10268 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10269 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10270 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10271 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10272 *\
2.11.
*) ;; # other 2.11 versions
10273 *) supports_anon_versioning
=yes ;;
10276 # See if GNU ld supports shared libraries.
10279 # On AIX/PPC, the GNU linker is very broken
10280 if test ia64
!= "$host_cpu"; then
10284 *** Warning: the GNU linker, at least up to release 2.19, is reported
10285 *** to be unable to reliably create shared libraries on AIX.
10286 *** Therefore, libtool is disabling shared libraries support. If you
10287 *** really care for shared libraries, you may want to install binutils
10288 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10289 *** You will then need to restart the configuration process.
10298 # see comment about AmigaOS4 .so support
10299 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10300 archive_expsym_cmds
=''
10303 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)'
10304 hardcode_libdir_flag_spec
='-L$libdir'
10305 hardcode_minus_L
=yes
10311 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10312 allow_undefined_flag
=unsupported
10313 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10314 # support --undefined. This deserves some investigation. FIXME
10315 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10321 cygwin
* | mingw
* | pw32
* | cegcc
*)
10322 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10323 # as there is no search path for DLLs.
10324 hardcode_libdir_flag_spec
='-L$libdir'
10325 export_dynamic_flag_spec
='$wl--export-all-symbols'
10326 allow_undefined_flag
=unsupported
10327 always_export_symbols
=no
10328 enable_shared_with_static_runtimes
=yes
10329 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'
10330 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10332 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10333 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10334 # If the export-symbols file already is a .def file, use it as
10335 # is; otherwise, prepend EXPORTS...
10336 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10337 cp $export_symbols $output_objdir/$soname.def;
10339 echo EXPORTS > $output_objdir/$soname.def;
10340 cat $export_symbols >> $output_objdir/$soname.def;
10342 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10349 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10350 link_all_deplibs
=yes
10354 hardcode_libdir_flag_spec
='-L$libdir'
10355 hardcode_minus_L
=yes
10356 allow_undefined_flag
=unsupported
10358 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10359 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10360 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10361 $ECHO EXPORTS >> $output_objdir/$libname.def~
10362 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10363 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10364 emximp -o $lib $output_objdir/$libname.def'
10365 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10366 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10367 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10368 $ECHO EXPORTS >> $output_objdir/$libname.def~
10369 prefix_cmds="$SED"~
10370 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10371 prefix_cmds="$prefix_cmds -e 1d";
10373 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10374 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10375 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10376 emximp -o $lib $output_objdir/$libname.def'
10377 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10378 enable_shared_with_static_runtimes
=yes
10383 hardcode_shlibpath_var
=no
10384 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10385 export_dynamic_flag_spec
='$wl-E'
10386 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10387 # Instead, shared libraries are loaded at an image base (0x10000000 by
10388 # default) and relocated if they conflict, which is a slow very memory
10389 # consuming and fragmenting process. To avoid this, we pick a random,
10390 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10391 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10392 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10393 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'
10396 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10398 if test linux-dietlibc
= "$host_os"; then
10399 case $cc_basename in
10400 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10403 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10404 && test no
= "$tmp_diet"
10406 tmp_addflag
=' $pic_flag'
10407 tmp_sharedflag
='-shared'
10408 case $cc_basename,$host_cpu in
10409 pgcc
*) # Portland Group C compiler
10410 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'
10411 tmp_addflag
=' $pic_flag'
10413 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10414 # Portland Group f77 and f90 compilers
10415 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'
10416 tmp_addflag
=' $pic_flag -Mnomain' ;;
10417 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10418 tmp_addflag
=' -i_dynamic' ;;
10419 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10420 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10421 ifc
* | ifort
*) # Intel Fortran compiler
10422 tmp_addflag
=' -nofor_main' ;;
10423 lf95
*) # Lahey Fortran 8.1
10424 whole_archive_flag_spec
=
10425 tmp_sharedflag
='--shared' ;;
10426 nagfor
*) # NAGFOR 5.3
10427 tmp_sharedflag
='-Wl,-shared' ;;
10428 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10429 tmp_sharedflag
='-qmkshrobj'
10431 nvcc
*) # Cuda Compiler Driver 2.2
10432 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'
10433 compiler_needs_object
=yes
10436 case `$CC -V 2>&1 | sed 5q` in
10437 *Sun\ C
*) # Sun C 5.9
10438 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'
10439 compiler_needs_object
=yes
10440 tmp_sharedflag
='-G' ;;
10441 *Sun\ F
*) # Sun Fortran 8.3
10442 tmp_sharedflag
='-G' ;;
10444 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10446 if test yes = "$supports_anon_versioning"; then
10447 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10448 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10449 echo "local: *; };" >> $output_objdir/$libname.ver~
10450 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10453 case $cc_basename in
10455 export_dynamic_flag_spec
='-rdynamic'
10457 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10458 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10459 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10460 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10461 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10462 if test yes = "$supports_anon_versioning"; then
10463 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10464 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10465 echo "local: *; };" >> $output_objdir/$libname.ver~
10466 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10476 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10477 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10480 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10481 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10486 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10490 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10491 *** create shared libraries on Solaris systems. Therefore, libtool
10492 *** is disabling shared libraries support. We urge you to upgrade GNU
10493 *** binutils to release 2.9.1 or newer. Another option is to modify
10494 *** your PATH or compiler configuration so that the native linker is
10495 *** used, and then restart.
10498 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10499 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10500 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10506 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10507 case `$LD -v 2>&1` in
10508 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10512 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10513 *** reliably create shared libraries on SCO systems. Therefore, libtool
10514 *** is disabling shared libraries support. We urge you to upgrade GNU
10515 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10516 *** your PATH or compiler configuration so that the native linker is
10517 *** used, and then restart.
10522 # For security reasons, it is highly recommended that you always
10523 # use absolute paths for naming shared libraries, and exclude the
10524 # DT_RUNPATH tag from executables and libraries. But doing so
10525 # requires that you compile everything twice, which is a pain.
10526 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10527 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10528 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10529 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10538 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10540 hardcode_direct
=yes
10541 hardcode_shlibpath_var
=no
10545 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10546 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10547 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10554 if test no
= "$ld_shlibs"; then
10556 hardcode_libdir_flag_spec
=
10557 export_dynamic_flag_spec
=
10558 whole_archive_flag_spec
=
10561 # PORTME fill in a description of your system's linker (not GNU ld)
10564 allow_undefined_flag
=unsupported
10565 always_export_symbols
=yes
10566 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'
10567 # Note: this linker hardcodes the directories in LIBPATH if there
10568 # are no directories specified by -L.
10569 hardcode_minus_L
=yes
10570 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10571 # Neither direct hardcoding nor static linking is supported with a
10573 hardcode_direct
=unsupported
10578 if test ia64
= "$host_cpu"; then
10579 # On IA64, the linker does run time linking by default, so we don't
10580 # have to do anything special.
10581 aix_use_runtimelinking
=no
10582 exp_sym_flag
='-Bexport'
10585 # If we're using GNU nm, then we don't want the "-C" option.
10586 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10587 # Without the "-l" option, or with the "-B" option, AIX nm treats
10588 # weak defined symbols like other global defined symbols, whereas
10589 # GNU nm marks them as "W".
10590 # While the 'weak' keyword is ignored in the Export File, we need
10591 # it in the Import File for the 'aix-soname' feature, so we have
10592 # to replace the "-B" option with "-P" for AIX nm.
10593 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10594 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'
10596 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'
10598 aix_use_runtimelinking
=no
10600 # Test if we are trying to use run time linking or normal
10601 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10602 # have runtime linking enabled, and use it for executables.
10603 # For shared libraries, we enable/disable runtime linking
10604 # depending on the kind of the shared library created -
10605 # when "with_aix_soname,aix_use_runtimelinking" is:
10606 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10607 # "aix,yes" lib.so shared, rtl:yes, for executables
10608 # lib.a static archive
10609 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10610 # lib.a(lib.so.V) shared, rtl:no, for executables
10611 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10612 # lib.a(lib.so.V) shared, rtl:no
10613 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10614 # lib.a static archive
10615 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10616 for ld_flag
in $LDFLAGS; do
10617 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10618 aix_use_runtimelinking
=yes
10622 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10623 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10624 # so we don't have lib.a shared libs to link our executables.
10625 # We have to force runtime linking in this case.
10626 aix_use_runtimelinking
=yes
10627 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10632 exp_sym_flag
='-bexport'
10633 no_entry_flag
='-bnoentry'
10636 # When large executables or shared objects are built, AIX ld can
10637 # have problems creating the table of contents. If linking a library
10638 # or program results in "error TOC overflow" add -mminimal-toc to
10639 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10640 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10643 hardcode_direct
=yes
10644 hardcode_direct_absolute
=yes
10645 hardcode_libdir_separator
=':'
10646 link_all_deplibs
=yes
10647 file_list_spec
='$wl-f,'
10648 case $with_aix_soname,$aix_use_runtimelinking in
10649 aix
,*) ;; # traditional, no import file
10650 svr4
,* |
*,yes) # use import file
10651 # The Import File defines what to hardcode.
10653 hardcode_direct_absolute
=no
10657 if test yes = "$GCC"; then
10658 case $host_os in aix4.
[012]|aix4.
[012].
*)
10659 # We only want to do this on AIX 4.2 and lower, the check
10660 # below for broken collect2 doesn't work under 4.3+
10661 collect2name
=`$CC -print-prog-name=collect2`
10662 if test -f "$collect2name" &&
10663 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10665 # We have reworked collect2
10668 # We have old collect2
10669 hardcode_direct
=unsupported
10670 # It fails to find uninstalled libraries when the uninstalled
10671 # path is not listed in the libpath. Setting hardcode_minus_L
10672 # to unsupported forces relinking
10673 hardcode_minus_L
=yes
10674 hardcode_libdir_flag_spec
='-L$libdir'
10675 hardcode_libdir_separator
=
10679 shared_flag
='-shared'
10680 if test yes = "$aix_use_runtimelinking"; then
10681 shared_flag
="$shared_flag "'$wl-G'
10683 # Need to ensure runtime linking is disabled for the traditional
10684 # shared library, or the linker may eventually find shared libraries
10685 # /with/ Import File - we do not want to mix them.
10686 shared_flag_aix
='-shared'
10687 shared_flag_svr4
='-shared $wl-G'
10690 if test ia64
= "$host_cpu"; then
10691 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10692 # chokes on -Wl,-G. The following line is correct:
10695 if test yes = "$aix_use_runtimelinking"; then
10696 shared_flag
='$wl-G'
10698 shared_flag
='$wl-bM:SRE'
10700 shared_flag_aix
='$wl-bM:SRE'
10701 shared_flag_svr4
='$wl-G'
10705 export_dynamic_flag_spec
='$wl-bexpall'
10706 # It seems that -bexpall does not export symbols beginning with
10707 # underscore (_), so it is better to generate a list of symbols to export.
10708 always_export_symbols
=yes
10709 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10710 # Warning - without using the other runtime loading flags (-brtl),
10711 # -berok will link without error, but may produce a broken library.
10712 allow_undefined_flag
='-berok'
10713 # Determine the default libpath from the value encoded in an
10714 # empty executable.
10715 if test set = "${lt_cv_aix_libpath+set}"; then
10716 aix_libpath
=$lt_cv_aix_libpath
10718 if ${lt_cv_aix_libpath_+:} false
; then :
10719 $as_echo_n "(cached) " >&6
10721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10732 if ac_fn_c_try_link
"$LINENO"; then :
10734 lt_aix_libpath_sed
='
10735 /Import File Strings/,/^$/ {
10737 s/^0 *\([^ ]*\) *$/\1/
10741 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10742 # Check for a 64-bit object if we didn't find anything.
10743 if test -z "$lt_cv_aix_libpath_"; then
10744 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10747 rm -f core conftest.err conftest.
$ac_objext \
10748 conftest
$ac_exeext conftest.
$ac_ext
10749 if test -z "$lt_cv_aix_libpath_"; then
10750 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10755 aix_libpath
=$lt_cv_aix_libpath_
10758 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10759 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
10761 if test ia64
= "$host_cpu"; then
10762 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10763 allow_undefined_flag
="-z nodefs"
10764 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"
10766 # Determine the default libpath from the value encoded in an
10767 # empty executable.
10768 if test set = "${lt_cv_aix_libpath+set}"; then
10769 aix_libpath
=$lt_cv_aix_libpath
10771 if ${lt_cv_aix_libpath_+:} false
; then :
10772 $as_echo_n "(cached) " >&6
10774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10785 if ac_fn_c_try_link
"$LINENO"; then :
10787 lt_aix_libpath_sed
='
10788 /Import File Strings/,/^$/ {
10790 s/^0 *\([^ ]*\) *$/\1/
10794 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10795 # Check for a 64-bit object if we didn't find anything.
10796 if test -z "$lt_cv_aix_libpath_"; then
10797 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10800 rm -f core conftest.err conftest.
$ac_objext \
10801 conftest
$ac_exeext conftest.
$ac_ext
10802 if test -z "$lt_cv_aix_libpath_"; then
10803 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10808 aix_libpath
=$lt_cv_aix_libpath_
10811 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10812 # Warning - without using the other run time loading flags,
10813 # -berok will link without error, but may produce a broken library.
10814 no_undefined_flag
=' $wl-bernotok'
10815 allow_undefined_flag
=' $wl-berok'
10816 if test yes = "$with_gnu_ld"; then
10817 # We only use this code for GNU lds that support --whole-archive.
10818 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10820 # Exported symbols can be pulled into shared objects from archives
10821 whole_archive_flag_spec
='$convenience'
10823 archive_cmds_need_lc
=yes
10824 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10825 # -brtl affects multiple linker settings, -berok does not and is overridden later
10826 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10827 if test svr4
!= "$with_aix_soname"; then
10828 # This is similar to how AIX traditionally builds its shared libraries.
10829 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'
10831 if test aix
!= "$with_aix_soname"; then
10832 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'
10834 # used by -dlpreopen to get the symbols
10835 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10837 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10845 # see comment about AmigaOS4 .so support
10846 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10847 archive_expsym_cmds
=''
10850 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)'
10851 hardcode_libdir_flag_spec
='-L$libdir'
10852 hardcode_minus_L
=yes
10858 export_dynamic_flag_spec
=-rdynamic
10861 cygwin
* | mingw
* | pw32
* | cegcc
*)
10862 # When not using gcc, we currently assume that we are using
10863 # Microsoft Visual C++.
10864 # hardcode_libdir_flag_spec is actually meaningless, as there is
10865 # no search path for DLLs.
10866 case $cc_basename in
10869 hardcode_libdir_flag_spec
=' '
10870 allow_undefined_flag
=unsupported
10871 always_export_symbols
=yes
10873 # Tell ltmain to make .lib files, not .a files.
10875 # Tell ltmain to make .dll files, not .so files.
10877 # FIXME: Setting linknames here is a bad hack.
10878 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10879 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10880 cp "$export_symbols" "$output_objdir/$soname.def";
10881 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10883 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10885 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10887 # The linker will not automatically build a static lib if we build a DLL.
10888 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10889 enable_shared_with_static_runtimes
=yes
10890 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10891 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10893 old_postinstall_cmds
='chmod 644 $oldlib'
10894 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10895 lt_tool_outputfile="@TOOL_OUTPUT@"~
10896 case $lt_outputfile in
10899 lt_outputfile=$lt_outputfile.exe
10900 lt_tool_outputfile=$lt_tool_outputfile.exe
10903 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10904 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10905 $RM "$lt_outputfile.manifest";
10909 # Assume MSVC wrapper
10910 hardcode_libdir_flag_spec
=' '
10911 allow_undefined_flag
=unsupported
10912 # Tell ltmain to make .lib files, not .a files.
10914 # Tell ltmain to make .dll files, not .so files.
10916 # FIXME: Setting linknames here is a bad hack.
10917 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10918 # The linker will automatically build a .lib file if we build a DLL.
10919 old_archive_from_new_cmds
='true'
10920 # FIXME: Should let the user specify the lib program.
10921 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10922 enable_shared_with_static_runtimes
=yes
10927 darwin
* | rhapsody
*)
10930 archive_cmds_need_lc
=no
10932 hardcode_automatic
=yes
10933 hardcode_shlibpath_var
=unsupported
10934 if test yes = "$lt_cv_ld_force_load"; then
10935 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\"`'
10938 whole_archive_flag_spec
=''
10940 link_all_deplibs
=yes
10941 allow_undefined_flag
=$_lt_dar_allow_undefined
10942 case $cc_basename in
10943 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10944 *) _lt_dar_can_shared
=$GCC ;;
10946 if test yes = "$_lt_dar_can_shared"; then
10947 output_verbose_link_cmd
=func_echo_all
10948 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10949 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10950 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"
10951 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"
10960 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10961 hardcode_libdir_flag_spec
='-L$libdir'
10962 hardcode_shlibpath_var
=no
10965 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10966 # support. Future versions do this automatically, but an explicit c++rt0.o
10967 # does not break anything, and helps significantly (at the cost of a little
10970 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10971 hardcode_libdir_flag_spec
='-R$libdir'
10972 hardcode_direct
=yes
10973 hardcode_shlibpath_var
=no
10976 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10978 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10979 hardcode_direct
=yes
10980 hardcode_minus_L
=yes
10981 hardcode_shlibpath_var
=no
10984 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10985 freebsd
* | dragonfly
*)
10986 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10987 hardcode_libdir_flag_spec
='-R$libdir'
10988 hardcode_direct
=yes
10989 hardcode_shlibpath_var
=no
10993 if test yes = "$GCC"; then
10994 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'
10996 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'
10998 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10999 hardcode_libdir_separator
=:
11000 hardcode_direct
=yes
11002 # hardcode_minus_L: Not really in the search PATH,
11003 # but as the default location of the library.
11004 hardcode_minus_L
=yes
11005 export_dynamic_flag_spec
='$wl-E'
11009 if test yes,no
= "$GCC,$with_gnu_ld"; then
11010 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11012 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11014 if test no
= "$with_gnu_ld"; then
11015 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11016 hardcode_libdir_separator
=:
11017 hardcode_direct
=yes
11018 hardcode_direct_absolute
=yes
11019 export_dynamic_flag_spec
='$wl-E'
11020 # hardcode_minus_L: Not really in the search PATH,
11021 # but as the default location of the library.
11022 hardcode_minus_L
=yes
11027 if test yes,no
= "$GCC,$with_gnu_ld"; then
11030 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11033 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11036 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11042 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11045 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11049 # Older versions of the 11.00 compiler do not understand -b yet
11050 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11052 $as_echo_n "checking if $CC understands -b... " >&6; }
11053 if ${lt_cv_prog_compiler__b+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 lt_cv_prog_compiler__b
=no
11057 save_LDFLAGS
=$LDFLAGS
11058 LDFLAGS
="$LDFLAGS -b"
11059 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11060 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11061 # The linker can only warn and ignore the option if not recognized
11062 # So say no if there are warnings
11063 if test -s conftest.err
; then
11064 # Append any errors to the config.log.
11065 cat conftest.err
1>&5
11066 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11067 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11068 if diff conftest.exp conftest.er2
>/dev
/null
; then
11069 lt_cv_prog_compiler__b
=yes
11072 lt_cv_prog_compiler__b
=yes
11076 LDFLAGS
=$save_LDFLAGS
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11080 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11082 if test yes = "$lt_cv_prog_compiler__b"; then
11083 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11085 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11091 if test no
= "$with_gnu_ld"; then
11092 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11093 hardcode_libdir_separator
=:
11098 hardcode_shlibpath_var
=no
11101 hardcode_direct
=yes
11102 hardcode_direct_absolute
=yes
11103 export_dynamic_flag_spec
='$wl-E'
11105 # hardcode_minus_L: Not really in the search PATH,
11106 # but as the default location of the library.
11107 hardcode_minus_L
=yes
11113 irix5
* | irix6
* | nonstopux
*)
11114 if test yes = "$GCC"; then
11115 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'
11116 # Try to use the -exported_symbol ld option, if it does not
11117 # work, assume that -exports_file does not work either and
11118 # implicitly export all symbols.
11119 # This should be the same for all languages, so no per-tag cache variable.
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11121 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11122 if ${lt_cv_irix_exported_symbol+:} false
; then :
11123 $as_echo_n "(cached) " >&6
11125 save_LDFLAGS
=$LDFLAGS
11126 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 int foo (void) { return 0; }
11131 if ac_fn_c_try_link
"$LINENO"; then :
11132 lt_cv_irix_exported_symbol
=yes
11134 lt_cv_irix_exported_symbol
=no
11136 rm -f core conftest.err conftest.
$ac_objext \
11137 conftest
$ac_exeext conftest.
$ac_ext
11138 LDFLAGS
=$save_LDFLAGS
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11141 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11142 if test yes = "$lt_cv_irix_exported_symbol"; then
11143 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'
11146 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'
11147 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'
11149 archive_cmds_need_lc
='no'
11150 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11151 hardcode_libdir_separator
=:
11153 link_all_deplibs
=yes
11157 case $cc_basename in
11159 # Fabrice Bellard et al's Tiny C Compiler
11161 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11167 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11168 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11170 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11172 hardcode_libdir_flag_spec
='-R$libdir'
11173 hardcode_direct
=yes
11174 hardcode_shlibpath_var
=no
11178 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11179 hardcode_direct
=yes
11180 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11181 hardcode_libdir_separator
=:
11182 hardcode_shlibpath_var
=no
11188 openbsd
* | bitrig
*)
11189 if test -f /usr
/libexec
/ld.so
; then
11190 hardcode_direct
=yes
11191 hardcode_shlibpath_var
=no
11192 hardcode_direct_absolute
=yes
11193 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11194 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11195 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11196 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11197 export_dynamic_flag_spec
='$wl-E'
11199 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11200 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11208 hardcode_libdir_flag_spec
='-L$libdir'
11209 hardcode_minus_L
=yes
11210 allow_undefined_flag
=unsupported
11212 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11213 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11214 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11215 $ECHO EXPORTS >> $output_objdir/$libname.def~
11216 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11217 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11218 emximp -o $lib $output_objdir/$libname.def'
11219 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11220 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11221 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11222 $ECHO EXPORTS >> $output_objdir/$libname.def~
11223 prefix_cmds="$SED"~
11224 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11225 prefix_cmds="$prefix_cmds -e 1d";
11227 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11228 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11229 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11230 emximp -o $lib $output_objdir/$libname.def'
11231 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11232 enable_shared_with_static_runtimes
=yes
11236 if test yes = "$GCC"; then
11237 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11238 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'
11240 allow_undefined_flag
=' -expect_unresolved \*'
11241 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'
11243 archive_cmds_need_lc
='no'
11244 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11245 hardcode_libdir_separator
=:
11248 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11249 if test yes = "$GCC"; then
11250 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11251 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'
11252 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11254 allow_undefined_flag
=' -expect_unresolved \*'
11255 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'
11256 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~
11257 $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'
11259 # Both c and cxx compiler support -rpath directly
11260 hardcode_libdir_flag_spec
='-rpath $libdir'
11262 archive_cmds_need_lc
='no'
11263 hardcode_libdir_separator
=:
11267 no_undefined_flag
=' -z defs'
11268 if test yes = "$GCC"; then
11270 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11271 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11272 $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'
11274 case `$CC -V 2>&1` in
11277 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11278 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11279 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11283 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11284 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11285 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11289 hardcode_libdir_flag_spec
='-R$libdir'
11290 hardcode_shlibpath_var
=no
11292 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11294 # The compiler driver will combine and reorder linker options,
11295 # but understands '-z linker_flag'. GCC discards it without '$wl',
11296 # but is careful enough not to reorder.
11297 # Supported since Solaris 2.6 (maybe 2.5.1?)
11298 if test yes = "$GCC"; then
11299 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11301 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11305 link_all_deplibs
=yes
11309 if test sequent
= "$host_vendor"; then
11310 # Use $CC to link under sequent, because it throws in some extra .o
11311 # files that make .init and .fini sections work.
11312 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11314 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11316 hardcode_libdir_flag_spec
='-L$libdir'
11317 hardcode_direct
=yes
11318 hardcode_minus_L
=yes
11319 hardcode_shlibpath_var
=no
11323 case $host_vendor in
11325 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11326 hardcode_direct
=yes # is this really true???
11329 ## LD is ld it makes a PLAMLIB
11330 ## CC just makes a GrossModule.
11331 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11332 reload_cmds
='$CC -r -o $output$reload_objs'
11336 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11337 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11340 runpath_var
='LD_RUN_PATH'
11341 hardcode_shlibpath_var
=no
11345 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11346 hardcode_shlibpath_var
=no
11347 export_dynamic_flag_spec
='-Bexport'
11351 if test -d /usr
/nec
; then
11352 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11353 hardcode_shlibpath_var
=no
11354 runpath_var
=LD_RUN_PATH
11355 hardcode_runpath_var
=yes
11360 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11361 no_undefined_flag
='$wl-z,text'
11362 archive_cmds_need_lc
=no
11363 hardcode_shlibpath_var
=no
11364 runpath_var
='LD_RUN_PATH'
11366 if test yes = "$GCC"; then
11367 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11368 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11370 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11371 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11375 sysv5
* | sco3.2v5
* | sco5v6
*)
11376 # Note: We CANNOT use -z defs as we might desire, because we do not
11377 # link with -lc, and that would cause any symbols used from libc to
11378 # always be unresolved, which means just about no library would
11379 # ever link correctly. If we're not using GNU ld we use -z text
11380 # though, which does catch some bad symbols but isn't as heavy-handed
11382 no_undefined_flag
='$wl-z,text'
11383 allow_undefined_flag
='$wl-z,nodefs'
11384 archive_cmds_need_lc
=no
11385 hardcode_shlibpath_var
=no
11386 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11387 hardcode_libdir_separator
=':'
11388 link_all_deplibs
=yes
11389 export_dynamic_flag_spec
='$wl-Bexport'
11390 runpath_var
='LD_RUN_PATH'
11392 if test yes = "$GCC"; then
11393 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11394 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11396 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11397 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11402 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11403 hardcode_libdir_flag_spec
='-L$libdir'
11404 hardcode_shlibpath_var
=no
11412 if test sni
= "$host_vendor"; then
11414 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11415 export_dynamic_flag_spec
='$wl-Blargedynsym'
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11422 $as_echo "$ld_shlibs" >&6; }
11423 test no
= "$ld_shlibs" && can_build_shared
=no
11425 with_gnu_ld
=$with_gnu_ld
11442 # Do we need to explicitly link libc?
11444 case "x$archive_cmds_need_lc" in
11446 # Assume -lc should be added
11447 archive_cmds_need_lc
=yes
11449 if test yes,yes = "$GCC,$enable_shared"; then
11450 case $archive_cmds in
11452 # FIXME: we may have to deal with multi-command sequences.
11455 # Test whether the compiler implicitly links with -lc since on some
11456 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11457 # to ld, don't add -lc before -lgcc.
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11459 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11460 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11461 $as_echo_n "(cached) " >&6
11464 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11467 (eval $ac_compile) 2>&5
11469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11470 test $ac_status = 0; } 2>conftest.err
; then
11473 libobjs
=conftest.
$ac_objext
11475 wl
=$lt_prog_compiler_wl
11476 pic_flag
=$lt_prog_compiler_pic
11482 lt_save_allow_undefined_flag
=$allow_undefined_flag
11483 allow_undefined_flag
=
11484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11485 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11488 test $ac_status = 0; }
11490 lt_cv_archive_cmds_need_lc
=no
11492 lt_cv_archive_cmds_need_lc
=yes
11494 allow_undefined_flag
=$lt_save_allow_undefined_flag
11496 cat conftest.err
1>&5
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11502 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11503 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11662 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11664 if test yes = "$GCC"; then
11666 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11667 *) lt_awk_arg
='/^libraries:/' ;;
11670 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11671 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11673 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11674 case $lt_search_path_spec in
11676 # if the path contains ";" then we assume it to be the separator
11677 # otherwise default to the standard path separator (i.e. ":") - it is
11678 # assumed that no part of a normal pathname contains ";" but that should
11679 # okay in the real world where ";" in dirpaths is itself problematic.
11680 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11683 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11686 # Ok, now we have the path, separated by spaces, we can step through it
11687 # and add multilib dir if necessary...
11688 lt_tmp_lt_search_path_spec
=
11689 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11690 # ...but if some path component already ends with the multilib dir we assume
11691 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11692 case "$lt_multi_os_dir; $lt_search_path_spec " in
11693 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11697 for lt_sys_path
in $lt_search_path_spec; do
11698 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11699 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11700 elif test -n "$lt_multi_os_dir"; then
11701 test -d "$lt_sys_path" && \
11702 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11705 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11706 BEGIN {RS = " "; FS = "/|\n";} {
11709 for (lt_i = NF; lt_i > 0; lt_i--) {
11710 if ($lt_i != "" && $lt_i != ".") {
11711 if ($lt_i == "..") {
11714 if (lt_count == 0) {
11715 lt_foo = "/" $lt_i lt_foo;
11722 if (lt_foo != "") { lt_freq[lt_foo]++; }
11723 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11725 # AWK program above erroneously prepends '/' to C:/dos/paths
11728 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11729 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11731 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11733 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11735 library_names_spec
=
11736 libname_spec
='lib$name'
11740 postuninstall_cmds
=
11744 shlibpath_overrides_runpath
=unknown
11746 dynamic_linker
="$host_os ld.so"
11747 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11748 need_lib_prefix
=unknown
11749 hardcode_into_libs
=no
11751 # when you set need_version to no, make sure it does not cause -set_version
11752 # flags to be left without arguments
11753 need_version
=unknown
11759 version_type
=linux
# correct to gnu/linux during the next big refactor
11760 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11761 shlibpath_var
=LIBPATH
11763 # AIX 3 has no versioning support, so we append a major version to the name.
11764 soname_spec
='$libname$release$shared_ext$major'
11768 version_type
=linux
# correct to gnu/linux during the next big refactor
11771 hardcode_into_libs
=yes
11772 if test ia64
= "$host_cpu"; then
11773 # AIX 5 supports IA64
11774 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11775 shlibpath_var
=LD_LIBRARY_PATH
11777 # With GCC up to 2.95.x, collect2 would create an import file
11778 # for dependence libraries. The import file would start with
11779 # the line '#! .'. This would cause the generated library to
11780 # depend on '.', always an invalid library. This was fixed in
11781 # development snapshots of GCC prior to 3.0.
11783 aix4 | aix4.
[01] | aix4.
[01].
*)
11784 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11786 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11789 can_build_shared
=no
11793 # Using Import Files as archive members, it is possible to support
11794 # filename-based versioning of shared library archives on AIX. While
11795 # this would work for both with and without runtime linking, it will
11796 # prevent static linking of such archives. So we do filename-based
11797 # shared library versioning with .so extension only, which is used
11798 # when both runtime linking and shared linking is enabled.
11799 # Unfortunately, runtime linking may impact performance, so we do
11800 # not want this to be the default eventually. Also, we use the
11801 # versioned .so libs for executables only if there is the -brtl
11802 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11803 # To allow for filename-based versioning support, we need to create
11804 # libNAME.so.V as an archive file, containing:
11805 # *) an Import File, referring to the versioned filename of the
11806 # archive as well as the shared archive member, telling the
11807 # bitwidth (32 or 64) of that shared object, and providing the
11808 # list of exported symbols of that shared object, eventually
11809 # decorated with the 'weak' keyword
11810 # *) the shared object with the F_LOADONLY flag set, to really avoid
11811 # it being seen by the linker.
11812 # At run time we better use the real file rather than another symlink,
11813 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11815 case $with_aix_soname,$aix_use_runtimelinking in
11816 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11817 # soname into executable. Probably we can add versioning support to
11818 # collect2, so additional links can be useful in future.
11819 aix
,yes) # traditional libtool
11820 dynamic_linker
='AIX unversionable lib.so'
11821 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11822 # instead of lib<name>.a to let people know that these are not
11823 # typical AIX shared libraries.
11824 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11826 aix
,no
) # traditional AIX only
11827 dynamic_linker
='AIX lib.a(lib.so.V)'
11828 # We preserve .a as extension for shared libraries through AIX4.2
11829 # and later when we are not doing run time linking.
11830 library_names_spec
='$libname$release.a $libname.a'
11831 soname_spec
='$libname$release$shared_ext$major'
11833 svr4
,*) # full svr4 only
11834 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11835 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11836 # We do not specify a path in Import Files, so LIBPATH fires.
11837 shlibpath_overrides_runpath
=yes
11839 *,yes) # both, prefer svr4
11840 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11841 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11842 # unpreferred sharedlib libNAME.a needs extra handling
11843 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"'
11844 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"'
11845 # We do not specify a path in Import Files, so LIBPATH fires.
11846 shlibpath_overrides_runpath
=yes
11848 *,no
) # both, prefer aix
11849 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11850 library_names_spec
='$libname$release.a $libname.a'
11851 soname_spec
='$libname$release$shared_ext$major'
11852 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11853 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)'
11854 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"'
11857 shlibpath_var
=LIBPATH
11864 # Since July 2007 AmigaOS4 officially supports .so libraries.
11865 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11866 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11869 library_names_spec
='$libname.ixlibrary $libname.a'
11870 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11871 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'
11877 library_names_spec
='$libname$shared_ext'
11878 dynamic_linker
="$host_os ld.so"
11879 shlibpath_var
=LIBRARY_PATH
11883 version_type
=linux
# correct to gnu/linux during the next big refactor
11885 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11886 soname_spec
='$libname$release$shared_ext$major'
11887 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11888 shlibpath_var
=LD_LIBRARY_PATH
11889 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11890 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11891 # the default ld.so.conf also contains /usr/contrib/lib and
11892 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11893 # libtool to hard-code these into programs
11896 cygwin
* | mingw
* | pw32
* | cegcc
*)
11897 version_type
=windows
11902 case $GCC,$cc_basename in
11905 library_names_spec
='$libname.dll.a'
11906 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11907 postinstall_cmds
='base_file=`basename \$file`~
11908 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11909 dldir=$destdir/`dirname \$dlpath`~
11910 test -d \$dldir || mkdir -p \$dldir~
11911 $install_prog $dir/$dlname \$dldir/$dlname~
11912 chmod a+x \$dldir/$dlname~
11913 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11914 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11916 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11917 dlpath=$dir/\$dldll~
11919 shlibpath_overrides_runpath
=yes
11923 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11924 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11926 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11929 # MinGW DLLs use traditional 'lib' prefix
11930 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11933 # pw32 DLLs use 'pw' prefix rather than 'lib'
11934 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11937 dynamic_linker
='Win32 ld.exe'
11942 libname_spec
='$name'
11943 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11944 library_names_spec
='$libname.dll.lib'
11948 sys_lib_search_path_spec
=
11951 for lt_path
in $LIB
11954 # Let DOS variable expansion print the short 8.3 style file name.
11955 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11956 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11959 # Convert to MSYS style.
11960 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11963 # Convert to unix form, then to dos form, then back to unix form
11964 # but this time dos style (no spaces!) so that the unix form looks
11965 # like /cygdrive/c/PROGRA~1:/cygdr...
11966 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11967 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11968 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11971 sys_lib_search_path_spec
=$LIB
11972 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11973 # It is most probably a Windows format PATH.
11974 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11976 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11978 # FIXME: find the short name or the path components, as spaces are
11979 # common. (e.g. "Program Files" -> "PROGRA~1")
11983 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11984 postinstall_cmds
='base_file=`basename \$file`~
11985 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11986 dldir=$destdir/`dirname \$dlpath`~
11987 test -d \$dldir || mkdir -p \$dldir~
11988 $install_prog $dir/$dlname \$dldir/$dlname'
11989 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11990 dlpath=$dir/\$dldll~
11992 shlibpath_overrides_runpath
=yes
11993 dynamic_linker
='Win32 link.exe'
11997 # Assume MSVC wrapper
11998 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11999 dynamic_linker
='Win32 ld.exe'
12002 # FIXME: first we should search . and the directory the executable is in
12006 darwin
* | rhapsody
*)
12007 dynamic_linker
="$host_os dyld"
12008 version_type
=darwin
12011 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12012 soname_spec
='$libname$release$major$shared_ext'
12013 shlibpath_overrides_runpath
=yes
12014 shlibpath_var
=DYLD_LIBRARY_PATH
12015 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12017 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12018 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12022 version_type
=linux
# correct to gnu/linux during the next big refactor
12025 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12026 soname_spec
='$libname$release$shared_ext$major'
12027 shlibpath_var
=LD_LIBRARY_PATH
12030 freebsd
* | dragonfly
*)
12031 # DragonFly does not have aout. When/if they implement a new
12032 # versioning mechanism, adjust this.
12033 if test -x /usr
/bin
/objformat
; then
12034 objformat
=`/usr/bin/objformat`
12037 freebsd
[23].
*) objformat
=aout
;;
12038 *) objformat
=elf
;;
12041 version_type
=freebsd-
$objformat
12042 case $version_type in
12044 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12045 soname_spec
='$libname$release$shared_ext$major'
12050 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12054 shlibpath_var
=LD_LIBRARY_PATH
12057 shlibpath_overrides_runpath
=yes
12059 freebsd3.
[01]* | freebsdelf3.
[01]*)
12060 shlibpath_overrides_runpath
=yes
12061 hardcode_into_libs
=yes
12063 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12064 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12065 shlibpath_overrides_runpath
=no
12066 hardcode_into_libs
=yes
12068 *) # from 4.6 on, and DragonFly
12069 shlibpath_overrides_runpath
=yes
12070 hardcode_into_libs
=yes
12076 version_type
=linux
# correct to gnu/linux during the next big refactor
12079 dynamic_linker
="$host_os runtime_loader"
12080 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12081 soname_spec
='$libname$release$shared_ext$major'
12082 shlibpath_var
=LIBRARY_PATH
12083 shlibpath_overrides_runpath
=no
12084 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12085 hardcode_into_libs
=yes
12088 hpux9
* | hpux10
* | hpux11
*)
12089 # Give a soname corresponding to the major version so that dld.sl refuses to
12090 # link against other versions.
12097 hardcode_into_libs
=yes
12098 dynamic_linker
="$host_os dld.so"
12099 shlibpath_var
=LD_LIBRARY_PATH
12100 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12101 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12102 soname_spec
='$libname$release$shared_ext$major'
12103 if test 32 = "$HPUX_IA64_MODE"; then
12104 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12105 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12107 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12108 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12113 hardcode_into_libs
=yes
12114 dynamic_linker
="$host_os dld.sl"
12115 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12116 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12117 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12118 soname_spec
='$libname$release$shared_ext$major'
12119 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12120 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12124 dynamic_linker
="$host_os dld.sl"
12125 shlibpath_var
=SHLIB_PATH
12126 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12127 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12128 soname_spec
='$libname$release$shared_ext$major'
12131 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12132 postinstall_cmds
='chmod 555 $lib'
12133 # or fails outright, so override atomically:
12134 install_override_mode
=555
12138 version_type
=linux
# correct to gnu/linux during the next big refactor
12141 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12142 soname_spec
='$libname$release$shared_ext$major'
12143 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12144 shlibpath_var
=LD_LIBRARY_PATH
12145 shlibpath_overrides_runpath
=no
12146 hardcode_into_libs
=yes
12149 irix5
* | irix6
* | nonstopux
*)
12151 nonstopux
*) version_type
=nonstopux
;;
12153 if test yes = "$lt_cv_prog_gnu_ld"; then
12154 version_type
=linux
# correct to gnu/linux during the next big refactor
12161 soname_spec
='$libname$release$shared_ext$major'
12162 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12164 irix5
* | nonstopux
*)
12165 libsuff
= shlibsuff
=
12168 case $LD in # libtool.m4 will add one of these switches to LD
12169 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12170 libsuff
= shlibsuff
= libmagic
=32-bit;;
12171 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12172 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12173 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12174 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12175 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12179 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12180 shlibpath_overrides_runpath
=no
12181 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12182 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12183 hardcode_into_libs
=yes
12186 # No shared lib support for Linux oldld, aout, or coff.
12187 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12192 version_type
=none
# Android doesn't support versioned libraries.
12195 library_names_spec
='$libname$release$shared_ext'
12196 soname_spec
='$libname$release$shared_ext'
12198 shlibpath_var
=LD_LIBRARY_PATH
12199 shlibpath_overrides_runpath
=yes
12201 # This implies no fast_install, which is unacceptable.
12202 # Some rework will be needed to allow for fast_install
12203 # before this can be enabled.
12204 hardcode_into_libs
=yes
12206 dynamic_linker
='Android linker'
12207 # Don't embed -rpath directories since the linker doesn't support them.
12208 hardcode_libdir_flag_spec
='-L$libdir'
12211 # This must be glibc/ELF.
12212 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12213 version_type
=linux
# correct to gnu/linux during the next big refactor
12216 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12217 soname_spec
='$libname$release$shared_ext$major'
12218 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12219 shlibpath_var
=LD_LIBRARY_PATH
12220 shlibpath_overrides_runpath
=no
12222 # Some binutils ld are patched to set DT_RUNPATH
12223 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12224 $as_echo_n "(cached) " >&6
12226 lt_cv_shlibpath_overrides_runpath
=no
12227 save_LDFLAGS
=$LDFLAGS
12228 save_libdir
=$libdir
12229 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12230 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12242 if ac_fn_c_try_link
"$LINENO"; then :
12243 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12244 lt_cv_shlibpath_overrides_runpath
=yes
12247 rm -f core conftest.err conftest.
$ac_objext \
12248 conftest
$ac_exeext conftest.
$ac_ext
12249 LDFLAGS
=$save_LDFLAGS
12250 libdir
=$save_libdir
12254 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12256 # This implies no fast_install, which is unacceptable.
12257 # Some rework will be needed to allow for fast_install
12258 # before this can be enabled.
12259 hardcode_into_libs
=yes
12261 # Ideally, we could use ldconfig to report *all* directores which are
12262 # searched for libraries, however this is still not possible. Aside from not
12263 # being certain /sbin/ldconfig is available, command
12264 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12265 # even though it is searched at run-time. Try to do the best guess by
12266 # appending ld.so.conf contents (and includes) to the search path.
12267 if test -f /etc
/ld.so.conf
; then
12268 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' ' '`
12269 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12272 # We used to test for /lib/ld.so.1 and disable shared libraries on
12273 # powerpc, because MkLinux only supported shared libraries with the
12274 # GNU dynamic linker. Since this was broken with cross compilers,
12275 # most powerpc-linux boxes support dynamic linking these days and
12276 # people can always --disable-shared, the test was removed, and we
12277 # assume the GNU/Linux dynamic linker is in use.
12278 dynamic_linker
='GNU/Linux ld.so'
12285 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12286 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12287 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12288 dynamic_linker
='NetBSD (a.out) ld.so'
12290 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12291 soname_spec
='$libname$release$shared_ext$major'
12292 dynamic_linker
='NetBSD ld.elf_so'
12294 shlibpath_var
=LD_LIBRARY_PATH
12295 shlibpath_overrides_runpath
=yes
12296 hardcode_into_libs
=yes
12300 version_type
=linux
# correct to gnu/linux during the next big refactor
12301 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12302 shlibpath_var
=LD_LIBRARY_PATH
12303 shlibpath_overrides_runpath
=yes
12310 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12311 soname_spec
='$libname$release$shared_ext$major'
12312 shlibpath_var
=LD_LIBRARY_PATH
12313 shlibpath_overrides_runpath
=no
12314 hardcode_into_libs
=yes
12315 dynamic_linker
='ldqnx.so'
12318 openbsd
* | bitrig
*)
12320 sys_lib_dlsearch_path_spec
=/usr
/lib
12322 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12327 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12328 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12329 shlibpath_var
=LD_LIBRARY_PATH
12330 shlibpath_overrides_runpath
=yes
12334 libname_spec
='$name'
12335 version_type
=windows
12339 # OS/2 can only load a DLL with a base name of 8 characters or less.
12340 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12341 v=$($ECHO $release$versuffix | tr -d .-);
12342 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12343 $ECHO $n$v`$shared_ext'
12344 library_names_spec
='${libname}_dll.$libext'
12345 dynamic_linker
='OS/2 ld.exe'
12346 shlibpath_var
=BEGINLIBPATH
12347 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12348 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12349 postinstall_cmds
='base_file=`basename \$file`~
12350 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12351 dldir=$destdir/`dirname \$dlpath`~
12352 test -d \$dldir || mkdir -p \$dldir~
12353 $install_prog $dir/$dlname \$dldir/$dlname~
12354 chmod a+x \$dldir/$dlname~
12355 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12356 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12358 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12359 dlpath=$dir/\$dldll~
12363 osf3
* | osf4
* | osf5
*)
12367 soname_spec
='$libname$release$shared_ext$major'
12368 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12369 shlibpath_var
=LD_LIBRARY_PATH
12370 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12371 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12379 version_type
=linux
# correct to gnu/linux during the next big refactor
12382 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12383 soname_spec
='$libname$release$shared_ext$major'
12384 shlibpath_var
=LD_LIBRARY_PATH
12385 shlibpath_overrides_runpath
=yes
12386 hardcode_into_libs
=yes
12387 # ldd complains unless libraries are executable
12388 postinstall_cmds
='chmod +x $lib'
12393 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12394 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12395 shlibpath_var
=LD_LIBRARY_PATH
12396 shlibpath_overrides_runpath
=yes
12397 if test yes = "$with_gnu_ld"; then
12404 version_type
=linux
# correct to gnu/linux during the next big refactor
12405 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12406 soname_spec
='$libname$release$shared_ext$major'
12407 shlibpath_var
=LD_LIBRARY_PATH
12408 case $host_vendor in
12410 shlibpath_overrides_runpath
=no
12412 runpath_var
=LD_RUN_PATH
12420 shlibpath_overrides_runpath
=no
12421 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12427 if test -d /usr
/nec
; then
12428 version_type
=linux
# correct to gnu/linux during the next big refactor
12429 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12430 soname_spec
='$libname$shared_ext.$major'
12431 shlibpath_var
=LD_LIBRARY_PATH
12435 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12439 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12440 soname_spec
='$libname$release$shared_ext$major'
12441 shlibpath_var
=LD_LIBRARY_PATH
12442 shlibpath_overrides_runpath
=yes
12443 hardcode_into_libs
=yes
12444 if test yes = "$with_gnu_ld"; then
12445 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12447 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12450 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12454 sys_lib_dlsearch_path_spec
='/usr/lib'
12458 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12459 version_type
=linux
# correct to gnu/linux during the next big refactor
12462 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12463 shlibpath_var
=LD_LIBRARY_PATH
12464 shlibpath_overrides_runpath
=no
12465 hardcode_into_libs
=yes
12469 version_type
=linux
# correct to gnu/linux during the next big refactor
12470 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12471 soname_spec
='$libname$release$shared_ext$major'
12472 shlibpath_var
=LD_LIBRARY_PATH
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12480 $as_echo "$dynamic_linker" >&6; }
12481 test no
= "$dynamic_linker" && can_build_shared
=no
12483 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12484 if test yes = "$GCC"; then
12485 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12488 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12489 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12492 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12493 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12496 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12497 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12499 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12500 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12502 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12503 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12602 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12604 if test -n "$hardcode_libdir_flag_spec" ||
12605 test -n "$runpath_var" ||
12606 test yes = "$hardcode_automatic"; then
12608 # We can hardcode non-existent directories.
12609 if test no
!= "$hardcode_direct" &&
12610 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12611 # have to relink, otherwise we might link with an installed library
12612 # when we should be linking with a yet-to-be-installed one
12613 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12614 test no
!= "$hardcode_minus_L"; then
12615 # Linking always hardcodes the temporary library directory.
12616 hardcode_action
=relink
12618 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12619 hardcode_action
=immediate
12622 # We cannot hardcode anything, or else we can only hardcode existing
12624 hardcode_action
=unsupported
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12627 $as_echo "$hardcode_action" >&6; }
12629 if test relink
= "$hardcode_action" ||
12630 test yes = "$inherit_rpath"; then
12631 # Fast installation is not supported
12632 enable_fast_install
=no
12633 elif test yes = "$shlibpath_overrides_runpath" ||
12634 test no
= "$enable_shared"; then
12635 # Fast installation is not necessary
12636 enable_fast_install
=needless
12644 if test yes != "$enable_dlopen"; then
12645 enable_dlopen
=unknown
12646 enable_dlopen_self
=unknown
12647 enable_dlopen_self_static
=unknown
12654 lt_cv_dlopen
=load_add_on
12656 lt_cv_dlopen_self
=yes
12659 mingw
* | pw32
* | cegcc
*)
12660 lt_cv_dlopen
=LoadLibrary
12665 lt_cv_dlopen
=dlopen
12670 # if libdl is installed we need to link against it
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12672 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12673 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12674 $as_echo_n "(cached) " >&6
12676 ac_check_lib_save_LIBS
=$LIBS
12678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 /* Override any GCC internal prototype to avoid an error.
12682 Use char because int might match the return type of a GCC
12683 builtin and then its argument prototype would still apply. */
12696 if ac_fn_c_try_link
"$LINENO"; then :
12697 ac_cv_lib_dl_dlopen
=yes
12699 ac_cv_lib_dl_dlopen
=no
12701 rm -f core conftest.err conftest.
$ac_objext \
12702 conftest
$ac_exeext conftest.
$ac_ext
12703 LIBS
=$ac_check_lib_save_LIBS
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12706 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12707 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12708 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12713 lt_cv_dlopen_self
=yes
12720 # Don't try to run any link tests for TPF. We know it's impossible
12721 # because TPF is a cross-compiler, and we know how we open DSOs.
12722 lt_cv_dlopen
=dlopen
12724 lt_cv_dlopen_self
=no
12728 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12729 if test "x$ac_cv_func_shl_load" = xyes
; then :
12730 lt_cv_dlopen
=shl_load
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12733 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12734 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12735 $as_echo_n "(cached) " >&6
12737 ac_check_lib_save_LIBS
=$LIBS
12739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12742 /* Override any GCC internal prototype to avoid an error.
12743 Use char because int might match the return type of a GCC
12744 builtin and then its argument prototype would still apply. */
12752 return shl_load ();
12757 if ac_fn_c_try_link
"$LINENO"; then :
12758 ac_cv_lib_dld_shl_load
=yes
12760 ac_cv_lib_dld_shl_load
=no
12762 rm -f core conftest.err conftest.
$ac_objext \
12763 conftest
$ac_exeext conftest.
$ac_ext
12764 LIBS
=$ac_check_lib_save_LIBS
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12767 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12768 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12769 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12771 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12772 if test "x$ac_cv_func_dlopen" = xyes
; then :
12773 lt_cv_dlopen
=dlopen
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12777 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12778 $as_echo_n "(cached) " >&6
12780 ac_check_lib_save_LIBS
=$LIBS
12782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12785 /* Override any GCC internal prototype to avoid an error.
12786 Use char because int might match the return type of a GCC
12787 builtin and then its argument prototype would still apply. */
12800 if ac_fn_c_try_link
"$LINENO"; then :
12801 ac_cv_lib_dl_dlopen
=yes
12803 ac_cv_lib_dl_dlopen
=no
12805 rm -f core conftest.err conftest.
$ac_objext \
12806 conftest
$ac_exeext conftest.
$ac_ext
12807 LIBS
=$ac_check_lib_save_LIBS
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12811 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12812 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12815 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12816 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12817 $as_echo_n "(cached) " >&6
12819 ac_check_lib_save_LIBS
=$LIBS
12820 LIBS
="-lsvld $LIBS"
12821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12824 /* Override any GCC internal prototype to avoid an error.
12825 Use char because int might match the return type of a GCC
12826 builtin and then its argument prototype would still apply. */
12839 if ac_fn_c_try_link
"$LINENO"; then :
12840 ac_cv_lib_svld_dlopen
=yes
12842 ac_cv_lib_svld_dlopen
=no
12844 rm -f core conftest.err conftest.
$ac_objext \
12845 conftest
$ac_exeext conftest.
$ac_ext
12846 LIBS
=$ac_check_lib_save_LIBS
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12849 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12850 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12851 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12854 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12855 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12856 $as_echo_n "(cached) " >&6
12858 ac_check_lib_save_LIBS
=$LIBS
12860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12873 return dld_link ();
12878 if ac_fn_c_try_link
"$LINENO"; then :
12879 ac_cv_lib_dld_dld_link
=yes
12881 ac_cv_lib_dld_dld_link
=no
12883 rm -f core conftest.err conftest.
$ac_objext \
12884 conftest
$ac_exeext conftest.
$ac_ext
12885 LIBS
=$ac_check_lib_save_LIBS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12888 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12889 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12890 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12911 if test no
= "$lt_cv_dlopen"; then
12917 case $lt_cv_dlopen in
12919 save_CPPFLAGS
=$CPPFLAGS
12920 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12922 save_LDFLAGS
=$LDFLAGS
12923 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12926 LIBS
="$lt_cv_dlopen_libs $LIBS"
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12929 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12930 if ${lt_cv_dlopen_self+:} false
; then :
12931 $as_echo_n "(cached) " >&6
12933 if test yes = "$cross_compiling"; then :
12934 lt_cv_dlopen_self
=cross
12936 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12937 lt_status
=$lt_dlunknown
12938 cat > conftest.
$ac_ext <<_LT_EOF
12939 #line $LINENO "configure"
12940 #include "confdefs.h"
12949 # define LT_DLGLOBAL RTLD_GLOBAL
12952 # define LT_DLGLOBAL DL_GLOBAL
12954 # define LT_DLGLOBAL 0
12958 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12959 find out it does not work in some platform. */
12960 #ifndef LT_DLLAZY_OR_NOW
12962 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12965 # define LT_DLLAZY_OR_NOW DL_LAZY
12968 # define LT_DLLAZY_OR_NOW RTLD_NOW
12971 # define LT_DLLAZY_OR_NOW DL_NOW
12973 # define LT_DLLAZY_OR_NOW 0
12980 /* When -fvisibility=hidden is used, assume the code has been annotated
12981 correspondingly for the symbols needed. */
12982 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12983 int fnord () __attribute__((visibility("default")));
12986 int fnord () { return 42; }
12989 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12990 int status = $lt_dlunknown;
12994 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12997 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12998 else puts (dlerror ());
13000 /* dlclose (self); */
13008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13009 (eval $ac_link) 2>&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13012 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13013 (.
/conftest
; exit; ) >&5 2>/dev
/null
13015 case x
$lt_status in
13016 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13017 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13018 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13021 # compilation failed
13022 lt_cv_dlopen_self
=no
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13030 $as_echo "$lt_cv_dlopen_self" >&6; }
13032 if test yes = "$lt_cv_dlopen_self"; then
13033 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13035 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13036 if ${lt_cv_dlopen_self_static+:} false
; then :
13037 $as_echo_n "(cached) " >&6
13039 if test yes = "$cross_compiling"; then :
13040 lt_cv_dlopen_self_static
=cross
13042 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13043 lt_status
=$lt_dlunknown
13044 cat > conftest.
$ac_ext <<_LT_EOF
13045 #line $LINENO "configure"
13046 #include "confdefs.h"
13055 # define LT_DLGLOBAL RTLD_GLOBAL
13058 # define LT_DLGLOBAL DL_GLOBAL
13060 # define LT_DLGLOBAL 0
13064 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13065 find out it does not work in some platform. */
13066 #ifndef LT_DLLAZY_OR_NOW
13068 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13071 # define LT_DLLAZY_OR_NOW DL_LAZY
13074 # define LT_DLLAZY_OR_NOW RTLD_NOW
13077 # define LT_DLLAZY_OR_NOW DL_NOW
13079 # define LT_DLLAZY_OR_NOW 0
13086 /* When -fvisibility=hidden is used, assume the code has been annotated
13087 correspondingly for the symbols needed. */
13088 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13089 int fnord () __attribute__((visibility("default")));
13092 int fnord () { return 42; }
13095 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13096 int status = $lt_dlunknown;
13100 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13103 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13104 else puts (dlerror ());
13106 /* dlclose (self); */
13114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13115 (eval $ac_link) 2>&5
13117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13118 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13119 (.
/conftest
; exit; ) >&5 2>/dev
/null
13121 case x
$lt_status in
13122 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13123 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13124 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13127 # compilation failed
13128 lt_cv_dlopen_self_static
=no
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13136 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13139 CPPFLAGS
=$save_CPPFLAGS
13140 LDFLAGS
=$save_LDFLAGS
13145 case $lt_cv_dlopen_self in
13146 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13147 *) enable_dlopen_self
=unknown
;;
13150 case $lt_cv_dlopen_self_static in
13151 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13152 *) enable_dlopen_self_static
=unknown
;;
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13175 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13176 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13177 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13178 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13180 $as_echo "yes" >&6; }
13182 # FIXME - insert some real tests, host_os isn't really good enough
13185 if test -n "$STRIP"; then
13186 striplib
="$STRIP -x"
13187 old_striplib
="$STRIP -S"
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13189 $as_echo "yes" >&6; }
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13192 $as_echo "no" >&6; }
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13197 $as_echo "no" >&6; }
13213 # Report what library types will actually be built
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13215 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13217 $as_echo "$can_build_shared" >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13220 $as_echo_n "checking whether to build shared libraries... " >&6; }
13221 test no
= "$can_build_shared" && enable_shared
=no
13223 # On AIX, shared libraries and static libraries use the same namespace, and
13224 # are all built from PIC.
13227 test yes = "$enable_shared" && enable_static
=no
13228 if test -n "$RANLIB"; then
13229 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13230 postinstall_cmds
='$RANLIB $lib'
13235 if test ia64
!= "$host_cpu"; then
13236 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13237 yes,aix
,yes) ;; # shared object as lib.so file only
13238 yes,svr4
,*) ;; # shared object as lib.so archive member only
13239 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13245 $as_echo "$enable_shared" >&6; }
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13248 $as_echo_n "checking whether to build static libraries... " >&6; }
13249 # Make sure either enable_shared or enable_static is yes.
13250 test yes = "$enable_shared" || enable_static
=yes
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13252 $as_echo "$enable_static" >&6; }
13259 ac_cpp
='$CPP $CPPFLAGS'
13260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13280 ac_config_commands
="$ac_config_commands libtool"
13285 # Only expand once:
13289 # The cast to long int works around a bug in the HP C Compiler
13290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13292 # This bug is HP SR number 8606223364.
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13294 $as_echo_n "checking size of void *... " >&6; }
13295 if ${ac_cv_sizeof_void_p+:} false
; then :
13296 $as_echo_n "(cached) " >&6
13298 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13301 if test "$ac_cv_type_void_p" = yes; then
13302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13304 as_fn_error
77 "cannot compute sizeof (void *)
13305 See \`config.log' for more details" "$LINENO" 5; }
13307 ac_cv_sizeof_void_p
=0
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13313 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13317 cat >>confdefs.h
<<_ACEOF
13318 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13322 case $host:$ac_cv_sizeof_void_p in #(
13324 kpse_dll_name
=texlua52
;; #(
13326 kpse_dll_name
=texlua52
;; #(
13328 kpse_dll_name
= ;; #(
13330 kpse_dll_name
= ;; #(
13339 ac_config_headers
="$ac_config_headers config.h"
13341 if test "x$enable_build" != xno
; then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
13351 $as_echo_n "checking for library containing sqrt... " >&6; }
13352 if ${ac_cv_search_sqrt+:} false
; then :
13353 $as_echo_n "(cached) " >&6
13355 ac_func_search_save_LIBS
=$LIBS
13356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13359 /* Override any GCC internal prototype to avoid an error.
13360 Use char because int might match the return type of a GCC
13361 builtin and then its argument prototype would still apply. */
13374 for ac_lib
in '' m
; do
13375 if test -z "$ac_lib"; then
13376 ac_res
="none required"
13379 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13381 if ac_fn_c_try_link
"$LINENO"; then :
13382 ac_cv_search_sqrt
=$ac_res
13384 rm -f core conftest.err conftest.
$ac_objext \
13386 if ${ac_cv_search_sqrt+:} false
; then :
13390 if ${ac_cv_search_sqrt+:} false
; then :
13393 ac_cv_search_sqrt
=no
13395 rm conftest.
$ac_ext
13396 LIBS
=$ac_func_search_save_LIBS
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
13399 $as_echo "$ac_cv_search_sqrt" >&6; }
13400 ac_res
=$ac_cv_search_sqrt
13401 if test "$ac_res" != no
; then :
13402 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
13408 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
13409 if ${kpse_cv_have_win32+:} false
; then :
13410 $as_echo_n "(cached) " >&6
13412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13425 if ac_fn_c_try_compile
"$LINENO"; then :
13426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13428 #ifndef __MINGW32__
13439 if ac_fn_c_try_compile
"$LINENO"; then :
13440 kpse_cv_have_win32
=mingw32
13442 kpse_cv_have_win32
=native
13444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13446 kpse_cv_have_win32
=no
13448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
13451 $as_echo "$kpse_cv_have_win32" >&6; }
13453 LUA52_DEFINES
='-DLUA_COMPAT_MODULE -DLUAI_HASHLIMIT=6'
13455 if test "x$kpse_cv_have_win32" = xno
; then
13456 LUA52_DEFINES
="$LUA52_DEFINES -DLUA_USE_POSIX"
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13458 $as_echo_n "checking for library containing dlopen... " >&6; }
13459 if ${ac_cv_search_dlopen+:} false
; then :
13460 $as_echo_n "(cached) " >&6
13462 ac_func_search_save_LIBS
=$LIBS
13463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply. */
13481 for ac_lib
in '' dl
; do
13482 if test -z "$ac_lib"; then
13483 ac_res
="none required"
13486 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13488 if ac_fn_c_try_link
"$LINENO"; then :
13489 ac_cv_search_dlopen
=$ac_res
13491 rm -f core conftest.err conftest.
$ac_objext \
13493 if ${ac_cv_search_dlopen+:} false
; then :
13497 if ${ac_cv_search_dlopen+:} false
; then :
13500 ac_cv_search_dlopen
=no
13502 rm conftest.
$ac_ext
13503 LIBS
=$ac_func_search_save_LIBS
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13506 $as_echo "$ac_cv_search_dlopen" >&6; }
13507 ac_res
=$ac_cv_search_dlopen
13508 if test "$ac_res" != no
; then :
13509 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13513 if test "x$ac_cv_search_dlopen" != xno
; then
13514 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
13516 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
13517 LUA52_DEFINES
="$LUA52_DEFINES -DLUA_USE_DLOPEN"
13524 # Check whether --enable-largefile was given.
13525 if test "${enable_largefile+set}" = set; then :
13526 enableval
=$enable_largefile;
13529 if test "$enable_largefile" != no
; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13532 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13533 if ${ac_cv_sys_largefile_CC+:} false
; then :
13534 $as_echo_n "(cached) " >&6
13536 ac_cv_sys_largefile_CC
=no
13537 if test "$GCC" != yes; then
13540 # IRIX 6.2 and later do not support large files by default,
13541 # so use the C compiler's -n32 option if that helps.
13542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13544 #include <sys/types.h>
13545 /* Check that off_t can represent 2**63 - 1 correctly.
13546 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13547 since some C++ compilers masquerading as C compilers
13548 incorrectly reject 9223372036854775807. */
13549 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13550 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13551 && LARGE_OFF_T % 2147483647 == 1)
13561 if ac_fn_c_try_compile
"$LINENO"; then :
13564 rm -f core conftest.err conftest.
$ac_objext
13566 if ac_fn_c_try_compile
"$LINENO"; then :
13567 ac_cv_sys_largefile_CC
=' -n32'; break
13569 rm -f core conftest.err conftest.
$ac_objext
13573 rm -f conftest.
$ac_ext
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13577 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13578 if test "$ac_cv_sys_largefile_CC" != no
; then
13579 CC
=$CC$ac_cv_sys_largefile_CC
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13583 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13584 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13585 $as_echo_n "(cached) " >&6
13588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13590 #include <sys/types.h>
13591 /* Check that off_t can represent 2**63 - 1 correctly.
13592 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13593 since some C++ compilers masquerading as C compilers
13594 incorrectly reject 9223372036854775807. */
13595 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13596 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13597 && LARGE_OFF_T % 2147483647 == 1)
13607 if ac_fn_c_try_compile
"$LINENO"; then :
13608 ac_cv_sys_file_offset_bits
=no
; break
13610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13613 #define _FILE_OFFSET_BITS 64
13614 #include <sys/types.h>
13615 /* Check that off_t can represent 2**63 - 1 correctly.
13616 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13617 since some C++ compilers masquerading as C compilers
13618 incorrectly reject 9223372036854775807. */
13619 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13620 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13621 && LARGE_OFF_T % 2147483647 == 1)
13631 if ac_fn_c_try_compile
"$LINENO"; then :
13632 ac_cv_sys_file_offset_bits
=64; break
13634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13635 ac_cv_sys_file_offset_bits
=unknown
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13640 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13641 case $ac_cv_sys_file_offset_bits in #(
13644 cat >>confdefs.h
<<_ACEOF
13645 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13650 if test $ac_cv_sys_file_offset_bits = unknown
; then
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13652 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13653 if ${ac_cv_sys_large_files+:} false
; then :
13654 $as_echo_n "(cached) " >&6
13657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <sys/types.h>
13660 /* Check that off_t can represent 2**63 - 1 correctly.
13661 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13662 since some C++ compilers masquerading as C compilers
13663 incorrectly reject 9223372036854775807. */
13664 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13665 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13666 && LARGE_OFF_T % 2147483647 == 1)
13676 if ac_fn_c_try_compile
"$LINENO"; then :
13677 ac_cv_sys_large_files
=no
; break
13679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 #define _LARGE_FILES 1
13683 #include <sys/types.h>
13684 /* Check that off_t can represent 2**63 - 1 correctly.
13685 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13686 since some C++ compilers masquerading as C compilers
13687 incorrectly reject 9223372036854775807. */
13688 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13689 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13690 && LARGE_OFF_T % 2147483647 == 1)
13700 if ac_fn_c_try_compile
"$LINENO"; then :
13701 ac_cv_sys_large_files
=1; break
13703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13704 ac_cv_sys_large_files
=unknown
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13709 $as_echo "$ac_cv_sys_large_files" >&6; }
13710 case $ac_cv_sys_large_files in #(
13713 cat >>confdefs.h
<<_ACEOF
13714 #define _LARGE_FILES $ac_cv_sys_large_files
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13725 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13726 if ${ac_cv_sys_largefile_source+:} false
; then :
13727 $as_echo_n "(cached) " >&6
13730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 #include <sys/types.h> /* for off_t */
13737 int (*fp) (FILE *, off_t, int) = fseeko;
13738 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13743 if ac_fn_c_try_link
"$LINENO"; then :
13744 ac_cv_sys_largefile_source
=no
; break
13746 rm -f core conftest.err conftest.
$ac_objext \
13747 conftest
$ac_exeext conftest.
$ac_ext
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 #define _LARGEFILE_SOURCE 1
13751 #include <sys/types.h> /* for off_t */
13756 int (*fp) (FILE *, off_t, int) = fseeko;
13757 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13762 if ac_fn_c_try_link
"$LINENO"; then :
13763 ac_cv_sys_largefile_source
=1; break
13765 rm -f core conftest.err conftest.
$ac_objext \
13766 conftest
$ac_exeext conftest.
$ac_ext
13767 ac_cv_sys_largefile_source
=unknown
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
13772 $as_echo "$ac_cv_sys_largefile_source" >&6; }
13773 case $ac_cv_sys_largefile_source in #(
13776 cat >>confdefs.h
<<_ACEOF
13777 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
13783 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
13784 # in glibc 2.1.3, but that breaks too many other things.
13785 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
13786 if test $ac_cv_sys_largefile_source != unknown
; then
13788 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
13792 if test "x$enable_largefile" != xno
; then
13793 case $ac_cv_sys_file_offset_bits in #(
13797 case $ac_cv_sys_large_files in #(
13801 LUA52_DEFINES
="$LUA52_DEFINES -D_LARGE_FILES" ;;
13804 LUA52_DEFINES
="$LUA52_DEFINES -D_FILE_OFFSET_BITS=64" ;;
13807 case $ac_cv_sys_largefile_source in #(
13811 LUA52_DEFINES
="$LUA52_DEFINES -D_LARGEFILE_SOURCE" ;;
13815 if test "x$ac_cv_header_stdc" = xyes
; then
13816 LUA52_DEFINES
="$LUA52_DEFINES -DHAVE_UNISTD_H"
13819 LUA52_TREE
=lua52-src
13822 ac_config_files
="$ac_config_files Makefile include/Makefile texlua52.pc"
13825 cat >confcache
<<\_ACEOF
13826 # This file is a shell script that caches the results of configure
13827 # tests run on this system so they can be shared between configure
13828 # scripts and configure runs, see configure's option --config-cache.
13829 # It is not useful on other systems. If it contains results you don't
13830 # want to keep, you may remove or edit it.
13832 # config.status only pays attention to the cache file if you give it
13833 # the --recheck option to rerun configure.
13835 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13836 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13837 # following values.
13841 # The following way of writing the cache mishandles newlines in values,
13842 # but we know of no workaround that is simple, portable, and efficient.
13843 # So, we kill variables containing newlines.
13844 # Ultrix sh set writes to stderr and can't be redirected directly,
13845 # and sets the high bit in the cache file unless we assign to the vars.
13847 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13848 eval ac_val
=\$
$ac_var
13852 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13856 _ | IFS | as_nl
) ;; #(
13857 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13858 *) { eval $ac_var=; unset $ac_var;} ;;
13864 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13865 *${as_nl}ac_space
=\
*)
13866 # `set' does not quote correctly, so add quotes: double-quote
13867 # substitution turns \\\\ into \\, and sed turns \\ into \.
13870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13873 # `set' quotes correctly as required by POSIX, so do not add quotes.
13874 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13883 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13885 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13887 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13888 if test -w "$cache_file"; then
13889 if test "x$cache_file" != "x/dev/null"; then
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13891 $as_echo "$as_me: updating cache $cache_file" >&6;}
13892 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13893 cat confcache
>"$cache_file"
13895 case $cache_file in #(
13897 mv -f confcache
"$cache_file"$$
&&
13898 mv -f "$cache_file"$$
"$cache_file" ;; #(
13900 mv -f confcache
"$cache_file" ;;
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13906 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13911 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13912 # Let make expand exec_prefix.
13913 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13915 DEFS
=-DHAVE_CONFIG_H
13920 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13921 # 1. Remove the extension, and $U if already installed.
13922 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13923 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13924 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13925 # will be set to the directory where LIBOBJS objects are built.
13926 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13927 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13929 LIBOBJS
=$ac_libobjs
13931 LTLIBOBJS
=$ac_ltlibobjs
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13935 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13936 if test -n "$am_sleep_pid"; then
13937 # Hide warnings about reused PIDs.
13938 wait $am_sleep_pid 2>/dev
/null
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13941 $as_echo "done" >&6; }
13942 if test -n "$EXEEXT"; then
13944 am__EXEEXT_FALSE
='#'
13946 am__EXEEXT_TRUE
='#'
13950 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13951 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13954 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13955 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13958 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13959 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13963 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13966 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
13967 as_fn_error $?
"conditional \"build\" was never defined.
13968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13971 : "${CONFIG_STATUS=./config.status}"
13973 ac_clean_files_save
=$ac_clean_files
13974 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13976 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13978 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13980 # Generated by $as_me.
13981 # Run this file to recreate the current configuration.
13982 # Compiler output produced by configure, useful for debugging
13983 # configure, is in config.log if it exists.
13986 ac_cs_recheck=false
13989 SHELL=\${CONFIG_SHELL-$SHELL}
13992 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13993 ## -------------------- ##
13994 ## M4sh Initialization. ##
13995 ## -------------------- ##
13997 # Be more Bourne compatible
13998 DUALCASE
=1; export DUALCASE
# for MKS sh
13999 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14002 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14003 # is contrary to our usage. Disable this feature.
14004 alias -g '${1+"$@"}'='"$@"'
14005 setopt NO_GLOB_SUBST
14007 case `(set -o) 2>/dev/null` in #(
14019 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14020 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14021 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14023 # Prefer a ksh shell builtin over an external printf program on Solaris,
14024 # but without wasting forks for bash or zsh.
14025 if test -z "$BASH_VERSION$ZSH_VERSION" \
14026 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14027 as_echo='print
-r --'
14028 as_echo_n='print
-rn --'
14029 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14030 as_echo='printf %s
\n'
14031 as_echo_n='printf %s
'
14033 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14034 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14035 as_echo_n='/usr
/ucb
/echo -n'
14037 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14038 as_echo_n_body='eval
14042 expr "X$arg" : "X\\(.*\\)$as_nl";
14043 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14045 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14047 export as_echo_n_body
14048 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14050 export as_echo_body
14051 as_echo='sh
-c $as_echo_body as_echo
'
14054 # The user is always right.
14055 if test "${PATH_SEPARATOR+set}" != set; then
14057 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14058 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14065 # We need space, tab and new line, in precisely that order. Quoting is
14066 # there to prevent editors from complaining about space-tab.
14067 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14068 # splitting by setting IFS to empty value.)
14071 # Find who we are. Look in the path if we contain no directory separator.
14074 *[\\/]* ) as_myself=$0 ;;
14075 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14076 for as_dir in $PATH
14079 test -z "$as_dir" && as_dir=.
14080 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14086 # We did not find ourselves, most probably we were run as `sh COMMAND'
14087 # in which case we are not to be found in the path.
14088 if test "x$as_myself" = x
; then
14091 if test ! -f "$as_myself"; then
14092 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14096 # Unset variables that we do not need and which cause bugs (e.g. in
14097 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14098 # suppresses any "Segmentation fault" message there. '((' could
14099 # trigger a bug in pdksh 5.2.14.
14100 for as_var
in BASH_ENV ENV MAIL MAILPATH
14101 do eval test x\
${$as_var+set} = xset \
14102 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14115 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14118 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14119 # ----------------------------------------
14120 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14121 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14122 # script with STATUS, using 1 if that was 0.
14125 as_status
=$1; test $as_status -eq 0 && as_status
=1
14127 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14128 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14130 $as_echo "$as_me: error: $2" >&2
14131 as_fn_exit
$as_status
14135 # as_fn_set_status STATUS
14136 # -----------------------
14137 # Set $? to STATUS, without forking.
14138 as_fn_set_status
()
14141 } # as_fn_set_status
14143 # as_fn_exit STATUS
14144 # -----------------
14145 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14149 as_fn_set_status
$1
14155 # Portably unset VAR.
14158 { eval $1=; unset $1;}
14160 as_unset
=as_fn_unset
14161 # as_fn_append VAR VALUE
14162 # ----------------------
14163 # Append the text in VALUE to the end of the definition contained in VAR. Take
14164 # advantage of any shell optimizations that allow amortized linear growth over
14165 # repeated appends, instead of the typical quadratic growth present in naive
14167 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14168 eval 'as_fn_append ()
14179 # as_fn_arith ARG...
14180 # ------------------
14181 # Perform arithmetic evaluation on the ARGs, and store the result in the
14182 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14183 # must be portable across $(()) and expr.
14184 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14185 eval 'as_fn_arith ()
14192 as_val
=`expr "$@" || test $? -eq 1`
14197 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14198 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14204 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14205 as_basename
=basename
14210 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14216 as_me
=`$as_basename -- "$0" ||
14217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14218 X"$0" : 'X\(//\)$' \| \
14219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14221 sed '/^.*\/\([^/][^/]*\)\/*$/{
14235 # Avoid depending upon Character Ranges.
14236 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14237 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14238 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14239 as_cr_digits
='0123456789'
14240 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14242 ECHO_C
= ECHO_N
= ECHO_T
=
14243 case `echo -n x` in #(((((
14245 case `echo 'xy\c'` in
14246 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14248 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14255 rm -f conf$$ conf$$.exe conf$$.
file
14256 if test -d conf$$.dir
; then
14257 rm -f conf$$.dir
/conf$$.
file
14260 mkdir conf$$.dir
2>/dev
/null
14262 if (echo >conf$$.
file) 2>/dev
/null
; then
14263 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14265 # ... but there are two gotchas:
14266 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14267 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14268 # In both cases, we have to default to `cp -pR'.
14269 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14271 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14279 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14280 rmdir conf$$.dir
2>/dev
/null
14285 # Create "$as_dir" as a directory, including parents if necessary.
14290 -*) as_dir
=.
/$as_dir;;
14292 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14296 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14297 *) as_qdir
=$as_dir;;
14299 as_dirs
="'$as_qdir' $as_dirs"
14300 as_dir
=`$as_dirname -- "$as_dir" ||
14301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14302 X"$as_dir" : 'X\(//\)[^/]' \| \
14303 X"$as_dir" : 'X\(//\)$' \| \
14304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14305 $as_echo X"$as_dir" |
14306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14310 /^X\(\/\/\)[^/].*/{
14323 test -d "$as_dir" && break
14325 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14326 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14330 if mkdir
-p .
2>/dev
/null
; then
14331 as_mkdir_p
='mkdir -p "$as_dir"'
14333 test -d .
/-p && rmdir .
/-p
14338 # as_fn_executable_p FILE
14339 # -----------------------
14340 # Test if FILE is an executable regular file.
14341 as_fn_executable_p
()
14343 test -f "$1" && test -x "$1"
14344 } # as_fn_executable_p
14345 as_test_x
='test -x'
14346 as_executable_p
=as_fn_executable_p
14348 # Sed expression to map a string onto a valid CPP name.
14349 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14351 # Sed expression to map a string onto a valid variable name.
14352 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14356 ## ----------------------------------- ##
14357 ## Main body of $CONFIG_STATUS script. ##
14358 ## ----------------------------------- ##
14360 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14363 # Save the log message, to keep $0 and so on meaningful, and to
14364 # report actual input values of CONFIG_FILES etc. instead of their
14365 # values after options handling.
14367 This file was extended by lua52 (TeX Live) $as_me 5.2.4, which was
14368 generated by GNU Autoconf 2.69. Invocation command line was
14370 CONFIG_FILES = $CONFIG_FILES
14371 CONFIG_HEADERS = $CONFIG_HEADERS
14372 CONFIG_LINKS = $CONFIG_LINKS
14373 CONFIG_COMMANDS = $CONFIG_COMMANDS
14376 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14381 case $ac_config_files in *"
14382 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14385 case $ac_config_headers in *"
14386 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14391 # Files that config.status was made for.
14392 config_files="$ac_config_files"
14393 config_headers="$ac_config_headers"
14394 config_commands="$ac_config_commands"
14398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14400 \`$as_me' instantiates files and other configuration actions
14401 from templates according to the current configuration. Unless the files
14402 and actions are specified as TAGs, all are instantiated by default.
14404 Usage: $0 [OPTION]... [TAG]...
14406 -h, --help print this help, then exit
14407 -V, --version print version number and configuration settings, then exit
14408 --config print configuration, then exit
14409 -q, --quiet, --silent
14410 do not print progress messages
14411 -d, --debug don't remove temporary files
14412 --recheck update $as_me by reconfiguring in the same conditions
14413 --file=FILE[:TEMPLATE]
14414 instantiate the configuration file FILE
14415 --header=FILE[:TEMPLATE]
14416 instantiate the configuration header FILE
14418 Configuration files:
14421 Configuration headers:
14424 Configuration commands:
14427 Report bugs to <tex-k@tug.org>."
14430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14431 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14433 lua52 (TeX Live) config.status 5.2.4
14434 configured by $0, generated by GNU Autoconf 2.69,
14435 with options \\"\$ac_cs_config\\"
14437 Copyright (C) 2012 Free Software Foundation, Inc.
14438 This config.status script is free software; the Free Software Foundation
14439 gives unlimited permission to copy, distribute and modify it."
14446 test -n "\$AWK" || AWK=awk
14449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14450 # The default lists apply if the user does not specify any file.
14456 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14457 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14461 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14473 # Handling of the options.
14474 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14476 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14477 $as_echo "$ac_cs_version"; exit ;;
14478 --config |
--confi |
--conf |
--con |
--co |
--c )
14479 $as_echo "$ac_cs_config"; exit ;;
14480 --debug |
--debu |
--deb |
--de |
--d |
-d )
14482 --file |
--fil |
--fi |
--f )
14485 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14486 '') as_fn_error $?
"missing file argument" ;;
14488 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14489 ac_need_defaults
=false
;;
14490 --header |
--heade |
--head |
--hea )
14493 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14495 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14496 ac_need_defaults
=false
;;
14498 # Conflict between --help and --header
14499 as_fn_error $?
"ambiguous option: \`$1'
14500 Try \`$0 --help' for more information.";;
14501 --help |
--hel |
-h )
14502 $as_echo "$ac_cs_usage"; exit ;;
14503 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14504 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14507 # This is an error.
14508 -*) as_fn_error $?
"unrecognized option: \`$1'
14509 Try \`$0 --help' for more information." ;;
14511 *) as_fn_append ac_config_targets
" $1"
14512 ac_need_defaults
=false
;;
14518 ac_configure_extra_args
=
14520 if $ac_cs_silent; then
14522 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14527 if \$ac_cs_recheck; then
14528 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14530 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14531 CONFIG_SHELL='$SHELL'
14532 export CONFIG_SHELL
14537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14541 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14542 ## Running $as_me. ##
14548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14552 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14555 # The HP-UX ksh and POSIX shell print the target directory to stdout
14556 # if CDPATH is set.
14557 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14559 sed_quote_subst='$sed_quote_subst'
14560 double_quote_subst='$double_quote_subst'
14561 delay_variable_subst='$delay_variable_subst'
14562 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14563 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14564 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14565 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14566 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14567 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14568 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14569 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14570 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14571 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14572 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14573 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14574 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14575 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14576 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14577 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14578 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14579 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14580 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14581 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14582 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14583 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14584 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14585 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14586 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14587 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14588 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14589 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14590 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14591 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14592 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14593 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14594 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14595 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14596 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14597 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14598 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14599 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14600 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14601 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14602 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14603 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14604 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14605 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14606 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14607 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14608 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14609 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14610 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14611 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14612 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14613 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14614 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14615 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14616 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14617 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14618 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14619 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14620 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14621 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"`'
14622 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14623 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14624 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14625 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14626 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14627 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14628 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14629 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14630 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14631 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14632 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14633 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14634 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14635 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14636 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14637 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14638 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14639 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14640 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14641 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14642 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14643 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14644 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14645 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14646 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14647 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14648 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14649 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14650 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14651 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14652 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14653 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14654 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14655 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14656 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14657 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14658 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14659 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14660 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14661 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14662 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14663 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14664 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14665 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14666 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14667 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14668 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14669 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14670 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14671 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14672 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14673 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14674 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14675 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14676 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14677 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14678 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14679 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14680 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14681 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14682 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14683 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14684 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14685 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14686 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14687 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14688 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14689 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14690 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14691 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14692 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14693 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14694 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14695 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14696 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14697 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14700 LTCFLAGS='$LTCFLAGS'
14701 compiler='$compiler_DEFAULT'
14703 # A function that is used when there is no print builtin or printf.
14704 func_fallback_echo ()
14706 eval 'cat <<_LTECHO_EOF
14711 # Quote evaled strings.
14728 deplibs_check_method \
14732 sharedlib_from_linklib_cmd \
14735 archiver_list_spec \
14741 lt_cv_sys_global_symbol_pipe \
14742 lt_cv_sys_global_symbol_to_cdecl \
14743 lt_cv_sys_global_symbol_to_import \
14744 lt_cv_sys_global_symbol_to_c_name_address \
14745 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14746 lt_cv_nm_interface \
14747 nm_file_list_spec \
14748 lt_cv_truncate_bin \
14749 lt_prog_compiler_no_builtin_flag \
14750 lt_prog_compiler_pic \
14751 lt_prog_compiler_wl \
14752 lt_prog_compiler_static \
14753 lt_cv_prog_compiler_c_o \
14762 export_dynamic_flag_spec \
14763 whole_archive_flag_spec \
14764 compiler_needs_object \
14766 allow_undefined_flag \
14767 no_undefined_flag \
14768 hardcode_libdir_flag_spec \
14769 hardcode_libdir_separator \
14773 variables_saved_for_relink \
14775 library_names_spec \
14777 install_override_mode \
14781 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14782 *[\\\\\\\`\\"\\\$]*)
14783 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14786 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14791 # Double-quote double-evaled strings.
14792 for var in reload_cmds \
14793 old_postinstall_cmds \
14794 old_postuninstall_cmds \
14796 extract_expsyms_cmds \
14797 old_archive_from_new_cmds \
14798 old_archive_from_expsyms_cmds \
14800 archive_expsym_cmds \
14802 module_expsym_cmds \
14803 export_symbols_cmds \
14807 postuninstall_cmds \
14809 sys_lib_search_path_spec \
14810 configure_time_dlsearch_path \
14811 configure_time_lt_sys_library_path; do
14812 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14813 *[\\\\\\\`\\"\\\$]*)
14814 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14817 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14822 ac_aux_dir='$ac_aux_dir'
14824 # See if we are running on zsh, and set the options that allow our
14825 # commands through without removal of \ escapes INIT.
14826 if test -n "\${ZSH_VERSION+set}"; then
14827 setopt NO_GLOB_SUBST
14836 kpse_dll_name='$kpse_dll_name'
14842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14844 # Handling of arguments.
14845 for ac_config_target
in $ac_config_targets
14847 case $ac_config_target in
14848 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14849 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14850 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14851 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14852 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
14853 "texlua52.pc") CONFIG_FILES
="$CONFIG_FILES texlua52.pc" ;;
14855 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14860 # If the user did not use the arguments to specify the items to instantiate,
14861 # then the envvar interface is used. Set only those that are not.
14862 # We use the long form for the default assignment because of an extremely
14863 # bizarre bug on SunOS 4.1.3.
14864 if $ac_need_defaults; then
14865 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14866 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14867 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14870 # Have a temporary directory for convenience. Make it in the build tree
14871 # simply because there is no reason against having it here, and in addition,
14872 # creating and moving files from /tmp can sometimes cause problems.
14873 # Hook for its removal unless debugging.
14874 # Note that there is a small window in which the directory will not be cleaned:
14875 # after its creation but before its name has been assigned to `$tmp'.
14879 trap 'exit_status=$?
14880 : "${ac_tmp:=$tmp}"
14881 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14883 trap 'as_fn_exit 1' 1 2 13 15
14885 # Create a (secure) tmp directory for tmp files.
14888 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14892 tmp
=.
/conf$$
-$RANDOM
14893 (umask 077 && mkdir
"$tmp")
14894 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14897 # Set up the scripts for CONFIG_FILES section.
14898 # No need to generate them if there are no CONFIG_FILES.
14899 # This happens for instance with `./config.status config.h'.
14900 if test -n "$CONFIG_FILES"; then
14903 ac_cr
=`echo X | tr X '\015'`
14904 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14905 # But we know of no other shell where ac_cr would be empty at this
14906 # point, so we can use a bashism as a fallback.
14907 if test "x$ac_cr" = x
; then
14908 eval ac_cr
=\$
\'\\r
\'
14910 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14911 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14914 ac_cs_awk_cr
=$ac_cr
14917 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14922 echo "cat >conf$$subs.awk <<_ACEOF" &&
14923 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14925 } >conf$$subs.sh ||
14926 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14927 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14929 for ac_last_try in false false false false false :; do
14930 . ./conf$$subs.sh ||
14931 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14933 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14934 if test $ac_delim_n = $ac_delim_num; then
14936 elif $ac_last_try; then
14937 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14939 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14942 rm -f conf$$subs.sh
14944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14945 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14949 s/^/S["/; s
/!.
*/"]=/
14959 s/\(.\{148\}\)..*/\1/
14961 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14966 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14973 s/\(.\{148\}\)..*/\1/
14975 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14979 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14984 ' <conf$$subs.awk | sed '
14989 ' >>$CONFIG_STATUS || ac_write_fail=1
14990 rm -f conf$$subs.awk
14991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14993 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14994 for (key in S) S_is_set[key] = 1
15000 nfields = split(line, field, "@
")
15002 len = length(field[1])
15003 for (i = 2; i < nfields; i++) {
15005 keylen = length(key)
15006 if (S_is_set[key]) {
15008 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15009 len += length(value) + length(field[++i])
15020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15021 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15022 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15025 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15026 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15029 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15030 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15031 # trailing colons and then remove the whole line if VPATH becomes empty
15032 # (actually we leave an empty line to preserve line numbers).
15033 if test "x
$srcdir" = x.; then
15034 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15053 fi # test -n "$CONFIG_FILES"
15055 # Set up the scripts for CONFIG_HEADERS section.
15056 # No need to generate them if there are no CONFIG_HEADERS.
15057 # This happens for instance with `./config.status Makefile'.
15058 if test -n "$CONFIG_HEADERS"; then
15059 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15063 # Transform confdefs.h into an awk script `defines.awk', embedded as
15064 # here-document in config.status, that substitutes the proper values into
15065 # config.h.in to produce config.h.
15067 # Create a delimiter string that does not exist in confdefs.h, to ease
15068 # handling of long lines.
15070 for ac_last_try in false false :; do
15071 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15072 if test -z "$ac_tt"; then
15074 elif $ac_last_try; then
15075 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15077 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15081 # For the awk script, D is an array of macro values keyed by name,
15082 # likewise P contains macro parameters if any. Preserve backslash
15083 # newline sequences.
15085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15087 s/.\{148\}/&'"$ac_delim"'/g
15090 s/^[ ]*#[ ]*define[ ][ ]*/ /
15097 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15099 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15103 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15104 D["\
1"]=" \
3\\\\\\n
"\\/p
15106 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15111 s/.\{148\}/&'"$ac_delim"'/g
15116 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15119 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15121 ' <confdefs.h | sed '
15122 s/'"$ac_delim"'/"\\\
15123 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15126 for (key in D) D_is_set[key] = 1
15129 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15131 split(line, arg, " ")
15132 if (arg[1] == "#") {
15136 defundef
= substr
(arg
[1], 2)
15139 split(mac1
, mac2
, "(") #)
15141 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15142 if (D_is_set
[macro
]) {
15143 # Preserve the white space surrounding the "#".
15144 print prefix
"define", macro P
[macro
] D
[macro
]
15147 # Replace #undef with comments. This is necessary, for example,
15148 # in the case of _POSIX_SOURCE, which is predefined and required
15149 # on some systems where configure will not decide to define it.
15150 if (defundef
== "undef") {
15151 print
"/*", prefix defundef
, macro
, "*/"
15159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15160 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15161 fi # test -n "$CONFIG_HEADERS"
15164 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15169 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15171 case $ac_mode$ac_tag in
15173 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15174 :[FH
]-) ac_tag
=-:-;;
15175 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15192 -) ac_f
="$ac_tmp/stdin";;
15193 *) # Look for the file first in the build tree, then in the source tree
15194 # (if the path is not absolute). The absolute path cannot be DOS-style,
15195 # because $ac_f cannot contain `:'.
15199 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15201 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15203 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15204 as_fn_append ac_file_inputs
" '$ac_f'"
15207 # Let's still pretend it is `configure' which instantiates (i.e., don't
15208 # use $as_me), people would be surprised to read:
15209 # /* config.h. Generated by config.status. */
15210 configure_input
='Generated from '`
15211 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15213 if test x
"$ac_file" != x-
; then
15214 configure_input
="$ac_file. $configure_input"
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15216 $as_echo "$as_me: creating $ac_file" >&6;}
15218 # Neutralize special characters interpreted by sed in replacement strings.
15219 case $configure_input in #(
15220 *\
&* |
*\|
* |
*\\* )
15221 ac_sed_conf_input
=`$as_echo "$configure_input" |
15222 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15223 *) ac_sed_conf_input
=$configure_input;;
15227 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15228 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15233 ac_dir
=`$as_dirname -- "$ac_file" ||
15234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15235 X"$ac_file" : 'X\(//\)[^/]' \| \
15236 X"$ac_file" : 'X\(//\)$' \| \
15237 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15238 $as_echo X"$ac_file" |
15239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15243 /^X\(\/\/\)[^/].*/{
15256 as_dir
="$ac_dir"; as_fn_mkdir_p
15260 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15262 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15263 # A ".." for each directory in $ac_dir_suffix.
15264 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15265 case $ac_top_builddir_sub in
15266 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15267 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15270 ac_abs_top_builddir
=$ac_pwd
15271 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15272 # for backward compatibility:
15273 ac_top_builddir
=$ac_top_build_prefix
15276 .
) # We are building in place.
15278 ac_top_srcdir
=$ac_top_builddir_sub
15279 ac_abs_top_srcdir
=$ac_pwd ;;
15280 [\\/]* | ?
:[\\/]* ) # Absolute name.
15281 ac_srcdir
=$srcdir$ac_dir_suffix;
15282 ac_top_srcdir
=$srcdir
15283 ac_abs_top_srcdir
=$srcdir ;;
15284 *) # Relative name.
15285 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15286 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15287 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15289 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15299 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15300 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15302 ac_MKDIR_P
=$MKDIR_P
15304 [\\/$
]* | ?
:[\\/]* ) ;;
15305 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15310 # If the template does not know about datarootdir, expand it.
15311 # FIXME: This hack should be removed a few years after 2.60.
15312 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15323 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15324 *datarootdir
*) ac_datarootdir_seen
=yes;;
15325 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15327 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15330 ac_datarootdir_hack='
15331 s&@datadir@&$datadir&g
15332 s&@docdir@&$docdir&g
15333 s&@infodir@&$infodir&g
15334 s&@localedir@&$localedir&g
15335 s&@mandir@&$mandir&g
15336 s&\\\${datarootdir}&$datarootdir&g' ;;
15340 # Neutralize VPATH when `$srcdir' = `.'.
15341 # Shell code in configure.ac might set extrasub.
15342 # FIXME: do we really want to maintain this feature?
15343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15344 ac_sed_extra="$ac_vpsub
15347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15349 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15350 s|@configure_input@|
$ac_sed_conf_input|
;t t
15351 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15352 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15353 s
&@srcdir@
&$ac_srcdir&;t t
15354 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15355 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15356 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15357 s
&@builddir@
&$ac_builddir&;t t
15358 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15359 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15360 s
&@INSTALL@
&$ac_INSTALL&;t t
15361 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15362 $ac_datarootdir_hack
15364 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15365 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15367 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15368 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15369 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15370 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15372 which seems to be undefined. Please make sure it is defined" >&5
15373 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15374 which seems to be undefined. Please make sure it is defined" >&2;}
15376 rm -f "$ac_tmp/stdin"
15378 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15379 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15387 if test x"$ac_file" != x-; then
15389 $as_echo "/* $configure_input */" \
15390 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15391 } >"$ac_tmp/config.h" \
15392 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15393 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15395 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15398 mv "$ac_tmp/config.h" "$ac_file" \
15399 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15402 $as_echo "/* $configure_input */" \
15403 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15404 || as_fn_error $? "could not create -" "$LINENO" 5
15406 # Compute "$ac_file"'s index
in $config_headers.
15409 for _am_header
in $config_headers :; do
15410 case $_am_header in
15411 $_am_arg |
$_am_arg:* )
15414 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15417 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15418 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15419 X"$_am_arg" : 'X\(//\)[^/]' \| \
15420 X"$_am_arg" : 'X\(//\)$' \| \
15421 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15422 $as_echo X"$_am_arg" |
15423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15427 /^X\(\/\/\)[^/].*/{
15439 s/.*/./; q'`/stamp-h
$_am_stamp_count
15442 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15443 $as_echo "$as_me: executing $ac_file commands" >&6;}
15448 case $ac_file$ac_mode in
15449 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15450 # Older Autoconf quotes --file arguments for eval, but not when files
15451 # are listed without --file. Let's play safe and only enable the eval
15452 # if we detect the quoting.
15453 case $CONFIG_FILES in
15454 *\'*) eval set x
"$CONFIG_FILES" ;;
15455 *) set x
$CONFIG_FILES ;;
15460 # Strip MF so we end up with the name of the file.
15461 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15462 # Check whether this is an Automake generated Makefile or not.
15463 # We used to match only the files named 'Makefile.in', but
15464 # some people rename them; so instead we look at the file content.
15465 # Grep'ing the first line is not enough: some people post-process
15466 # each Makefile.in and add a new line on top of each file to say so.
15467 # Grep'ing the whole file is not good either: AIX grep has a line
15468 # limit of 2048, but all sed's we know have understand at least 4000.
15469 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15470 dirpart
=`$as_dirname -- "$mf" ||
15471 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15472 X"$mf" : 'X\(//\)[^/]' \| \
15473 X"$mf" : 'X\(//\)$' \| \
15474 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15480 /^X\(\/\/\)[^/].*/{
15496 # Extract the definition of DEPDIR, am__include, and am__quote
15497 # from the Makefile without running 'make'.
15498 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15499 test -z "$DEPDIR" && continue
15500 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15501 test -z "$am__include" && continue
15502 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15503 # Find all dependency output files, they are included files with
15504 # $(DEPDIR) in their names. We invoke sed twice because it is the
15505 # simplest approach to changing $(DEPDIR) to its actual value in the
15507 for file in `sed -n "
15508 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15509 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15510 # Make sure the directory exists.
15511 test -f "$dirpart/$file" && continue
15512 fdir
=`$as_dirname -- "$file" ||
15513 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15514 X"$file" : 'X\(//\)[^/]' \| \
15515 X"$file" : 'X\(//\)$' \| \
15516 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15517 $as_echo X"$file" |
15518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15522 /^X\(\/\/\)[^/].*/{
15535 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15536 # echo "creating $dirpart/$file"
15537 echo '# dummy' > "$dirpart/$file"
15544 # See if we are running on zsh, and set the options that allow our
15545 # commands through without removal of \ escapes.
15546 if test -n "${ZSH_VERSION+set}"; then
15547 setopt NO_GLOB_SUBST
15551 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15554 cat <<_LT_EOF >> "$cfgfile"
15556 # Generated automatically by $as_me ($PACKAGE) $VERSION
15557 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15558 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15560 # Provide generalized library-building support services.
15561 # Written by Gordon Matzigkeit, 1996
15563 # Copyright (C) 2014 Free Software Foundation, Inc.
15564 # This is free software; see the source for copying conditions. There is NO
15565 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15567 # GNU Libtool is free software; you can redistribute it and/or modify
15568 # it under the terms of the GNU General Public License as published by
15569 # the Free Software Foundation; either version 2 of of the License, or
15570 # (at your option) any later version.
15572 # As a special exception to the GNU General Public License, if you
15573 # distribute this file as part of a program or library that is built
15574 # using GNU Libtool, you may include this file under the same
15575 # distribution terms that you use for the rest of that program.
15577 # GNU Libtool is distributed in the hope that it will be useful, but
15578 # WITHOUT ANY WARRANTY; without even the implied warranty of
15579 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15580 # GNU General Public License for more details.
15582 # You should have received a copy of the GNU General Public License
15583 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15586 # The names of the tagged configurations supported by this script.
15589 # Configured defaults for sys_lib_dlsearch_path munging.
15590 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15592 # ### BEGIN LIBTOOL CONFIG
15594 # Which release of libtool.m4 was used?
15595 macro_version=$macro_version
15596 macro_revision=$macro_revision
15598 # Assembler program.
15601 # DLL creation program.
15602 DLLTOOL=$lt_DLLTOOL
15604 # Object dumper program.
15605 OBJDUMP=$lt_OBJDUMP
15607 # Whether or not to build shared libraries.
15608 build_libtool_libs=$enable_shared
15610 # Whether or not to build static libraries.
15611 build_old_libs=$enable_static
15613 # What type of objects to build.
15616 # Whether or not to optimize for fast installation.
15617 fast_install=$enable_fast_install
15619 # Shared archive member basename,for filename based shared library versioning on AIX.
15620 shared_archive_member_spec=$shared_archive_member_spec
15622 # Shell to use when invoking shell scripts.
15625 # An echo program that protects backslashes.
15628 # The PATH separator for the build system.
15629 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15632 host_alias=$host_alias
15636 # The build system.
15637 build_alias=$build_alias
15641 # A sed program that does not truncate output.
15644 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15645 Xsed="\$SED -e 1s/^X//"
15647 # A grep program that handles long lines.
15653 # A literal string matcher.
15656 # A BSD- or MS-compatible name lister.
15659 # Whether we need soft or hard links.
15662 # What is the maximum length of a command?
15663 max_cmd_len=$max_cmd_len
15665 # Object file suffix (normally "o").
15668 # Executable file suffix (normally "").
15671 # whether the shell understands "unset".
15674 # turn spaces into newlines.
15677 # turn newlines into spaces.
15680 # convert \$build file names to \$host format.
15681 to_host_file_cmd=$lt_cv_to_host_file_cmd
15683 # convert \$build files to toolchain format.
15684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15686 # Method to check whether dependent libraries are shared objects.
15687 deplibs_check_method=$lt_deplibs_check_method
15689 # Command to use when deplibs_check_method = "file_magic".
15690 file_magic_cmd=$lt_file_magic_cmd
15692 # How to find potential files when deplibs_check_method = "file_magic".
15693 file_magic_glob=$lt_file_magic_glob
15695 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15696 want_nocaseglob=$lt_want_nocaseglob
15698 # Command to associate shared and link libraries.
15699 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15704 # Flags to create an archive.
15705 AR_FLAGS=$lt_AR_FLAGS
15707 # How to feed a file listing to the archiver.
15708 archiver_list_spec=$lt_archiver_list_spec
15710 # A symbol stripping program.
15713 # Commands used to install an old-style archive.
15715 old_postinstall_cmds=$lt_old_postinstall_cmds
15716 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15718 # Whether to use a lock for old archive extraction.
15719 lock_old_archive_extraction=$lock_old_archive_extraction
15724 # LTCC compiler flags.
15725 LTCFLAGS=$lt_CFLAGS
15727 # Take the output of nm and produce a listing of raw symbols and C names.
15728 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15730 # Transform the output of nm in a proper C declaration.
15731 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15733 # Transform the output of nm into a list of symbols to manually relocate.
15734 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15736 # Transform the output of nm in a C name address pair.
15737 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15739 # Transform the output of nm in a C name address pair when lib prefix is needed.
15740 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15742 # The name lister interface.
15743 nm_interface=$lt_lt_cv_nm_interface
15745 # Specify filename containing input files for \$NM.
15746 nm_file_list_spec=$lt_nm_file_list_spec
15748 # The root where to search for dependent libraries,and where our libraries should be installed.
15749 lt_sysroot=$lt_sysroot
15751 # Command to truncate a binary pipe.
15752 lt_truncate_bin=$lt_lt_cv_truncate_bin
15754 # The name of the directory that contains temporary libtool files.
15757 # Used to examine libraries when file_magic_cmd begins with "file".
15758 MAGIC_CMD=$MAGIC_CMD
15760 # Must we lock files when doing compilation?
15761 need_locks=$lt_need_locks
15764 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15766 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15767 DSYMUTIL=$lt_DSYMUTIL
15769 # Tool to change global to local symbols on Mac OS X.
15772 # Tool to manipulate fat objects and archives on Mac OS X.
15775 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15778 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15779 OTOOL64=$lt_OTOOL64
15781 # Old archive suffix (normally "a").
15784 # Shared library suffix (normally ".so").
15785 shrext_cmds=$lt_shrext_cmds
15787 # The commands to extract the exported symbol list from a shared archive.
15788 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15790 # Variables whose values should be saved in libtool wrapper scripts and
15791 # restored at link time.
15792 variables_saved_for_relink=$lt_variables_saved_for_relink
15794 # Do we need the "lib" prefix for modules?
15795 need_lib_prefix=$need_lib_prefix
15797 # Do we need a version for libraries?
15798 need_version=$need_version
15800 # Library versioning type.
15801 version_type=$version_type
15803 # Shared library runtime path variable.
15804 runpath_var=$runpath_var
15806 # Shared library path variable.
15807 shlibpath_var=$shlibpath_var
15809 # Is shlibpath searched before the hard-coded library search path?
15810 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15812 # Format of library name prefix.
15813 libname_spec=$lt_libname_spec
15815 # List of archive names. First name is the real one, the rest are links.
15816 # The last name is the one that the linker finds with -lNAME
15817 library_names_spec=$lt_library_names_spec
15819 # The coded name of the library, if different from the real name.
15820 soname_spec=$lt_soname_spec
15822 # Permission mode override for installation of shared libraries.
15823 install_override_mode=$lt_install_override_mode
15825 # Command to use after installation of a shared archive.
15826 postinstall_cmds=$lt_postinstall_cmds
15828 # Command to use after uninstallation of a shared archive.
15829 postuninstall_cmds=$lt_postuninstall_cmds
15831 # Commands used to finish a libtool library installation in a directory.
15832 finish_cmds=$lt_finish_cmds
15834 # As "finish_cmds", except a single script fragment to be evaled but
15836 finish_eval=$lt_finish_eval
15838 # Whether we should hardcode library paths into libraries.
15839 hardcode_into_libs=$hardcode_into_libs
15841 # Compile-time system search path for libraries.
15842 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15844 # Detected run-time system search path for libraries.
15845 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15847 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15848 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15850 # Whether dlopen is supported.
15851 dlopen_support=$enable_dlopen
15853 # Whether dlopen of programs is supported.
15854 dlopen_self=$enable_dlopen_self
15856 # Whether dlopen of statically linked programs is supported.
15857 dlopen_self_static=$enable_dlopen_self_static
15859 # Commands to strip libraries.
15860 old_striplib=$lt_old_striplib
15861 striplib=$lt_striplib
15864 # The linker used to build libraries.
15867 # How to create reloadable object files.
15868 reload_flag=$lt_reload_flag
15869 reload_cmds=$lt_reload_cmds
15871 # Commands used to build an old-style archive.
15872 old_archive_cmds=$lt_old_archive_cmds
15874 # A language specific compiler.
15877 # Is the compiler the GNU compiler?
15880 # Compiler flag to turn off builtin functions.
15881 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15883 # Additional compiler flags for building library objects.
15884 pic_flag=$lt_lt_prog_compiler_pic
15886 # How to pass a linker flag through the compiler.
15887 wl=$lt_lt_prog_compiler_wl
15889 # Compiler flag to prevent dynamic linking.
15890 link_static_flag=$lt_lt_prog_compiler_static
15892 # Does compiler simultaneously support -c and -o options?
15893 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15895 # Whether or not to add -lc for building shared libraries.
15896 build_libtool_need_lc=$archive_cmds_need_lc
15898 # Whether or not to disallow shared libs when runtime libs are static.
15899 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15901 # Compiler flag to allow reflexive dlopens.
15902 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15904 # Compiler flag to generate shared objects directly from archives.
15905 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15907 # Whether the compiler copes with passing no objects directly.
15908 compiler_needs_object=$lt_compiler_needs_object
15910 # Create an old-style archive from a shared archive.
15911 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15913 # Create a temporary old-style archive to link instead of a shared archive.
15914 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15916 # Commands used to build a shared archive.
15917 archive_cmds=$lt_archive_cmds
15918 archive_expsym_cmds=$lt_archive_expsym_cmds
15920 # Commands used to build a loadable module if different from building
15921 # a shared archive.
15922 module_cmds=$lt_module_cmds
15923 module_expsym_cmds=$lt_module_expsym_cmds
15925 # Whether we are building with GNU ld or not.
15926 with_gnu_ld=$lt_with_gnu_ld
15928 # Flag that allows shared libraries with undefined symbols to be built.
15929 allow_undefined_flag=$lt_allow_undefined_flag
15931 # Flag that enforces no undefined symbols.
15932 no_undefined_flag=$lt_no_undefined_flag
15934 # Flag to hardcode \$libdir into a binary during linking.
15935 # This must work even if \$libdir does not exist
15936 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15938 # Whether we need a single "-rpath" flag with a separated argument.
15939 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15941 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15942 # DIR into the resulting binary.
15943 hardcode_direct=$hardcode_direct
15945 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15946 # DIR into the resulting binary and the resulting library dependency is
15947 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15948 # library is relocated.
15949 hardcode_direct_absolute=$hardcode_direct_absolute
15951 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15952 # into the resulting binary.
15953 hardcode_minus_L=$hardcode_minus_L
15955 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15956 # into the resulting binary.
15957 hardcode_shlibpath_var=$hardcode_shlibpath_var
15959 # Set to "yes" if building a shared library automatically hardcodes DIR
15960 # into the library and all subsequent libraries and executables linked
15962 hardcode_automatic=$hardcode_automatic
15964 # Set to yes if linker adds runtime paths of dependent libraries
15965 # to runtime path list.
15966 inherit_rpath=$inherit_rpath
15968 # Whether libtool must link a program against all its dependency libraries.
15969 link_all_deplibs=$link_all_deplibs
15971 # Set to "yes" if exported symbols are required.
15972 always_export_symbols=$always_export_symbols
15974 # The commands to list exported symbols.
15975 export_symbols_cmds=$lt_export_symbols_cmds
15977 # Symbols that should not be listed in the preloaded symbols.
15978 exclude_expsyms=$lt_exclude_expsyms
15980 # Symbols that must always be exported.
15981 include_expsyms=$lt_include_expsyms
15983 # Commands necessary for linking programs (against libraries) with templates.
15984 prelink_cmds=$lt_prelink_cmds
15986 # Commands necessary for finishing linking programs.
15987 postlink_cmds=$lt_postlink_cmds
15989 # Specify filename containing input files.
15990 file_list_spec=$lt_file_list_spec
15992 # How to hardcode a shared library path into an executable.
15993 hardcode_action=$hardcode_action
15995 # ### END LIBTOOL CONFIG
15999 cat <<'_LT_EOF' >> "$cfgfile"
16001 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16003 # func_munge_path_list VARIABLE PATH
16004 # -----------------------------------
16005 # VARIABLE is name of variable containing _space_ separated list of
16006 # directories to be munged by the contents of PATH, which is string
16009 # string "DIR[ DIR]" will be prepended to VARIABLE
16011 # string "DIR[ DIR]" will be appended to VARIABLE
16012 # "DIRP[:DIRP]::[DIRA:]DIRA"
16013 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16014 # "DIRA[ DIRA]" will be appended to VARIABLE
16016 # VARIABLE will be replaced by "DIR[ DIR]"
16017 func_munge_path_list ()
16023 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16026 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16029 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16030 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16033 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16039 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16040 func_cc_basename ()
16042 for cc_temp in $*""; do
16044 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16045 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16050 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16054 # ### END FUNCTIONS SHARED WITH CONFIGURE
16060 cat <<\_LT_EOF
>> "$cfgfile"
16061 # AIX sometimes has problems with the GCC collect2 program. For some
16062 # reason, if we set the COLLECT_NAMES environment variable, the problems
16063 # vanish in a puff of smoke.
16064 if test set != "${COLLECT_NAMES+set}"; then
16066 export COLLECT_NAMES
16073 ltmain
=$ac_aux_dir/ltmain.sh
16076 # We use sed instead of cat because bash on DJGPP gets confused if
16077 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16078 # text mode, it properly converts lines to CR/LF. This bash problem
16079 # is reportedly fixed, but why not run on old versions too?
16080 sed '$q' "$ltmain" >> "$cfgfile" \
16081 ||
(rm -f "$cfgfile"; exit 1)
16083 mv -f "$cfgfile" "$ofile" ||
16084 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16087 ## KPSE_DLL_NAME: Specify the DLL name
16088 if test "x$kpse_dll_name" != x
; then
16089 $SED '/^soname_spec=/a\
16090 ## KPSE_DLL_NAME: Specify the DLL name\
16091 soname_spec='$kpse_dll_name'.dll\
16092 ' "$ofile" >"$cfgfile"
16093 mv "$cfgfile" "$ofile" ||
16094 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16105 ac_clean_files
=$ac_clean_files_save
16107 test $ac_write_fail = 0 ||
16108 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16111 # configure is writing to config.log, and then calls config.status.
16112 # config.status does its own redirection, appending to config.log.
16113 # Unfortunately, on DOS this fails, as config.log is still kept open
16114 # by configure, so config.status won't be able to write to it; its
16115 # output is simply discarded. So we exec the FD to /dev/null,
16116 # effectively closing config.log, so it can be properly (re)opened and
16117 # appended to by config.status. When coming back to configure, we
16118 # need to make the FD available again.
16119 if test "$no_create" != yes; then
16121 ac_config_status_args
=
16122 test "$silent" = yes &&
16123 ac_config_status_args
="$ac_config_status_args --quiet"
16125 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16127 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16128 # would make configure fail if this is the last instruction.
16129 $ac_cs_success || as_fn_exit
1
16131 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16133 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}