2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for luajit for TeX Live 2.1.0-beta2.
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
='luajit for TeX Live'
592 PACKAGE_TARNAME
='luajit-for-tex-live'
593 PACKAGE_VERSION
='2.1.0-beta2'
594 PACKAGE_STRING
='luajit for TeX Live 2.1.0-beta2'
595 PACKAGE_BUGREPORT
='tex-k@tug.org'
598 ac_unique_file
="LuaJIT-src/src/luajit.h"
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 enable_option_checking
=no
636 ac_subst_vars
='am__EXEEXT_FALSE
681 am__fastdepCCAS_FALSE
713 MAINTAINER_MODE_FALSE
727 INSTALL_STRIP_PROGRAM
769 program_transform_name
782 enable_option_checking
784 enable_maintainer_mode
785 enable_dependency_tracking
786 enable_compiler_warnings
797 ac_precious_vars
='build_alias
809 ac_subdirs_all
='native'
811 # Initialize some variables set by options.
813 ac_init_version
=false
814 ac_unrecognized_opts
=
816 # The variables have the same names as the options, with
817 # dashes changed to underlines.
825 program_transform_name
=s
,x
,x
,
833 # Installation directory options.
834 # These are left unexpanded so users can "make install exec_prefix=/foo"
835 # and all the variables that are supposed to be based on exec_prefix
836 # by default will actually change.
837 # Use braces instead of parens because sh, perl, etc. also accept them.
838 # (The list follows the same order as the GNU Coding Standards.)
839 bindir
='${exec_prefix}/bin'
840 sbindir
='${exec_prefix}/sbin'
841 libexecdir
='${exec_prefix}/libexec'
842 datarootdir
='${prefix}/share'
843 datadir
='${datarootdir}'
844 sysconfdir
='${prefix}/etc'
845 sharedstatedir
='${prefix}/com'
846 localstatedir
='${prefix}/var'
847 includedir
='${prefix}/include'
848 oldincludedir
='/usr/include'
849 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
850 infodir
='${datarootdir}/info'
855 libdir
='${exec_prefix}/lib'
856 localedir
='${datarootdir}/locale'
857 mandir
='${datarootdir}/man'
863 # If the previous option needs an argument, assign it.
864 if test -n "$ac_prev"; then
865 eval $ac_prev=\
$ac_option
871 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
876 # Accept the important Cygnus configure options, so we can diagnose typos.
878 case $ac_dashdash$ac_option in
882 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
884 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
887 -build |
--build |
--buil |
--bui |
--bu)
888 ac_prev
=build_alias
;;
889 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
890 build_alias
=$ac_optarg ;;
892 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
893 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
894 ac_prev
=cache_file
;;
895 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
896 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
897 cache_file
=$ac_optarg ;;
900 cache_file
=config.cache
;;
902 -datadir |
--datadir |
--datadi |
--datad)
904 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
905 datadir
=$ac_optarg ;;
907 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
908 |
--dataroo |
--dataro |
--datar)
909 ac_prev
=datarootdir
;;
910 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
911 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
912 datarootdir
=$ac_optarg ;;
914 -disable-* |
--disable-*)
915 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
918 as_fn_error $?
"invalid feature name: $ac_useropt"
919 ac_useropt_orig
=$ac_useropt
920 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 case $ac_user_opts in
925 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
926 ac_unrecognized_sep
=', ';;
928 eval enable_
$ac_useropt=no
;;
930 -docdir |
--docdir |
--docdi |
--doc |
--do)
932 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
935 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
937 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
940 -enable-* |
--enable-*)
941 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
944 as_fn_error $?
"invalid feature name: $ac_useropt"
945 ac_useropt_orig
=$ac_useropt
946 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
952 ac_unrecognized_sep
=', ';;
954 eval enable_
$ac_useropt=\
$ac_optarg ;;
956 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
957 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
958 |
--exec |
--exe |
--ex)
959 ac_prev
=exec_prefix
;;
960 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
961 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
962 |
--exec=* |
--exe=* |
--ex=*)
963 exec_prefix
=$ac_optarg ;;
965 -gas |
--gas |
--ga |
--g)
966 # Obsolete; use --with-gas.
969 -help |
--help |
--hel |
--he |
-h)
971 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
972 ac_init_help
=recursive
;;
973 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
974 ac_init_help
=short
;;
976 -host |
--host |
--hos |
--ho)
977 ac_prev
=host_alias
;;
978 -host=* |
--host=* |
--hos=* |
--ho=*)
979 host_alias
=$ac_optarg ;;
981 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
983 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
985 htmldir
=$ac_optarg ;;
987 -includedir |
--includedir |
--includedi |
--included |
--include \
988 |
--includ |
--inclu |
--incl |
--inc)
989 ac_prev
=includedir
;;
990 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
991 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
992 includedir
=$ac_optarg ;;
994 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
996 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
997 infodir
=$ac_optarg ;;
999 -libdir |
--libdir |
--libdi |
--libd)
1001 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1002 libdir
=$ac_optarg ;;
1004 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1005 |
--libexe |
--libex |
--libe)
1006 ac_prev
=libexecdir
;;
1007 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1008 |
--libexe=* |
--libex=* |
--libe=*)
1009 libexecdir
=$ac_optarg ;;
1011 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1012 ac_prev
=localedir
;;
1013 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1014 localedir
=$ac_optarg ;;
1016 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1017 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1018 ac_prev
=localstatedir
;;
1019 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1020 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1021 localstatedir
=$ac_optarg ;;
1023 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1025 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1026 mandir
=$ac_optarg ;;
1028 -nfp |
--nfp |
--nf)
1029 # Obsolete; use --without-fp.
1032 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1033 |
--no-cr |
--no-c |
-n)
1036 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1037 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1040 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1041 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1042 |
--oldin |
--oldi |
--old |
--ol |
--o)
1043 ac_prev
=oldincludedir
;;
1044 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1045 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1046 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1047 oldincludedir
=$ac_optarg ;;
1049 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1051 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1052 prefix
=$ac_optarg ;;
1054 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1055 |
--program-pre |
--program-pr |
--program-p)
1056 ac_prev
=program_prefix
;;
1057 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1058 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1059 program_prefix
=$ac_optarg ;;
1061 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1062 |
--program-suf |
--program-su |
--program-s)
1063 ac_prev
=program_suffix
;;
1064 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1065 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1066 program_suffix
=$ac_optarg ;;
1068 -program-transform-name |
--program-transform-name \
1069 |
--program-transform-nam |
--program-transform-na \
1070 |
--program-transform-n |
--program-transform- \
1071 |
--program-transform |
--program-transfor \
1072 |
--program-transfo |
--program-transf \
1073 |
--program-trans |
--program-tran \
1074 |
--progr-tra |
--program-tr |
--program-t)
1075 ac_prev
=program_transform_name
;;
1076 -program-transform-name=* |
--program-transform-name=* \
1077 |
--program-transform-nam=* |
--program-transform-na=* \
1078 |
--program-transform-n=* |
--program-transform-=* \
1079 |
--program-transform=* |
--program-transfor=* \
1080 |
--program-transfo=* |
--program-transf=* \
1081 |
--program-trans=* |
--program-tran=* \
1082 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1083 program_transform_name
=$ac_optarg ;;
1085 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1087 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1088 pdfdir
=$ac_optarg ;;
1090 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1092 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1095 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1096 |
-silent |
--silent |
--silen |
--sile |
--sil)
1099 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1101 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1103 sbindir
=$ac_optarg ;;
1105 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1106 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1107 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1109 ac_prev
=sharedstatedir
;;
1110 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1111 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1112 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1114 sharedstatedir
=$ac_optarg ;;
1116 -site |
--site |
--sit)
1118 -site=* |
--site=* |
--sit=*)
1121 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1123 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1124 srcdir
=$ac_optarg ;;
1126 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1127 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1128 ac_prev
=sysconfdir
;;
1129 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1130 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1131 sysconfdir
=$ac_optarg ;;
1133 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1134 ac_prev
=target_alias
;;
1135 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1136 target_alias
=$ac_optarg ;;
1138 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1141 -version |
--version |
--versio |
--versi |
--vers |
-V)
1142 ac_init_version
=: ;;
1145 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1148 as_fn_error $?
"invalid package name: $ac_useropt"
1149 ac_useropt_orig
=$ac_useropt
1150 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1151 case $ac_user_opts in
1155 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1156 ac_unrecognized_sep
=', ';;
1158 eval with_
$ac_useropt=\
$ac_optarg ;;
1160 -without-* |
--without-*)
1161 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1164 as_fn_error $?
"invalid package name: $ac_useropt"
1165 ac_useropt_orig
=$ac_useropt
1166 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1167 case $ac_user_opts in
1171 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1172 ac_unrecognized_sep
=', ';;
1174 eval with_
$ac_useropt=no
;;
1177 # Obsolete; use --with-x.
1180 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1181 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1182 ac_prev
=x_includes
;;
1183 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1184 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1185 x_includes
=$ac_optarg ;;
1187 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1188 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1189 ac_prev
=x_libraries
;;
1190 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1191 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1192 x_libraries
=$ac_optarg ;;
1194 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1195 Try \`$0 --help' for more information"
1199 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1200 # Reject names that are not valid shell variable names.
1201 case $ac_envvar in #(
1202 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1203 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1205 eval $ac_envvar=\
$ac_optarg
1206 export $ac_envvar ;;
1209 # FIXME: should be removed in autoconf 3.0.
1210 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1211 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1212 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1213 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1219 if test -n "$ac_prev"; then
1220 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1221 as_fn_error $?
"missing argument to $ac_option"
1224 if test -n "$ac_unrecognized_opts"; then
1225 case $enable_option_checking in
1227 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1228 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1232 # Check all directory arguments for consistency.
1233 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1234 datadir sysconfdir sharedstatedir localstatedir includedir \
1235 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1236 libdir localedir mandir
1238 eval ac_val
=\$
$ac_var
1239 # Remove trailing slashes.
1242 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1243 eval $ac_var=\
$ac_val;;
1245 # Be sure to have absolute directory names.
1247 [\\/$
]* | ?
:[\\/]* ) continue;;
1248 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1250 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1253 # There might be people who depend on the old broken behavior: `$host'
1254 # used to hold the argument of --host etc.
1255 # FIXME: To remove some day.
1258 target
=$target_alias
1260 # FIXME: To remove some day.
1261 if test "x$host_alias" != x
; then
1262 if test "x$build_alias" = x
; then
1263 cross_compiling
=maybe
1264 elif test "x$build_alias" != "x$host_alias"; then
1270 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1272 test "$silent" = yes && exec 6>/dev
/null
1275 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1276 ac_ls_di
=`ls -di .` &&
1277 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1278 as_fn_error $?
"working directory cannot be determined"
1279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1280 as_fn_error $?
"pwd does not report name of working directory"
1283 # Find the source files, if location was not specified.
1284 if test -z "$srcdir"; then
1285 ac_srcdir_defaulted
=yes
1286 # Try the directory containing this script, then the parent directory.
1287 ac_confdir
=`$as_dirname -- "$as_myself" ||
1288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1289 X"$as_myself" : 'X\(//\)[^/]' \| \
1290 X"$as_myself" : 'X\(//\)$' \| \
1291 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1292 $as_echo X"$as_myself" |
1293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1311 if test ! -r "$srcdir/$ac_unique_file"; then
1315 ac_srcdir_defaulted
=no
1317 if test ! -r "$srcdir/$ac_unique_file"; then
1318 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1319 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1321 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1323 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1325 # When building in place, set srcdir=.
1326 if test "$ac_abs_confdir" = "$ac_pwd"; then
1329 # Remove unnecessary trailing slashes from srcdir.
1330 # Double slashes in file names in object file debugging info
1331 # mess up M-x gdb in Emacs.
1333 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1335 for ac_var
in $ac_precious_vars; do
1336 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1337 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1338 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1339 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1343 # Report the --help message.
1345 if test "$ac_init_help" = "long"; then
1346 # Omit some internal or obsolete options to make the list less imposing.
1347 # This message is too long to be a string in the A/UX 3.1 sh.
1349 \`configure' configures luajit for TeX Live 2.1.0-beta2 to adapt to many kinds of systems.
1351 Usage: $0 [OPTION]... [VAR=VALUE]...
1353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1354 VAR=VALUE. See below for descriptions of some of the useful variables.
1356 Defaults for the options are specified in brackets.
1359 -h, --help display this help and exit
1360 --help=short display options specific to this package
1361 --help=recursive display the short help of all the included packages
1362 -V, --version display version information and exit
1363 -q, --quiet, --silent do not print \`checking ...' messages
1364 --cache-file=FILE cache test results in FILE [disabled]
1365 -C, --config-cache alias for \`--cache-file=config.cache'
1366 -n, --no-create do not create output files
1367 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1369 Installation directories:
1370 --prefix=PREFIX install architecture-independent files in PREFIX
1371 [$ac_default_prefix]
1372 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1375 By default, \`make install' will install all the files in
1376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1378 for instance \`--prefix=\$HOME'.
1380 For better control, use the options below.
1382 Fine tuning of the installation directories:
1383 --bindir=DIR user executables [EPREFIX/bin]
1384 --sbindir=DIR system admin executables [EPREFIX/sbin]
1385 --libexecdir=DIR program executables [EPREFIX/libexec]
1386 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1387 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1388 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1389 --libdir=DIR object code libraries [EPREFIX/lib]
1390 --includedir=DIR C header files [PREFIX/include]
1391 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1392 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1393 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1394 --infodir=DIR info documentation [DATAROOTDIR/info]
1395 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1396 --mandir=DIR man documentation [DATAROOTDIR/man]
1397 --docdir=DIR documentation root
1398 [DATAROOTDIR/doc/luajit-for-tex-live]
1399 --htmldir=DIR html documentation [DOCDIR]
1400 --dvidir=DIR dvi documentation [DOCDIR]
1401 --pdfdir=DIR pdf documentation [DOCDIR]
1402 --psdir=DIR ps documentation [DOCDIR]
1408 --program-prefix=PREFIX prepend PREFIX to installed program names
1409 --program-suffix=SUFFIX append SUFFIX to installed program names
1410 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1413 --build=BUILD configure
for building on BUILD
[guessed
]
1414 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1418 if test -n "$ac_init_help"; then
1419 case $ac_init_help in
1420 short | recursive
) echo "Configuration of luajit for TeX Live 2.1.0-beta2:";;
1425 --disable-option-checking ignore unrecognized
--enable/--with options
1426 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1427 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1428 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1429 --disable-silent-rules verbose build output
(undo
: "make V=0")
1430 --enable-maintainer-mode
1431 enable make rules and dependencies not useful
(and
1432 sometimes confusing
) to the casual installer
1433 --enable-dependency-tracking
1434 do not reject slow dependency extractors
1435 --disable-dependency-tracking
1436 speeds up one-time build
1437 --enable-compiler-warnings=[no|min|
yes|max|all
]
1438 Turn on compiler warnings
[default
: yes if
1439 maintainer-mode
, min otherwise
]
1440 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1441 --enable-static[=PKGS
] build static libraries
[default
=yes]
1442 --enable-fast-install[=PKGS
]
1443 optimize
for fast installation
[default
=yes]
1444 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1445 --disable-largefile omit support
for large files
1448 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1449 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1450 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1452 --with-aix-soname=aix|svr4|both
1453 shared library versioning
(aka
"SONAME") variant to
1454 provide on AIX
, [default
=aix
].
1455 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1456 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1457 compiler
's sysroot if not specified).
1459 Some influential environment variables:
1460 CC C compiler command
1461 CFLAGS C compiler flags
1462 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1463 nonstandard directory <lib dir>
1464 LIBS libraries to pass to the linker, e.g. -l<library>
1465 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1466 you have headers in a nonstandard directory <include dir>
1467 CCAS assembler compiler command (defaults to CC)
1468 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1470 User-defined run-time library search path.
1473 Use these variables to override the choices made by `configure' or to
help
1474 it to
find libraries and programs with nonstandard names
/locations.
1476 Report bugs to
<tex-k@tug.org
>.
1481 if test "$ac_init_help" = "recursive"; then
1482 # If there are subdirs, report their specific --help.
1483 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1484 test -d "$ac_dir" ||
1485 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1490 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1492 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1493 # A ".." for each directory in $ac_dir_suffix.
1494 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1495 case $ac_top_builddir_sub in
1496 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1497 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1500 ac_abs_top_builddir
=$ac_pwd
1501 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1502 # for backward compatibility:
1503 ac_top_builddir
=$ac_top_build_prefix
1506 .
) # We are building in place.
1508 ac_top_srcdir
=$ac_top_builddir_sub
1509 ac_abs_top_srcdir
=$ac_pwd ;;
1510 [\\/]* | ?
:[\\/]* ) # Absolute name.
1511 ac_srcdir
=$srcdir$ac_dir_suffix;
1512 ac_top_srcdir
=$srcdir
1513 ac_abs_top_srcdir
=$srcdir ;;
1515 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1516 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1517 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1519 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1521 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1522 # Check for guested configure.
1523 if test -f "$ac_srcdir/configure.gnu"; then
1525 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1526 elif test -f "$ac_srcdir/configure"; then
1528 $SHELL "$ac_srcdir/configure" --help=recursive
1530 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1532 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1536 test -n "$ac_init_help" && exit $ac_status
1537 if $ac_init_version; then
1539 luajit
for TeX Live configure
2.1.0-beta2
1540 generated by GNU Autoconf
2.69
1542 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1543 This configure
script is free software
; the Free Software Foundation
1544 gives unlimited permission to copy
, distribute and modify it.
1549 ## ------------------------ ##
1550 ## Autoconf initialization. ##
1551 ## ------------------------ ##
1553 # ac_fn_c_try_compile LINENO
1554 # --------------------------
1555 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1556 ac_fn_c_try_compile
()
1558 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1559 rm -f conftest.
$ac_objext
1560 if { { ac_try
="$ac_compile"
1562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_compile") 2>conftest.err
1569 if test -s conftest.err; then
1570 grep -v '^ *+' conftest.err >conftest.er1
1571 cat conftest.er1 >&5
1572 mv -f conftest.er1 conftest.err
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 test $ac_status = 0; } && {
1576 test -z "$ac_c_werror_flag" ||
1577 test ! -s conftest.err
1578 } && test -s conftest.$ac_objext; then :
1581 $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587 as_fn_set_status $ac_retval
1589 } # ac_fn_c_try_compile
1591 # ac_fn_c_try_link LINENO
1592 # -----------------------
1593 # Try to link conftest.$ac_ext, and return whether this succeeded.
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext conftest$ac_exeext
1598 if { { ac_try="$ac_link"
1600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1601 *) ac_try_echo
=$ac_try;;
1603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_link") 2>conftest.err
1607 if test -s conftest.err
; then
1608 grep -v '^ *+' conftest.err
>conftest.er1
1609 cat conftest.er1
>&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest
$ac_exeext && {
1617 test "$cross_compiling" = yes ||
1618 test -x conftest
$ac_exeext
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.
$ac_ext >&5
1627 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1628 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1629 # interfere with the next link command; also delete a directory that is
1630 # left behind by Apple's compiler. We do this before executing the actions.
1631 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633 as_fn_set_status
$ac_retval
1635 } # ac_fn_c_try_link
1637 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1638 # -------------------------------------------------------
1639 # Tests whether HEADER exists and can be compiled using the include files in
1640 # INCLUDES, setting the cache variable VAR accordingly.
1641 ac_fn_c_check_header_compile
()
1643 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if eval \
${$3+:} false
; then :
1647 $as_echo_n "(cached) " >&6
1649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1654 if ac_fn_c_try_compile
"$LINENO"; then :
1659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 } # ac_fn_c_check_header_compile
1668 # ac_fn_c_try_cpp LINENO
1669 # ----------------------
1670 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1673 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1674 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } > conftest.i && {
1690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status $ac_retval
1705 # ac_fn_c_try_run LINENO
1706 # ----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1708 # that executables *can* be run.
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 if { { ac_try="$ac_link"
1714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1715 *) ac_try_echo
=$ac_try;;
1717 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>&5
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1723 { { case "(($ac_try" in
1724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_try") 2>&5
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; }; }; then :
1735 $as_echo "$as_me: program exited with status $ac_status" >&5
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1739 ac_retval=$ac_status
1741 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 as_fn_set_status $ac_retval
1747 # ac_fn_c_check_func LINENO FUNC VAR
1748 # ----------------------------------
1749 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1750 ac_fn_c_check_func ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if eval \${$3+:} false; then :
1756 $as_echo_n "(cached) " >&6
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1760 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1762 #define $2 innocuous_$2
1764 /* System header to define __stub macros and hopefully few prototypes,
1765 which can conflict with char $2 (); below.
1766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1767 <limits.h> exists even on freestanding compilers. */
1770 # include <limits.h>
1772 # include <assert.h>
1777 /* Override any GCC internal prototype to avoid an error.
1778 Use char because int might match the return type of a GCC
1779 builtin and then its argument prototype would still apply. */
1784 /* The GNU C library defines this for functions which it implements
1785 to always fail with ENOSYS. Some functions are actually named
1786 something starting with __ and the normal name is an alias. */
1787 #if defined __stub_$2 || defined __stub___$2
1799 if ac_fn_c_try_link "$LINENO"; then :
1804 rm -f core conftest.err conftest.$ac_objext \
1805 conftest$ac_exeext conftest.$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 } # ac_fn_c_check_func
1814 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1815 # --------------------------------------------
1816 # Tries to find the compile-time value of EXPR in a program that includes
1817 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1819 ac_fn_c_compute_int ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 if test "$cross_compiling" = yes; then
1823 # Depending upon the size, compute the lo and hi bounds.
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1830 static int test_array [1 - 2 * !(($2) >= 0)];
1832 return test_array [0];
1838 if ac_fn_c_try_compile "$LINENO"; then :
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1847 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1849 return test_array [0];
1855 if ac_fn_c_try_compile "$LINENO"; then :
1856 ac_hi=$ac_mid; break
1858 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1859 if test $ac_lo -le $ac_mid; then
1863 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1874 static int test_array [1 - 2 * !(($2) < 0)];
1876 return test_array [0];
1882 if ac_fn_c_try_compile "$LINENO"; then :
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1891 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1893 return test_array [0];
1899 if ac_fn_c_try_compile "$LINENO"; then :
1900 ac_lo=$ac_mid; break
1902 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1903 if test $ac_mid -le $ac_hi; then
1907 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917 # Binary search between lo and hi bounds.
1918 while test "x$ac_lo" != "x$ac_hi"; do
1919 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1926 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1928 return test_array [0];
1934 if ac_fn_c_try_compile "$LINENO"; then :
1937 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1949 static long int longval () { return $2; }
1950 static unsigned long int ulongval () { return $2; }
1957 FILE *f = fopen ("conftest.val", "w");
1962 long int i = longval ();
1965 fprintf (f, "%ld", i);
1969 unsigned long int i = ulongval ();
1972 fprintf (f, "%lu", i);
1974 /* Do not output a trailing newline, as this causes \r\n confusion
1975 on some platforms. */
1976 return ferror (f) || fclose (f) != 0;
1982 if ac_fn_c_try_run "$LINENO"; then :
1983 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1988 conftest.$ac_objext conftest.beam conftest.$ac_ext
1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 as_fn_set_status $ac_retval
1995 } # ac_fn_c_compute_int
1997 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1998 # ---------------------------------------------
1999 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2001 ac_fn_c_check_decl ()
2003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2005 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2007 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2008 if eval \${$3+:} false; then :
2009 $as_echo_n "(cached) " >&6
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2017 #ifndef $as_decl_name
2019 (void) $as_decl_use;
2021 (void) $as_decl_name;
2029 if ac_fn_c_try_compile "$LINENO"; then :
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 } # ac_fn_c_check_decl
2042 cat >config.log <<_ACEOF
2043 This file contains any messages produced by compilers while
2044 running configure, to aid debugging if configure makes a mistake.
2046 It was created by luajit for TeX Live $as_me 2.1.0-beta2, which was
2047 generated by GNU Autoconf 2.69. Invocation command line was
2059 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2060 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2061 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2062 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2063 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2065 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2066 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2068 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2069 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2070 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2071 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2072 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2073 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2074 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 $as_echo "PATH: $as_dir"
2099 # Keep a trace of the command line.
2100 # Strip out --no-create and --no-recursion so they do not pile up.
2101 # Strip out --silent because we don't want to record it for future runs.
2102 # Also quote any args containing shell meta-characters.
2103 # Make two passes to allow for proper duplicate-argument suppression.
2107 ac_must_keep_next=false
2113 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2115 | -silent | --silent | --silen | --sile | --sil)
2118 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2121 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2123 as_fn_append ac_configure_args1 " '$ac_arg'"
2124 if test $ac_must_keep_next = true; then
2125 ac_must_keep_next=false # Got value, back to normal.
2128 *=* | --config-cache | -C | -disable-* | --disable-* \
2129 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2130 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2131 | -with-* | --with-* | -without-* | --without-* | --x)
2132 case "$ac_configure_args0 " in
2133 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2136 -* ) ac_must_keep_next=true ;;
2139 as_fn_append ac_configure_args " '$ac_arg'"
2144 { ac_configure_args0=; unset ac_configure_args0;}
2145 { ac_configure_args1=; unset ac_configure_args1;}
2147 # When interrupted or exit'd, cleanup temporary files, and complete
2148 # config.log. We remove comments because anyway the quotes in there
2149 # would cause problems or look ugly.
2150 # WARNING: Use '\'' to represent an apostrophe within the trap.
2151 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2152 trap 'exit_status=$?
2153 # Save into config.log some information that might help in debugging.
2157 $as_echo "## ---------------- ##
2158 ## Cache variables. ##
2159 ## ---------------- ##"
2161 # The following way of writing the cache mishandles newlines in values,
2163 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2164 eval ac_val=\$$ac_var
2168 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2169 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2172 _ | IFS | as_nl) ;; #(
2173 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2174 *) { eval $ac_var=; unset $ac_var;} ;;
2179 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2180 *${as_nl}ac_space=\ *)
2182 "s/'\''/'\''\\\\'\'''\''/g;
2183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2193 $as_echo "## ----------------- ##
2194 ## Output variables. ##
2195 ## ----------------- ##"
2197 for ac_var in $ac_subst_vars
2199 eval ac_val=\$$ac_var
2201 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203 $as_echo "$ac_var='\''$ac_val'\''"
2207 if test -n "$ac_subst_files"; then
2208 $as_echo "## ------------------- ##
2209 ## File substitutions. ##
2210 ## ------------------- ##"
2212 for ac_var in $ac_subst_files
2214 eval ac_val=\$$ac_var
2216 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218 $as_echo "$ac_var='\''$ac_val'\''"
2223 if test -s confdefs.h; then
2224 $as_echo "## ----------- ##
2231 test "$ac_signal" != 0 &&
2232 $as_echo "$as_me: caught signal $ac_signal"
2233 $as_echo "$as_me: exit $exit_status"
2235 rm -f core *.core core.conftest.* &&
2236 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239 for ac_signal in 1 2 13 15; do
2240 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2244 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2245 rm -f -r conftest* confdefs.h
2247 $as_echo "/* confdefs.h */" > confdefs.h
2249 # Predefined preprocessor variables.
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_NAME "$PACKAGE_NAME"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_STRING "$PACKAGE_STRING"
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_URL "$PACKAGE_URL"
2276 # Let the site file select an alternate cache file if it wants to.
2277 # Prefer an explicitly selected file to automatically selected ones.
2280 if test -n "$CONFIG_SITE"; then
2281 # We do not want a PATH search for config.site.
2282 case $CONFIG_SITE in #((
2283 -*) ac_site_file1=./$CONFIG_SITE;;
2284 */*) ac_site_file1=$CONFIG_SITE;;
2285 *) ac_site_file1=./$CONFIG_SITE;;
2287 elif test "x$prefix" != xNONE; then
2288 ac_site_file1=$prefix/share/config.site
2289 ac_site_file2=$prefix/etc/config.site
2291 ac_site_file1=$ac_default_prefix/share/config.site
2292 ac_site_file2=$ac_default_prefix/etc/config.site
2294 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2296 test "x$ac_site_file" = xNONE && continue
2297 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2299 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2300 sed 's/^/| /' "$ac_site_file" >&5
2302 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304 as_fn_error $? "failed to load site
script $ac_site_file
2305 See \
`config.log' for more details" "$LINENO" 5; }
2309 if test -r "$cache_file"; then
2310 # Some versions of bash will fail to source /dev/null (special files
2311 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2312 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2314 $as_echo "$as_me: loading cache $cache_file" >&6;}
2316 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2317 *) . "./$cache_file";;
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2322 $as_echo "$as_me: creating cache $cache_file" >&6;}
2326 # Check that the precious variables saved in the cache have kept the same
2328 ac_cache_corrupted=false
2329 for ac_var in $ac_precious_vars; do
2330 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2331 eval ac_new_set=\$ac_env_${ac_var}_set
2332 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2333 eval ac_new_val=\$ac_env_${ac_var}_value
2334 case $ac_old_set,$ac_new_set in
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2337 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2338 ac_cache_corrupted=: ;;
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2341 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2342 ac_cache_corrupted=: ;;
2345 if test "x$ac_old_val" != "x$ac_new_val"; then
2346 # differences in whitespace do not lead to failure.
2347 ac_old_val_w=`echo x
$ac_old_val`
2348 ac_new_val_w=`echo x
$ac_new_val`
2349 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2351 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2352 ac_cache_corrupted=:
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2355 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2356 eval $ac_var=\$ac_old_val
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2359 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2361 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2364 # Pass precious variables to config.status.
2365 if test "$ac_new_set" = set; then
2367 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2368 *) ac_arg=$ac_var=$ac_new_val ;;
2370 case " $ac_configure_args " in
2371 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2372 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2376 if $ac_cache_corrupted; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2380 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2381 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2383 ## -------------------- ##
2384 ## Main body of script. ##
2385 ## -------------------- ##
2388 ac_cpp='$CPP $CPPFLAGS'
2389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2397 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2398 if test -f "$ac_dir/install-sh"; then
2400 ac_install_sh="$ac_aux_dir/install-sh -c"
2402 elif test -f "$ac_dir/install.sh"; then
2404 ac_install_sh="$ac_aux_dir/install.sh -c"
2406 elif test -f "$ac_dir/shtool"; then
2408 ac_install_sh="$ac_aux_dir/shtool install -c"
2412 if test -z "$ac_aux_dir"; then
2413 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2416 # These three variables are undocumented and unsupported,
2417 # and are intended to be withdrawn in a future Autoconf release.
2418 # They can cause serious problems if a builder's source tree is in a directory
2419 # whose full name contains unusual characters.
2420 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2421 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2422 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2427 am__api_version='1.15'
2429 # Find a good install program. We prefer a C program (faster),
2430 # so one script is as good as another. But avoid the broken or
2431 # incompatible versions:
2432 # SysV /etc/install, /usr/sbin/install
2433 # SunOS /usr/etc/install
2434 # IRIX /sbin/install
2436 # AmigaOS /C/install, which installs bootblocks on floppy discs
2437 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2438 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2439 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2440 # OS/2's system install, which has a completely different semantic
2441 # ./install, which can be erroneously created by make from ./install.sh.
2442 # Reject install programs that cannot install multiple files.
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2444 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2445 if test -z "$INSTALL"; then
2446 if ${ac_cv_path_install+:} false; then :
2447 $as_echo_n "(cached) " >&6
2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir=.
2454 # Account for people who put trailing slashes in PATH elements.
2455 case $as_dir/ in #((
2456 ./ | .// | /[cC]/* | \
2457 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2458 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2461 # OSF1 and SCO ODT 3.0 have their own names for install.
2462 # Don't use installbsd from OSF since it installs stuff as root
2464 for ac_prog in ginstall scoinst install; do
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2467 if test $ac_prog = install &&
2468 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2469 # AIX install. It has an incompatible calling convention.
2471 elif test $ac_prog = install &&
2472 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2473 # program-specific install script used by HP pwplus--don't use.
2476 rm -rf conftest.one conftest.two conftest.dir
2477 echo one > conftest.one
2478 echo two > conftest.two
2480 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2481 test -s conftest.one && test -s conftest.two &&
2482 test -s conftest.dir/conftest.one &&
2483 test -s conftest.dir/conftest.two
2485 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2498 rm -rf conftest.one conftest.two conftest.dir
2501 if test "${ac_cv_path_install+set}" = set; then
2502 INSTALL=$ac_cv_path_install
2504 # As a last resort, use the slow shell script. Don't cache a
2505 # value for INSTALL within a source directory, because that will
2506 # break other packages using the cache if that directory is
2507 # removed, or if the value is a relative name.
2508 INSTALL=$ac_install_sh
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2512 $as_echo "$INSTALL" >&6; }
2514 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2515 # It thinks the first close brace ends the variable substitution.
2516 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2518 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2520 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2523 $as_echo_n "checking whether build environment is sane... " >&6; }
2524 # Reject unsafe characters in $srcdir or the absolute working directory
2525 # name. Accept space and tab only in the latter.
2529 *[\\\"\#\$\&\'\`$am_lf]*)
2530 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2533 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2534 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2537 # Do 'set' in a subshell so we don't clobber the current shell's
2538 # arguments. Must try -L first in case configure is actually a
2539 # symlink; some systems play weird games with the mod time of symlinks
2540 # (eg FreeBSD returns the mod time of the symlink's containing
2544 for am_try
in 1 2; do
2545 echo "timestamp, slept: $am_has_slept" > conftest.
file
2546 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2547 if test "$*" = "X"; then
2549 set X
`ls -t "$srcdir/configure" conftest.file`
2551 if test "$*" != "X $srcdir/configure conftest.file" \
2552 && test "$*" != "X conftest.file $srcdir/configure"; then
2554 # If neither matched, then we have a broken ls. This can happen
2555 # if, for instance, CONFIG_SHELL is bash and it inherits a
2556 # broken ls alias from the environment. This has actually
2557 # happened. Such a system could not be considered "sane".
2558 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2559 alias in your environment" "$LINENO" 5
2561 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2568 test "$2" = conftest.
file
2574 as_fn_error $?
"newly created file is older than distributed files!
2575 Check your system clock" "$LINENO" 5
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2578 $as_echo "yes" >&6; }
2579 # If we didn't sleep, we still need to ensure time stamps of config.status and
2580 # generated files are strictly newer.
2582 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2589 test "$program_prefix" != NONE
&&
2590 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2591 # Use a double $ so make ignores it.
2592 test "$program_suffix" != NONE
&&
2593 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2594 # Double any \ or $.
2595 # By default was `s,x,x', remove it if useless.
2596 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2597 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2599 # Expand $ac_aux_dir to an absolute path.
2600 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2602 if test x
"${MISSING+set}" != xset
; then
2605 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2607 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2610 # Use eval to expand $SHELL
2611 if eval "$MISSING --is-lightweight"; then
2612 am_missing_run
="$MISSING "
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2616 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2619 if test x
"${install_sh+set}" != xset
; then
2622 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2624 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2628 # Installed binaries are usually stripped using 'strip' when the user
2629 # run "make install-strip". However 'strip' might not be the right
2630 # tool to use in cross-compilation environments, therefore Automake
2631 # will honor the 'STRIP' environment variable to overrule this program.
2632 if test "$cross_compiling" != no
; then
2633 if test -n "$ac_tool_prefix"; then
2634 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2635 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637 $as_echo_n "checking for $ac_word... " >&6; }
2638 if ${ac_cv_prog_STRIP+:} false
; then :
2639 $as_echo_n "(cached) " >&6
2641 if test -n "$STRIP"; then
2642 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir
=.
2649 for ac_exec_ext
in '' $ac_executable_extensions; do
2650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2651 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 STRIP
=$ac_cv_prog_STRIP
2662 if test -n "$STRIP"; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2664 $as_echo "$STRIP" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667 $as_echo "no" >&6; }
2672 if test -z "$ac_cv_prog_STRIP"; then
2674 # Extract the first word of "strip", so it can be a program name with args.
2675 set dummy strip
; ac_word
=$2
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677 $as_echo_n "checking for $ac_word... " >&6; }
2678 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2679 $as_echo_n "(cached) " >&6
2681 if test -n "$ac_ct_STRIP"; then
2682 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_ac_ct_STRIP
="strip"
2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2702 if test -n "$ac_ct_STRIP"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2704 $as_echo "$ac_ct_STRIP" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2710 if test "x$ac_ct_STRIP" = x
; then
2713 case $cross_compiling:$ac_tool_warned in
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2717 ac_tool_warned
=yes ;;
2722 STRIP
="$ac_cv_prog_STRIP"
2726 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2729 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2730 if test -z "$MKDIR_P"; then
2731 if ${ac_cv_path_mkdir+:} false
; then :
2732 $as_echo_n "(cached) " >&6
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2735 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_prog
in mkdir gmkdir
; do
2740 for ac_exec_ext
in '' $ac_executable_extensions; do
2741 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2742 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2743 'mkdir (GNU coreutils) '* | \
2744 'mkdir (coreutils) '* | \
2745 'mkdir (fileutils) '4.1*)
2746 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2756 test -d .
/--version && rmdir .
/--version
2757 if test "${ac_cv_path_mkdir+set}" = set; then
2758 MKDIR_P
="$ac_cv_path_mkdir -p"
2760 # As a last resort, use the slow shell script. Don't cache a
2761 # value for MKDIR_P within a source directory, because that will
2762 # break other packages using the cache if that directory is
2763 # removed, or if the value is a relative name.
2764 MKDIR_P
="$ac_install_sh -d"
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2768 $as_echo "$MKDIR_P" >&6; }
2770 for ac_prog
in gawk mawk nawk
awk
2772 # Extract the first word of "$ac_prog", so it can be a program name with args.
2773 set dummy
$ac_prog; ac_word
=$2
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775 $as_echo_n "checking for $ac_word... " >&6; }
2776 if ${ac_cv_prog_AWK+:} false
; then :
2777 $as_echo_n "(cached) " >&6
2779 if test -n "$AWK"; then
2780 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir
=.
2787 for ac_exec_ext
in '' $ac_executable_extensions; do
2788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2789 ac_cv_prog_AWK
="$ac_prog"
2790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 if test -n "$AWK"; then
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2802 $as_echo "$AWK" >&6; }
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805 $as_echo "no" >&6; }
2809 test -n "$AWK" && break
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2813 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2815 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2816 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2817 $as_echo_n "(cached) " >&6
2819 cat >conftest.
make <<\_ACEOF
2822 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2824 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2825 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2827 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2829 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2833 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2835 $as_echo "yes" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2840 SET_MAKE
="MAKE=${MAKE-make}"
2843 rm -rf .tst
2>/dev
/null
2844 mkdir .tst
2>/dev
/null
2845 if test -d .tst
; then
2850 rmdir .tst
2>/dev
/null
2852 # Check whether --enable-silent-rules was given.
2853 if test "${enable_silent_rules+set}" = set; then :
2854 enableval
=$enable_silent_rules;
2857 case $enable_silent_rules in # (((
2858 yes) AM_DEFAULT_VERBOSITY
=0;;
2859 no
) AM_DEFAULT_VERBOSITY
=1;;
2860 *) AM_DEFAULT_VERBOSITY
=1;;
2862 am_make
=${MAKE-make}
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2864 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2865 if ${am_cv_make_support_nested_variables+:} false
; then :
2866 $as_echo_n "(cached) " >&6
2868 if $as_echo 'TRUE=$(BAR$(V))
2874 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2875 am_cv_make_support_nested_variables
=yes
2877 am_cv_make_support_nested_variables
=no
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2881 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2882 if test $am_cv_make_support_nested_variables = yes; then
2884 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2886 AM_V
=$AM_DEFAULT_VERBOSITY
2887 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2891 DEPDIR="${am__leading_dot}deps"
2893 ac_config_commands="$ac_config_commands depfiles"
2896 am_make=${MAKE-make}
2897 cat > confinc << 'END
'
2899 @echo this is the am__doit target
2902 # If we don't
find an include directive
, just comment out the code.
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2904 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2908 # First try GNU make style include.
2909 echo "include confinc" > confmf
2910 # Ignore all kinds of additional output from 'make'.
2911 case `$am_make -s -f confmf 2> /dev/null` in #(
2912 *the\ am__doit\ target
*)
2918 # Now try BSD make style include.
2919 if test "$am__include" = "#"; then
2920 echo '.include "confinc"' > confmf
2921 case `$am_make -s -f confmf 2> /dev/null` in #(
2922 *the\ am__doit\ target
*)
2923 am__include
=.include
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2932 $as_echo "$_am_result" >&6; }
2933 rm -f confinc confmf
2935 # Check whether --enable-dependency-tracking was given.
2936 if test "${enable_dependency_tracking+set}" = set; then :
2937 enableval
=$enable_dependency_tracking;
2940 if test "x$enable_dependency_tracking" != xno
; then
2941 am_depcomp
="$ac_aux_dir/depcomp"
2945 if test "x$enable_dependency_tracking" != xno; then
2955 ac_cpp
='$CPP $CPPFLAGS'
2956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2959 if test -n "$ac_tool_prefix"; then
2960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2961 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if ${ac_cv_prog_CC+:} false
; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$CC"; then
2968 ac_cv_prog_CC
="$CC" # Let the user override the test.
2970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir
=.
2975 for ac_exec_ext
in '' $ac_executable_extensions; do
2976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2977 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 if test -n "$CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2990 $as_echo "$CC" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2998 if test -z "$ac_cv_prog_CC"; then
3000 # Extract the first word of "gcc", so it can be a program name with args.
3001 set dummy gcc
; ac_word
=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir
=.
3015 for ac_exec_ext
in '' $ac_executable_extensions; do
3016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_ac_ct_CC
="gcc"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030 $as_echo "$ac_ct_CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3036 if test "x$ac_ct_CC" = x
; then
3039 case $cross_compiling:$ac_tool_warned in
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3043 ac_tool_warned
=yes ;;
3051 if test -z "$CC"; then
3052 if test -n "$ac_tool_prefix"; then
3053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3054 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if ${ac_cv_prog_CC+:} false
; then :
3058 $as_echo_n "(cached) " >&6
3060 if test -n "$CC"; then
3061 ac_cv_prog_CC
="$CC" # Let the user override the test.
3063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3067 test -z "$as_dir" && as_dir
=.
3068 for ac_exec_ext
in '' $ac_executable_extensions; do
3069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3070 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test -n "$CC"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083 $as_echo "$CC" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3092 if test -z "$CC"; then
3093 # Extract the first word of "cc", so it can be a program name with args.
3094 set dummy cc
; ac_word
=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if ${ac_cv_prog_CC+:} false
; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC
="$CC" # Let the user override the test.
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_exec_ext
in '' $ac_executable_extensions; do
3110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3111 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3112 ac_prog_rejected
=yes
3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test $ac_prog_rejected = yes; then
3124 # We found a bogon in the path, so make sure we never use it.
3125 set dummy
$ac_cv_prog_CC
3127 if test $# != 0; then
3128 # We chose a different compiler from the bogus one.
3129 # However, it has the same basename, so the bogon will be chosen
3130 # first if we set CC to just the basename; use the full file name.
3132 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3138 if test -n "$CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140 $as_echo "$CC" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3148 if test -z "$CC"; then
3149 if test -n "$ac_tool_prefix"; then
3150 for ac_prog
in cl.exe
3152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3153 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if ${ac_cv_prog_CC+:} false
; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$CC"; then
3160 ac_cv_prog_CC
="$CC" # Let the user override the test.
3162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir
=.
3167 for ac_exec_ext
in '' $ac_executable_extensions; do
3168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3169 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test -n "$CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182 $as_echo "$CC" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3189 test -n "$CC" && break
3192 if test -z "$CC"; then
3194 for ac_prog
in cl.exe
3196 # Extract the first word of "$ac_prog", so it can be a program name with args.
3197 set dummy
$ac_prog; ac_word
=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$ac_ct_CC"; then
3204 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_ac_ct_CC
="$ac_prog"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3224 if test -n "$ac_ct_CC"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3226 $as_echo "$ac_ct_CC" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3233 test -n "$ac_ct_CC" && break
3236 if test "x$ac_ct_CC" = x
; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned
=yes ;;
3252 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 as_fn_error $?
"no acceptable C compiler found in \$PATH
3255 See \`config.log' for more details" "$LINENO" 5; }
3257 # Provide some information about the compiler.
3258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3261 for ac_option
in --version -v -V -qversion; do
3262 { { ac_try
="$ac_compiler $ac_option >&5"
3264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3271 if test -s conftest.err; then
3273 ... rest of stderr output deleted ...
3274 10q' conftest.err >conftest.er1
3275 cat conftest.er1 >&5
3277 rm -f conftest.er1 conftest.err
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; }
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3293 ac_clean_files_save=$ac_clean_files
3294 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3295 # Try to create an executable without -o first, disregard a.out.
3296 # It will help us diagnose broken compilers, and finding out an intuition
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3299 $as_echo_n "checking whether the C compiler works... " >&6; }
3300 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3302 # The possible output files:
3303 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3306 for ac_file in $ac_files
3309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3310 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3315 if { { ac_try="$ac_link_default"
3317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3318 *) ac_try_echo
=$ac_try;;
3320 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3321 $as_echo "$ac_try_echo"; } >&5
3322 (eval "$ac_link_default") 2>&5
3324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3325 test $ac_status = 0; }; then :
3326 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3327 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3328 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3329 # so that the user can short-circuit this test for compilers unknown to
3331 for ac_file
in $ac_files ''
3333 test -f "$ac_file" ||
continue
3335 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3338 # We found the default executable, but exeext='' is most
3342 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3344 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3346 # We set ac_cv_exeext here because the later test for it is not
3347 # safe: cross compilers may not add the suffix if given an `-o'
3348 # argument, so we may need to know it at that point already.
3349 # Even if this section looks crufty: it has the advantage of
3356 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3361 if test -z "$ac_file"; then :
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363 $as_echo "no" >&6; }
3364 $as_echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.
$ac_ext >&5
3367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 as_fn_error
77 "C compiler cannot create executables
3370 See \`config.log' for more details" "$LINENO" 5; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3373 $as_echo "yes" >&6; }
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3376 $as_echo_n "checking for C compiler default output file name... " >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3378 $as_echo "$ac_file" >&6; }
3379 ac_exeext
=$ac_cv_exeext
3381 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3382 ac_clean_files
=$ac_clean_files_save
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3384 $as_echo_n "checking for suffix of executables... " >&6; }
3385 if { { ac_try
="$ac_link"
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_link") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; then :
3396 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3397 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3398 # work properly (i.e., refer to `conftest.exe'), while it won't with
3400 for ac_file
in conftest.exe conftest conftest.
*; do
3401 test -f "$ac_file" ||
continue
3403 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3404 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3413 See \`config.log' for more details" "$LINENO" 5; }
3415 rm -f conftest conftest
$ac_cv_exeext
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3417 $as_echo "$ac_cv_exeext" >&6; }
3419 rm -f conftest.
$ac_ext
3420 EXEEXT
=$ac_cv_exeext
3422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3428 FILE *f = fopen ("conftest.out", "w");
3429 return ferror (f) || fclose (f) != 0;
3435 ac_clean_files
="$ac_clean_files conftest.out"
3436 # Check that the compiler produces executables we can run. If not, either
3437 # the compiler is broken, or we cross compile.
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3439 $as_echo_n "checking whether we are cross compiling... " >&6; }
3440 if test "$cross_compiling" != yes; then
3441 { { ac_try
="$ac_link"
3443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_link") 2>&5
3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451 test $ac_status = 0; }
3452 if { ac_try='./conftest$ac_cv_exeext'
3453 { { case "(($ac_try" in
3454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3455 *) ac_try_echo
=$ac_try;;
3457 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459 (eval "$ac_try") 2>&5
3461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462 test $ac_status = 0; }; }; then
3465 if test "$cross_compiling" = maybe
; then
3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 as_fn_error $?
"cannot run C compiled programs.
3471 If you meant to cross compile, use \`--host'.
3472 See \`config.log' for more details" "$LINENO" 5; }
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3477 $as_echo "$cross_compiling" >&6; }
3479 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3480 ac_clean_files
=$ac_clean_files_save
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3482 $as_echo_n "checking for suffix of object files... " >&6; }
3483 if ${ac_cv_objext+:} false
; then :
3484 $as_echo_n "(cached) " >&6
3486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3497 rm -f conftest.o conftest.obj
3498 if { { ac_try
="$ac_compile"
3500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504 $as_echo "$ac_try_echo"; } >&5
3505 (eval "$ac_compile") 2>&5
3507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508 test $ac_status = 0; }; then :
3509 for ac_file in conftest.o conftest.obj conftest.*; do
3510 test -f "$ac_file" || continue;
3512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3513 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3518 $as_echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3523 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3524 See \
`config.log' for more details" "$LINENO" 5; }
3526 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3529 $as_echo "$ac_cv_objext" >&6; }
3530 OBJEXT=$ac_cv_objext
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3533 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3534 if ${ac_cv_c_compiler_gnu+:} false; then :
3535 $as_echo_n "(cached) " >&6
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3551 if ac_fn_c_try_compile "$LINENO"; then :
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3561 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3562 if test $ac_compiler_gnu = yes; then
3567 ac_test_CFLAGS=${CFLAGS+set}
3568 ac_save_CFLAGS=$CFLAGS
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3570 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3571 if ${ac_cv_prog_cc_g+:} false; then :
3572 $as_echo_n "(cached) " >&6
3574 ac_save_c_werror_flag=$ac_c_werror_flag
3575 ac_c_werror_flag=yes
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 if ac_fn_c_try_compile "$LINENO"; then :
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3604 if ac_fn_c_try_compile "$LINENO"; then :
3607 ac_c_werror_flag=$ac_save_c_werror_flag
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 if ac_fn_c_try_compile "$LINENO"; then :
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3628 ac_c_werror_flag=$ac_save_c_werror_flag
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3631 $as_echo "$ac_cv_prog_cc_g" >&6; }
3632 if test "$ac_test_CFLAGS" = set; then
3633 CFLAGS=$ac_save_CFLAGS
3634 elif test $ac_cv_prog_cc_g = yes; then
3635 if test "$GCC" = yes; then
3641 if test "$GCC" = yes; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3648 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3649 if ${ac_cv_prog_cc_c89+:} false; then :
3650 $as_echo_n "(cached) " >&6
3652 ac_cv_prog_cc_c89=no
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3659 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3660 struct buf { int x; };
3661 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3662 static char *e (p, i)
3668 static char *f (char * (*g) (char **, int), char **p, ...)
3673 s = g (p, va_arg (v,int));
3678 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3679 function prototypes and stuff, but not '\xHH' hex character constants.
3680 These don't provoke an error unfortunately, instead are silently treated
3681 as 'x'. The following induces an error, until -std is added to get
3682 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3683 array size at least. It's necessary to write '\x00'==0 to get something
3684 that's true only with -std. */
3685 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3687 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3688 inside strings and character constants. */
3690 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3692 int test (int i, double x);
3693 struct s1 {int (*f) (int a);};
3694 struct s2 {int (*f) (double a);};
3695 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3701 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3706 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3707 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3709 CC="$ac_save_CC $ac_arg"
3710 if ac_fn_c_try_compile "$LINENO"; then :
3711 ac_cv_prog_cc_c89=$ac_arg
3713 rm -f core conftest.err conftest.$ac_objext
3714 test "x$ac_cv_prog_cc_c89" != "xno" && break
3716 rm -f conftest.$ac_ext
3721 case "x$ac_cv_prog_cc_c89" in
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3724 $as_echo "none needed" >&6; } ;;
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3727 $as_echo "unsupported" >&6; } ;;
3729 CC="$CC $ac_cv_prog_cc_c89"
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3731 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3733 if test "x$ac_cv_prog_cc_c89" != xno; then :
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3744 ac_cpp='$CPP $CPPFLAGS'
3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3749 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3750 if ${am_cv_prog_cc_c_o+:} false; then :
3751 $as_echo_n "(cached) " >&6
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3764 # Make sure it works both with $CC and with simple cc.
3765 # Following AC_PROG_CC_C_O, we do the test twice because some
3766 # compilers refuse to overwrite an existing .o file with -o,
3767 # though they will create one.
3768 am_cv_prog_cc_c_o=yes
3770 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3771 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); } \
3775 && test -f conftest2.$ac_objext; then
3778 am_cv_prog_cc_c_o=no
3782 rm -f core conftest*
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3786 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3787 if test "$am_cv_prog_cc_c_o" != yes; then
3788 # Losing compiler, so override with the script.
3789 # FIXME: It is wrong to rewrite CC.
3790 # But if we don't then we get into trouble of one sort or another.
3791 # A longer-term fix would be to have automake use am__CC in this case,
3792 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3793 CC="$am_aux_dir/compile $CC"
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802 depcc="$CC" am_compiler_list=
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3805 $as_echo_n "checking dependency style of $depcc... " >&6; }
3806 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3807 $as_echo_n "(cached) " >&6
3809 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3810 # We make a subdir and do the tests there. Otherwise we can end up
3811 # making bogus files that we don't know about and never remove. For
3812 # instance it was reported that on HP-UX the gcc test will end up
3813 # making a dummy file named 'D' -- because '-MD' means "put the output
3817 # Copy depcomp to subdir because otherwise we won't find it if we're
3818 # using a relative directory.
3819 cp "$am_depcomp" conftest.dir
3821 # We will build objects and dependencies in a subdirectory because
3822 # it helps to detect inapplicable dependency modes. For instance
3823 # both Tru64's cc and ICC support -MD to output dependencies as a
3824 # side effect of compilation, but ICC will put the dependencies in
3825 # the current directory while Tru64 will put them in the object
3829 am_cv_CC_dependencies_compiler_type=none
3830 if test "$am_compiler_list" = ""; then
3831 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3834 case " $depcc " in #(
3835 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3838 for depmode in $am_compiler_list; do
3839 # Setup a source with many dependencies, because some compilers
3840 # like to wrap large dependency lists on column 80 (with \), and
3841 # we should not choose a depcomp mode which is confused by this.
3843 # We need to recreate these files for each test, as the compiler may
3844 # overwrite some of them when testing with obscure command lines.
3845 # This happens at least with the AIX C compiler.
3847 for i in 1 2 3 4 5 6; do
3848 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3849 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3850 # Solaris 10 /bin/sh.
3851 echo '/* dummy */' > sub/conftst$i.h
3853 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3855 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3856 # mode. It turns out that the SunPro C++ compiler does not properly
3857 # handle '-M -o', and we need to detect this. Also, some Intel
3858 # versions had trouble with output in subdirs.
3859 am__obj=sub/conftest.${OBJEXT-o}
3860 am__minus_obj="-o $am__obj"
3863 # This depmode causes a compiler race in universal mode.
3864 test "$am__universal" = false || continue
3867 # After this tag, mechanisms are not by side-effect, so they'll
3868 # only be used when explicitly requested.
3869 if test "x$enable_dependency_tracking" = xyes; then
3875 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3876 # This compiler won't grok '-c -o', but also, the minuso test has
3877 # not run yet. These depmodes are late enough in the game, and
3878 # so weak that their functioning should not be impacted.
3879 am__obj=conftest.${OBJEXT-o}
3884 if depmode=$depmode \
3885 source=sub/conftest.c object=$am__obj \
3886 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3887 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3888 >/dev/null 2>conftest.err &&
3889 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3890 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3891 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3892 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3893 # icc doesn't choke on unknown options, it will just issue warnings
3894 # or remarks (even with -Werror). So we grep stderr for any message
3895 # that says an option was ignored or not supported.
3896 # When given -MP, icc 7.0 and 7.1 complain thusly:
3897 # icc: Command line warning: ignoring option '-M'; no argument required
3898 # The diagnosis changed in icc 8.0:
3899 # icc: Command line remark: option '-MP' not supported
3900 if (grep 'ignoring option' conftest.err ||
3901 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3902 am_cv_CC_dependencies_compiler_type=$depmode
3911 am_cv_CC_dependencies_compiler_type=none
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3916 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3917 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3920 test "x$enable_dependency_tracking" != xno \
3921 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3923 am__fastdepCC_FALSE='#'
3925 am__fastdepCC_TRUE='#'
3926 am__fastdepCC_FALSE=
3931 # Check whether --enable-compiler-warnings was given.
3932 if test "${enable_compiler_warnings+set}" = set; then :
3933 enableval=$enable_compiler_warnings;
3935 case $enable_compiler_warnings in #(
3936 no | min | yes | max | all) :
3939 if test "x$enable_maintainer_mode" = xyes; then :
3940 enable_compiler_warnings=yes
3942 enable_compiler_warnings=min
3947 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3948 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3949 # is not polluted with repeated "-I."
3950 am__isrc=' -I$(srcdir)'
3951 # test to see if srcdir already configured
3952 if test -f $srcdir/config.status; then
3953 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3957 # test whether we have cygpath
3958 if test -z "$CYGPATH_W"; then
3959 if (cygpath --version) >/dev/null 2>/dev/null; then
3960 CYGPATH_W='cygpath -w'
3967 # Define the identity of the package.
3968 PACKAGE='luajit-for-tex-live'
3969 VERSION='2.1.0-beta2'
3972 cat >>confdefs.h <<_ACEOF
3973 #define PACKAGE "$PACKAGE"
3977 cat >>confdefs.h <<_ACEOF
3978 #define VERSION "$VERSION"
3981 # Some tools Automake needs.
3983 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3986 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3989 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3992 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3995 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3997 # For better backward compatibility. To be removed once Automake 1.9.x
3998 # dies out for good. For more background, see:
3999 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4000 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4001 mkdir_p='$(MKDIR_P)'
4003 # We need awk for the "check" target (and possibly the TAP driver). The
4004 # system "awk" is bad on some platforms.
4005 # Always define AMTAR for backward compatibility. Yes, it's still used
4006 # in the wild :-( We should find a proper way to deprecate it ...
4010 # We'll loop over all known methods to create a tar archive until one works.
4011 _am_tools='gnutar pax cpio none'
4013 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4020 # POSIX will say in a future version that running "rm -f" with no argument
4021 # is OK; and we want to be able to make that assumption in our Makefile
4022 # recipes. So use an aggressive probe to check that the usage we want is
4023 # actually supported "in the wild" to an acceptable degree.
4024 # See automake bug#10828.
4025 # To make any issue more visible, cause the running configure to be aborted
4026 # by default if the 'rm' program in use doesn't match our expectations; the
4027 # user can still override this though.
4028 if rm -f && rm -fr && rm -rf; then : OK; else
4032 Your 'rm' program seems unable to run without file operands specified
4033 on the command line, even when the '-f' option is present. This is contrary
4034 to the behaviour of most rm programs out there, and not conforming with
4035 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4037 Please tell bug-automake@gnu.org about your system, including the value
4038 of your $PATH and any error possibly output before this message. This
4039 can help us improve future automake versions.
4042 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4043 echo 'Configuration will proceed anyway, since you have set the' >&2
4044 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4048 Aborting the configuration process, to ensure you take notice of the issue.
4050 You can download and install GNU coreutils to get an 'rm' implementation
4051 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4053 If you want to complete the configuration process using your problematic
4054 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4055 to "yes", and re-run configure.
4058 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4064 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4065 # Check whether --enable-maintainer-mode was given.
4066 if test "${enable_maintainer_mode+set}" = set; then :
4067 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4069 USE_MAINTAINER_MODE=no
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4073 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4074 if test $USE_MAINTAINER_MODE = yes; then
4075 MAINTAINER_MODE_TRUE=
4076 MAINTAINER_MODE_FALSE='#'
4078 MAINTAINER_MODE_TRUE='#'
4079 MAINTAINER_MODE_FALSE=
4082 MAINT=$MAINTAINER_MODE_TRUE
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4086 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4087 if ${kb_cv_c_prototypes+:} false; then :
4088 $as_echo_n "(cached) " >&6
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4096 extern void foo(int i,...);
4101 if ac_fn_c_try_link "$LINENO"; then :
4102 kb_cv_c_prototypes=yes
4104 kb_cv_c_prototypes=no
4106 rm -f core conftest.err conftest.$ac_objext \
4107 conftest$ac_exeext conftest.$ac_ext
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4110 $as_echo "$kb_cv_c_prototypes" >&6; }
4111 if test "x$kb_cv_c_prototypes" = xno; then
4112 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4115 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4116 if ${kpse_cv_warning_cflags+:} false; then :
4117 $as_echo_n "(cached) " >&6
4119 if test "x$GCC" = xyes; then
4120 kpse_cv_warning_cflags=
4121 if test "x$enable_compiler_warnings" != xno; then
4122 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4123 case `$CC -dumpversion` in #(
4124 3.4.* | 4.* | 5.*) :
4125 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4129 case `$CC -dumpversion` in #(
4130 3.[234].* | 4.* | 5.*) :
4131 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4135 if test "x$enable_compiler_warnings" != xmin; then
4136 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4137 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4138 if test "x$enable_compiler_warnings" != xyes; then
4139 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4140 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4141 case `$CC -dumpversion` in #(
4142 3.4.* | 4.* | 5.*) :
4143 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4147 if test "x$enable_compiler_warnings" != xmax; then
4148 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4153 elif test "x$enable_compiler_warnings" = xno; then
4154 kpse_cv_warning_cflags=
4156 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4160 $as_echo "$kpse_cv_warning_cflags" >&6; }
4161 WARNING_CFLAGS=$kpse_cv_warning_cflags
4170 # Make sure we can run config.sub.
4171 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4172 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4175 $as_echo_n "checking build system type... " >&6; }
4176 if ${ac_cv_build+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 ac_build_alias=$build_alias
4180 test "x$ac_build_alias" = x &&
4181 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4182 test "x$ac_build_alias" = x &&
4183 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4184 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4185 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4189 $as_echo "$ac_cv_build" >&6; }
4190 case $ac_cv_build in
4192 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4195 ac_save_IFS=$IFS; IFS='-'
4201 # Remember, the first character of IFS is used to create $*,
4202 # except with old shells:
4205 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4209 $as_echo_n "checking host system type... " >&6; }
4210 if ${ac_cv_host+:} false; then :
4211 $as_echo_n "(cached) " >&6
4213 if test "x$host_alias" = x; then
4214 ac_cv_host=$ac_cv_build
4216 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4217 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4222 $as_echo "$ac_cv_host" >&6; }
4225 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4228 ac_save_IFS=$IFS; IFS='-'
4234 # Remember, the first character of IFS is used to create $*,
4235 # except with old shells:
4238 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4241 if test "x$host_alias" != x && test "x$build_alias" = x; then :
4242 as_fn_error $? "when cross-compiling you must specify both --host and --build." "$LINENO" 5
4244 eval kpse_build_alias=\${build_alias-$build}
4248 ac_cpp='$CPP $CPPFLAGS'
4249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4252 if test -n "$ac_tool_prefix"; then
4253 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4254 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256 $as_echo_n "checking for $ac_word... " >&6; }
4257 if ${ac_cv_prog_CC+:} false; then :
4258 $as_echo_n "(cached) " >&6
4260 if test -n "$CC"; then
4261 ac_cv_prog_CC="$CC" # Let the user override the test.
4263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir=.
4268 for ac_exec_ext in '' $ac_executable_extensions; do
4269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4270 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 if test -n "$CC"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4283 $as_echo "$CC" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286 $as_echo "no" >&6; }
4291 if test -z "$ac_cv_prog_CC"; then
4293 # Extract the first word of "gcc", so it can be a program name with args.
4294 set dummy gcc; ac_word=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$ac_ct_CC"; then
4301 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir=.
4308 for ac_exec_ext in '' $ac_executable_extensions; do
4309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4310 ac_cv_prog_ac_ct_CC="gcc"
4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4321 if test -n "$ac_ct_CC"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4323 $as_echo "$ac_ct_CC" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4329 if test "x$ac_ct_CC" = x; then
4332 case $cross_compiling:$ac_tool_warned in
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4336 ac_tool_warned=yes ;;
4344 if test -z "$CC"; then
4345 if test -n "$ac_tool_prefix"; then
4346 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4347 set dummy ${ac_tool_prefix}cc; ac_word=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_prog_CC+:} false; then :
4351 $as_echo_n "(cached) " >&6
4353 if test -n "$CC"; then
4354 ac_cv_prog_CC="$CC" # Let the user override the test.
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_CC="${ac_tool_prefix}cc"
4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 if test -n "$CC"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4376 $as_echo "$CC" >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4385 if test -z "$CC"; then
4386 # Extract the first word of "cc", so it can be a program name with args.
4387 set dummy cc; ac_word=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_prog_CC+:} false; then :
4391 $as_echo_n "(cached) " >&6
4393 if test -n "$CC"; then
4394 ac_cv_prog_CC="$CC" # Let the user override the test.
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir=.
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4404 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4405 ac_prog_rejected=yes
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 if test $ac_prog_rejected = yes; then
4417 # We found a bogon in the path, so make sure we never use it.
4418 set dummy $ac_cv_prog_CC
4420 if test $# != 0; then
4421 # We chose a different compiler from the bogus one.
4422 # However, it has the same basename, so the bogon will be chosen
4423 # first if we set CC to just the basename; use the full file name.
4425 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4431 if test -n "$CC"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4433 $as_echo "$CC" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4441 if test -z "$CC"; then
4442 if test -n "$ac_tool_prefix"; then
4443 for ac_prog in cl.exe
4445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_prog_CC+:} false; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -n "$CC"; then
4453 ac_cv_prog_CC="$CC" # Let the user override the test.
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4462 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 if test -n "$CC"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4475 $as_echo "$CC" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4482 test -n "$CC" && break
4485 if test -z "$CC"; then
4487 for ac_prog in cl.exe
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4494 $as_echo_n "(cached) " >&6
4496 if test -n "$ac_ct_CC"; then
4497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_ac_ct_CC="$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4517 if test -n "$ac_ct_CC"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4519 $as_echo "$ac_ct_CC" >&6; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$ac_ct_CC" && break
4529 if test "x$ac_ct_CC" = x; then
4532 case $cross_compiling:$ac_tool_warned in
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4536 ac_tool_warned=yes ;;
4545 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4547 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4548 See \
`config.log' for more details" "$LINENO" 5; }
4550 # Provide some information about the compiler.
4551 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4554 for ac_option in --version -v -V -qversion; do
4555 { { ac_try="$ac_compiler $ac_option >&5"
4557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4558 *) ac_try_echo
=$ac_try;;
4560 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4561 $as_echo "$ac_try_echo"; } >&5
4562 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4564 if test -s conftest.err
; then
4566 ... rest of stderr output deleted ...
4567 10q' conftest.err
>conftest.er1
4568 cat conftest.er1
>&5
4570 rm -f conftest.er1 conftest.err
4571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4572 test $ac_status = 0; }
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4576 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4577 if ${ac_cv_c_compiler_gnu+:} false
; then :
4578 $as_echo_n "(cached) " >&6
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4594 if ac_fn_c_try_compile
"$LINENO"; then :
4599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4600 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4604 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4605 if test $ac_compiler_gnu = yes; then
4610 ac_test_CFLAGS
=${CFLAGS+set}
4611 ac_save_CFLAGS
=$CFLAGS
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4613 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4614 if ${ac_cv_prog_cc_g+:} false
; then :
4615 $as_echo_n "(cached) " >&6
4617 ac_save_c_werror_flag
=$ac_c_werror_flag
4618 ac_c_werror_flag
=yes
4621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4632 if ac_fn_c_try_compile
"$LINENO"; then :
4636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4647 if ac_fn_c_try_compile
"$LINENO"; then :
4650 ac_c_werror_flag
=$ac_save_c_werror_flag
4652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4663 if ac_fn_c_try_compile
"$LINENO"; then :
4666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4671 ac_c_werror_flag
=$ac_save_c_werror_flag
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4674 $as_echo "$ac_cv_prog_cc_g" >&6; }
4675 if test "$ac_test_CFLAGS" = set; then
4676 CFLAGS
=$ac_save_CFLAGS
4677 elif test $ac_cv_prog_cc_g = yes; then
4678 if test "$GCC" = yes; then
4684 if test "$GCC" = yes; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4691 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4692 if ${ac_cv_prog_cc_c89+:} false
; then :
4693 $as_echo_n "(cached) " >&6
4695 ac_cv_prog_cc_c89
=no
4697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4702 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4703 struct buf { int x; };
4704 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4705 static char *e (p, i)
4711 static char *f (char * (*g) (char **, int), char **p, ...)
4716 s = g (p, va_arg (v,int));
4721 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4722 function prototypes and stuff, but not '\xHH' hex character constants.
4723 These don't provoke an error unfortunately, instead are silently treated
4724 as 'x'. The following induces an error, until -std is added to get
4725 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4726 array size at least. It's necessary to write '\x00'==0 to get something
4727 that's true only with -std. */
4728 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4730 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4731 inside strings and character constants. */
4733 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4735 int test (int i, double x);
4736 struct s1 {int (*f) (int a);};
4737 struct s2 {int (*f) (double a);};
4738 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4744 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4749 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4750 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4752 CC
="$ac_save_CC $ac_arg"
4753 if ac_fn_c_try_compile
"$LINENO"; then :
4754 ac_cv_prog_cc_c89
=$ac_arg
4756 rm -f core conftest.err conftest.
$ac_objext
4757 test "x$ac_cv_prog_cc_c89" != "xno" && break
4759 rm -f conftest.
$ac_ext
4764 case "x$ac_cv_prog_cc_c89" in
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4767 $as_echo "none needed" >&6; } ;;
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4770 $as_echo "unsupported" >&6; } ;;
4772 CC
="$CC $ac_cv_prog_cc_c89"
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4774 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4776 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4781 ac_cpp
='$CPP $CPPFLAGS'
4782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4787 ac_cpp
='$CPP $CPPFLAGS'
4788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4792 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4793 if ${am_cv_prog_cc_c_o+:} false
; then :
4794 $as_echo_n "(cached) " >&6
4796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4807 # Make sure it works both with $CC and with simple cc.
4808 # Following AC_PROG_CC_C_O, we do the test twice because some
4809 # compilers refuse to overwrite an existing .o file with -o,
4810 # though they will create one.
4811 am_cv_prog_cc_c_o
=yes
4813 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4814 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } \
4818 && test -f conftest2.
$ac_objext; then
4821 am_cv_prog_cc_c_o
=no
4825 rm -f core conftest
*
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4829 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4830 if test "$am_cv_prog_cc_c_o" != yes; then
4831 # Losing compiler, so override with the script.
4832 # FIXME: It is wrong to rewrite CC.
4833 # But if we don't then we get into trouble of one sort or another.
4834 # A longer-term fix would be to have automake use am__CC in this case,
4835 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4836 CC
="$am_aux_dir/compile $CC"
4839 ac_cpp
='$CPP $CPPFLAGS'
4840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4845 depcc
="$CC" am_compiler_list
=
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4848 $as_echo_n "checking dependency style of $depcc... " >&6; }
4849 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4853 # We make a subdir and do the tests there. Otherwise we can end up
4854 # making bogus files that we don't know about and never remove. For
4855 # instance it was reported that on HP-UX the gcc test will end up
4856 # making a dummy file named 'D' -- because '-MD' means "put the output
4860 # Copy depcomp to subdir because otherwise we won't find it if we're
4861 # using a relative directory.
4862 cp "$am_depcomp" conftest.dir
4864 # We will build objects and dependencies in a subdirectory because
4865 # it helps to detect inapplicable dependency modes. For instance
4866 # both Tru64's cc and ICC support -MD to output dependencies as a
4867 # side effect of compilation, but ICC will put the dependencies in
4868 # the current directory while Tru64 will put them in the object
4872 am_cv_CC_dependencies_compiler_type
=none
4873 if test "$am_compiler_list" = ""; then
4874 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4877 case " $depcc " in #(
4878 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4881 for depmode
in $am_compiler_list; do
4882 # Setup a source with many dependencies, because some compilers
4883 # like to wrap large dependency lists on column 80 (with \), and
4884 # we should not choose a depcomp mode which is confused by this.
4886 # We need to recreate these files for each test, as the compiler may
4887 # overwrite some of them when testing with obscure command lines.
4888 # This happens at least with the AIX C compiler.
4890 for i
in 1 2 3 4 5 6; do
4891 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4892 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4893 # Solaris 10 /bin/sh.
4894 echo '/* dummy */' > sub
/conftst
$i.h
4896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4898 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4899 # mode. It turns out that the SunPro C++ compiler does not properly
4900 # handle '-M -o', and we need to detect this. Also, some Intel
4901 # versions had trouble with output in subdirs.
4902 am__obj
=sub
/conftest.
${OBJEXT-o}
4903 am__minus_obj
="-o $am__obj"
4906 # This depmode causes a compiler race in universal mode.
4907 test "$am__universal" = false ||
continue
4910 # After this tag, mechanisms are not by side-effect, so they'll
4911 # only be used when explicitly requested.
4912 if test "x$enable_dependency_tracking" = xyes
; then
4918 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4919 # This compiler won't grok '-c -o', but also, the minuso test has
4920 # not run yet. These depmodes are late enough in the game, and
4921 # so weak that their functioning should not be impacted.
4922 am__obj
=conftest.
${OBJEXT-o}
4927 if depmode
=$depmode \
4928 source=sub
/conftest.c object
=$am__obj \
4929 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4930 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4931 >/dev
/null
2>conftest.err
&&
4932 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4933 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4934 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4935 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4936 # icc doesn't choke on unknown options, it will just issue warnings
4937 # or remarks (even with -Werror). So we grep stderr for any message
4938 # that says an option was ignored or not supported.
4939 # When given -MP, icc 7.0 and 7.1 complain thusly:
4940 # icc: Command line warning: ignoring option '-M'; no argument required
4941 # The diagnosis changed in icc 8.0:
4942 # icc: Command line remark: option '-MP' not supported
4943 if (grep 'ignoring option' conftest.err ||
4944 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4945 am_cv_CC_dependencies_compiler_type
=$depmode
4954 am_cv_CC_dependencies_compiler_type
=none
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4959 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4960 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4963 test "x$enable_dependency_tracking" != xno \
4964 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4966 am__fastdepCC_FALSE
='#'
4968 am__fastdepCC_TRUE
='#'
4969 am__fastdepCC_FALSE
=
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4974 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4975 if ${ac_cv_prog_cc_c99+:} false
; then :
4976 $as_echo_n "(cached) " >&6
4978 ac_cv_prog_cc_c99
=no
4980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4983 #include <stdbool.h>
4988 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4989 #define debug(...) fprintf (stderr, __VA_ARGS__)
4990 #define showlist(...) puts (#__VA_ARGS__)
4991 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4993 test_varargs_macros (void)
4998 debug ("X = %d\n", x);
4999 showlist (The first, second, and third items.);
5000 report (x>y, "x is %d but y is %d", x, y);
5003 // Check long long types.
5004 #define BIG64 18446744073709551615ull
5005 #define BIG32 4294967295ul
5006 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5008 your preprocessor is broken;
5012 your preprocessor is broken;
5014 static long long int bignum = -9223372036854775807LL;
5015 static unsigned long long int ubignum = BIG64;
5017 struct incomplete_array
5025 const wchar_t *name;
5029 typedef const char *ccp;
5032 test_restrict (ccp restrict text)
5034 // See if C++-style comments work.
5035 // Iterate through items via the restricted pointer.
5036 // Also check for declarations in for loops.
5037 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5042 // Check varargs and va_copy.
5044 test_varargs (const char *format, ...)
5047 va_start (args, format);
5049 va_copy (args_copy, args);
5060 str = va_arg (args_copy, const char *);
5063 number = va_arg (args_copy, int);
5066 fnumber = va_arg (args_copy, double);
5081 _Bool success = false;
5084 if (test_restrict ("String literal") == 0)
5086 char *restrict newvar = "Another string";
5089 test_varargs ("s, d' f .", "string", 65, 34.234);
5090 test_varargs_macros ();
5092 // Check flexible array members.
5093 struct incomplete_array *ia =
5094 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5096 for (int i = 0; i < ia->datasize; ++i)
5097 ia->data[i] = i * 1.234;
5099 // Check named initializers.
5100 struct named_init ni = {
5102 .name = L"Test wide string",
5103 .average = 543.34343,
5108 int dynamic_array[ni.number];
5109 dynamic_array[ni.number - 1] = 543;
5111 // work around unused variable warnings
5112 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5113 || dynamic_array[ni.number - 1] != 543);
5119 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5121 CC
="$ac_save_CC $ac_arg"
5122 if ac_fn_c_try_compile
"$LINENO"; then :
5123 ac_cv_prog_cc_c99
=$ac_arg
5125 rm -f core conftest.err conftest.
$ac_objext
5126 test "x$ac_cv_prog_cc_c99" != "xno" && break
5128 rm -f conftest.
$ac_ext
5133 case "x$ac_cv_prog_cc_c99" in
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5136 $as_echo "none needed" >&6; } ;;
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5139 $as_echo "unsupported" >&6; } ;;
5141 CC
="$CC $ac_cv_prog_cc_c99"
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5143 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5145 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5150 # By default we simply use the C compiler to build assembly code.
5152 test "${CCAS+set}" = set || CCAS
=$CC
5153 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
5157 depcc
="$CCAS" am_compiler_list
=
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5160 $as_echo_n "checking dependency style of $depcc... " >&6; }
5161 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5165 # We make a subdir and do the tests there. Otherwise we can end up
5166 # making bogus files that we don't know about and never remove. For
5167 # instance it was reported that on HP-UX the gcc test will end up
5168 # making a dummy file named 'D' -- because '-MD' means "put the output
5172 # Copy depcomp to subdir because otherwise we won't find it if we're
5173 # using a relative directory.
5174 cp "$am_depcomp" conftest.dir
5176 # We will build objects and dependencies in a subdirectory because
5177 # it helps to detect inapplicable dependency modes. For instance
5178 # both Tru64's cc and ICC support -MD to output dependencies as a
5179 # side effect of compilation, but ICC will put the dependencies in
5180 # the current directory while Tru64 will put them in the object
5184 am_cv_CCAS_dependencies_compiler_type
=none
5185 if test "$am_compiler_list" = ""; then
5186 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5191 for depmode
in $am_compiler_list; do
5192 # Setup a source with many dependencies, because some compilers
5193 # like to wrap large dependency lists on column 80 (with \), and
5194 # we should not choose a depcomp mode which is confused by this.
5196 # We need to recreate these files for each test, as the compiler may
5197 # overwrite some of them when testing with obscure command lines.
5198 # This happens at least with the AIX C compiler.
5200 for i
in 1 2 3 4 5 6; do
5201 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5202 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5203 # Solaris 10 /bin/sh.
5204 echo '/* dummy */' > sub
/conftst
$i.h
5206 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5208 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5209 # mode. It turns out that the SunPro C++ compiler does not properly
5210 # handle '-M -o', and we need to detect this. Also, some Intel
5211 # versions had trouble with output in subdirs.
5212 am__obj
=sub
/conftest.
${OBJEXT-o}
5213 am__minus_obj
="-o $am__obj"
5216 # This depmode causes a compiler race in universal mode.
5217 test "$am__universal" = false ||
continue
5220 # After this tag, mechanisms are not by side-effect, so they'll
5221 # only be used when explicitly requested.
5222 if test "x$enable_dependency_tracking" = xyes
; then
5228 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5229 # This compiler won't grok '-c -o', but also, the minuso test has
5230 # not run yet. These depmodes are late enough in the game, and
5231 # so weak that their functioning should not be impacted.
5232 am__obj
=conftest.
${OBJEXT-o}
5237 if depmode
=$depmode \
5238 source=sub
/conftest.c object
=$am__obj \
5239 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5240 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5241 >/dev
/null
2>conftest.err
&&
5242 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5243 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5244 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5245 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5246 # icc doesn't choke on unknown options, it will just issue warnings
5247 # or remarks (even with -Werror). So we grep stderr for any message
5248 # that says an option was ignored or not supported.
5249 # When given -MP, icc 7.0 and 7.1 complain thusly:
5250 # icc: Command line warning: ignoring option '-M'; no argument required
5251 # The diagnosis changed in icc 8.0:
5252 # icc: Command line remark: option '-MP' not supported
5253 if (grep 'ignoring option' conftest.err ||
5254 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5255 am_cv_CCAS_dependencies_compiler_type
=$depmode
5264 am_cv_CCAS_dependencies_compiler_type
=none
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5269 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5270 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5273 test "x$enable_dependency_tracking" != xno \
5274 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5275 am__fastdepCCAS_TRUE
=
5276 am__fastdepCCAS_FALSE
='#'
5278 am__fastdepCCAS_TRUE
='#'
5279 am__fastdepCCAS_FALSE
=
5283 if test -n "$ac_tool_prefix"; then
5284 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5285 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5287 $as_echo_n "checking for $ac_word... " >&6; }
5288 if ${ac_cv_prog_RANLIB+:} false
; then :
5289 $as_echo_n "(cached) " >&6
5291 if test -n "$RANLIB"; then
5292 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5301 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 RANLIB
=$ac_cv_prog_RANLIB
5312 if test -n "$RANLIB"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5314 $as_echo "$RANLIB" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5322 if test -z "$ac_cv_prog_RANLIB"; then
5323 ac_ct_RANLIB
=$RANLIB
5324 # Extract the first word of "ranlib", so it can be a program name with args.
5325 set dummy ranlib
; ac_word
=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5329 $as_echo_n "(cached) " >&6
5331 if test -n "$ac_ct_RANLIB"; then
5332 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir
=.
5339 for ac_exec_ext
in '' $ac_executable_extensions; do
5340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5352 if test -n "$ac_ct_RANLIB"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5354 $as_echo "$ac_ct_RANLIB" >&6; }
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5360 if test "x$ac_ct_RANLIB" = x
; then
5363 case $cross_compiling:$ac_tool_warned in
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5367 ac_tool_warned
=yes ;;
5369 RANLIB
=$ac_ct_RANLIB
5372 RANLIB
="$ac_cv_prog_RANLIB"
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5376 $as_echo_n "checking whether ln -s works... " >&6; }
5378 if test "$LN_S" = "ln -s"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5380 $as_echo "yes" >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5383 $as_echo "no, using $LN_S" >&6; }
5387 LUAJITVERSION
=2.1.0-beta2
5390 LUAJIT_LT_VERSINFO
=3:0:1
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5396 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5401 macro_version
='2.4.6'
5402 macro_revision
='2.4.6'
5416 ltmain
=$ac_aux_dir/ltmain.sh
5418 # Backslashify metacharacters that are still active within
5419 # double-quoted strings.
5420 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5422 # Same as above, but do not quote variable references.
5423 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5425 # Sed substitution to delay expansion of an escaped shell variable in a
5426 # double_quote_subst'ed string.
5427 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5429 # Sed substitution to delay expansion of an escaped single quote.
5430 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5432 # Sed substitution to avoid accidental globbing in evaled expressions
5433 no_glob_subst
='s/\*/\\\*/g'
5435 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5436 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5437 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5440 $as_echo_n "checking how to print strings... " >&6; }
5441 # Test print first, because it will be a builtin if present.
5442 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5443 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5445 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5448 # Use this function as a fallback that always works.
5449 func_fallback_echo ()
5451 eval 'cat <<_LTECHO_EOF
5455 ECHO='func_fallback_echo
'
5458 # func_echo_all arg...
5459 # Invoke $ECHO with all args, space-separated.
5466 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5467 $as_echo "printf" >&6; } ;;
5468 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5469 $as_echo "print -r" >&6; } ;;
5470 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5471 $as_echo "cat" >&6; } ;;
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5488 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5489 if ${ac_cv_path_SED+:} false; then :
5490 $as_echo_n "(cached) " >&6
5492 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5493 for ac_i in 1 2 3 4 5 6 7; do
5494 ac_script="$ac_script$as_nl$ac_script"
5496 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5497 { ac_script=; unset ac_script;}
5498 if test -z "$SED"; then
5499 ac_path_SED_found=false
5500 # Loop through the user's path and
test for each of PROGNAME-LIST
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_prog
in sed gsed
; do
5507 for ac_exec_ext
in '' $ac_executable_extensions; do
5508 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5509 as_fn_executable_p
"$ac_path_SED" ||
continue
5510 # Check for GNU ac_path_SED and select it if it is found.
5511 # Check for GNU $ac_path_SED
5512 case `"$ac_path_SED" --version 2>&1` in
5514 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5517 $as_echo_n 0123456789 >"conftest.in"
5520 cat "conftest.in" "conftest.in" >"conftest.tmp"
5521 mv "conftest.tmp" "conftest.in"
5522 cp "conftest.in" "conftest.nl"
5523 $as_echo '' >> "conftest.nl"
5524 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5525 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5526 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5527 if test $ac_count -gt ${ac_path_SED_max-0}; then
5528 # Best one so far, save it but keep looking for a better one
5529 ac_cv_path_SED
="$ac_path_SED"
5530 ac_path_SED_max
=$ac_count
5532 # 10*(2^10) chars as input seems more than enough
5533 test $ac_count -gt 10 && break
5535 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5538 $ac_path_SED_found && break 3
5543 if test -z "$ac_cv_path_SED"; then
5544 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5552 $as_echo "$ac_cv_path_SED" >&6; }
5553 SED
="$ac_cv_path_SED"
5556 test -z "$SED" && SED
=sed
5557 Xsed
="$SED -e 1s/^X//"
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5570 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5571 if ${ac_cv_path_GREP+:} false
; then :
5572 $as_echo_n "(cached) " >&6
5574 if test -z "$GREP"; then
5575 ac_path_GREP_found
=false
5576 # Loop through the user's path and test for each of PROGNAME-LIST
5577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5578 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5581 test -z "$as_dir" && as_dir
=.
5582 for ac_prog
in grep ggrep
; do
5583 for ac_exec_ext
in '' $ac_executable_extensions; do
5584 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5585 as_fn_executable_p
"$ac_path_GREP" ||
continue
5586 # Check for GNU ac_path_GREP and select it if it is found.
5587 # Check for GNU $ac_path_GREP
5588 case `"$ac_path_GREP" --version 2>&1` in
5590 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5593 $as_echo_n 0123456789 >"conftest.in"
5596 cat "conftest.in" "conftest.in" >"conftest.tmp"
5597 mv "conftest.tmp" "conftest.in"
5598 cp "conftest.in" "conftest.nl"
5599 $as_echo 'GREP' >> "conftest.nl"
5600 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5601 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5602 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5603 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5604 # Best one so far, save it but keep looking for a better one
5605 ac_cv_path_GREP
="$ac_path_GREP"
5606 ac_path_GREP_max
=$ac_count
5608 # 10*(2^10) chars as input seems more than enough
5609 test $ac_count -gt 10 && break
5611 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5614 $ac_path_GREP_found && break 3
5619 if test -z "$ac_cv_path_GREP"; then
5620 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5623 ac_cv_path_GREP
=$GREP
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5628 $as_echo "$ac_cv_path_GREP" >&6; }
5629 GREP
="$ac_cv_path_GREP"
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5633 $as_echo_n "checking for egrep... " >&6; }
5634 if ${ac_cv_path_EGREP+:} false
; then :
5635 $as_echo_n "(cached) " >&6
5637 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5638 then ac_cv_path_EGREP
="$GREP -E"
5640 if test -z "$EGREP"; then
5641 ac_path_EGREP_found
=false
5642 # Loop through the user's path and test for each of PROGNAME-LIST
5643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5644 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5647 test -z "$as_dir" && as_dir
=.
5648 for ac_prog
in egrep; do
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5651 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5652 # Check for GNU ac_path_EGREP and select it if it is found.
5653 # Check for GNU $ac_path_EGREP
5654 case `"$ac_path_EGREP" --version 2>&1` in
5656 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5659 $as_echo_n 0123456789 >"conftest.in"
5662 cat "conftest.in" "conftest.in" >"conftest.tmp"
5663 mv "conftest.tmp" "conftest.in"
5664 cp "conftest.in" "conftest.nl"
5665 $as_echo 'EGREP' >> "conftest.nl"
5666 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5667 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5668 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5669 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5670 # Best one so far, save it but keep looking for a better one
5671 ac_cv_path_EGREP
="$ac_path_EGREP"
5672 ac_path_EGREP_max
=$ac_count
5674 # 10*(2^10) chars as input seems more than enough
5675 test $ac_count -gt 10 && break
5677 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5680 $ac_path_EGREP_found && break 3
5685 if test -z "$ac_cv_path_EGREP"; then
5686 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5689 ac_cv_path_EGREP
=$EGREP
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5695 $as_echo "$ac_cv_path_EGREP" >&6; }
5696 EGREP
="$ac_cv_path_EGREP"
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5700 $as_echo_n "checking for fgrep... " >&6; }
5701 if ${ac_cv_path_FGREP+:} false
; then :
5702 $as_echo_n "(cached) " >&6
5704 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5705 then ac_cv_path_FGREP
="$GREP -F"
5707 if test -z "$FGREP"; then
5708 ac_path_FGREP_found
=false
5709 # Loop through the user's path and test for each of PROGNAME-LIST
5710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5711 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5714 test -z "$as_dir" && as_dir
=.
5715 for ac_prog
in fgrep
; do
5716 for ac_exec_ext
in '' $ac_executable_extensions; do
5717 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5718 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5719 # Check for GNU ac_path_FGREP and select it if it is found.
5720 # Check for GNU $ac_path_FGREP
5721 case `"$ac_path_FGREP" --version 2>&1` in
5723 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5726 $as_echo_n 0123456789 >"conftest.in"
5729 cat "conftest.in" "conftest.in" >"conftest.tmp"
5730 mv "conftest.tmp" "conftest.in"
5731 cp "conftest.in" "conftest.nl"
5732 $as_echo 'FGREP' >> "conftest.nl"
5733 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5734 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5735 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5736 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5737 # Best one so far, save it but keep looking for a better one
5738 ac_cv_path_FGREP
="$ac_path_FGREP"
5739 ac_path_FGREP_max
=$ac_count
5741 # 10*(2^10) chars as input seems more than enough
5742 test $ac_count -gt 10 && break
5744 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5747 $ac_path_FGREP_found && break 3
5752 if test -z "$ac_cv_path_FGREP"; then
5753 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5756 ac_cv_path_FGREP
=$FGREP
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5762 $as_echo "$ac_cv_path_FGREP" >&6; }
5763 FGREP
="$ac_cv_path_FGREP"
5766 test -z "$GREP" && GREP
=grep
5786 # Check whether --with-gnu-ld was given.
5787 if test "${with_gnu_ld+set}" = set; then :
5788 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
5794 if test yes = "$GCC"; then
5795 # Check if gcc -print-prog-name=ld gives a path.
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5797 $as_echo_n "checking for ld used by $CC... " >&6; }
5800 # gcc leaves a trailing carriage return, which upsets mingw
5801 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5803 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5806 # Accept absolute paths.
5808 re_direlt
='/[^/][^/]*/\.\./'
5809 # Canonicalize the pathname of ld
5810 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5811 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5812 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5814 test -z "$LD" && LD
=$ac_prog
5817 # If it fails, then pretend we aren't using GCC.
5821 # If it is relative, then search for the first ld in PATH.
5825 elif test yes = "$with_gnu_ld"; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5827 $as_echo_n "checking for GNU ld... " >&6; }
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5830 $as_echo_n "checking for non-GNU ld... " >&6; }
5832 if ${lt_cv_path_LD+:} false
; then :
5833 $as_echo_n "(cached) " >&6
5835 if test -z "$LD"; then
5836 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
5837 for ac_dir
in $PATH; do
5839 test -z "$ac_dir" && ac_dir
=.
5840 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5841 lt_cv_path_LD
=$ac_dir/$ac_prog
5842 # Check to see if the program is GNU ld. I'd rather use --version,
5843 # but apparently some variants of GNU ld only accept -v.
5844 # Break only if it was the GNU/non-GNU ld that we prefer.
5845 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5846 *GNU
* |
*'with BFD'*)
5847 test no
!= "$with_gnu_ld" && break
5850 test yes != "$with_gnu_ld" && break
5857 lt_cv_path_LD
=$LD # Let the user override the test with a path.
5862 if test -n "$LD"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5864 $as_echo "$LD" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5869 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5871 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5872 if ${lt_cv_prog_gnu_ld+:} false
; then :
5873 $as_echo_n "(cached) " >&6
5875 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5876 case `$LD -v 2>&1 </dev/null` in
5877 *GNU
* |
*'with BFD'*)
5878 lt_cv_prog_gnu_ld
=yes
5881 lt_cv_prog_gnu_ld
=no
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5886 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5887 with_gnu_ld
=$lt_cv_prog_gnu_ld
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5898 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5899 if ${lt_cv_path_NM+:} false
; then :
5900 $as_echo_n "(cached) " >&6
5902 if test -n "$NM"; then
5903 # Let the user override the test.
5906 lt_nm_to_check
=${ac_tool_prefix}nm
5907 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5908 lt_nm_to_check
="$lt_nm_to_check nm"
5910 for lt_tmp_nm
in $lt_nm_to_check; do
5911 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
5912 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5914 test -z "$ac_dir" && ac_dir
=.
5915 tmp_nm
=$ac_dir/$lt_tmp_nm
5916 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
5917 # Check to see if the nm accepts a BSD-compat flag.
5918 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5919 # nm: unknown option "B" ignored
5920 # Tru64's nm complains that /dev/null is an invalid object file
5921 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5923 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
5924 *) lt_bad_file
=/dev
/null
;;
5926 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5927 *$lt_bad_file* |
*'Invalid file or object type'*)
5928 lt_cv_path_NM
="$tmp_nm -B"
5932 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5934 lt_cv_path_NM
="$tmp_nm -p"
5938 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5939 continue # so that we can try to find one that supports BSD flags
5948 : ${lt_cv_path_NM=no}
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5952 $as_echo "$lt_cv_path_NM" >&6; }
5953 if test no
!= "$lt_cv_path_NM"; then
5956 # Didn't find any BSD compatible name lister, look for dumpbin.
5957 if test -n "$DUMPBIN"; then :
5958 # Let the user override the test.
5960 if test -n "$ac_tool_prefix"; then
5961 for ac_prog
in dumpbin
"link -dump"
5963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5964 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5968 $as_echo_n "(cached) " >&6
5970 if test -n "$DUMPBIN"; then
5971 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir
=.
5978 for ac_exec_ext
in '' $ac_executable_extensions; do
5979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 DUMPBIN
=$ac_cv_prog_DUMPBIN
5991 if test -n "$DUMPBIN"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5993 $as_echo "$DUMPBIN" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6000 test -n "$DUMPBIN" && break
6003 if test -z "$DUMPBIN"; then
6004 ac_ct_DUMPBIN
=$DUMPBIN
6005 for ac_prog
in dumpbin
"link -dump"
6007 # Extract the first word of "$ac_prog", so it can be a program name with args.
6008 set dummy
$ac_prog; ac_word
=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6012 $as_echo_n "(cached) " >&6
6014 if test -n "$ac_ct_DUMPBIN"; then
6015 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir
=.
6022 for ac_exec_ext
in '' $ac_executable_extensions; do
6023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6024 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6035 if test -n "$ac_ct_DUMPBIN"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6037 $as_echo "$ac_ct_DUMPBIN" >&6; }
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6044 test -n "$ac_ct_DUMPBIN" && break
6047 if test "x$ac_ct_DUMPBIN" = x
; then
6050 case $cross_compiling:$ac_tool_warned in
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned
=yes ;;
6056 DUMPBIN
=$ac_ct_DUMPBIN
6060 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6062 DUMPBIN
="$DUMPBIN -symbols -headers"
6070 if test : != "$DUMPBIN"; then
6074 test -z "$NM" && NM
=nm
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6082 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6083 if ${lt_cv_nm_interface+:} false
; then :
6084 $as_echo_n "(cached) " >&6
6086 lt_cv_nm_interface
="BSD nm"
6087 echo "int some_variable = 0;" > conftest.
$ac_ext
6088 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6089 (eval "$ac_compile" 2>conftest.err
)
6090 cat conftest.err
>&5
6091 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6092 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6093 cat conftest.err
>&5
6094 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6095 cat conftest.out
>&5
6096 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6097 lt_cv_nm_interface
="MS dumpbin"
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6102 $as_echo "$lt_cv_nm_interface" >&6; }
6104 # find the maximum length of command line arguments
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6106 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6107 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6108 $as_echo_n "(cached) " >&6
6115 # On DJGPP, this test can blow up pretty badly due to problems in libc
6116 # (any single argument exceeding 2000 bytes causes a buffer overrun
6117 # during glob expansion). Even if it were fixed, the result of this
6118 # check would be larger than it should be.
6119 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6123 # Under GNU Hurd, this test is not required because there is
6124 # no limit to the length of command line arguments.
6125 # Libtool will interpret -1 as no limit whatsoever
6126 lt_cv_sys_max_cmd_len
=-1;
6129 cygwin
* | mingw
* | cegcc
*)
6130 # On Win9x/ME, this test blows up -- it succeeds, but takes
6131 # about 5 minutes as the teststring grows exponentially.
6132 # Worse, since 9x/ME are not pre-emptively multitasking,
6133 # you end up with a "frozen" computer, even though with patience
6134 # the test eventually succeeds (with a max line length of 256k).
6135 # Instead, let's just punt: use the minimum linelength reported by
6136 # all of the supported platforms: 8192 (on NT/2K/XP).
6137 lt_cv_sys_max_cmd_len
=8192;
6141 # On MiNT this can take a long time and run out of memory.
6142 lt_cv_sys_max_cmd_len
=8192;
6146 # On AmigaOS with pdksh, this test takes hours, literally.
6147 # So we just punt and use a minimum line length of 8192.
6148 lt_cv_sys_max_cmd_len
=8192;
6151 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
6152 # This has been around since 386BSD, at least. Likely further.
6153 if test -x /sbin
/sysctl
; then
6154 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6155 elif test -x /usr
/sbin
/sysctl
; then
6156 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6158 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6160 # And add a safety zone
6161 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6162 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6166 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6167 lt_cv_sys_max_cmd_len
=196608
6171 # The test takes a long time on OS/2.
6172 lt_cv_sys_max_cmd_len
=8192
6176 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6177 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6178 # nice to cause kernel panics so lets avoid the loop below.
6179 # First set a reasonable default.
6180 lt_cv_sys_max_cmd_len
=16384
6182 if test -x /sbin
/sysconfig
; then
6183 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6184 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6189 lt_cv_sys_max_cmd_len
=102400
6191 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6192 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6193 if test -n "$kargmax"; then
6194 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6196 lt_cv_sys_max_cmd_len
=32768
6200 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6201 if test -n "$lt_cv_sys_max_cmd_len" && \
6202 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6203 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6204 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6206 # Make teststring a little bigger before we do anything with it.
6207 # a 1K string should be a reasonable start.
6208 for i
in 1 2 3 4 5 6 7 8; do
6209 teststring
=$teststring$teststring
6211 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6212 # If test is not a shell built-in, we'll probably end up computing a
6213 # maximum length that is only half of the actual maximum length, but
6215 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
6216 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6217 test 17 != "$i" # 1/2 MB should be enough
6220 teststring
=$teststring$teststring
6222 # Only check the string length outside the loop.
6223 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6225 # Add a significant safety factor because C++ compilers can tack on
6226 # massive amounts of additional arguments before passing them to the
6227 # linker. It appears as though 1/2 is a usable value.
6228 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6235 if test -n "$lt_cv_sys_max_cmd_len"; then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6237 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6240 $as_echo "none" >&6; }
6242 max_cmd_len
=$lt_cv_sys_max_cmd_len
6253 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6263 # test EBCDIC or ASCII
6264 case `echo X|tr X '\101'` in
6265 A
) # ASCII based system
6266 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6267 lt_SP2NL
='tr \040 \012'
6268 lt_NL2SP
='tr \015\012 \040\040'
6270 *) # EBCDIC based system
6271 lt_SP2NL
='tr \100 \n'
6272 lt_NL2SP
='tr \r\n \100\100'
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6285 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6286 if ${lt_cv_to_host_file_cmd+:} false
; then :
6287 $as_echo_n "(cached) " >&6
6292 *-*-mingw* ) # actually msys
6293 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6296 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6298 * ) # otherwise, assume *nix
6299 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6305 *-*-mingw* ) # actually msys
6306 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6309 lt_cv_to_host_file_cmd
=func_convert_file_noop
6311 * ) # otherwise, assume *nix
6312 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6316 * ) # unhandled hosts (and "normal" native builds)
6317 lt_cv_to_host_file_cmd
=func_convert_file_noop
6323 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6325 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6332 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6333 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6334 $as_echo_n "(cached) " >&6
6336 #assume ordinary cross tools, or native build.
6337 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6341 *-*-mingw* ) # actually msys
6342 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6350 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6352 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6359 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6360 if ${lt_cv_ld_reload_flag+:} false
; then :
6361 $as_echo_n "(cached) " >&6
6363 lt_cv_ld_reload_flag
='-r'
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6366 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6367 reload_flag
=$lt_cv_ld_reload_flag
6368 case $reload_flag in
6370 *) reload_flag
=" $reload_flag" ;;
6372 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6374 cygwin
* | mingw
* | pw32
* | cegcc
*)
6375 if test yes != "$GCC"; then
6380 if test yes = "$GCC"; then
6381 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6383 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6396 if test -n "$ac_tool_prefix"; then
6397 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6398 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$OBJDUMP"; then
6405 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir
=.
6412 for ac_exec_ext
in '' $ac_executable_extensions; do
6413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6414 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 OBJDUMP
=$ac_cv_prog_OBJDUMP
6425 if test -n "$OBJDUMP"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6427 $as_echo "$OBJDUMP" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6435 if test -z "$ac_cv_prog_OBJDUMP"; then
6436 ac_ct_OBJDUMP
=$OBJDUMP
6437 # Extract the first word of "objdump", so it can be a program name with args.
6438 set dummy objdump
; ac_word
=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6442 $as_echo_n "(cached) " >&6
6444 if test -n "$ac_ct_OBJDUMP"; then
6445 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir
=.
6452 for ac_exec_ext
in '' $ac_executable_extensions; do
6453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6465 if test -n "$ac_ct_OBJDUMP"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6467 $as_echo "$ac_ct_OBJDUMP" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6473 if test "x$ac_ct_OBJDUMP" = x
; then
6476 case $cross_compiling:$ac_tool_warned in
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6480 ac_tool_warned
=yes ;;
6482 OBJDUMP
=$ac_ct_OBJDUMP
6485 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6488 test -z "$OBJDUMP" && OBJDUMP
=objdump
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6496 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6497 if ${lt_cv_deplibs_check_method+:} false
; then :
6498 $as_echo_n "(cached) " >&6
6500 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6501 lt_cv_file_magic_test_file
=
6502 lt_cv_deplibs_check_method
='unknown'
6503 # Need to set the preceding variable on all platforms that support
6504 # interlibrary dependencies.
6505 # 'none' -- dependencies not supported.
6506 # 'unknown' -- same as none, but documents that we really don't know.
6507 # 'pass_all' -- all dependencies passed with no checks.
6508 # 'test_compile' -- check by making test program.
6509 # 'file_magic [[regex]]' -- check by looking for files in library path
6510 # that responds to the $file_magic_cmd with a given extended regex.
6511 # If you have 'file' or equivalent on your system and you're not sure
6512 # whether 'pass_all' will *always* work, you probably want this one.
6516 lt_cv_deplibs_check_method
=pass_all
6520 lt_cv_deplibs_check_method
=pass_all
6524 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6525 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6526 lt_cv_file_magic_test_file
=/shlib
/libc.so
6530 # func_win32_libid is a shell function defined in ltmain.sh
6531 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6532 lt_cv_file_magic_cmd
='func_win32_libid'
6536 # Base MSYS/MinGW do not provide the 'file' command needed by
6537 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6538 # unless we find 'file', for example because we are cross-compiling.
6539 if ( file / ) >/dev
/null
2>&1; then
6540 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6541 lt_cv_file_magic_cmd
='func_win32_libid'
6543 # Keep this pattern in sync with the one in func_win32_libid.
6544 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6545 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6550 # use the weaker test based on 'objdump'. See mingw*.
6551 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6552 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6555 darwin
* | rhapsody
*)
6556 lt_cv_deplibs_check_method
=pass_all
6559 freebsd
* | dragonfly
*)
6560 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6563 # Not sure whether the presence of OpenBSD here was a mistake.
6564 # Let's accept both of them until this is cleared up.
6565 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6566 lt_cv_file_magic_cmd
=/usr
/bin
/file
6567 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6571 lt_cv_deplibs_check_method
=pass_all
6576 lt_cv_deplibs_check_method
=pass_all
6579 hpux10.20
* | hpux11
*)
6580 lt_cv_file_magic_cmd
=/usr
/bin
/file
6583 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6584 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6587 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]'
6588 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6591 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6592 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6598 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6599 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6602 irix5
* | irix6
* | nonstopux
*)
6604 *-32|
*"-32 ") libmagic
=32-bit;;
6605 *-n32|
*"-n32 ") libmagic
=N32
;;
6606 *-64|
*"-64 ") libmagic
=64-bit;;
6607 *) libmagic
=never-match
;;
6609 lt_cv_deplibs_check_method
=pass_all
6612 # This must be glibc/ELF.
6613 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
6614 lt_cv_deplibs_check_method
=pass_all
6618 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6619 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6621 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6626 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6627 lt_cv_file_magic_cmd
=/usr
/bin
/file
6628 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6632 lt_cv_deplibs_check_method
=pass_all
6636 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6637 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6639 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6643 osf3
* | osf4
* | osf5
*)
6644 lt_cv_deplibs_check_method
=pass_all
6648 lt_cv_deplibs_check_method
=pass_all
6652 lt_cv_deplibs_check_method
=pass_all
6655 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6656 lt_cv_deplibs_check_method
=pass_all
6660 case $host_vendor in
6662 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]'
6663 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6666 lt_cv_deplibs_check_method
=pass_all
6669 lt_cv_file_magic_cmd
='/bin/file'
6670 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6673 lt_cv_file_magic_cmd
='/bin/file'
6674 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6675 lt_cv_file_magic_test_file
=/lib
/libc.so
6678 lt_cv_deplibs_check_method
=pass_all
6681 lt_cv_deplibs_check_method
=pass_all
6687 lt_cv_deplibs_check_method
=pass_all
6690 lt_cv_deplibs_check_method
=pass_all
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6696 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6700 if test "$build" = "$host"; then
6703 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
6706 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6712 file_magic_cmd
=$lt_cv_file_magic_cmd
6713 deplibs_check_method
=$lt_cv_deplibs_check_method
6714 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6737 if test -n "$ac_tool_prefix"; then
6738 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6739 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741 $as_echo_n "checking for $ac_word... " >&6; }
6742 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6743 $as_echo_n "(cached) " >&6
6745 if test -n "$DLLTOOL"; then
6746 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir
=.
6753 for ac_exec_ext
in '' $ac_executable_extensions; do
6754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 DLLTOOL
=$ac_cv_prog_DLLTOOL
6766 if test -n "$DLLTOOL"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6768 $as_echo "$DLLTOOL" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 $as_echo "no" >&6; }
6776 if test -z "$ac_cv_prog_DLLTOOL"; then
6777 ac_ct_DLLTOOL
=$DLLTOOL
6778 # Extract the first word of "dlltool", so it can be a program name with args.
6779 set dummy dlltool
; ac_word
=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6783 $as_echo_n "(cached) " >&6
6785 if test -n "$ac_ct_DLLTOOL"; then
6786 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6792 test -z "$as_dir" && as_dir
=.
6793 for ac_exec_ext
in '' $ac_executable_extensions; do
6794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6806 if test -n "$ac_ct_DLLTOOL"; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6808 $as_echo "$ac_ct_DLLTOOL" >&6; }
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811 $as_echo "no" >&6; }
6814 if test "x$ac_ct_DLLTOOL" = x
; then
6817 case $cross_compiling:$ac_tool_warned in
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6821 ac_tool_warned
=yes ;;
6823 DLLTOOL
=$ac_ct_DLLTOOL
6826 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6829 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6838 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6839 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6840 $as_echo_n "(cached) " >&6
6842 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6845 cygwin
* | mingw
* | pw32
* | cegcc
*)
6846 # two different shell functions defined in ltmain.sh;
6847 # decide which one to use based on capabilities of $DLLTOOL
6848 case `$DLLTOOL --help 2>&1` in
6849 *--identify-strict*)
6850 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6853 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6858 # fallback: assume linklib IS sharedlib
6859 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6865 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6866 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6867 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6875 if test -n "$ac_tool_prefix"; then
6878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6879 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_AR+:} false
; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$AR"; then
6886 ac_cv_prog_AR
="$AR" # Let the user override the test.
6888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir
=.
6893 for ac_exec_ext
in '' $ac_executable_extensions; do
6894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906 if test -n "$AR"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6908 $as_echo "$AR" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6915 test -n "$AR" && break
6918 if test -z "$AR"; then
6922 # Extract the first word of "$ac_prog", so it can be a program name with args.
6923 set dummy
$ac_prog; ac_word
=$2
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6925 $as_echo_n "checking for $ac_word... " >&6; }
6926 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6927 $as_echo_n "(cached) " >&6
6929 if test -n "$ac_ct_AR"; then
6930 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6936 test -z "$as_dir" && as_dir
=.
6937 for ac_exec_ext
in '' $ac_executable_extensions; do
6938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6939 ac_cv_prog_ac_ct_AR
="$ac_prog"
6940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6950 if test -n "$ac_ct_AR"; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6952 $as_echo "$ac_ct_AR" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6955 $as_echo "no" >&6; }
6959 test -n "$ac_ct_AR" && break
6962 if test "x$ac_ct_AR" = x
; then
6965 case $cross_compiling:$ac_tool_warned in
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6969 ac_tool_warned
=yes ;;
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6989 $as_echo_n "checking for archiver @FILE support... " >&6; }
6990 if ${lt_cv_ar_at_file+:} false
; then :
6991 $as_echo_n "(cached) " >&6
6994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h. */
7005 if ac_fn_c_try_compile
"$LINENO"; then :
7006 echo conftest.
$ac_objext > conftest.lst
7007 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7008 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7009 (eval $lt_ar_try) 2>&5
7011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7012 test $ac_status = 0; }
7013 if test 0 -eq "$ac_status"; then
7014 # Ensure the archiver fails upon bogus file names.
7015 rm -f conftest.
$ac_objext libconftest.a
7016 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7017 (eval $lt_ar_try) 2>&5
7019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7020 test $ac_status = 0; }
7021 if test 0 -ne "$ac_status"; then
7025 rm -f conftest.
* libconftest.a
7028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7032 $as_echo "$lt_cv_ar_at_file" >&6; }
7034 if test no
= "$lt_cv_ar_at_file"; then
7037 archiver_list_spec
=$lt_cv_ar_at_file
7046 if test -n "$ac_tool_prefix"; then
7047 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7048 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050 $as_echo_n "checking for $ac_word... " >&6; }
7051 if ${ac_cv_prog_STRIP+:} false
; then :
7052 $as_echo_n "(cached) " >&6
7054 if test -n "$STRIP"; then
7055 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7061 test -z "$as_dir" && as_dir
=.
7062 for ac_exec_ext
in '' $ac_executable_extensions; do
7063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7064 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7074 STRIP
=$ac_cv_prog_STRIP
7075 if test -n "$STRIP"; then
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7077 $as_echo "$STRIP" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 $as_echo "no" >&6; }
7085 if test -z "$ac_cv_prog_STRIP"; then
7087 # Extract the first word of "strip", so it can be a program name with args.
7088 set dummy strip
; ac_word
=$2
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 $as_echo_n "checking for $ac_word... " >&6; }
7091 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7092 $as_echo_n "(cached) " >&6
7094 if test -n "$ac_ct_STRIP"; then
7095 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 test -z "$as_dir" && as_dir
=.
7102 for ac_exec_ext
in '' $ac_executable_extensions; do
7103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7104 ac_cv_prog_ac_ct_STRIP
="strip"
7105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7115 if test -n "$ac_ct_STRIP"; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7117 $as_echo "$ac_ct_STRIP" >&6; }
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 $as_echo "no" >&6; }
7123 if test "x$ac_ct_STRIP" = x
; then
7126 case $cross_compiling:$ac_tool_warned in
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7130 ac_tool_warned
=yes ;;
7135 STRIP
="$ac_cv_prog_STRIP"
7138 test -z "$STRIP" && STRIP
=:
7145 if test -n "$ac_tool_prefix"; then
7146 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7147 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149 $as_echo_n "checking for $ac_word... " >&6; }
7150 if ${ac_cv_prog_RANLIB+:} false
; then :
7151 $as_echo_n "(cached) " >&6
7153 if test -n "$RANLIB"; then
7154 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7160 test -z "$as_dir" && as_dir
=.
7161 for ac_exec_ext
in '' $ac_executable_extensions; do
7162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7163 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7173 RANLIB
=$ac_cv_prog_RANLIB
7174 if test -n "$RANLIB"; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7176 $as_echo "$RANLIB" >&6; }
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179 $as_echo "no" >&6; }
7184 if test -z "$ac_cv_prog_RANLIB"; then
7185 ac_ct_RANLIB
=$RANLIB
7186 # Extract the first word of "ranlib", so it can be a program name with args.
7187 set dummy ranlib
; ac_word
=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 $as_echo_n "checking for $ac_word... " >&6; }
7190 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7191 $as_echo_n "(cached) " >&6
7193 if test -n "$ac_ct_RANLIB"; then
7194 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir
=.
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7214 if test -n "$ac_ct_RANLIB"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7216 $as_echo "$ac_ct_RANLIB" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7222 if test "x$ac_ct_RANLIB" = x
; then
7225 case $cross_compiling:$ac_tool_warned in
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7229 ac_tool_warned
=yes ;;
7231 RANLIB
=$ac_ct_RANLIB
7234 RANLIB
="$ac_cv_prog_RANLIB"
7237 test -z "$RANLIB" && RANLIB
=:
7244 # Determine commands to create old-style static archives.
7245 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7246 old_postinstall_cmds
='chmod 644 $oldlib'
7247 old_postuninstall_cmds
=
7249 if test -n "$RANLIB"; then
7252 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7255 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7258 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7263 lock_old_archive_extraction
=yes ;;
7265 lock_old_archive_extraction
=no
;;
7306 # If no C compiler was specified, use CC.
7309 # If no C compiler flags were specified, use CFLAGS.
7310 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7312 # Allow CC to be a program name with arguments.
7316 # Check for command to grab the raw symbol name followed by C symbol from nm.
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7318 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7319 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7320 $as_echo_n "(cached) " >&6
7323 # These are sane defaults that work on at least a few old systems.
7324 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7326 # Character class describing NM global symbol codes.
7327 symcode
='[BCDEGRST]'
7329 # Regexp to match symbols that can be accessed directly from C.
7330 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7332 # Define system-specific variables.
7337 cygwin
* | mingw
* | pw32
* | cegcc
*)
7338 symcode
='[ABCDGISTW]'
7341 if test ia64
= "$host_cpu"; then
7342 symcode
='[ABCDEGRST]'
7346 symcode
='[BCDEGRST]'
7349 symcode
='[BCDEGQRST]'
7360 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7368 # If we're using GNU nm, then use its standard symbol codes.
7369 case `$NM -V 2>&1` in
7370 *GNU
* |
*'with BFD'*)
7371 symcode
='[ABCDGIRSTW]' ;;
7374 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7375 # Gets list of data symbols to import.
7376 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7377 # Adjust the below global symbol transforms to fixup imported variables.
7378 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7379 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7380 lt_c_name_lib_hook
="\
7381 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7382 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7384 # Disable hooks by default.
7385 lt_cv_sys_global_symbol_to_import
=
7391 # Transform an extracted symbol line into a proper C declaration.
7392 # Some systems (esp. on ia64) link data and code symbols differently,
7393 # so use this general approach.
7394 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
7396 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7397 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7399 # Transform an extracted symbol line into symbol name and symbol address
7400 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
7402 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7403 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7405 # Transform an extracted symbol line into symbol name with lib prefix and
7407 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
7408 $lt_c_name_lib_hook\
7409 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7410 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7411 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7413 # Handle CRLF in mingw tool chain
7417 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7421 # Try without a prefix underscore, then with it.
7422 for ac_symprfx
in "" "_"; do
7424 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7425 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7427 # Write the raw and C identifiers.
7428 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7429 # Fake it for dumpbin and say T for any non-static function,
7430 # D for any global variable and I for any imported variable.
7431 # Also find C++ and __fastcall symbols from MSVC++,
7432 # which start with @ or ?.
7433 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7434 " {last_section=section; section=\$ 3};"\
7435 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7436 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7437 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7438 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7439 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7440 " \$ 0!~/External *\|/{next};"\
7441 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7442 " {if(hide[section]) next};"\
7443 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7444 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7445 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7446 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7447 " ' prfx=^$ac_symprfx"
7449 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7451 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7453 # Check to see that the pipe works correctly.
7457 cat > conftest.
$ac_ext <<_LT_EOF
7462 void nm_test_func(void);
7463 void nm_test_func(void){}
7467 int main(){nm_test_var='a';nm_test_func();return(0);}
7470 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7471 (eval $ac_compile) 2>&5
7473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7474 test $ac_status = 0; }; then
7475 # Now try to grab the symbols.
7477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7478 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7481 test $ac_status = 0; } && test -s "$nlist"; then
7482 # Try sorting and uniquifying the output.
7483 if sort "$nlist" |
uniq > "$nlist"T
; then
7484 mv -f "$nlist"T
"$nlist"
7489 # Make sure that we snagged all the symbols we need.
7490 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7491 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7492 cat <<_LT_EOF > conftest.$ac_ext
7493 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7494 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7495 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7496 relocations are performed -- see ld's documentation on pseudo-relocs. */
7497 # define LT_DLSYM_CONST
7498 #elif defined __osf__
7499 /* This system does not cope well with relocations in const data. */
7500 # define LT_DLSYM_CONST
7502 # define LT_DLSYM_CONST const
7510 # Now generate the symbol file.
7511 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7513 cat <<_LT_EOF >> conftest.$ac_ext
7515 /* The mapping between symbol names and symbols. */
7516 LT_DLSYM_CONST struct {
7520 lt__PROGRAM__LTX_preloaded_symbols[] =
7522 { "@PROGRAM@", (void *) 0 },
7524 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7525 cat <<\_LT_EOF
>> conftest.
$ac_ext
7529 /* This works around a problem
in FreeBSD linker
*/
7530 #ifdef FREEBSD_WORKAROUND
7531 static const void
*lt_preloaded_setup
() {
7532 return lt__PROGRAM__LTX_preloaded_symbols
;
7540 # Now try linking the two files.
7541 mv conftest.
$ac_objext conftstm.
$ac_objext
7542 lt_globsym_save_LIBS
=$LIBS
7543 lt_globsym_save_CFLAGS
=$CFLAGS
7544 LIBS
=conftstm.
$ac_objext
7545 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7547 (eval $ac_link) 2>&5
7549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7550 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
7553 LIBS
=$lt_globsym_save_LIBS
7554 CFLAGS
=$lt_globsym_save_CFLAGS
7556 echo "cannot find nm_test_func in $nlist" >&5
7559 echo "cannot find nm_test_var in $nlist" >&5
7562 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7565 echo "$progname: failed program was:" >&5
7566 cat conftest.
$ac_ext >&5
7568 rm -rf conftest
* conftst
*
7570 # Do not use the global_symbol_pipe unless it works.
7571 if test yes = "$pipe_works"; then
7574 lt_cv_sys_global_symbol_pipe
=
7580 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7581 lt_cv_sys_global_symbol_to_cdecl
=
7583 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7585 $as_echo "failed" >&6; }
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7588 $as_echo "ok" >&6; }
7591 # Response file support.
7592 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7593 nm_file_list_spec
='@'
7594 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7595 nm_file_list_spec
='@'
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7635 $as_echo_n "checking for sysroot... " >&6; }
7637 # Check whether --with-sysroot was given.
7638 if test "${with_sysroot+set}" = set; then :
7639 withval
=$with_sysroot;
7646 case $with_sysroot in #(
7648 if test yes = "$GCC"; then
7649 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7653 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7659 $as_echo "$with_sysroot" >&6; }
7660 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7665 $as_echo "${lt_sysroot:-no}" >&6; }
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7672 $as_echo_n "checking for a working dd... " >&6; }
7673 if ${ac_cv_path_lt_DD+:} false
; then :
7674 $as_echo_n "(cached) " >&6
7676 printf 0123456789abcdef0123456789abcdef
>conftest.i
7677 cat conftest.i conftest.i
>conftest2.i
7679 if test -z "$lt_DD"; then
7680 ac_path_lt_DD_found
=false
7681 # Loop through the user's path and test for each of PROGNAME-LIST
7682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7686 test -z "$as_dir" && as_dir
=.
7687 for ac_prog
in dd; do
7688 for ac_exec_ext
in '' $ac_executable_extensions; do
7689 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
7690 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
7691 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7692 cmp -s conftest.i conftest.out \
7693 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
7695 $ac_path_lt_DD_found && break 3
7700 if test -z "$ac_cv_path_lt_DD"; then
7704 ac_cv_path_lt_DD
=$lt_DD
7707 rm -f conftest.i conftest2.i conftest.out
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7710 $as_echo "$ac_cv_path_lt_DD" >&6; }
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7714 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7715 if ${lt_cv_truncate_bin+:} false
; then :
7716 $as_echo_n "(cached) " >&6
7718 printf 0123456789abcdef0123456789abcdef
>conftest.i
7719 cat conftest.i conftest.i
>conftest2.i
7721 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7722 cmp -s conftest.i conftest.out \
7723 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
7725 rm -f conftest.i conftest2.i conftest.out
7726 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7729 $as_echo "$lt_cv_truncate_bin" >&6; }
7737 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7740 for cc_temp
in $
*""; do
7742 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7743 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7748 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7751 # Check whether --enable-libtool-lock was given.
7752 if test "${enable_libtool_lock+set}" = set; then :
7753 enableval
=$enable_libtool_lock;
7756 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
7758 # Some flags need to be propagated to the compiler or linker for good
7762 # Find out what ABI is being produced by ac_compile, and set mode
7763 # options accordingly.
7764 echo 'int i;' > conftest.
$ac_ext
7765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7766 (eval $ac_compile) 2>&5
7768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7769 test $ac_status = 0; }; then
7770 case `/usr/bin/file conftest.$ac_objext` in
7782 # Find out what ABI is being produced by ac_compile, and set linker
7783 # options accordingly.
7784 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7786 (eval $ac_compile) 2>&5
7788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7789 test $ac_status = 0; }; then
7790 if test yes = "$lt_cv_prog_gnu_ld"; then
7791 case `/usr/bin/file conftest.$ac_objext` in
7793 LD
="${LD-ld} -melf32bsmip"
7796 LD
="${LD-ld} -melf32bmipn32"
7799 LD
="${LD-ld} -melf64bmip"
7803 case `/usr/bin/file conftest.$ac_objext` in
7820 # Find out what ABI is being produced by ac_compile, and set linker
7821 # options accordingly.
7822 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7824 (eval $ac_compile) 2>&5
7826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7827 test $ac_status = 0; }; then
7829 case `/usr/bin/file conftest.$ac_objext` in
7837 case `/usr/bin/file conftest.$ac_objext` in
7839 emul
="${emul}btsmip"
7842 emul
="${emul}ltsmip"
7845 case `/usr/bin/file conftest.$ac_objext` in
7850 LD
="${LD-ld} -m $emul"
7855 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7856 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7857 # Find out what ABI is being produced by ac_compile, and set linker
7858 # options accordingly. Note that the listed cases only cover the
7859 # situations where additional linker options are needed (such as when
7860 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7861 # vice versa); the common cases where no linker options are needed do
7862 # not appear in the list.
7863 echo 'int i;' > conftest.
$ac_ext
7864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7865 (eval $ac_compile) 2>&5
7867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7868 test $ac_status = 0; }; then
7869 case `/usr/bin/file conftest.o` in
7872 x86_64-
*kfreebsd
*-gnu)
7873 LD
="${LD-ld} -m elf_i386_fbsd"
7876 case `/usr/bin/file conftest.o` in
7878 LD
="${LD-ld} -m elf32_x86_64"
7881 LD
="${LD-ld} -m elf_i386"
7885 powerpc64le-
*linux
*)
7886 LD
="${LD-ld} -m elf32lppclinux"
7889 LD
="${LD-ld} -m elf32ppclinux"
7892 LD
="${LD-ld} -m elf_s390"
7895 LD
="${LD-ld} -m elf32_sparc"
7901 x86_64-
*kfreebsd
*-gnu)
7902 LD
="${LD-ld} -m elf_x86_64_fbsd"
7905 LD
="${LD-ld} -m elf_x86_64"
7908 LD
="${LD-ld} -m elf64lppc"
7911 LD
="${LD-ld} -m elf64ppc"
7913 s390
*-*linux
*|s390
*-*tpf
*)
7914 LD
="${LD-ld} -m elf64_s390"
7917 LD
="${LD-ld} -m elf64_sparc"
7927 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7929 CFLAGS
="$CFLAGS -belf"
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7931 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7932 if ${lt_cv_cc_needs_belf+:} false
; then :
7933 $as_echo_n "(cached) " >&6
7936 ac_cpp
='$CPP $CPPFLAGS'
7937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7952 if ac_fn_c_try_link
"$LINENO"; then :
7953 lt_cv_cc_needs_belf
=yes
7955 lt_cv_cc_needs_belf
=no
7957 rm -f core conftest.err conftest.
$ac_objext \
7958 conftest
$ac_exeext conftest.
$ac_ext
7960 ac_cpp
='$CPP $CPPFLAGS'
7961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7967 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7968 if test yes != "$lt_cv_cc_needs_belf"; then
7969 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7974 # Find out what ABI is being produced by ac_compile, and set linker
7975 # options accordingly.
7976 echo 'int i;' > conftest.
$ac_ext
7977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7978 (eval $ac_compile) 2>&5
7980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7981 test $ac_status = 0; }; then
7982 case `/usr/bin/file conftest.o` in
7984 case $lt_cv_prog_gnu_ld in
7987 i?
86-*-solaris*|x86_64-
*-solaris*)
7988 LD
="${LD-ld} -m elf_x86_64"
7991 LD
="${LD-ld} -m elf64_sparc"
7994 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7995 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
8000 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8012 need_locks
=$enable_libtool_lock
8014 if test -n "$ac_tool_prefix"; then
8015 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8016 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
8020 $as_echo_n "(cached) " >&6
8022 if test -n "$MANIFEST_TOOL"; then
8023 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir
=.
8030 for ac_exec_ext
in '' $ac_executable_extensions; do
8031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8043 if test -n "$MANIFEST_TOOL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8045 $as_echo "$MANIFEST_TOOL" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8053 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8054 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8055 # Extract the first word of "mt", so it can be a program name with args.
8056 set dummy mt
; ac_word
=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8060 $as_echo_n "(cached) " >&6
8062 if test -n "$ac_ct_MANIFEST_TOOL"; then
8063 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8069 test -z "$as_dir" && as_dir
=.
8070 for ac_exec_ext
in '' $ac_executable_extensions; do
8071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8072 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8083 if test -n "$ac_ct_MANIFEST_TOOL"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8085 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8091 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8094 case $cross_compiling:$ac_tool_warned in
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8098 ac_tool_warned
=yes ;;
8100 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8103 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8106 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8108 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8109 if ${lt_cv_path_mainfest_tool+:} false
; then :
8110 $as_echo_n "(cached) " >&6
8112 lt_cv_path_mainfest_tool
=no
8113 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8114 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8115 cat conftest.err
>&5
8116 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8117 lt_cv_path_mainfest_tool
=yes
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8122 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8123 if test yes != "$lt_cv_path_mainfest_tool"; then
8133 rhapsody
* | darwin
*)
8134 if test -n "$ac_tool_prefix"; then
8135 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8136 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8138 $as_echo_n "checking for $ac_word... " >&6; }
8139 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8140 $as_echo_n "(cached) " >&6
8142 if test -n "$DSYMUTIL"; then
8143 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8149 test -z "$as_dir" && as_dir
=.
8150 for ac_exec_ext
in '' $ac_executable_extensions; do
8151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8152 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8162 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8163 if test -n "$DSYMUTIL"; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8165 $as_echo "$DSYMUTIL" >&6; }
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8173 if test -z "$ac_cv_prog_DSYMUTIL"; then
8174 ac_ct_DSYMUTIL
=$DSYMUTIL
8175 # Extract the first word of "dsymutil", so it can be a program name with args.
8176 set dummy dsymutil
; ac_word
=$2
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8178 $as_echo_n "checking for $ac_word... " >&6; }
8179 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8180 $as_echo_n "(cached) " >&6
8182 if test -n "$ac_ct_DSYMUTIL"; then
8183 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8189 test -z "$as_dir" && as_dir
=.
8190 for ac_exec_ext
in '' $ac_executable_extensions; do
8191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8192 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8202 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8203 if test -n "$ac_ct_DSYMUTIL"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8205 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208 $as_echo "no" >&6; }
8211 if test "x$ac_ct_DSYMUTIL" = x
; then
8214 case $cross_compiling:$ac_tool_warned in
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8218 ac_tool_warned
=yes ;;
8220 DSYMUTIL
=$ac_ct_DSYMUTIL
8223 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8226 if test -n "$ac_tool_prefix"; then
8227 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8228 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8230 $as_echo_n "checking for $ac_word... " >&6; }
8231 if ${ac_cv_prog_NMEDIT+:} false
; then :
8232 $as_echo_n "(cached) " >&6
8234 if test -n "$NMEDIT"; then
8235 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8241 test -z "$as_dir" && as_dir
=.
8242 for ac_exec_ext
in '' $ac_executable_extensions; do
8243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8244 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8254 NMEDIT
=$ac_cv_prog_NMEDIT
8255 if test -n "$NMEDIT"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8257 $as_echo "$NMEDIT" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8265 if test -z "$ac_cv_prog_NMEDIT"; then
8266 ac_ct_NMEDIT
=$NMEDIT
8267 # Extract the first word of "nmedit", so it can be a program name with args.
8268 set dummy nmedit
; ac_word
=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8270 $as_echo_n "checking for $ac_word... " >&6; }
8271 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8272 $as_echo_n "(cached) " >&6
8274 if test -n "$ac_ct_NMEDIT"; then
8275 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8281 test -z "$as_dir" && as_dir
=.
8282 for ac_exec_ext
in '' $ac_executable_extensions; do
8283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8284 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8294 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8295 if test -n "$ac_ct_NMEDIT"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8297 $as_echo "$ac_ct_NMEDIT" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8300 $as_echo "no" >&6; }
8303 if test "x$ac_ct_NMEDIT" = x
; then
8306 case $cross_compiling:$ac_tool_warned in
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8310 ac_tool_warned
=yes ;;
8312 NMEDIT
=$ac_ct_NMEDIT
8315 NMEDIT
="$ac_cv_prog_NMEDIT"
8318 if test -n "$ac_tool_prefix"; then
8319 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8320 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8322 $as_echo_n "checking for $ac_word... " >&6; }
8323 if ${ac_cv_prog_LIPO+:} false
; then :
8324 $as_echo_n "(cached) " >&6
8326 if test -n "$LIPO"; then
8327 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8333 test -z "$as_dir" && as_dir
=.
8334 for ac_exec_ext
in '' $ac_executable_extensions; do
8335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8336 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8346 LIPO
=$ac_cv_prog_LIPO
8347 if test -n "$LIPO"; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8349 $as_echo "$LIPO" >&6; }
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8352 $as_echo "no" >&6; }
8357 if test -z "$ac_cv_prog_LIPO"; then
8359 # Extract the first word of "lipo", so it can be a program name with args.
8360 set dummy lipo
; ac_word
=$2
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8362 $as_echo_n "checking for $ac_word... " >&6; }
8363 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8364 $as_echo_n "(cached) " >&6
8366 if test -n "$ac_ct_LIPO"; then
8367 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8373 test -z "$as_dir" && as_dir
=.
8374 for ac_exec_ext
in '' $ac_executable_extensions; do
8375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8376 ac_cv_prog_ac_ct_LIPO
="lipo"
8377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8386 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8387 if test -n "$ac_ct_LIPO"; then
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8389 $as_echo "$ac_ct_LIPO" >&6; }
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392 $as_echo "no" >&6; }
8395 if test "x$ac_ct_LIPO" = x
; then
8398 case $cross_compiling:$ac_tool_warned in
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8402 ac_tool_warned
=yes ;;
8407 LIPO
="$ac_cv_prog_LIPO"
8410 if test -n "$ac_tool_prefix"; then
8411 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8412 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8414 $as_echo_n "checking for $ac_word... " >&6; }
8415 if ${ac_cv_prog_OTOOL+:} false
; then :
8416 $as_echo_n "(cached) " >&6
8418 if test -n "$OTOOL"; then
8419 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8425 test -z "$as_dir" && as_dir
=.
8426 for ac_exec_ext
in '' $ac_executable_extensions; do
8427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8428 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8438 OTOOL
=$ac_cv_prog_OTOOL
8439 if test -n "$OTOOL"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8441 $as_echo "$OTOOL" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8449 if test -z "$ac_cv_prog_OTOOL"; then
8451 # Extract the first word of "otool", so it can be a program name with args.
8452 set dummy otool
; ac_word
=$2
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8454 $as_echo_n "checking for $ac_word... " >&6; }
8455 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8456 $as_echo_n "(cached) " >&6
8458 if test -n "$ac_ct_OTOOL"; then
8459 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8465 test -z "$as_dir" && as_dir
=.
8466 for ac_exec_ext
in '' $ac_executable_extensions; do
8467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8468 ac_cv_prog_ac_ct_OTOOL
="otool"
8469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8478 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8479 if test -n "$ac_ct_OTOOL"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8481 $as_echo "$ac_ct_OTOOL" >&6; }
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8484 $as_echo "no" >&6; }
8487 if test "x$ac_ct_OTOOL" = x
; then
8490 case $cross_compiling:$ac_tool_warned in
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8494 ac_tool_warned
=yes ;;
8499 OTOOL
="$ac_cv_prog_OTOOL"
8502 if test -n "$ac_tool_prefix"; then
8503 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8504 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8506 $as_echo_n "checking for $ac_word... " >&6; }
8507 if ${ac_cv_prog_OTOOL64+:} false
; then :
8508 $as_echo_n "(cached) " >&6
8510 if test -n "$OTOOL64"; then
8511 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8517 test -z "$as_dir" && as_dir
=.
8518 for ac_exec_ext
in '' $ac_executable_extensions; do
8519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8520 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8530 OTOOL64
=$ac_cv_prog_OTOOL64
8531 if test -n "$OTOOL64"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8533 $as_echo "$OTOOL64" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8541 if test -z "$ac_cv_prog_OTOOL64"; then
8542 ac_ct_OTOOL64
=$OTOOL64
8543 # Extract the first word of "otool64", so it can be a program name with args.
8544 set dummy otool64
; ac_word
=$2
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8546 $as_echo_n "checking for $ac_word... " >&6; }
8547 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8548 $as_echo_n "(cached) " >&6
8550 if test -n "$ac_ct_OTOOL64"; then
8551 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8557 test -z "$as_dir" && as_dir
=.
8558 for ac_exec_ext
in '' $ac_executable_extensions; do
8559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8560 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8570 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8571 if test -n "$ac_ct_OTOOL64"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8573 $as_echo "$ac_ct_OTOOL64" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8576 $as_echo "no" >&6; }
8579 if test "x$ac_ct_OTOOL64" = x
; then
8582 case $cross_compiling:$ac_tool_warned in
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8586 ac_tool_warned
=yes ;;
8588 OTOOL64
=$ac_ct_OTOOL64
8591 OTOOL64
="$ac_cv_prog_OTOOL64"
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8621 $as_echo_n "checking for -single_module linker flag... " >&6; }
8622 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8623 $as_echo_n "(cached) " >&6
8625 lt_cv_apple_cc_single_mod
=no
8626 if test -z "$LT_MULTI_MODULE"; then
8627 # By default we will add the -single_module flag. You can override
8628 # by either setting the environment variable LT_MULTI_MODULE
8629 # non-empty at configure time, or by adding -multi_module to the
8631 rm -rf libconftest.dylib
*
8632 echo "int foo(void){return 1;}" > conftest.c
8633 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8634 -dynamiclib -Wl,-single_module conftest.c" >&5
8635 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8636 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8638 # If there is a non-empty error log, and "single_module"
8639 # appears in it, assume the flag caused a linker warning
8640 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8641 cat conftest.err
>&5
8642 # Otherwise, if the output was created with a 0 exit code from
8643 # the compiler, it worked.
8644 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
8645 lt_cv_apple_cc_single_mod
=yes
8647 cat conftest.err
>&5
8649 rm -rf libconftest.dylib
*
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8654 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8657 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8658 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8659 $as_echo_n "(cached) " >&6
8661 lt_cv_ld_exported_symbols_list
=no
8662 save_LDFLAGS
=$LDFLAGS
8663 echo "_main" > conftest.sym
8664 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8676 if ac_fn_c_try_link
"$LINENO"; then :
8677 lt_cv_ld_exported_symbols_list
=yes
8679 lt_cv_ld_exported_symbols_list
=no
8681 rm -f core conftest.err conftest.
$ac_objext \
8682 conftest
$ac_exeext conftest.
$ac_ext
8683 LDFLAGS
=$save_LDFLAGS
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8687 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8690 $as_echo_n "checking for -force_load linker flag... " >&6; }
8691 if ${lt_cv_ld_force_load+:} false
; then :
8692 $as_echo_n "(cached) " >&6
8694 lt_cv_ld_force_load
=no
8695 cat > conftest.c
<< _LT_EOF
8696 int forced_loaded() { return 2;}
8698 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8699 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8700 echo "$AR cru libconftest.a conftest.o" >&5
8701 $AR cru libconftest.a conftest.o
2>&5
8702 echo "$RANLIB libconftest.a" >&5
8703 $RANLIB libconftest.a
2>&5
8704 cat > conftest.c
<< _LT_EOF
8705 int main() { return 0;}
8707 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8708 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8710 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8711 cat conftest.err
>&5
8712 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
8713 lt_cv_ld_force_load
=yes
8715 cat conftest.err
>&5
8717 rm -f conftest.err libconftest.a conftest conftest.c
8718 rm -rf conftest.dSYM
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8722 $as_echo "$lt_cv_ld_force_load" >&6; }
8724 rhapsody
* | darwin1.
[012])
8725 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
8727 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8728 darwin
*) # darwin 5.x on
8729 # if running on 10.5 or later, the deployment target defaults
8730 # to the OS version, if on x86, and 10.4, the deployment
8731 # target defaults to 10.4. Don't you love it?
8732 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8733 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8734 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
8736 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8738 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
8742 if test yes = "$lt_cv_apple_cc_single_mod"; then
8743 _lt_dar_single_mod
='$single_module'
8745 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8746 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8748 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8750 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
8751 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8758 # func_munge_path_list VARIABLE PATH
8759 # -----------------------------------
8760 # VARIABLE is name of variable containing _space_ separated list of
8761 # directories to be munged by the contents of PATH, which is string
8764 # string "DIR[ DIR]" will be prepended to VARIABLE
8766 # string "DIR[ DIR]" will be appended to VARIABLE
8767 # "DIRP[:DIRP]::[DIRA:]DIRA"
8768 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8769 # "DIRA[ DIRA]" will be appended to VARIABLE
8771 # VARIABLE will be replaced by "DIR[ DIR]"
8772 func_munge_path_list
()
8778 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
8781 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8784 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8785 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
8788 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8794 ac_cpp
='$CPP $CPPFLAGS'
8795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8799 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8800 # On Suns, sometimes $CPP names a directory.
8801 if test -n "$CPP" && test -d "$CPP"; then
8804 if test -z "$CPP"; then
8805 if ${ac_cv_prog_CPP+:} false
; then :
8806 $as_echo_n "(cached) " >&6
8808 # Double quotes because CPP needs to be expanded
8809 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8812 for ac_c_preproc_warn_flag
in '' yes
8814 # Use a header file that comes with gcc, so configuring glibc
8815 # with a fresh cross-compiler works.
8816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8817 # <limits.h> exists even on freestanding compilers.
8818 # On the NeXT, cc -E runs the code through the compiler's parser,
8819 # not just through cpp. "Syntax error" is here to catch this case.
8820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8823 # include <limits.h>
8825 # include <assert.h>
8829 if ac_fn_c_try_cpp
"$LINENO"; then :
8832 # Broken: fails on valid input.
8835 rm -f conftest.err conftest.i conftest.
$ac_ext
8837 # OK, works on sane cases. Now check whether nonexistent headers
8838 # can be detected and how.
8839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8841 #include <ac_nonexistent.h>
8843 if ac_fn_c_try_cpp
"$LINENO"; then :
8844 # Broken: success on invalid input.
8847 # Passes both tests.
8851 rm -f conftest.err conftest.i conftest.
$ac_ext
8854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8855 rm -f conftest.i conftest.err conftest.
$ac_ext
8856 if $ac_preproc_ok; then :
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8869 $as_echo "$CPP" >&6; }
8871 for ac_c_preproc_warn_flag
in '' yes
8873 # Use a header file that comes with gcc, so configuring glibc
8874 # with a fresh cross-compiler works.
8875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8876 # <limits.h> exists even on freestanding compilers.
8877 # On the NeXT, cc -E runs the code through the compiler's parser,
8878 # not just through cpp. "Syntax error" is here to catch this case.
8879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8882 # include <limits.h>
8884 # include <assert.h>
8888 if ac_fn_c_try_cpp
"$LINENO"; then :
8891 # Broken: fails on valid input.
8894 rm -f conftest.err conftest.i conftest.
$ac_ext
8896 # OK, works on sane cases. Now check whether nonexistent headers
8897 # can be detected and how.
8898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8900 #include <ac_nonexistent.h>
8902 if ac_fn_c_try_cpp
"$LINENO"; then :
8903 # Broken: success on invalid input.
8906 # Passes both tests.
8910 rm -f conftest.err conftest.i conftest.
$ac_ext
8913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8914 rm -f conftest.i conftest.err conftest.
$ac_ext
8915 if $ac_preproc_ok; then :
8918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8920 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8921 See \`config.log' for more details" "$LINENO" 5; }
8925 ac_cpp
='$CPP $CPPFLAGS'
8926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8932 $as_echo_n "checking for ANSI C header files... " >&6; }
8933 if ${ac_cv_header_stdc+:} false
; then :
8934 $as_echo_n "(cached) " >&6
8936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8951 if ac_fn_c_try_compile
"$LINENO"; then :
8952 ac_cv_header_stdc
=yes
8954 ac_cv_header_stdc
=no
8956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8958 if test $ac_cv_header_stdc = yes; then
8959 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8961 /* end confdefs.h. */
8965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8966 $EGREP "memchr" >/dev
/null
2>&1; then :
8969 ac_cv_header_stdc
=no
8975 if test $ac_cv_header_stdc = yes; then
8976 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8978 /* end confdefs.h. */
8982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8983 $EGREP "free" >/dev
/null
2>&1; then :
8986 ac_cv_header_stdc
=no
8992 if test $ac_cv_header_stdc = yes; then
8993 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8994 if test "$cross_compiling" = yes; then :
8997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */
9001 #if ((' ' & 0x0FF) == 0x020)
9002 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9003 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9005 # define ISLOWER(c) \
9006 (('a' <= (c) && (c) <= 'i') \
9007 || ('j' <= (c) && (c) <= 'r') \
9008 || ('s' <= (c) && (c) <= 'z'))
9009 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9012 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9017 for (i = 0; i < 256; i++)
9018 if (XOR (islower (i), ISLOWER (i))
9019 || toupper (i) != TOUPPER (i))
9024 if ac_fn_c_try_run
"$LINENO"; then :
9027 ac_cv_header_stdc
=no
9029 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9030 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9036 $as_echo "$ac_cv_header_stdc" >&6; }
9037 if test $ac_cv_header_stdc = yes; then
9039 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9043 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9044 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9045 inttypes.h stdint.h unistd.h
9047 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9048 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9050 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9051 cat >>confdefs.h
<<_ACEOF
9052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9060 for ac_header
in dlfcn.h
9062 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9064 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9065 cat >>confdefs.h
<<_ACEOF
9066 #define HAVE_DLFCN_H 1
9078 enable_win32_dll
=yes
9081 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
9082 if test -n "$ac_tool_prefix"; then
9083 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9084 set dummy
${ac_tool_prefix}as
; ac_word
=$2
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9086 $as_echo_n "checking for $ac_word... " >&6; }
9087 if ${ac_cv_prog_AS+:} false
; then :
9088 $as_echo_n "(cached) " >&6
9090 if test -n "$AS"; then
9091 ac_cv_prog_AS
="$AS" # Let the user override the test.
9093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9097 test -z "$as_dir" && as_dir
=.
9098 for ac_exec_ext
in '' $ac_executable_extensions; do
9099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9100 ac_cv_prog_AS
="${ac_tool_prefix}as"
9101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9111 if test -n "$AS"; then
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9113 $as_echo "$AS" >&6; }
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9116 $as_echo "no" >&6; }
9121 if test -z "$ac_cv_prog_AS"; then
9123 # Extract the first word of "as", so it can be a program name with args.
9124 set dummy as
; ac_word
=$2
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9126 $as_echo_n "checking for $ac_word... " >&6; }
9127 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
9128 $as_echo_n "(cached) " >&6
9130 if test -n "$ac_ct_AS"; then
9131 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
9133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9137 test -z "$as_dir" && as_dir
=.
9138 for ac_exec_ext
in '' $ac_executable_extensions; do
9139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9140 ac_cv_prog_ac_ct_AS
="as"
9141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9150 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
9151 if test -n "$ac_ct_AS"; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9153 $as_echo "$ac_ct_AS" >&6; }
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 $as_echo "no" >&6; }
9159 if test "x$ac_ct_AS" = x
; then
9162 case $cross_compiling:$ac_tool_warned in
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9166 ac_tool_warned
=yes ;;
9174 if test -n "$ac_tool_prefix"; then
9175 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9176 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9178 $as_echo_n "checking for $ac_word... " >&6; }
9179 if ${ac_cv_prog_DLLTOOL+:} false
; then :
9180 $as_echo_n "(cached) " >&6
9182 if test -n "$DLLTOOL"; then
9183 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9189 test -z "$as_dir" && as_dir
=.
9190 for ac_exec_ext
in '' $ac_executable_extensions; do
9191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9192 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9202 DLLTOOL
=$ac_cv_prog_DLLTOOL
9203 if test -n "$DLLTOOL"; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9205 $as_echo "$DLLTOOL" >&6; }
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9208 $as_echo "no" >&6; }
9213 if test -z "$ac_cv_prog_DLLTOOL"; then
9214 ac_ct_DLLTOOL
=$DLLTOOL
9215 # Extract the first word of "dlltool", so it can be a program name with args.
9216 set dummy dlltool
; ac_word
=$2
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9218 $as_echo_n "checking for $ac_word... " >&6; }
9219 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
9220 $as_echo_n "(cached) " >&6
9222 if test -n "$ac_ct_DLLTOOL"; then
9223 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9229 test -z "$as_dir" && as_dir
=.
9230 for ac_exec_ext
in '' $ac_executable_extensions; do
9231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9232 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9242 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9243 if test -n "$ac_ct_DLLTOOL"; then
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9245 $as_echo "$ac_ct_DLLTOOL" >&6; }
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9248 $as_echo "no" >&6; }
9251 if test "x$ac_ct_DLLTOOL" = x
; then
9254 case $cross_compiling:$ac_tool_warned in
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9258 ac_tool_warned
=yes ;;
9260 DLLTOOL
=$ac_ct_DLLTOOL
9263 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9266 if test -n "$ac_tool_prefix"; then
9267 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9268 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9270 $as_echo_n "checking for $ac_word... " >&6; }
9271 if ${ac_cv_prog_OBJDUMP+:} false
; then :
9272 $as_echo_n "(cached) " >&6
9274 if test -n "$OBJDUMP"; then
9275 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9281 test -z "$as_dir" && as_dir
=.
9282 for ac_exec_ext
in '' $ac_executable_extensions; do
9283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9284 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9294 OBJDUMP
=$ac_cv_prog_OBJDUMP
9295 if test -n "$OBJDUMP"; then
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9297 $as_echo "$OBJDUMP" >&6; }
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 $as_echo "no" >&6; }
9305 if test -z "$ac_cv_prog_OBJDUMP"; then
9306 ac_ct_OBJDUMP
=$OBJDUMP
9307 # Extract the first word of "objdump", so it can be a program name with args.
9308 set dummy objdump
; ac_word
=$2
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9310 $as_echo_n "checking for $ac_word... " >&6; }
9311 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
9312 $as_echo_n "(cached) " >&6
9314 if test -n "$ac_ct_OBJDUMP"; then
9315 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9321 test -z "$as_dir" && as_dir
=.
9322 for ac_exec_ext
in '' $ac_executable_extensions; do
9323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9324 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9334 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9335 if test -n "$ac_ct_OBJDUMP"; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9337 $as_echo "$ac_ct_OBJDUMP" >&6; }
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9340 $as_echo "no" >&6; }
9343 if test "x$ac_ct_OBJDUMP" = x
; then
9346 case $cross_compiling:$ac_tool_warned in
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9350 ac_tool_warned
=yes ;;
9352 OBJDUMP
=$ac_ct_OBJDUMP
9355 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9361 test -z "$AS" && AS
=as
9367 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9373 test -z "$OBJDUMP" && OBJDUMP
=objdump
9385 # Check whether --enable-shared was given.
9386 if test "${enable_shared+set}" = set; then :
9387 enableval
=$enable_shared; p
=${PACKAGE-default}
9389 yes) enable_shared
=yes ;;
9390 no
) enable_shared
=no
;;
9393 # Look at the argument we got. We use all the common list separators.
9394 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9395 for pkg
in $enableval; do
9397 if test "X$pkg" = "X$p"; then
9416 # Check whether --enable-static was given.
9417 if test "${enable_static+set}" = set; then :
9418 enableval
=$enable_static; p
=${PACKAGE-default}
9420 yes) enable_static
=yes ;;
9421 no
) enable_static
=no
;;
9424 # Look at the argument we got. We use all the common list separators.
9425 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9426 for pkg
in $enableval; do
9428 if test "X$pkg" = "X$p"; then
9448 # Check whether --with-pic was given.
9449 if test "${with_pic+set}" = set; then :
9450 withval
=$with_pic; lt_p
=${PACKAGE-default}
9452 yes|no
) pic_mode
=$withval ;;
9455 # Look at the argument we got. We use all the common list separators.
9456 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9457 for lt_pkg
in $withval; do
9459 if test "X$lt_pkg" = "X$lt_p"; then
9477 # Check whether --enable-fast-install was given.
9478 if test "${enable_fast_install+set}" = set; then :
9479 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9481 yes) enable_fast_install
=yes ;;
9482 no
) enable_fast_install
=no
;;
9484 enable_fast_install
=no
9485 # Look at the argument we got. We use all the common list separators.
9486 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9487 for pkg
in $enableval; do
9489 if test "X$pkg" = "X$p"; then
9490 enable_fast_install
=yes
9497 enable_fast_install
=yes
9507 shared_archive_member_spec
=
9508 case $host,$enable_shared in
9509 power
*-*-aix[5-9]*,yes)
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9511 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9513 # Check whether --with-aix-soname was given.
9514 if test "${with_aix_soname+set}" = set; then :
9515 withval
=$with_aix_soname; case $withval in
9519 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9522 lt_cv_with_aix_soname
=$with_aix_soname
9524 if ${lt_cv_with_aix_soname+:} false
; then :
9525 $as_echo_n "(cached) " >&6
9527 lt_cv_with_aix_soname
=aix
9530 with_aix_soname
=$lt_cv_with_aix_soname
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9534 $as_echo "$with_aix_soname" >&6; }
9535 if test aix
!= "$with_aix_soname"; then
9536 # For the AIX way of multilib, we name the shared archive member
9537 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9538 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9539 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9540 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9541 if test 64 = "${OBJECT_MODE-32}"; then
9542 shared_archive_member_spec
=shr_64
9544 shared_archive_member_spec
=shr
9562 # This can be used to rebuild libtool when needed
9563 LIBTOOL_DEPS
=$ltmain
9565 # Always use our own libtool.
9566 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9597 test -z "$LN_S" && LN_S
="ln -s"
9612 if test -n "${ZSH_VERSION+set}"; then
9613 setopt NO_GLOB_SUBST
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9617 $as_echo_n "checking for objdir... " >&6; }
9618 if ${lt_cv_objdir+:} false
; then :
9619 $as_echo_n "(cached) " >&6
9621 rm -f .libs
2>/dev
/null
9622 mkdir .libs
2>/dev
/null
9623 if test -d .libs
; then
9626 # MS-DOS does not allow filenames that begin with a dot.
9629 rmdir .libs
2>/dev
/null
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9632 $as_echo "$lt_cv_objdir" >&6; }
9633 objdir
=$lt_cv_objdir
9639 cat >>confdefs.h
<<_ACEOF
9640 #define LT_OBJDIR "$lt_cv_objdir/"
9648 # AIX sometimes has problems with the GCC collect2 program. For some
9649 # reason, if we set the COLLECT_NAMES environment variable, the problems
9650 # vanish in a puff of smoke.
9651 if test set != "${COLLECT_NAMES+set}"; then
9653 export COLLECT_NAMES
9660 can_build_shared
=yes
9662 # All known linkers require a '.a' archive for static linking (except MSVC,
9663 # which needs '.lib').
9666 with_gnu_ld
=$lt_cv_prog_gnu_ld
9671 # Set sane defaults for various variables
9672 test -z "$CC" && CC
=cc
9673 test -z "$LTCC" && LTCC
=$CC
9674 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9675 test -z "$LD" && LD
=ld
9676 test -z "$ac_objext" && ac_objext
=o
9678 func_cc_basename
$compiler
9679 cc_basename
=$func_cc_basename_result
9682 # Only perform the check for file, if the check method requires it
9683 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9684 case $deplibs_check_method in
9686 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9688 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9689 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9690 $as_echo_n "(cached) " >&6
9694 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9697 lt_save_MAGIC_CMD
=$MAGIC_CMD
9698 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9699 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9700 for ac_dir
in $ac_dummy; do
9702 test -z "$ac_dir" && ac_dir
=.
9703 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9704 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9705 if test -n "$file_magic_test_file"; then
9706 case $deplibs_check_method in
9708 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9709 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9710 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9711 $EGREP "$file_magic_regex" > /dev
/null
; then
9716 *** Warning: the command libtool uses to detect shared libraries,
9717 *** $file_magic_cmd, produces output that libtool cannot recognize.
9718 *** The result is that libtool may fail to recognize shared libraries
9719 *** as such. This will affect the creation of libtool libraries that
9720 *** depend on shared libraries, but programs linked with such libtool
9721 *** libraries will work regardless of this problem. Nevertheless, you
9722 *** may want to report the problem to your system manager and/or to
9723 *** bug-libtool@gnu.org
9733 MAGIC_CMD
=$lt_save_MAGIC_CMD
9738 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9739 if test -n "$MAGIC_CMD"; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9741 $as_echo "$MAGIC_CMD" >&6; }
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9744 $as_echo "no" >&6; }
9751 if test -z "$lt_cv_path_MAGIC_CMD"; then
9752 if test -n "$ac_tool_prefix"; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9754 $as_echo_n "checking for file... " >&6; }
9755 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9756 $as_echo_n "(cached) " >&6
9760 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9763 lt_save_MAGIC_CMD
=$MAGIC_CMD
9764 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9765 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9766 for ac_dir
in $ac_dummy; do
9768 test -z "$ac_dir" && ac_dir
=.
9769 if test -f "$ac_dir/file"; then
9770 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9771 if test -n "$file_magic_test_file"; then
9772 case $deplibs_check_method in
9774 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9775 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9776 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9777 $EGREP "$file_magic_regex" > /dev
/null
; then
9782 *** Warning: the command libtool uses to detect shared libraries,
9783 *** $file_magic_cmd, produces output that libtool cannot recognize.
9784 *** The result is that libtool may fail to recognize shared libraries
9785 *** as such. This will affect the creation of libtool libraries that
9786 *** depend on shared libraries, but programs linked with such libtool
9787 *** libraries will work regardless of this problem. Nevertheless, you
9788 *** may want to report the problem to your system manager and/or to
9789 *** bug-libtool@gnu.org
9799 MAGIC_CMD
=$lt_save_MAGIC_CMD
9804 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9805 if test -n "$MAGIC_CMD"; then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9807 $as_echo "$MAGIC_CMD" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9810 $as_echo "no" >&6; }
9823 # Use C for the default configuration in the libtool script
9827 ac_cpp
='$CPP $CPPFLAGS'
9828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9833 # Source file extension for C test sources.
9836 # Object file extension for compiled C test sources.
9840 # Code to be used in simple compile tests
9841 lt_simple_compile_test_code
="int some_variable = 0;"
9843 # Code to be used in simple link tests
9844 lt_simple_link_test_code
='int main(){return(0);}'
9852 # If no C compiler was specified, use CC.
9855 # If no C compiler flags were specified, use CFLAGS.
9856 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9858 # Allow CC to be a program name with arguments.
9861 # Save the default compiler, since it gets overwritten when the other
9862 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9863 compiler_DEFAULT
=$CC
9865 # save warnings/boilerplate of simple test code
9866 ac_outfile
=conftest.
$ac_objext
9867 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9868 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9869 _lt_compiler_boilerplate
=`cat conftest.err`
9872 ac_outfile
=conftest.
$ac_objext
9873 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9874 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9875 _lt_linker_boilerplate
=`cat conftest.err`
9880 ## There is no encapsulation within the following macros, do not change
9881 ## the running order or otherwise move them around unless you know exactly
9882 ## what you are doing...
9883 if test -n "$compiler"; then
9885 lt_prog_compiler_no_builtin_flag
=
9887 if test yes = "$GCC"; then
9888 case $cc_basename in
9890 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9892 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9896 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9897 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9898 $as_echo_n "(cached) " >&6
9900 lt_cv_prog_compiler_rtti_exceptions
=no
9901 ac_outfile
=conftest.
$ac_objext
9902 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9903 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9904 # Insert the option either (1) after the last *FLAGS variable, or
9905 # (2) before a word containing "conftest.", or (3) at the end.
9906 # Note that $ac_compile itself does not contain backslashes and begins
9907 # with a dollar sign (not a hyphen), so the echo should work correctly.
9908 # The option is referenced via a variable to avoid confusing sed.
9909 lt_compile
=`echo "$ac_compile" | $SED \
9910 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9911 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9912 -e 's:$: $lt_compiler_flag:'`
9913 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9914 (eval "$lt_compile" 2>conftest.err
)
9916 cat conftest.err
>&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 if (exit $ac_status) && test -s "$ac_outfile"; then
9919 # The compiler can only warn and ignore the option if not recognized
9920 # So say no if there are warnings other than the usual output.
9921 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9922 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9923 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9924 lt_cv_prog_compiler_rtti_exceptions
=yes
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9931 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9933 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9934 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9946 lt_prog_compiler_wl
=
9947 lt_prog_compiler_pic
=
9948 lt_prog_compiler_static
=
9951 if test yes = "$GCC"; then
9952 lt_prog_compiler_wl
='-Wl,'
9953 lt_prog_compiler_static
='-static'
9957 # All AIX code is PIC.
9958 if test ia64
= "$host_cpu"; then
9959 # AIX 5 now supports IA64 processor
9960 lt_prog_compiler_static
='-Bstatic'
9962 lt_prog_compiler_pic
='-fPIC'
9968 # see comment about AmigaOS4 .so support
9969 lt_prog_compiler_pic
='-fPIC'
9972 # FIXME: we need at least 68020 code to build shared libraries, but
9973 # adding the '-m68020' flag to GCC prevents building anything better,
9975 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9980 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9981 # PIC is the default for these OSes.
9984 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9985 # This hack is so that the source file can tell whether it is being
9986 # built for inclusion in a dll (and should export symbols for example).
9987 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9988 # (--disable-auto-import) libraries
9989 lt_prog_compiler_pic
='-DDLL_EXPORT'
9992 lt_prog_compiler_static
='$wl-static'
9997 darwin
* | rhapsody
*)
9998 # PIC is the default on this platform
9999 # Common symbols not allowed in MH_DYLIB files
10000 lt_prog_compiler_pic
='-fno-common'
10004 # PIC is the default for Haiku.
10005 # The "-static" flag exists, but is broken.
10006 lt_prog_compiler_static
=
10010 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10011 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10012 # sets the default TLS model and affects inlining.
10018 lt_prog_compiler_pic
='-fPIC'
10024 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10025 # Instead, we relocate shared libraries at runtime.
10029 # Just because we use GCC doesn't mean we suddenly get shared libraries
10030 # on systems that don't support them.
10031 lt_prog_compiler_can_build_shared
=no
10036 # QNX uses GNU C++, but need to define -shared option too, otherwise
10037 # it will coredump.
10038 lt_prog_compiler_pic
='-fPIC -shared'
10042 if test -d /usr
/nec
; then
10043 lt_prog_compiler_pic
=-Kconform_pic
10048 lt_prog_compiler_pic
='-fPIC'
10052 case $cc_basename in
10053 nvcc
*) # Cuda Compiler Driver 2.2
10054 lt_prog_compiler_wl
='-Xlinker '
10055 if test -n "$lt_prog_compiler_pic"; then
10056 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10061 # PORTME Check for flag to pass linker flags through the system compiler.
10064 lt_prog_compiler_wl
='-Wl,'
10065 if test ia64
= "$host_cpu"; then
10066 # AIX 5 now supports IA64 processor
10067 lt_prog_compiler_static
='-Bstatic'
10069 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10073 darwin
* | rhapsody
*)
10074 # PIC is the default on this platform
10075 # Common symbols not allowed in MH_DYLIB files
10076 lt_prog_compiler_pic
='-fno-common'
10077 case $cc_basename in
10079 # NAG Fortran compiler
10080 lt_prog_compiler_wl
='-Wl,-Wl,,'
10081 lt_prog_compiler_pic
='-PIC'
10082 lt_prog_compiler_static
='-Bstatic'
10087 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10088 # This hack is so that the source file can tell whether it is being
10089 # built for inclusion in a dll (and should export symbols for example).
10090 lt_prog_compiler_pic
='-DDLL_EXPORT'
10093 lt_prog_compiler_static
='$wl-static'
10098 hpux9
* | hpux10
* | hpux11
*)
10099 lt_prog_compiler_wl
='-Wl,'
10100 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10101 # not for PA HP-UX.
10107 lt_prog_compiler_pic
='+Z'
10110 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10111 lt_prog_compiler_static
='$wl-a ${wl}archive'
10114 irix5
* | irix6
* | nonstopux
*)
10115 lt_prog_compiler_wl
='-Wl,'
10116 # PIC (with -KPIC) is the default.
10117 lt_prog_compiler_static
='-non_shared'
10120 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10121 case $cc_basename in
10122 # old Intel for x86_64, which still supported -KPIC.
10124 lt_prog_compiler_wl
='-Wl,'
10125 lt_prog_compiler_pic
='-KPIC'
10126 lt_prog_compiler_static
='-static'
10128 # icc used to be incompatible with GCC.
10129 # ICC 10 doesn't accept -KPIC any more.
10131 lt_prog_compiler_wl
='-Wl,'
10132 lt_prog_compiler_pic
='-fPIC'
10133 lt_prog_compiler_static
='-static'
10135 # Lahey Fortran 8.1.
10137 lt_prog_compiler_wl
='-Wl,'
10138 lt_prog_compiler_pic
='--shared'
10139 lt_prog_compiler_static
='--static'
10142 # NAG Fortran compiler
10143 lt_prog_compiler_wl
='-Wl,-Wl,,'
10144 lt_prog_compiler_pic
='-PIC'
10145 lt_prog_compiler_static
='-Bstatic'
10148 # Fabrice Bellard et al's Tiny C Compiler
10149 lt_prog_compiler_wl
='-Wl,'
10150 lt_prog_compiler_pic
='-fPIC'
10151 lt_prog_compiler_static
='-static'
10153 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10154 # Portland Group compilers (*not* the Pentium gcc compiler,
10155 # which looks to be a dead project)
10156 lt_prog_compiler_wl
='-Wl,'
10157 lt_prog_compiler_pic
='-fpic'
10158 lt_prog_compiler_static
='-Bstatic'
10161 lt_prog_compiler_wl
='-Wl,'
10162 # All Alpha code is PIC.
10163 lt_prog_compiler_static
='-non_shared'
10165 xl
* | bgxl
* | bgf
* | mpixl
*)
10166 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10167 lt_prog_compiler_wl
='-Wl,'
10168 lt_prog_compiler_pic
='-qpic'
10169 lt_prog_compiler_static
='-qstaticlink'
10172 case `$CC -V 2>&1 | sed 5q` in
10173 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10174 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10175 lt_prog_compiler_pic
='-KPIC'
10176 lt_prog_compiler_static
='-Bstatic'
10177 lt_prog_compiler_wl
=''
10179 *Sun\ F
* |
*Sun
*Fortran
*)
10180 lt_prog_compiler_pic
='-KPIC'
10181 lt_prog_compiler_static
='-Bstatic'
10182 lt_prog_compiler_wl
='-Qoption ld '
10186 lt_prog_compiler_pic
='-KPIC'
10187 lt_prog_compiler_static
='-Bstatic'
10188 lt_prog_compiler_wl
='-Wl,'
10190 *Intel
*\
[CF
]*Compiler
*)
10191 lt_prog_compiler_wl
='-Wl,'
10192 lt_prog_compiler_pic
='-fPIC'
10193 lt_prog_compiler_static
='-static'
10196 lt_prog_compiler_wl
='-Wl,'
10197 lt_prog_compiler_pic
='-fpic'
10198 lt_prog_compiler_static
='-Bstatic'
10206 lt_prog_compiler_pic
='-KPIC'
10207 lt_prog_compiler_static
='-Bstatic'
10211 # QNX uses GNU C++, but need to define -shared option too, otherwise
10212 # it will coredump.
10213 lt_prog_compiler_pic
='-fPIC -shared'
10216 osf3
* | osf4
* | osf5
*)
10217 lt_prog_compiler_wl
='-Wl,'
10218 # All OSF/1 code is PIC.
10219 lt_prog_compiler_static
='-non_shared'
10223 lt_prog_compiler_static
='-non_shared'
10227 lt_prog_compiler_pic
='-KPIC'
10228 lt_prog_compiler_static
='-Bstatic'
10229 case $cc_basename in
10230 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10231 lt_prog_compiler_wl
='-Qoption ld ';;
10233 lt_prog_compiler_wl
='-Wl,';;
10238 lt_prog_compiler_wl
='-Qoption ld '
10239 lt_prog_compiler_pic
='-PIC'
10240 lt_prog_compiler_static
='-Bstatic'
10243 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10244 lt_prog_compiler_wl
='-Wl,'
10245 lt_prog_compiler_pic
='-KPIC'
10246 lt_prog_compiler_static
='-Bstatic'
10250 if test -d /usr
/nec
; then
10251 lt_prog_compiler_pic
='-Kconform_pic'
10252 lt_prog_compiler_static
='-Bstatic'
10256 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10257 lt_prog_compiler_wl
='-Wl,'
10258 lt_prog_compiler_pic
='-KPIC'
10259 lt_prog_compiler_static
='-Bstatic'
10263 lt_prog_compiler_wl
='-Wl,'
10264 lt_prog_compiler_can_build_shared
=no
10268 lt_prog_compiler_pic
='-pic'
10269 lt_prog_compiler_static
='-Bstatic'
10273 lt_prog_compiler_can_build_shared
=no
10279 # For platforms that do not support PIC, -DPIC is meaningless:
10281 lt_prog_compiler_pic
=
10284 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10289 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10290 if ${lt_cv_prog_compiler_pic+:} false
; then :
10291 $as_echo_n "(cached) " >&6
10293 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10296 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10297 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10300 # Check to make sure the PIC flag actually works.
10302 if test -n "$lt_prog_compiler_pic"; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10304 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10305 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10306 $as_echo_n "(cached) " >&6
10308 lt_cv_prog_compiler_pic_works
=no
10309 ac_outfile
=conftest.
$ac_objext
10310 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10311 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10312 # Insert the option either (1) after the last *FLAGS variable, or
10313 # (2) before a word containing "conftest.", or (3) at the end.
10314 # Note that $ac_compile itself does not contain backslashes and begins
10315 # with a dollar sign (not a hyphen), so the echo should work correctly.
10316 # The option is referenced via a variable to avoid confusing sed.
10317 lt_compile
=`echo "$ac_compile" | $SED \
10318 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10320 -e 's:$: $lt_compiler_flag:'`
10321 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10322 (eval "$lt_compile" 2>conftest.err
)
10324 cat conftest.err
>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 if (exit $ac_status) && test -s "$ac_outfile"; then
10327 # The compiler can only warn and ignore the option if not recognized
10328 # So say no if there are warnings other than the usual output.
10329 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10330 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10331 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10332 lt_cv_prog_compiler_pic_works
=yes
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10339 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10341 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10342 case $lt_prog_compiler_pic in
10344 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10347 lt_prog_compiler_pic
=
10348 lt_prog_compiler_can_build_shared
=no
10364 # Check to make sure the static flag actually works.
10366 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10368 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10369 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10370 $as_echo_n "(cached) " >&6
10372 lt_cv_prog_compiler_static_works
=no
10373 save_LDFLAGS
=$LDFLAGS
10374 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10375 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10376 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10377 # The linker can only warn and ignore the option if not recognized
10378 # So say no if there are warnings
10379 if test -s conftest.err
; then
10380 # Append any errors to the config.log.
10381 cat conftest.err
1>&5
10382 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10383 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10384 if diff conftest.exp conftest.er2
>/dev
/null
; then
10385 lt_cv_prog_compiler_static_works
=yes
10388 lt_cv_prog_compiler_static_works
=yes
10392 LDFLAGS
=$save_LDFLAGS
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10396 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10398 if test yes = "$lt_cv_prog_compiler_static_works"; then
10401 lt_prog_compiler_static
=
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10411 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10412 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10413 $as_echo_n "(cached) " >&6
10415 lt_cv_prog_compiler_c_o
=no
10416 $RM -r conftest
2>/dev
/null
10420 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10422 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10423 # Insert the option either (1) after the last *FLAGS variable, or
10424 # (2) before a word containing "conftest.", or (3) at the end.
10425 # Note that $ac_compile itself does not contain backslashes and begins
10426 # with a dollar sign (not a hyphen), so the echo should work correctly.
10427 lt_compile
=`echo "$ac_compile" | $SED \
10428 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10429 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10430 -e 's:$: $lt_compiler_flag:'`
10431 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10432 (eval "$lt_compile" 2>out
/conftest.err
)
10434 cat out
/conftest.err
>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10438 # The compiler can only warn and ignore the option if not recognized
10439 # So say no if there are warnings
10440 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10441 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10442 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10443 lt_cv_prog_compiler_c_o
=yes
10448 # SGI C++ compiler will create directory out/ii_files/ for
10449 # template instantiation
10450 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10451 $RM out
/* && rmdir out
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10458 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10466 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10467 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10468 $as_echo_n "(cached) " >&6
10470 lt_cv_prog_compiler_c_o
=no
10471 $RM -r conftest
2>/dev
/null
10475 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10477 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10478 # Insert the option either (1) after the last *FLAGS variable, or
10479 # (2) before a word containing "conftest.", or (3) at the end.
10480 # Note that $ac_compile itself does not contain backslashes and begins
10481 # with a dollar sign (not a hyphen), so the echo should work correctly.
10482 lt_compile
=`echo "$ac_compile" | $SED \
10483 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10485 -e 's:$: $lt_compiler_flag:'`
10486 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10487 (eval "$lt_compile" 2>out
/conftest.err
)
10489 cat out
/conftest.err
>&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10493 # The compiler can only warn and ignore the option if not recognized
10494 # So say no if there are warnings
10495 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10496 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10497 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10498 lt_cv_prog_compiler_c_o
=yes
10503 # SGI C++ compiler will create directory out/ii_files/ for
10504 # template instantiation
10505 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10506 $RM out
/* && rmdir out
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10513 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10518 hard_links
=nottested
10519 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10520 # do not overwrite the value of need_locks provided by the user
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10522 $as_echo_n "checking if we can lock with hard links... " >&6; }
10525 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10527 ln conftest.a conftest.b
2>&5 || hard_links
=no
10528 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10530 $as_echo "$hard_links" >&6; }
10531 if test no
= "$hard_links"; then
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10533 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10546 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10549 allow_undefined_flag
=
10550 always_export_symbols
=no
10552 archive_expsym_cmds
=
10553 compiler_needs_object
=no
10554 enable_shared_with_static_runtimes
=no
10555 export_dynamic_flag_spec
=
10556 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10557 hardcode_automatic
=no
10559 hardcode_direct_absolute
=no
10560 hardcode_libdir_flag_spec
=
10561 hardcode_libdir_separator
=
10562 hardcode_minus_L
=no
10563 hardcode_shlibpath_var
=unsupported
10565 link_all_deplibs
=unknown
10567 module_expsym_cmds
=
10568 old_archive_from_new_cmds
=
10569 old_archive_from_expsyms_cmds
=
10570 thread_safe_flag_spec
=
10571 whole_archive_flag_spec
=
10572 # include_expsyms should be a list of space-separated symbols to be *always*
10573 # included in the symbol list
10575 # exclude_expsyms can be an extended regexp of symbols to exclude
10576 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10577 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10578 # as well as any symbol that contains 'd'.
10579 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10580 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10581 # platforms (ab)use it in PIC code, but their linkers get confused if
10582 # the symbol is explicitly referenced. Since portable code cannot
10583 # rely on this symbol name, it's probably fine to never include it in
10584 # preloaded symbol tables.
10585 # Exclude shared library initialization/finalization symbols.
10586 extract_expsyms_cmds
=
10589 cygwin
* | mingw
* | pw32
* | cegcc
*)
10590 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10591 # When not using gcc, we currently assume that we are using
10592 # Microsoft Visual C++.
10593 if test yes != "$GCC"; then
10598 # we just hope/assume this is gcc and not c89 (= MSVC++)
10601 openbsd
* | bitrig
*)
10608 # On some targets, GNU ld is compatible enough with the native linker
10609 # that we're better off using the native interface for both.
10610 lt_use_gnu_ld_interface
=no
10611 if test yes = "$with_gnu_ld"; then
10614 # The AIX port of GNU ld has always aspired to compatibility
10615 # with the native linker. However, as the warning in the GNU ld
10616 # block says, versions before 2.19.5* couldn't really create working
10617 # shared libraries, regardless of the interface used.
10618 case `$LD -v 2>&1` in
10619 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10620 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10621 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10623 lt_use_gnu_ld_interface
=yes
10628 lt_use_gnu_ld_interface
=yes
10633 if test yes = "$lt_use_gnu_ld_interface"; then
10634 # If archive_cmds runs LD, not CC, wlarc should be empty
10637 # Set some defaults for GNU ld with shared library support. These
10638 # are reset later if shared libraries are not supported. Putting them
10639 # here allows them to be overridden if necessary.
10640 runpath_var
=LD_RUN_PATH
10641 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10642 export_dynamic_flag_spec
='$wl--export-dynamic'
10643 # ancient GNU ld didn't support --whole-archive et. al.
10644 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10645 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10647 whole_archive_flag_spec
=
10649 supports_anon_versioning
=no
10650 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10651 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10652 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10653 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10654 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10655 *\
2.11.
*) ;; # other 2.11 versions
10656 *) supports_anon_versioning
=yes ;;
10659 # See if GNU ld supports shared libraries.
10662 # On AIX/PPC, the GNU linker is very broken
10663 if test ia64
!= "$host_cpu"; then
10667 *** Warning: the GNU linker, at least up to release 2.19, is reported
10668 *** to be unable to reliably create shared libraries on AIX.
10669 *** Therefore, libtool is disabling shared libraries support. If you
10670 *** really care for shared libraries, you may want to install binutils
10671 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10672 *** You will then need to restart the configuration process.
10681 # see comment about AmigaOS4 .so support
10682 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10683 archive_expsym_cmds
=''
10686 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)'
10687 hardcode_libdir_flag_spec
='-L$libdir'
10688 hardcode_minus_L
=yes
10694 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10695 allow_undefined_flag
=unsupported
10696 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10697 # support --undefined. This deserves some investigation. FIXME
10698 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10704 cygwin
* | mingw
* | pw32
* | cegcc
*)
10705 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10706 # as there is no search path for DLLs.
10707 hardcode_libdir_flag_spec
='-L$libdir'
10708 export_dynamic_flag_spec
='$wl--export-all-symbols'
10709 allow_undefined_flag
=unsupported
10710 always_export_symbols
=no
10711 enable_shared_with_static_runtimes
=yes
10712 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'
10713 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10715 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10716 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10717 # If the export-symbols file already is a .def file, use it as
10718 # is; otherwise, prepend EXPORTS...
10719 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10720 cp $export_symbols $output_objdir/$soname.def;
10722 echo EXPORTS > $output_objdir/$soname.def;
10723 cat $export_symbols >> $output_objdir/$soname.def;
10725 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10732 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10733 link_all_deplibs
=yes
10737 hardcode_libdir_flag_spec
='-L$libdir'
10738 hardcode_minus_L
=yes
10739 allow_undefined_flag
=unsupported
10741 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10742 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10743 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10744 $ECHO EXPORTS >> $output_objdir/$libname.def~
10745 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10746 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10747 emximp -o $lib $output_objdir/$libname.def'
10748 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10749 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10750 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10751 $ECHO EXPORTS >> $output_objdir/$libname.def~
10752 prefix_cmds="$SED"~
10753 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10754 prefix_cmds="$prefix_cmds -e 1d";
10756 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10757 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10758 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10759 emximp -o $lib $output_objdir/$libname.def'
10760 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10761 enable_shared_with_static_runtimes
=yes
10766 hardcode_shlibpath_var
=no
10767 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10768 export_dynamic_flag_spec
='$wl-E'
10769 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10770 # Instead, shared libraries are loaded at an image base (0x10000000 by
10771 # default) and relocated if they conflict, which is a slow very memory
10772 # consuming and fragmenting process. To avoid this, we pick a random,
10773 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10774 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10775 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10776 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'
10779 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10781 if test linux-dietlibc
= "$host_os"; then
10782 case $cc_basename in
10783 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10786 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10787 && test no
= "$tmp_diet"
10789 tmp_addflag
=' $pic_flag'
10790 tmp_sharedflag
='-shared'
10791 case $cc_basename,$host_cpu in
10792 pgcc
*) # Portland Group C compiler
10793 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'
10794 tmp_addflag
=' $pic_flag'
10796 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10797 # Portland Group f77 and f90 compilers
10798 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'
10799 tmp_addflag
=' $pic_flag -Mnomain' ;;
10800 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10801 tmp_addflag
=' -i_dynamic' ;;
10802 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10803 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10804 ifc
* | ifort
*) # Intel Fortran compiler
10805 tmp_addflag
=' -nofor_main' ;;
10806 lf95
*) # Lahey Fortran 8.1
10807 whole_archive_flag_spec
=
10808 tmp_sharedflag
='--shared' ;;
10809 nagfor
*) # NAGFOR 5.3
10810 tmp_sharedflag
='-Wl,-shared' ;;
10811 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10812 tmp_sharedflag
='-qmkshrobj'
10814 nvcc
*) # Cuda Compiler Driver 2.2
10815 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'
10816 compiler_needs_object
=yes
10819 case `$CC -V 2>&1 | sed 5q` in
10820 *Sun\ C
*) # Sun C 5.9
10821 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'
10822 compiler_needs_object
=yes
10823 tmp_sharedflag
='-G' ;;
10824 *Sun\ F
*) # Sun Fortran 8.3
10825 tmp_sharedflag
='-G' ;;
10827 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10829 if test yes = "$supports_anon_versioning"; then
10830 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10831 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10832 echo "local: *; };" >> $output_objdir/$libname.ver~
10833 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10836 case $cc_basename in
10838 export_dynamic_flag_spec
='-rdynamic'
10840 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10841 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10842 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10843 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10844 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10845 if test yes = "$supports_anon_versioning"; then
10846 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10847 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10848 echo "local: *; };" >> $output_objdir/$libname.ver~
10849 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10859 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10860 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10863 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10864 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10869 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10873 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10874 *** create shared libraries on Solaris systems. Therefore, libtool
10875 *** is disabling shared libraries support. We urge you to upgrade GNU
10876 *** binutils to release 2.9.1 or newer. Another option is to modify
10877 *** your PATH or compiler configuration so that the native linker is
10878 *** used, and then restart.
10881 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10882 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10883 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10889 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10890 case `$LD -v 2>&1` in
10891 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10895 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10896 *** reliably create shared libraries on SCO systems. Therefore, libtool
10897 *** is disabling shared libraries support. We urge you to upgrade GNU
10898 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10899 *** your PATH or compiler configuration so that the native linker is
10900 *** used, and then restart.
10905 # For security reasons, it is highly recommended that you always
10906 # use absolute paths for naming shared libraries, and exclude the
10907 # DT_RUNPATH tag from executables and libraries. But doing so
10908 # requires that you compile everything twice, which is a pain.
10909 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10910 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10911 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10912 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10921 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10923 hardcode_direct
=yes
10924 hardcode_shlibpath_var
=no
10928 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10929 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10930 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10937 if test no
= "$ld_shlibs"; then
10939 hardcode_libdir_flag_spec
=
10940 export_dynamic_flag_spec
=
10941 whole_archive_flag_spec
=
10944 # PORTME fill in a description of your system's linker (not GNU ld)
10947 allow_undefined_flag
=unsupported
10948 always_export_symbols
=yes
10949 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'
10950 # Note: this linker hardcodes the directories in LIBPATH if there
10951 # are no directories specified by -L.
10952 hardcode_minus_L
=yes
10953 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10954 # Neither direct hardcoding nor static linking is supported with a
10956 hardcode_direct
=unsupported
10961 if test ia64
= "$host_cpu"; then
10962 # On IA64, the linker does run time linking by default, so we don't
10963 # have to do anything special.
10964 aix_use_runtimelinking
=no
10965 exp_sym_flag
='-Bexport'
10968 # If we're using GNU nm, then we don't want the "-C" option.
10969 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10970 # Without the "-l" option, or with the "-B" option, AIX nm treats
10971 # weak defined symbols like other global defined symbols, whereas
10972 # GNU nm marks them as "W".
10973 # While the 'weak' keyword is ignored in the Export File, we need
10974 # it in the Import File for the 'aix-soname' feature, so we have
10975 # to replace the "-B" option with "-P" for AIX nm.
10976 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10977 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'
10979 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'
10981 aix_use_runtimelinking
=no
10983 # Test if we are trying to use run time linking or normal
10984 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10985 # have runtime linking enabled, and use it for executables.
10986 # For shared libraries, we enable/disable runtime linking
10987 # depending on the kind of the shared library created -
10988 # when "with_aix_soname,aix_use_runtimelinking" is:
10989 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10990 # "aix,yes" lib.so shared, rtl:yes, for executables
10991 # lib.a static archive
10992 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10993 # lib.a(lib.so.V) shared, rtl:no, for executables
10994 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10995 # lib.a(lib.so.V) shared, rtl:no
10996 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10997 # lib.a static archive
10998 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10999 for ld_flag
in $LDFLAGS; do
11000 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11001 aix_use_runtimelinking
=yes
11005 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11006 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11007 # so we don't have lib.a shared libs to link our executables.
11008 # We have to force runtime linking in this case.
11009 aix_use_runtimelinking
=yes
11010 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11015 exp_sym_flag
='-bexport'
11016 no_entry_flag
='-bnoentry'
11019 # When large executables or shared objects are built, AIX ld can
11020 # have problems creating the table of contents. If linking a library
11021 # or program results in "error TOC overflow" add -mminimal-toc to
11022 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11023 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11026 hardcode_direct
=yes
11027 hardcode_direct_absolute
=yes
11028 hardcode_libdir_separator
=':'
11029 link_all_deplibs
=yes
11030 file_list_spec
='$wl-f,'
11031 case $with_aix_soname,$aix_use_runtimelinking in
11032 aix
,*) ;; # traditional, no import file
11033 svr4
,* |
*,yes) # use import file
11034 # The Import File defines what to hardcode.
11036 hardcode_direct_absolute
=no
11040 if test yes = "$GCC"; then
11041 case $host_os in aix4.
[012]|aix4.
[012].
*)
11042 # We only want to do this on AIX 4.2 and lower, the check
11043 # below for broken collect2 doesn't work under 4.3+
11044 collect2name
=`$CC -print-prog-name=collect2`
11045 if test -f "$collect2name" &&
11046 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11048 # We have reworked collect2
11051 # We have old collect2
11052 hardcode_direct
=unsupported
11053 # It fails to find uninstalled libraries when the uninstalled
11054 # path is not listed in the libpath. Setting hardcode_minus_L
11055 # to unsupported forces relinking
11056 hardcode_minus_L
=yes
11057 hardcode_libdir_flag_spec
='-L$libdir'
11058 hardcode_libdir_separator
=
11062 shared_flag
='-shared'
11063 if test yes = "$aix_use_runtimelinking"; then
11064 shared_flag
="$shared_flag "'$wl-G'
11066 # Need to ensure runtime linking is disabled for the traditional
11067 # shared library, or the linker may eventually find shared libraries
11068 # /with/ Import File - we do not want to mix them.
11069 shared_flag_aix
='-shared'
11070 shared_flag_svr4
='-shared $wl-G'
11073 if test ia64
= "$host_cpu"; then
11074 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11075 # chokes on -Wl,-G. The following line is correct:
11078 if test yes = "$aix_use_runtimelinking"; then
11079 shared_flag
='$wl-G'
11081 shared_flag
='$wl-bM:SRE'
11083 shared_flag_aix
='$wl-bM:SRE'
11084 shared_flag_svr4
='$wl-G'
11088 export_dynamic_flag_spec
='$wl-bexpall'
11089 # It seems that -bexpall does not export symbols beginning with
11090 # underscore (_), so it is better to generate a list of symbols to export.
11091 always_export_symbols
=yes
11092 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11093 # Warning - without using the other runtime loading flags (-brtl),
11094 # -berok will link without error, but may produce a broken library.
11095 allow_undefined_flag
='-berok'
11096 # Determine the default libpath from the value encoded in an
11097 # empty executable.
11098 if test set = "${lt_cv_aix_libpath+set}"; then
11099 aix_libpath
=$lt_cv_aix_libpath
11101 if ${lt_cv_aix_libpath_+:} false
; then :
11102 $as_echo_n "(cached) " >&6
11104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11115 if ac_fn_c_try_link
"$LINENO"; then :
11117 lt_aix_libpath_sed
='
11118 /Import File Strings/,/^$/ {
11120 s/^0 *\([^ ]*\) *$/\1/
11124 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11125 # Check for a 64-bit object if we didn't find anything.
11126 if test -z "$lt_cv_aix_libpath_"; then
11127 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11130 rm -f core conftest.err conftest.
$ac_objext \
11131 conftest
$ac_exeext conftest.
$ac_ext
11132 if test -z "$lt_cv_aix_libpath_"; then
11133 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11138 aix_libpath
=$lt_cv_aix_libpath_
11141 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11142 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
11144 if test ia64
= "$host_cpu"; then
11145 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11146 allow_undefined_flag
="-z nodefs"
11147 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"
11149 # Determine the default libpath from the value encoded in an
11150 # empty executable.
11151 if test set = "${lt_cv_aix_libpath+set}"; then
11152 aix_libpath
=$lt_cv_aix_libpath
11154 if ${lt_cv_aix_libpath_+:} false
; then :
11155 $as_echo_n "(cached) " >&6
11157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11168 if ac_fn_c_try_link
"$LINENO"; then :
11170 lt_aix_libpath_sed
='
11171 /Import File Strings/,/^$/ {
11173 s/^0 *\([^ ]*\) *$/\1/
11177 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11178 # Check for a 64-bit object if we didn't find anything.
11179 if test -z "$lt_cv_aix_libpath_"; then
11180 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11183 rm -f core conftest.err conftest.
$ac_objext \
11184 conftest
$ac_exeext conftest.
$ac_ext
11185 if test -z "$lt_cv_aix_libpath_"; then
11186 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11191 aix_libpath
=$lt_cv_aix_libpath_
11194 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11195 # Warning - without using the other run time loading flags,
11196 # -berok will link without error, but may produce a broken library.
11197 no_undefined_flag
=' $wl-bernotok'
11198 allow_undefined_flag
=' $wl-berok'
11199 if test yes = "$with_gnu_ld"; then
11200 # We only use this code for GNU lds that support --whole-archive.
11201 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11203 # Exported symbols can be pulled into shared objects from archives
11204 whole_archive_flag_spec
='$convenience'
11206 archive_cmds_need_lc
=yes
11207 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11208 # -brtl affects multiple linker settings, -berok does not and is overridden later
11209 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11210 if test svr4
!= "$with_aix_soname"; then
11211 # This is similar to how AIX traditionally builds its shared libraries.
11212 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'
11214 if test aix
!= "$with_aix_soname"; then
11215 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'
11217 # used by -dlpreopen to get the symbols
11218 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11220 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11228 # see comment about AmigaOS4 .so support
11229 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11230 archive_expsym_cmds
=''
11233 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)'
11234 hardcode_libdir_flag_spec
='-L$libdir'
11235 hardcode_minus_L
=yes
11241 export_dynamic_flag_spec
=-rdynamic
11244 cygwin
* | mingw
* | pw32
* | cegcc
*)
11245 # When not using gcc, we currently assume that we are using
11246 # Microsoft Visual C++.
11247 # hardcode_libdir_flag_spec is actually meaningless, as there is
11248 # no search path for DLLs.
11249 case $cc_basename in
11252 hardcode_libdir_flag_spec
=' '
11253 allow_undefined_flag
=unsupported
11254 always_export_symbols
=yes
11256 # Tell ltmain to make .lib files, not .a files.
11258 # Tell ltmain to make .dll files, not .so files.
11260 # FIXME: Setting linknames here is a bad hack.
11261 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11262 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11263 cp "$export_symbols" "$output_objdir/$soname.def";
11264 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11266 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11268 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11270 # The linker will not automatically build a static lib if we build a DLL.
11271 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11272 enable_shared_with_static_runtimes
=yes
11273 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11274 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11276 old_postinstall_cmds
='chmod 644 $oldlib'
11277 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11278 lt_tool_outputfile="@TOOL_OUTPUT@"~
11279 case $lt_outputfile in
11282 lt_outputfile=$lt_outputfile.exe
11283 lt_tool_outputfile=$lt_tool_outputfile.exe
11286 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11287 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11288 $RM "$lt_outputfile.manifest";
11292 # Assume MSVC wrapper
11293 hardcode_libdir_flag_spec
=' '
11294 allow_undefined_flag
=unsupported
11295 # Tell ltmain to make .lib files, not .a files.
11297 # Tell ltmain to make .dll files, not .so files.
11299 # FIXME: Setting linknames here is a bad hack.
11300 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11301 # The linker will automatically build a .lib file if we build a DLL.
11302 old_archive_from_new_cmds
='true'
11303 # FIXME: Should let the user specify the lib program.
11304 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11305 enable_shared_with_static_runtimes
=yes
11310 darwin
* | rhapsody
*)
11313 archive_cmds_need_lc
=no
11315 hardcode_automatic
=yes
11316 hardcode_shlibpath_var
=unsupported
11317 if test yes = "$lt_cv_ld_force_load"; then
11318 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\"`'
11321 whole_archive_flag_spec
=''
11323 link_all_deplibs
=yes
11324 allow_undefined_flag
=$_lt_dar_allow_undefined
11325 case $cc_basename in
11326 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11327 *) _lt_dar_can_shared
=$GCC ;;
11329 if test yes = "$_lt_dar_can_shared"; then
11330 output_verbose_link_cmd
=func_echo_all
11331 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11332 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11333 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"
11334 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"
11343 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11344 hardcode_libdir_flag_spec
='-L$libdir'
11345 hardcode_shlibpath_var
=no
11348 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11349 # support. Future versions do this automatically, but an explicit c++rt0.o
11350 # does not break anything, and helps significantly (at the cost of a little
11353 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11354 hardcode_libdir_flag_spec
='-R$libdir'
11355 hardcode_direct
=yes
11356 hardcode_shlibpath_var
=no
11359 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11361 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11362 hardcode_direct
=yes
11363 hardcode_minus_L
=yes
11364 hardcode_shlibpath_var
=no
11367 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11368 freebsd
* | dragonfly
*)
11369 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11370 hardcode_libdir_flag_spec
='-R$libdir'
11371 hardcode_direct
=yes
11372 hardcode_shlibpath_var
=no
11376 if test yes = "$GCC"; then
11377 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'
11379 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'
11381 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11382 hardcode_libdir_separator
=:
11383 hardcode_direct
=yes
11385 # hardcode_minus_L: Not really in the search PATH,
11386 # but as the default location of the library.
11387 hardcode_minus_L
=yes
11388 export_dynamic_flag_spec
='$wl-E'
11392 if test yes,no
= "$GCC,$with_gnu_ld"; then
11393 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11395 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11397 if test no
= "$with_gnu_ld"; then
11398 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11399 hardcode_libdir_separator
=:
11400 hardcode_direct
=yes
11401 hardcode_direct_absolute
=yes
11402 export_dynamic_flag_spec
='$wl-E'
11403 # hardcode_minus_L: Not really in the search PATH,
11404 # but as the default location of the library.
11405 hardcode_minus_L
=yes
11410 if test yes,no
= "$GCC,$with_gnu_ld"; then
11413 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11416 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11419 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11425 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11428 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11432 # Older versions of the 11.00 compiler do not understand -b yet
11433 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11435 $as_echo_n "checking if $CC understands -b... " >&6; }
11436 if ${lt_cv_prog_compiler__b+:} false
; then :
11437 $as_echo_n "(cached) " >&6
11439 lt_cv_prog_compiler__b
=no
11440 save_LDFLAGS
=$LDFLAGS
11441 LDFLAGS
="$LDFLAGS -b"
11442 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11443 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11444 # The linker can only warn and ignore the option if not recognized
11445 # So say no if there are warnings
11446 if test -s conftest.err
; then
11447 # Append any errors to the config.log.
11448 cat conftest.err
1>&5
11449 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11450 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11451 if diff conftest.exp conftest.er2
>/dev
/null
; then
11452 lt_cv_prog_compiler__b
=yes
11455 lt_cv_prog_compiler__b
=yes
11459 LDFLAGS
=$save_LDFLAGS
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11463 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11465 if test yes = "$lt_cv_prog_compiler__b"; then
11466 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11468 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11474 if test no
= "$with_gnu_ld"; then
11475 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11476 hardcode_libdir_separator
=:
11481 hardcode_shlibpath_var
=no
11484 hardcode_direct
=yes
11485 hardcode_direct_absolute
=yes
11486 export_dynamic_flag_spec
='$wl-E'
11488 # hardcode_minus_L: Not really in the search PATH,
11489 # but as the default location of the library.
11490 hardcode_minus_L
=yes
11496 irix5
* | irix6
* | nonstopux
*)
11497 if test yes = "$GCC"; then
11498 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'
11499 # Try to use the -exported_symbol ld option, if it does not
11500 # work, assume that -exports_file does not work either and
11501 # implicitly export all symbols.
11502 # This should be the same for all languages, so no per-tag cache variable.
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11504 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11505 if ${lt_cv_irix_exported_symbol+:} false
; then :
11506 $as_echo_n "(cached) " >&6
11508 save_LDFLAGS
=$LDFLAGS
11509 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11512 int foo (void) { return 0; }
11514 if ac_fn_c_try_link
"$LINENO"; then :
11515 lt_cv_irix_exported_symbol
=yes
11517 lt_cv_irix_exported_symbol
=no
11519 rm -f core conftest.err conftest.
$ac_objext \
11520 conftest
$ac_exeext conftest.
$ac_ext
11521 LDFLAGS
=$save_LDFLAGS
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11524 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11525 if test yes = "$lt_cv_irix_exported_symbol"; then
11526 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'
11529 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'
11530 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'
11532 archive_cmds_need_lc
='no'
11533 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11534 hardcode_libdir_separator
=:
11536 link_all_deplibs
=yes
11540 case $cc_basename in
11542 # Fabrice Bellard et al's Tiny C Compiler
11544 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11550 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11551 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11553 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11555 hardcode_libdir_flag_spec
='-R$libdir'
11556 hardcode_direct
=yes
11557 hardcode_shlibpath_var
=no
11561 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11562 hardcode_direct
=yes
11563 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11564 hardcode_libdir_separator
=:
11565 hardcode_shlibpath_var
=no
11571 openbsd
* | bitrig
*)
11572 if test -f /usr
/libexec
/ld.so
; then
11573 hardcode_direct
=yes
11574 hardcode_shlibpath_var
=no
11575 hardcode_direct_absolute
=yes
11576 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11577 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11578 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11579 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11580 export_dynamic_flag_spec
='$wl-E'
11582 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11583 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11591 hardcode_libdir_flag_spec
='-L$libdir'
11592 hardcode_minus_L
=yes
11593 allow_undefined_flag
=unsupported
11595 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11596 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11597 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11598 $ECHO EXPORTS >> $output_objdir/$libname.def~
11599 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11600 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11601 emximp -o $lib $output_objdir/$libname.def'
11602 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11603 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11604 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11605 $ECHO EXPORTS >> $output_objdir/$libname.def~
11606 prefix_cmds="$SED"~
11607 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11608 prefix_cmds="$prefix_cmds -e 1d";
11610 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11611 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11612 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11613 emximp -o $lib $output_objdir/$libname.def'
11614 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11615 enable_shared_with_static_runtimes
=yes
11619 if test yes = "$GCC"; then
11620 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11621 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'
11623 allow_undefined_flag
=' -expect_unresolved \*'
11624 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'
11626 archive_cmds_need_lc
='no'
11627 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11628 hardcode_libdir_separator
=:
11631 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11632 if test yes = "$GCC"; then
11633 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11634 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'
11635 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11637 allow_undefined_flag
=' -expect_unresolved \*'
11638 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'
11639 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~
11640 $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'
11642 # Both c and cxx compiler support -rpath directly
11643 hardcode_libdir_flag_spec
='-rpath $libdir'
11645 archive_cmds_need_lc
='no'
11646 hardcode_libdir_separator
=:
11650 no_undefined_flag
=' -z defs'
11651 if test yes = "$GCC"; then
11653 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11654 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11655 $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'
11657 case `$CC -V 2>&1` in
11660 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11661 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11662 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11666 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11667 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11668 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11672 hardcode_libdir_flag_spec
='-R$libdir'
11673 hardcode_shlibpath_var
=no
11675 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11677 # The compiler driver will combine and reorder linker options,
11678 # but understands '-z linker_flag'. GCC discards it without '$wl',
11679 # but is careful enough not to reorder.
11680 # Supported since Solaris 2.6 (maybe 2.5.1?)
11681 if test yes = "$GCC"; then
11682 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11684 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11688 link_all_deplibs
=yes
11692 if test sequent
= "$host_vendor"; then
11693 # Use $CC to link under sequent, because it throws in some extra .o
11694 # files that make .init and .fini sections work.
11695 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11697 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11699 hardcode_libdir_flag_spec
='-L$libdir'
11700 hardcode_direct
=yes
11701 hardcode_minus_L
=yes
11702 hardcode_shlibpath_var
=no
11706 case $host_vendor in
11708 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11709 hardcode_direct
=yes # is this really true???
11712 ## LD is ld it makes a PLAMLIB
11713 ## CC just makes a GrossModule.
11714 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11715 reload_cmds
='$CC -r -o $output$reload_objs'
11719 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11720 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11723 runpath_var
='LD_RUN_PATH'
11724 hardcode_shlibpath_var
=no
11728 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11729 hardcode_shlibpath_var
=no
11730 export_dynamic_flag_spec
='-Bexport'
11734 if test -d /usr
/nec
; then
11735 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11736 hardcode_shlibpath_var
=no
11737 runpath_var
=LD_RUN_PATH
11738 hardcode_runpath_var
=yes
11743 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11744 no_undefined_flag
='$wl-z,text'
11745 archive_cmds_need_lc
=no
11746 hardcode_shlibpath_var
=no
11747 runpath_var
='LD_RUN_PATH'
11749 if test yes = "$GCC"; then
11750 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11751 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11753 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11754 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11758 sysv5
* | sco3.2v5
* | sco5v6
*)
11759 # Note: We CANNOT use -z defs as we might desire, because we do not
11760 # link with -lc, and that would cause any symbols used from libc to
11761 # always be unresolved, which means just about no library would
11762 # ever link correctly. If we're not using GNU ld we use -z text
11763 # though, which does catch some bad symbols but isn't as heavy-handed
11765 no_undefined_flag
='$wl-z,text'
11766 allow_undefined_flag
='$wl-z,nodefs'
11767 archive_cmds_need_lc
=no
11768 hardcode_shlibpath_var
=no
11769 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11770 hardcode_libdir_separator
=':'
11771 link_all_deplibs
=yes
11772 export_dynamic_flag_spec
='$wl-Bexport'
11773 runpath_var
='LD_RUN_PATH'
11775 if test yes = "$GCC"; then
11776 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11777 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11779 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11780 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11785 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11786 hardcode_libdir_flag_spec
='-L$libdir'
11787 hardcode_shlibpath_var
=no
11795 if test sni
= "$host_vendor"; then
11797 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11798 export_dynamic_flag_spec
='$wl-Blargedynsym'
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11805 $as_echo "$ld_shlibs" >&6; }
11806 test no
= "$ld_shlibs" && can_build_shared
=no
11808 with_gnu_ld
=$with_gnu_ld
11825 # Do we need to explicitly link libc?
11827 case "x$archive_cmds_need_lc" in
11829 # Assume -lc should be added
11830 archive_cmds_need_lc
=yes
11832 if test yes,yes = "$GCC,$enable_shared"; then
11833 case $archive_cmds in
11835 # FIXME: we may have to deal with multi-command sequences.
11838 # Test whether the compiler implicitly links with -lc since on some
11839 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11840 # to ld, don't add -lc before -lgcc.
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11842 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11843 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11844 $as_echo_n "(cached) " >&6
11847 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11850 (eval $ac_compile) 2>&5
11852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11853 test $ac_status = 0; } 2>conftest.err
; then
11856 libobjs
=conftest.
$ac_objext
11858 wl
=$lt_prog_compiler_wl
11859 pic_flag
=$lt_prog_compiler_pic
11865 lt_save_allow_undefined_flag
=$allow_undefined_flag
11866 allow_undefined_flag
=
11867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11868 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11871 test $ac_status = 0; }
11873 lt_cv_archive_cmds_need_lc
=no
11875 lt_cv_archive_cmds_need_lc
=yes
11877 allow_undefined_flag
=$lt_save_allow_undefined_flag
11879 cat conftest.err
1>&5
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11885 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11886 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12045 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12047 if test yes = "$GCC"; then
12049 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12050 *) lt_awk_arg
='/^libraries:/' ;;
12053 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12054 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12056 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12057 case $lt_search_path_spec in
12059 # if the path contains ";" then we assume it to be the separator
12060 # otherwise default to the standard path separator (i.e. ":") - it is
12061 # assumed that no part of a normal pathname contains ";" but that should
12062 # okay in the real world where ";" in dirpaths is itself problematic.
12063 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12066 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12069 # Ok, now we have the path, separated by spaces, we can step through it
12070 # and add multilib dir if necessary...
12071 lt_tmp_lt_search_path_spec
=
12072 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12073 # ...but if some path component already ends with the multilib dir we assume
12074 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12075 case "$lt_multi_os_dir; $lt_search_path_spec " in
12076 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12080 for lt_sys_path
in $lt_search_path_spec; do
12081 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12082 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12083 elif test -n "$lt_multi_os_dir"; then
12084 test -d "$lt_sys_path" && \
12085 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12088 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12089 BEGIN {RS = " "; FS = "/|\n";} {
12092 for (lt_i = NF; lt_i > 0; lt_i--) {
12093 if ($lt_i != "" && $lt_i != ".") {
12094 if ($lt_i == "..") {
12097 if (lt_count == 0) {
12098 lt_foo = "/" $lt_i lt_foo;
12105 if (lt_foo != "") { lt_freq[lt_foo]++; }
12106 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12108 # AWK program above erroneously prepends '/' to C:/dos/paths
12111 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12112 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12114 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12116 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12118 library_names_spec
=
12119 libname_spec
='lib$name'
12123 postuninstall_cmds
=
12127 shlibpath_overrides_runpath
=unknown
12129 dynamic_linker
="$host_os ld.so"
12130 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12131 need_lib_prefix
=unknown
12132 hardcode_into_libs
=no
12134 # when you set need_version to no, make sure it does not cause -set_version
12135 # flags to be left without arguments
12136 need_version
=unknown
12142 version_type
=linux
# correct to gnu/linux during the next big refactor
12143 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12144 shlibpath_var
=LIBPATH
12146 # AIX 3 has no versioning support, so we append a major version to the name.
12147 soname_spec
='$libname$release$shared_ext$major'
12151 version_type
=linux
# correct to gnu/linux during the next big refactor
12154 hardcode_into_libs
=yes
12155 if test ia64
= "$host_cpu"; then
12156 # AIX 5 supports IA64
12157 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12158 shlibpath_var
=LD_LIBRARY_PATH
12160 # With GCC up to 2.95.x, collect2 would create an import file
12161 # for dependence libraries. The import file would start with
12162 # the line '#! .'. This would cause the generated library to
12163 # depend on '.', always an invalid library. This was fixed in
12164 # development snapshots of GCC prior to 3.0.
12166 aix4 | aix4.
[01] | aix4.
[01].
*)
12167 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12169 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12172 can_build_shared
=no
12176 # Using Import Files as archive members, it is possible to support
12177 # filename-based versioning of shared library archives on AIX. While
12178 # this would work for both with and without runtime linking, it will
12179 # prevent static linking of such archives. So we do filename-based
12180 # shared library versioning with .so extension only, which is used
12181 # when both runtime linking and shared linking is enabled.
12182 # Unfortunately, runtime linking may impact performance, so we do
12183 # not want this to be the default eventually. Also, we use the
12184 # versioned .so libs for executables only if there is the -brtl
12185 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12186 # To allow for filename-based versioning support, we need to create
12187 # libNAME.so.V as an archive file, containing:
12188 # *) an Import File, referring to the versioned filename of the
12189 # archive as well as the shared archive member, telling the
12190 # bitwidth (32 or 64) of that shared object, and providing the
12191 # list of exported symbols of that shared object, eventually
12192 # decorated with the 'weak' keyword
12193 # *) the shared object with the F_LOADONLY flag set, to really avoid
12194 # it being seen by the linker.
12195 # At run time we better use the real file rather than another symlink,
12196 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12198 case $with_aix_soname,$aix_use_runtimelinking in
12199 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12200 # soname into executable. Probably we can add versioning support to
12201 # collect2, so additional links can be useful in future.
12202 aix
,yes) # traditional libtool
12203 dynamic_linker
='AIX unversionable lib.so'
12204 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12205 # instead of lib<name>.a to let people know that these are not
12206 # typical AIX shared libraries.
12207 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12209 aix
,no
) # traditional AIX only
12210 dynamic_linker
='AIX lib.a(lib.so.V)'
12211 # We preserve .a as extension for shared libraries through AIX4.2
12212 # and later when we are not doing run time linking.
12213 library_names_spec
='$libname$release.a $libname.a'
12214 soname_spec
='$libname$release$shared_ext$major'
12216 svr4
,*) # full svr4 only
12217 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12218 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12219 # We do not specify a path in Import Files, so LIBPATH fires.
12220 shlibpath_overrides_runpath
=yes
12222 *,yes) # both, prefer svr4
12223 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12224 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12225 # unpreferred sharedlib libNAME.a needs extra handling
12226 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"'
12227 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"'
12228 # We do not specify a path in Import Files, so LIBPATH fires.
12229 shlibpath_overrides_runpath
=yes
12231 *,no
) # both, prefer aix
12232 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12233 library_names_spec
='$libname$release.a $libname.a'
12234 soname_spec
='$libname$release$shared_ext$major'
12235 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12236 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)'
12237 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"'
12240 shlibpath_var
=LIBPATH
12247 # Since July 2007 AmigaOS4 officially supports .so libraries.
12248 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12249 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12252 library_names_spec
='$libname.ixlibrary $libname.a'
12253 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12254 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'
12260 library_names_spec
='$libname$shared_ext'
12261 dynamic_linker
="$host_os ld.so"
12262 shlibpath_var
=LIBRARY_PATH
12266 version_type
=linux
# correct to gnu/linux during the next big refactor
12268 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12269 soname_spec
='$libname$release$shared_ext$major'
12270 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12271 shlibpath_var
=LD_LIBRARY_PATH
12272 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12273 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12274 # the default ld.so.conf also contains /usr/contrib/lib and
12275 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12276 # libtool to hard-code these into programs
12279 cygwin
* | mingw
* | pw32
* | cegcc
*)
12280 version_type
=windows
12285 case $GCC,$cc_basename in
12288 library_names_spec
='$libname.dll.a'
12289 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12290 postinstall_cmds
='base_file=`basename \$file`~
12291 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12292 dldir=$destdir/`dirname \$dlpath`~
12293 test -d \$dldir || mkdir -p \$dldir~
12294 $install_prog $dir/$dlname \$dldir/$dlname~
12295 chmod a+x \$dldir/$dlname~
12296 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12297 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12299 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12300 dlpath=$dir/\$dldll~
12302 shlibpath_overrides_runpath
=yes
12306 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12307 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12309 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12312 # MinGW DLLs use traditional 'lib' prefix
12313 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12316 # pw32 DLLs use 'pw' prefix rather than 'lib'
12317 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12320 dynamic_linker
='Win32 ld.exe'
12325 libname_spec
='$name'
12326 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12327 library_names_spec
='$libname.dll.lib'
12331 sys_lib_search_path_spec
=
12334 for lt_path
in $LIB
12337 # Let DOS variable expansion print the short 8.3 style file name.
12338 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12339 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12342 # Convert to MSYS style.
12343 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12346 # Convert to unix form, then to dos form, then back to unix form
12347 # but this time dos style (no spaces!) so that the unix form looks
12348 # like /cygdrive/c/PROGRA~1:/cygdr...
12349 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12350 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12351 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12354 sys_lib_search_path_spec
=$LIB
12355 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12356 # It is most probably a Windows format PATH.
12357 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12359 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12361 # FIXME: find the short name or the path components, as spaces are
12362 # common. (e.g. "Program Files" -> "PROGRA~1")
12366 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12367 postinstall_cmds
='base_file=`basename \$file`~
12368 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12369 dldir=$destdir/`dirname \$dlpath`~
12370 test -d \$dldir || mkdir -p \$dldir~
12371 $install_prog $dir/$dlname \$dldir/$dlname'
12372 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12373 dlpath=$dir/\$dldll~
12375 shlibpath_overrides_runpath
=yes
12376 dynamic_linker
='Win32 link.exe'
12380 # Assume MSVC wrapper
12381 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12382 dynamic_linker
='Win32 ld.exe'
12385 # FIXME: first we should search . and the directory the executable is in
12389 darwin
* | rhapsody
*)
12390 dynamic_linker
="$host_os dyld"
12391 version_type
=darwin
12394 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12395 soname_spec
='$libname$release$major$shared_ext'
12396 shlibpath_overrides_runpath
=yes
12397 shlibpath_var
=DYLD_LIBRARY_PATH
12398 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12400 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12401 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12405 version_type
=linux
# correct to gnu/linux during the next big refactor
12408 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12409 soname_spec
='$libname$release$shared_ext$major'
12410 shlibpath_var
=LD_LIBRARY_PATH
12413 freebsd
* | dragonfly
*)
12414 # DragonFly does not have aout. When/if they implement a new
12415 # versioning mechanism, adjust this.
12416 if test -x /usr
/bin
/objformat
; then
12417 objformat
=`/usr/bin/objformat`
12420 freebsd
[23].
*) objformat
=aout
;;
12421 *) objformat
=elf
;;
12424 version_type
=freebsd-
$objformat
12425 case $version_type in
12427 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12428 soname_spec
='$libname$release$shared_ext$major'
12433 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12437 shlibpath_var
=LD_LIBRARY_PATH
12440 shlibpath_overrides_runpath
=yes
12442 freebsd3.
[01]* | freebsdelf3.
[01]*)
12443 shlibpath_overrides_runpath
=yes
12444 hardcode_into_libs
=yes
12446 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12447 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12448 shlibpath_overrides_runpath
=no
12449 hardcode_into_libs
=yes
12451 *) # from 4.6 on, and DragonFly
12452 shlibpath_overrides_runpath
=yes
12453 hardcode_into_libs
=yes
12459 version_type
=linux
# correct to gnu/linux during the next big refactor
12462 dynamic_linker
="$host_os runtime_loader"
12463 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12464 soname_spec
='$libname$release$shared_ext$major'
12465 shlibpath_var
=LIBRARY_PATH
12466 shlibpath_overrides_runpath
=no
12467 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12468 hardcode_into_libs
=yes
12471 hpux9
* | hpux10
* | hpux11
*)
12472 # Give a soname corresponding to the major version so that dld.sl refuses to
12473 # link against other versions.
12480 hardcode_into_libs
=yes
12481 dynamic_linker
="$host_os dld.so"
12482 shlibpath_var
=LD_LIBRARY_PATH
12483 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12484 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12485 soname_spec
='$libname$release$shared_ext$major'
12486 if test 32 = "$HPUX_IA64_MODE"; then
12487 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12488 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12490 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12491 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12496 hardcode_into_libs
=yes
12497 dynamic_linker
="$host_os dld.sl"
12498 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12499 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12500 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12501 soname_spec
='$libname$release$shared_ext$major'
12502 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12503 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12507 dynamic_linker
="$host_os dld.sl"
12508 shlibpath_var
=SHLIB_PATH
12509 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12510 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12511 soname_spec
='$libname$release$shared_ext$major'
12514 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12515 postinstall_cmds
='chmod 555 $lib'
12516 # or fails outright, so override atomically:
12517 install_override_mode
=555
12521 version_type
=linux
# correct to gnu/linux during the next big refactor
12524 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12525 soname_spec
='$libname$release$shared_ext$major'
12526 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12527 shlibpath_var
=LD_LIBRARY_PATH
12528 shlibpath_overrides_runpath
=no
12529 hardcode_into_libs
=yes
12532 irix5
* | irix6
* | nonstopux
*)
12534 nonstopux
*) version_type
=nonstopux
;;
12536 if test yes = "$lt_cv_prog_gnu_ld"; then
12537 version_type
=linux
# correct to gnu/linux during the next big refactor
12544 soname_spec
='$libname$release$shared_ext$major'
12545 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12547 irix5
* | nonstopux
*)
12548 libsuff
= shlibsuff
=
12551 case $LD in # libtool.m4 will add one of these switches to LD
12552 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12553 libsuff
= shlibsuff
= libmagic
=32-bit;;
12554 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12555 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12556 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12557 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12558 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12562 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12563 shlibpath_overrides_runpath
=no
12564 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12565 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12566 hardcode_into_libs
=yes
12569 # No shared lib support for Linux oldld, aout, or coff.
12570 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12575 version_type
=none
# Android doesn't support versioned libraries.
12578 library_names_spec
='$libname$release$shared_ext'
12579 soname_spec
='$libname$release$shared_ext'
12581 shlibpath_var
=LD_LIBRARY_PATH
12582 shlibpath_overrides_runpath
=yes
12584 # This implies no fast_install, which is unacceptable.
12585 # Some rework will be needed to allow for fast_install
12586 # before this can be enabled.
12587 hardcode_into_libs
=yes
12589 dynamic_linker
='Android linker'
12590 # Don't embed -rpath directories since the linker doesn't support them.
12591 hardcode_libdir_flag_spec
='-L$libdir'
12594 # This must be glibc/ELF.
12595 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12596 version_type
=linux
# correct to gnu/linux during the next big refactor
12599 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12600 soname_spec
='$libname$release$shared_ext$major'
12601 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12602 shlibpath_var
=LD_LIBRARY_PATH
12603 shlibpath_overrides_runpath
=no
12605 # Some binutils ld are patched to set DT_RUNPATH
12606 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12607 $as_echo_n "(cached) " >&6
12609 lt_cv_shlibpath_overrides_runpath
=no
12610 save_LDFLAGS
=$LDFLAGS
12611 save_libdir
=$libdir
12612 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12613 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12625 if ac_fn_c_try_link
"$LINENO"; then :
12626 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12627 lt_cv_shlibpath_overrides_runpath
=yes
12630 rm -f core conftest.err conftest.
$ac_objext \
12631 conftest
$ac_exeext conftest.
$ac_ext
12632 LDFLAGS
=$save_LDFLAGS
12633 libdir
=$save_libdir
12637 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12639 # This implies no fast_install, which is unacceptable.
12640 # Some rework will be needed to allow for fast_install
12641 # before this can be enabled.
12642 hardcode_into_libs
=yes
12644 # Ideally, we could use ldconfig to report *all* directores which are
12645 # searched for libraries, however this is still not possible. Aside from not
12646 # being certain /sbin/ldconfig is available, command
12647 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12648 # even though it is searched at run-time. Try to do the best guess by
12649 # appending ld.so.conf contents (and includes) to the search path.
12650 if test -f /etc
/ld.so.conf
; then
12651 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' ' '`
12652 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12655 # We used to test for /lib/ld.so.1 and disable shared libraries on
12656 # powerpc, because MkLinux only supported shared libraries with the
12657 # GNU dynamic linker. Since this was broken with cross compilers,
12658 # most powerpc-linux boxes support dynamic linking these days and
12659 # people can always --disable-shared, the test was removed, and we
12660 # assume the GNU/Linux dynamic linker is in use.
12661 dynamic_linker
='GNU/Linux ld.so'
12668 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12669 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12670 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12671 dynamic_linker
='NetBSD (a.out) ld.so'
12673 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12674 soname_spec
='$libname$release$shared_ext$major'
12675 dynamic_linker
='NetBSD ld.elf_so'
12677 shlibpath_var
=LD_LIBRARY_PATH
12678 shlibpath_overrides_runpath
=yes
12679 hardcode_into_libs
=yes
12683 version_type
=linux
# correct to gnu/linux during the next big refactor
12684 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12685 shlibpath_var
=LD_LIBRARY_PATH
12686 shlibpath_overrides_runpath
=yes
12693 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12694 soname_spec
='$libname$release$shared_ext$major'
12695 shlibpath_var
=LD_LIBRARY_PATH
12696 shlibpath_overrides_runpath
=no
12697 hardcode_into_libs
=yes
12698 dynamic_linker
='ldqnx.so'
12701 openbsd
* | bitrig
*)
12703 sys_lib_dlsearch_path_spec
=/usr
/lib
12705 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12710 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12711 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12712 shlibpath_var
=LD_LIBRARY_PATH
12713 shlibpath_overrides_runpath
=yes
12717 libname_spec
='$name'
12718 version_type
=windows
12722 # OS/2 can only load a DLL with a base name of 8 characters or less.
12723 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12724 v=$($ECHO $release$versuffix | tr -d .-);
12725 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12726 $ECHO $n$v`$shared_ext'
12727 library_names_spec
='${libname}_dll.$libext'
12728 dynamic_linker
='OS/2 ld.exe'
12729 shlibpath_var
=BEGINLIBPATH
12730 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12731 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12732 postinstall_cmds
='base_file=`basename \$file`~
12733 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12734 dldir=$destdir/`dirname \$dlpath`~
12735 test -d \$dldir || mkdir -p \$dldir~
12736 $install_prog $dir/$dlname \$dldir/$dlname~
12737 chmod a+x \$dldir/$dlname~
12738 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12739 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12741 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12742 dlpath=$dir/\$dldll~
12746 osf3
* | osf4
* | osf5
*)
12750 soname_spec
='$libname$release$shared_ext$major'
12751 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12752 shlibpath_var
=LD_LIBRARY_PATH
12753 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12754 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12762 version_type
=linux
# correct to gnu/linux during the next big refactor
12765 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12766 soname_spec
='$libname$release$shared_ext$major'
12767 shlibpath_var
=LD_LIBRARY_PATH
12768 shlibpath_overrides_runpath
=yes
12769 hardcode_into_libs
=yes
12770 # ldd complains unless libraries are executable
12771 postinstall_cmds
='chmod +x $lib'
12776 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12777 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12778 shlibpath_var
=LD_LIBRARY_PATH
12779 shlibpath_overrides_runpath
=yes
12780 if test yes = "$with_gnu_ld"; then
12787 version_type
=linux
# correct to gnu/linux during the next big refactor
12788 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12789 soname_spec
='$libname$release$shared_ext$major'
12790 shlibpath_var
=LD_LIBRARY_PATH
12791 case $host_vendor in
12793 shlibpath_overrides_runpath
=no
12795 runpath_var
=LD_RUN_PATH
12803 shlibpath_overrides_runpath
=no
12804 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12810 if test -d /usr
/nec
; then
12811 version_type
=linux
# correct to gnu/linux during the next big refactor
12812 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12813 soname_spec
='$libname$shared_ext.$major'
12814 shlibpath_var
=LD_LIBRARY_PATH
12818 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12822 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12823 soname_spec
='$libname$release$shared_ext$major'
12824 shlibpath_var
=LD_LIBRARY_PATH
12825 shlibpath_overrides_runpath
=yes
12826 hardcode_into_libs
=yes
12827 if test yes = "$with_gnu_ld"; then
12828 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12830 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12833 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12837 sys_lib_dlsearch_path_spec
='/usr/lib'
12841 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12842 version_type
=linux
# correct to gnu/linux during the next big refactor
12845 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12846 shlibpath_var
=LD_LIBRARY_PATH
12847 shlibpath_overrides_runpath
=no
12848 hardcode_into_libs
=yes
12852 version_type
=linux
# correct to gnu/linux during the next big refactor
12853 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12854 soname_spec
='$libname$release$shared_ext$major'
12855 shlibpath_var
=LD_LIBRARY_PATH
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12863 $as_echo "$dynamic_linker" >&6; }
12864 test no
= "$dynamic_linker" && can_build_shared
=no
12866 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12867 if test yes = "$GCC"; then
12868 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12871 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12872 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12875 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12876 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12879 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12880 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12882 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12883 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12885 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12886 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12985 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12987 if test -n "$hardcode_libdir_flag_spec" ||
12988 test -n "$runpath_var" ||
12989 test yes = "$hardcode_automatic"; then
12991 # We can hardcode non-existent directories.
12992 if test no
!= "$hardcode_direct" &&
12993 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12994 # have to relink, otherwise we might link with an installed library
12995 # when we should be linking with a yet-to-be-installed one
12996 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12997 test no
!= "$hardcode_minus_L"; then
12998 # Linking always hardcodes the temporary library directory.
12999 hardcode_action
=relink
13001 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13002 hardcode_action
=immediate
13005 # We cannot hardcode anything, or else we can only hardcode existing
13007 hardcode_action
=unsupported
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13010 $as_echo "$hardcode_action" >&6; }
13012 if test relink
= "$hardcode_action" ||
13013 test yes = "$inherit_rpath"; then
13014 # Fast installation is not supported
13015 enable_fast_install
=no
13016 elif test yes = "$shlibpath_overrides_runpath" ||
13017 test no
= "$enable_shared"; then
13018 # Fast installation is not necessary
13019 enable_fast_install
=needless
13027 if test yes != "$enable_dlopen"; then
13028 enable_dlopen
=unknown
13029 enable_dlopen_self
=unknown
13030 enable_dlopen_self_static
=unknown
13037 lt_cv_dlopen
=load_add_on
13039 lt_cv_dlopen_self
=yes
13042 mingw
* | pw32
* | cegcc
*)
13043 lt_cv_dlopen
=LoadLibrary
13048 lt_cv_dlopen
=dlopen
13053 # if libdl is installed we need to link against it
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13055 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13056 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13057 $as_echo_n "(cached) " >&6
13059 ac_check_lib_save_LIBS
=$LIBS
13061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13079 if ac_fn_c_try_link
"$LINENO"; then :
13080 ac_cv_lib_dl_dlopen
=yes
13082 ac_cv_lib_dl_dlopen
=no
13084 rm -f core conftest.err conftest.
$ac_objext \
13085 conftest
$ac_exeext conftest.
$ac_ext
13086 LIBS
=$ac_check_lib_save_LIBS
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13089 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13090 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13091 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13096 lt_cv_dlopen_self
=yes
13103 # Don't try to run any link tests for TPF. We know it's impossible
13104 # because TPF is a cross-compiler, and we know how we open DSOs.
13105 lt_cv_dlopen
=dlopen
13107 lt_cv_dlopen_self
=no
13111 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13112 if test "x$ac_cv_func_shl_load" = xyes
; then :
13113 lt_cv_dlopen
=shl_load
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13116 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13117 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13118 $as_echo_n "(cached) " >&6
13120 ac_check_lib_save_LIBS
=$LIBS
13122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13135 return shl_load ();
13140 if ac_fn_c_try_link
"$LINENO"; then :
13141 ac_cv_lib_dld_shl_load
=yes
13143 ac_cv_lib_dld_shl_load
=no
13145 rm -f core conftest.err conftest.
$ac_objext \
13146 conftest
$ac_exeext conftest.
$ac_ext
13147 LIBS
=$ac_check_lib_save_LIBS
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13150 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13151 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13152 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13154 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13155 if test "x$ac_cv_func_dlopen" = xyes
; then :
13156 lt_cv_dlopen
=dlopen
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13159 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13160 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13161 $as_echo_n "(cached) " >&6
13163 ac_check_lib_save_LIBS
=$LIBS
13165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13183 if ac_fn_c_try_link
"$LINENO"; then :
13184 ac_cv_lib_dl_dlopen
=yes
13186 ac_cv_lib_dl_dlopen
=no
13188 rm -f core conftest.err conftest.
$ac_objext \
13189 conftest
$ac_exeext conftest.
$ac_ext
13190 LIBS
=$ac_check_lib_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13193 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13194 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13195 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13198 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13199 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13200 $as_echo_n "(cached) " >&6
13202 ac_check_lib_save_LIBS
=$LIBS
13203 LIBS
="-lsvld $LIBS"
13204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13222 if ac_fn_c_try_link
"$LINENO"; then :
13223 ac_cv_lib_svld_dlopen
=yes
13225 ac_cv_lib_svld_dlopen
=no
13227 rm -f core conftest.err conftest.
$ac_objext \
13228 conftest
$ac_exeext conftest.
$ac_ext
13229 LIBS
=$ac_check_lib_save_LIBS
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13232 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13233 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13234 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13237 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13238 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13239 $as_echo_n "(cached) " >&6
13241 ac_check_lib_save_LIBS
=$LIBS
13243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13246 /* Override any GCC internal prototype to avoid an error.
13247 Use char because int might match the return type of a GCC
13248 builtin and then its argument prototype would still apply. */
13256 return dld_link ();
13261 if ac_fn_c_try_link
"$LINENO"; then :
13262 ac_cv_lib_dld_dld_link
=yes
13264 ac_cv_lib_dld_dld_link
=no
13266 rm -f core conftest.err conftest.
$ac_objext \
13267 conftest
$ac_exeext conftest.
$ac_ext
13268 LIBS
=$ac_check_lib_save_LIBS
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13271 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13272 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13273 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13294 if test no
= "$lt_cv_dlopen"; then
13300 case $lt_cv_dlopen in
13302 save_CPPFLAGS
=$CPPFLAGS
13303 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13305 save_LDFLAGS
=$LDFLAGS
13306 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13309 LIBS
="$lt_cv_dlopen_libs $LIBS"
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13312 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13313 if ${lt_cv_dlopen_self+:} false
; then :
13314 $as_echo_n "(cached) " >&6
13316 if test yes = "$cross_compiling"; then :
13317 lt_cv_dlopen_self
=cross
13319 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13320 lt_status
=$lt_dlunknown
13321 cat > conftest.
$ac_ext <<_LT_EOF
13322 #line $LINENO "configure"
13323 #include "confdefs.h"
13332 # define LT_DLGLOBAL RTLD_GLOBAL
13335 # define LT_DLGLOBAL DL_GLOBAL
13337 # define LT_DLGLOBAL 0
13341 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13342 find out it does not work in some platform. */
13343 #ifndef LT_DLLAZY_OR_NOW
13345 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13348 # define LT_DLLAZY_OR_NOW DL_LAZY
13351 # define LT_DLLAZY_OR_NOW RTLD_NOW
13354 # define LT_DLLAZY_OR_NOW DL_NOW
13356 # define LT_DLLAZY_OR_NOW 0
13363 /* When -fvisibility=hidden is used, assume the code has been annotated
13364 correspondingly for the symbols needed. */
13365 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13366 int fnord () __attribute__((visibility("default")));
13369 int fnord () { return 42; }
13372 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13373 int status = $lt_dlunknown;
13377 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13380 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13381 else puts (dlerror ());
13383 /* dlclose (self); */
13391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13392 (eval $ac_link) 2>&5
13394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13395 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13396 (.
/conftest
; exit; ) >&5 2>/dev
/null
13398 case x
$lt_status in
13399 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13400 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13401 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13404 # compilation failed
13405 lt_cv_dlopen_self
=no
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13413 $as_echo "$lt_cv_dlopen_self" >&6; }
13415 if test yes = "$lt_cv_dlopen_self"; then
13416 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13418 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13419 if ${lt_cv_dlopen_self_static+:} false
; then :
13420 $as_echo_n "(cached) " >&6
13422 if test yes = "$cross_compiling"; then :
13423 lt_cv_dlopen_self_static
=cross
13425 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13426 lt_status
=$lt_dlunknown
13427 cat > conftest.
$ac_ext <<_LT_EOF
13428 #line $LINENO "configure"
13429 #include "confdefs.h"
13438 # define LT_DLGLOBAL RTLD_GLOBAL
13441 # define LT_DLGLOBAL DL_GLOBAL
13443 # define LT_DLGLOBAL 0
13447 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13448 find out it does not work in some platform. */
13449 #ifndef LT_DLLAZY_OR_NOW
13451 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13454 # define LT_DLLAZY_OR_NOW DL_LAZY
13457 # define LT_DLLAZY_OR_NOW RTLD_NOW
13460 # define LT_DLLAZY_OR_NOW DL_NOW
13462 # define LT_DLLAZY_OR_NOW 0
13469 /* When -fvisibility=hidden is used, assume the code has been annotated
13470 correspondingly for the symbols needed. */
13471 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13472 int fnord () __attribute__((visibility("default")));
13475 int fnord () { return 42; }
13478 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13479 int status = $lt_dlunknown;
13483 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13486 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13487 else puts (dlerror ());
13489 /* dlclose (self); */
13497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13498 (eval $ac_link) 2>&5
13500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13501 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13502 (.
/conftest
; exit; ) >&5 2>/dev
/null
13504 case x
$lt_status in
13505 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13506 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13507 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13510 # compilation failed
13511 lt_cv_dlopen_self_static
=no
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13519 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13522 CPPFLAGS
=$save_CPPFLAGS
13523 LDFLAGS
=$save_LDFLAGS
13528 case $lt_cv_dlopen_self in
13529 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13530 *) enable_dlopen_self
=unknown
;;
13533 case $lt_cv_dlopen_self_static in
13534 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13535 *) enable_dlopen_self_static
=unknown
;;
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13558 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13559 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13560 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13561 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13563 $as_echo "yes" >&6; }
13565 # FIXME - insert some real tests, host_os isn't really good enough
13568 if test -n "$STRIP"; then
13569 striplib
="$STRIP -x"
13570 old_striplib
="$STRIP -S"
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13572 $as_echo "yes" >&6; }
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13575 $as_echo "no" >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13580 $as_echo "no" >&6; }
13596 # Report what library types will actually be built
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13598 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13600 $as_echo "$can_build_shared" >&6; }
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13603 $as_echo_n "checking whether to build shared libraries... " >&6; }
13604 test no
= "$can_build_shared" && enable_shared
=no
13606 # On AIX, shared libraries and static libraries use the same namespace, and
13607 # are all built from PIC.
13610 test yes = "$enable_shared" && enable_static
=no
13611 if test -n "$RANLIB"; then
13612 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13613 postinstall_cmds
='$RANLIB $lib'
13618 if test ia64
!= "$host_cpu"; then
13619 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13620 yes,aix
,yes) ;; # shared object as lib.so file only
13621 yes,svr4
,*) ;; # shared object as lib.so archive member only
13622 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13628 $as_echo "$enable_shared" >&6; }
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13631 $as_echo_n "checking whether to build static libraries... " >&6; }
13632 # Make sure either enable_shared or enable_static is yes.
13633 test yes = "$enable_shared" || enable_static
=yes
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13635 $as_echo "$enable_static" >&6; }
13642 ac_cpp
='$CPP $CPPFLAGS'
13643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13663 ac_config_commands
="$ac_config_commands libtool"
13668 # Only expand once:
13672 # The cast to long int works around a bug in the HP C Compiler
13673 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13674 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13675 # This bug is HP SR number 8606223364.
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13677 $as_echo_n "checking size of void *... " >&6; }
13678 if ${ac_cv_sizeof_void_p+:} false
; then :
13679 $as_echo_n "(cached) " >&6
13681 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13684 if test "$ac_cv_type_void_p" = yes; then
13685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13687 as_fn_error
77 "cannot compute sizeof (void *)
13688 See \`config.log' for more details" "$LINENO" 5; }
13690 ac_cv_sizeof_void_p
=0
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13696 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13700 cat >>confdefs.h
<<_ACEOF
13701 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13705 case $host:$ac_cv_sizeof_void_p in #(
13707 kpse_dll_name
=texluajit
;; #(
13709 kpse_dll_name
=texluajit
;; #(
13711 kpse_dll_name
= ;; #(
13713 kpse_dll_name
= ;; #(
13722 # The cast to long int works around a bug in the HP C Compiler
13723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13725 # This bug is HP SR number 8606223364.
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13727 $as_echo_n "checking size of void *... " >&6; }
13728 if ${ac_cv_sizeof_void_p+:} false
; then :
13729 $as_echo_n "(cached) " >&6
13731 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13734 if test "$ac_cv_type_void_p" = yes; then
13735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13737 as_fn_error
77 "cannot compute sizeof (void *)
13738 See \`config.log' for more details" "$LINENO" 5; }
13740 ac_cv_sizeof_void_p
=0
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13746 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13750 cat >>confdefs.h
<<_ACEOF
13751 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13755 ac_configure_args
="$ac_configure_args HOST_PTR_SIZE='$ac_cv_sizeof_void_p'"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
13758 $as_echo_n "checking for library containing sqrt... " >&6; }
13759 if ${ac_cv_search_sqrt+:} false
; then :
13760 $as_echo_n "(cached) " >&6
13762 ac_func_search_save_LIBS
=$LIBS
13763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13766 /* Override any GCC internal prototype to avoid an error.
13767 Use char because int might match the return type of a GCC
13768 builtin and then its argument prototype would still apply. */
13781 for ac_lib
in '' m
; do
13782 if test -z "$ac_lib"; then
13783 ac_res
="none required"
13786 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13788 if ac_fn_c_try_link
"$LINENO"; then :
13789 ac_cv_search_sqrt
=$ac_res
13791 rm -f core conftest.err conftest.
$ac_objext \
13793 if ${ac_cv_search_sqrt+:} false
; then :
13797 if ${ac_cv_search_sqrt+:} false
; then :
13800 ac_cv_search_sqrt
=no
13802 rm conftest.
$ac_ext
13803 LIBS
=$ac_func_search_save_LIBS
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
13806 $as_echo "$ac_cv_search_sqrt" >&6; }
13807 ac_res
=$ac_cv_search_sqrt
13808 if test "$ac_res" != no
; then :
13809 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13814 $as_echo_n "checking for library containing dlopen... " >&6; }
13815 if ${ac_cv_search_dlopen+:} false
; then :
13816 $as_echo_n "(cached) " >&6
13818 ac_func_search_save_LIBS
=$LIBS
13819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13822 /* Override any GCC internal prototype to avoid an error.
13823 Use char because int might match the return type of a GCC
13824 builtin and then its argument prototype would still apply. */
13837 for ac_lib
in '' dl
; do
13838 if test -z "$ac_lib"; then
13839 ac_res
="none required"
13842 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13844 if ac_fn_c_try_link
"$LINENO"; then :
13845 ac_cv_search_dlopen
=$ac_res
13847 rm -f core conftest.err conftest.
$ac_objext \
13849 if ${ac_cv_search_dlopen+:} false
; then :
13853 if ${ac_cv_search_dlopen+:} false
; then :
13856 ac_cv_search_dlopen
=no
13858 rm conftest.
$ac_ext
13859 LIBS
=$ac_func_search_save_LIBS
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13862 $as_echo "$ac_cv_search_dlopen" >&6; }
13863 ac_res
=$ac_cv_search_dlopen
13864 if test "$ac_res" != no
; then :
13865 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13870 LUAJIT_DEFINES
='-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6'
13872 case $host_os:$host_cpu in #(
13874 LUAJIT_LDEXTRA
='-pagezero_size 10000 -image_base 100000000' ;; #(
13880 # Check whether --enable-largefile was given.
13881 if test "${enable_largefile+set}" = set; then :
13882 enableval
=$enable_largefile;
13885 if test "$enable_largefile" != no
; then
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13888 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13889 if ${ac_cv_sys_largefile_CC+:} false
; then :
13890 $as_echo_n "(cached) " >&6
13892 ac_cv_sys_largefile_CC
=no
13893 if test "$GCC" != yes; then
13896 # IRIX 6.2 and later do not support large files by default,
13897 # so use the C compiler's -n32 option if that helps.
13898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13900 #include <sys/types.h>
13901 /* Check that off_t can represent 2**63 - 1 correctly.
13902 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13903 since some C++ compilers masquerading as C compilers
13904 incorrectly reject 9223372036854775807. */
13905 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13906 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13907 && LARGE_OFF_T % 2147483647 == 1)
13917 if ac_fn_c_try_compile
"$LINENO"; then :
13920 rm -f core conftest.err conftest.
$ac_objext
13922 if ac_fn_c_try_compile
"$LINENO"; then :
13923 ac_cv_sys_largefile_CC
=' -n32'; break
13925 rm -f core conftest.err conftest.
$ac_objext
13929 rm -f conftest.
$ac_ext
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13933 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13934 if test "$ac_cv_sys_largefile_CC" != no
; then
13935 CC
=$CC$ac_cv_sys_largefile_CC
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13939 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13940 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13941 $as_echo_n "(cached) " >&6
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 #include <sys/types.h>
13947 /* Check that off_t can represent 2**63 - 1 correctly.
13948 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13949 since some C++ compilers masquerading as C compilers
13950 incorrectly reject 9223372036854775807. */
13951 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13952 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13953 && LARGE_OFF_T % 2147483647 == 1)
13963 if ac_fn_c_try_compile
"$LINENO"; then :
13964 ac_cv_sys_file_offset_bits
=no
; break
13966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13969 #define _FILE_OFFSET_BITS 64
13970 #include <sys/types.h>
13971 /* Check that off_t can represent 2**63 - 1 correctly.
13972 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13973 since some C++ compilers masquerading as C compilers
13974 incorrectly reject 9223372036854775807. */
13975 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13976 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13977 && LARGE_OFF_T % 2147483647 == 1)
13987 if ac_fn_c_try_compile
"$LINENO"; then :
13988 ac_cv_sys_file_offset_bits
=64; break
13990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13991 ac_cv_sys_file_offset_bits
=unknown
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13996 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13997 case $ac_cv_sys_file_offset_bits in #(
14000 cat >>confdefs.h
<<_ACEOF
14001 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14006 if test $ac_cv_sys_file_offset_bits = unknown
; then
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14008 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14009 if ${ac_cv_sys_large_files+:} false
; then :
14010 $as_echo_n "(cached) " >&6
14013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 #include <sys/types.h>
14016 /* Check that off_t can represent 2**63 - 1 correctly.
14017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14018 since some C++ compilers masquerading as C compilers
14019 incorrectly reject 9223372036854775807. */
14020 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14022 && LARGE_OFF_T % 2147483647 == 1)
14032 if ac_fn_c_try_compile
"$LINENO"; then :
14033 ac_cv_sys_large_files
=no
; break
14035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 #define _LARGE_FILES 1
14039 #include <sys/types.h>
14040 /* Check that off_t can represent 2**63 - 1 correctly.
14041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14042 since some C++ compilers masquerading as C compilers
14043 incorrectly reject 9223372036854775807. */
14044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14046 && LARGE_OFF_T % 2147483647 == 1)
14056 if ac_fn_c_try_compile
"$LINENO"; then :
14057 ac_cv_sys_large_files
=1; break
14059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14060 ac_cv_sys_large_files
=unknown
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14065 $as_echo "$ac_cv_sys_large_files" >&6; }
14066 case $ac_cv_sys_large_files in #(
14069 cat >>confdefs.h
<<_ACEOF
14070 #define _LARGE_FILES $ac_cv_sys_large_files
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
14081 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
14082 if ${ac_cv_sys_largefile_source+:} false
; then :
14083 $as_echo_n "(cached) " >&6
14086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14088 #include <sys/types.h> /* for off_t */
14093 int (*fp) (FILE *, off_t, int) = fseeko;
14094 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14099 if ac_fn_c_try_link
"$LINENO"; then :
14100 ac_cv_sys_largefile_source
=no
; break
14102 rm -f core conftest.err conftest.
$ac_objext \
14103 conftest
$ac_exeext conftest.
$ac_ext
14104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14106 #define _LARGEFILE_SOURCE 1
14107 #include <sys/types.h> /* for off_t */
14112 int (*fp) (FILE *, off_t, int) = fseeko;
14113 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14118 if ac_fn_c_try_link
"$LINENO"; then :
14119 ac_cv_sys_largefile_source
=1; break
14121 rm -f core conftest.err conftest.
$ac_objext \
14122 conftest
$ac_exeext conftest.
$ac_ext
14123 ac_cv_sys_largefile_source
=unknown
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
14128 $as_echo "$ac_cv_sys_largefile_source" >&6; }
14129 case $ac_cv_sys_largefile_source in #(
14132 cat >>confdefs.h
<<_ACEOF
14133 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
14139 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
14140 # in glibc 2.1.3, but that breaks too many other things.
14141 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
14142 if test $ac_cv_sys_largefile_source != unknown
; then
14144 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
14148 if test "x$enable_largefile" != xno
; then
14149 case $ac_cv_sys_file_offset_bits in #(
14153 case $ac_cv_sys_large_files in #(
14157 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_LARGE_FILES" ;;
14160 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_FILE_OFFSET_BITS=64" ;;
14163 case $ac_cv_sys_largefile_source in #(
14167 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_LARGEFILE_SOURCE" ;;
14171 case $host_os in #(
14172 cygwin
* | mingw
* | msys
*) :
14173 LJHOST
='Windows' ;; #(
14175 LJHOST
='Darwin' ;; #(
14176 solaris
* | sunos
*) :
14177 LJHOST
='SunOS' ;; #(
14179 LJHOST
='Linux' ;; #(
14181 LJHOST
='FreeBSD' ;; #(
14185 lj_save_CPPFLAGS
=$CPPFLAGS
14186 CPPFLAGS
="$CPPFLAGS -I$srcdir/LuaJIT-src/src $LUAJIT_DEFINES -dM"
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 #include <lj_arch.h>
14191 if ac_fn_c_try_cpp
"$LINENO"; then :
14192 lj_cpp
=ok
; rm -f dynasm_flags native_flags
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architecture" >&5
14194 $as_echo_n "checking for architecture... " >&6; }
14195 cp conftest.i system_flags
14196 LUAJIT_CFLAGS
='-fomit-frame-pointer'
14197 if grep 'LJ_TARGET_X64 ' conftest.i
>/dev
/null
2>&1; then :
14199 elif grep 'LJ_TARGET_X86 ' conftest.i
>/dev
/null
2>&1; then :
14201 LUAJIT_CFLAGS
="$LUAJIT_CFLAGS -march=i686 -msse -msse2 -mfpmath=sse"
14202 elif grep 'LJ_TARGET_ARM ' conftest.i
>/dev
/null
2>&1; then :
14204 elif grep 'LJ_TARGET_ARM64 ' conftest.i
>/dev
/null
2>&1; then :
14206 if test "x$LJHOST" = xiOS
; then :
14207 LUAJIT_CFLAGS
='-fno-omit-frame-pointer'
14209 elif grep 'LJ_TARGET_PPC ' conftest.i
>/dev
/null
2>&1; then :
14211 if grep 'LJ_LE 1' conftest.i
>/dev
/null
2>&1; then :
14212 echo '-DLJ_ARCH_ENDIAN=LUAJIT_LE' >>native_flags
14214 echo '-DLJ_ARCH_ENDIAN=LUAJIT_BE' >>native_flags
14216 elif grep 'LJ_TARGET_MIPS ' conftest.i
>/dev
/null
2>&1; then :
14218 if grep 'MIPSEL ' conftest.i
>/dev
/null
2>&1; then :
14219 echo '-D__MIPSEL__=1' >>native_flags
14222 as_fn_error $?
"Sorry, unsupported architecture" "$LINENO" 5
14224 if grep 'LJ_TARGET_PS3 1'conftest.i
>/dev
/null
2>&1; then :
14226 echo '-D__CELLOS_LV2__' >>native_flags
14227 LUAJIT_DEFINES
="$LUAJIT_DEFINES -DLUAJIT_USE_SYSMALLOC"
14229 if grep 'LJ_NO_UNWIND 1' conftest.i
>/dev
/null
2>&1; then :
14230 echo '-D NO_UNWIND' >>dynasm_flags
14231 echo '-DLUAJIT_NO_UNWIND' >>native_flags
14233 echo "-DLUAJIT_TARGET=LUAJIT_ARCH_$LJARCH" >>native_flags
14234 if grep 'LJ_ARCH_BITS 64' conftest.i
>/dev
/null
2>&1; then :
14235 echo '-D P64' >>dynasm_flags
14236 if test "x$LJHOST" = xLinux
; then :
14237 LUAJIT_DEFINES
="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
14240 if grep 'LJ_HASJIT 1' conftest.i
>/dev
/null
2>&1; then :
14241 echo '-D JIT' >>dynasm_flags
14243 if grep 'LJ_HASFFI 1' conftest.i
>/dev
/null
2>&1; then :
14244 echo '-D FFI' >>dynasm_flags
14246 if grep 'LJ_DUALNUM 1' conftest.i
>/dev
/null
2>&1; then :
14247 echo '-D DUALNUM' >>dynasm_flags
14249 if grep 'LJ_ARCH_HASFPU 1' conftest.i
>/dev
/null
2>&1; then :
14250 echo '-D FPU' >>dynasm_flags
14251 echo '-DLJ_ARCH_HASFPU=1' >>native_flags
14253 echo '-DLJ_ARCH_HASFPU=0' >>native_flags
14255 if grep 'LJ_ABI_SOFTFP 1' conftest.i
>/dev
/null
2>&1; then :
14256 echo '-DDLJ_ABI_SOFTFP=1' >>native_flags
14258 echo '-D HFABI' >>dynasm_flags
14259 echo '-DLJ_ABI_SOFTFP=0' >>native_flags
14261 echo '-D VER='`grep 'LJ_ARCH_VERSION ' conftest.i 2>&1 | \
14262 sed 's/^.*LJ_ARCH_VERSION //'` >>dynasm_flags
14263 if test "x$LJHOST" = xWindows
; then :
14264 echo '-D WIN' >>dynasm_flags
14269 if grep 'LJ_FR2 1' conftest.i
>/dev
/null
2>&1; then :
14275 if test "x$LJHOST" = xiOS
; then :
14276 echo '-D IOS' >>dynasm_flags
14279 if grep 'LJ_ARCH_SQRT 1' conftest.i
>/dev
/null
2>&1; then :
14280 echo '-D SQRT' >>dynasm_flags
14282 if grep 'LJ_ARCH_ROUND 1' conftest.i
>/dev
/null
2>&1; then :
14283 echo '-D ROUND' >>dynasm_flags
14285 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i
>/dev
/null
2>&1; then :
14286 echo '-D GPR64' >>dynasm_flags
14288 if grep 'LJ_ARCH_PPC64 ' conftest.i
>/dev
/null
2>&1; then :
14291 if test "x$LJHOST" = xPS3
; then :
14292 echo '-D PPE -D TOC' >>dynasm_flags
14298 if test "x$build" != "x$host"; then :
14301 echo '-DLUAJIT_OS=LUAJIT_OS_WINDOWS' >>native_flags
;; #(
14303 echo '-DLUAJIT_OS=LUAJIT_OS_OSX' >>native_flags
;; #(
14305 echo '-DLUAJIT_OS=LUAJIT_OS_LINUX' >>native_flags
;; #(
14307 echo '-DLUAJIT_OS=LUAJIT_OS_OTHER' >>native_flags
;;
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LJHOST $LJARCH $DASM_ARCH" >&5
14311 $as_echo "$LJHOST $LJARCH $DASM_ARCH" >&6; }
14314 rm -f conftest.err conftest.i conftest.
$ac_ext
14315 CPPFLAGS
=$lj_save_CPPFLAGS
14322 LUAJIT_CFLAGS
="$LUAJIT_CFLAGS -malign-double" ;; #(
14324 LJVM_MODE
=machasm
;; #(
14326 LJVM_MODE
=elfasm
;;
14328 lj_save_CFLAGS
=$CFLAGS
14329 CFLAGS
="$CFLAGS -fno-stack-protector"
14330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14341 if ac_fn_c_try_compile
"$LINENO"; then :
14342 LUAJIT_CFLAGS
="$LUAJIT_CFLAGS -fno-stack-protector"
14344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14345 CFLAGS
=$lj_save_CFLAGS
14346 if test "x$LJVM_MODE" = xpeobj
; then
14359 case $host_os:$host_cpu in #(
14361 LIBLUAJIT_LDEXTRA
='-image_base 7fff04c4a000' ;; #(
14367 if test "x$enable_build" != xno
; then
14376 if test "x$enable_build" != xno ||
test -f config.force
; then
14378 if test "x$lj_cpp" != xok
; then :
14379 as_fn_error $?
"Sorry, can not preprocess <lj_arch.h>" "$LINENO" 5
14382 echo timestamp
>config.force
14385 # Check log2, on some systems is still not defined
14386 LUAJIT_HAS_NOT_LOG2
=
14387 ac_fn_c_check_decl
"$LINENO" "log2" "ac_cv_have_decl_log2" "#include <math.h>
14389 if test "x$ac_cv_have_decl_log2" = xyes
; then :
14395 cat >>confdefs.h
<<_ACEOF
14396 #define HAVE_DECL_LOG2 $ac_have_decl
14398 if test $ac_have_decl = 1; then :
14401 LUAJIT_HAS_NOT_LOG2
=-DLUAJIT_NO_LOG2
14409 LUAJIT_TREE
=LuaJIT-src
14412 ac_config_headers
="$ac_config_headers config.h"
14415 ac_config_files
="$ac_config_files Makefile include/Makefile texluajit.pc"
14421 subdirs
="$subdirs native"
14426 cat >confcache
<<\_ACEOF
14427 # This file is a shell script that caches the results of configure
14428 # tests run on this system so they can be shared between configure
14429 # scripts and configure runs, see configure's option --config-cache.
14430 # It is not useful on other systems. If it contains results you don't
14431 # want to keep, you may remove or edit it.
14433 # config.status only pays attention to the cache file if you give it
14434 # the --recheck option to rerun configure.
14436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14438 # following values.
14442 # The following way of writing the cache mishandles newlines in values,
14443 # but we know of no workaround that is simple, portable, and efficient.
14444 # So, we kill variables containing newlines.
14445 # Ultrix sh set writes to stderr and can't be redirected directly,
14446 # and sets the high bit in the cache file unless we assign to the vars.
14448 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14449 eval ac_val
=\$
$ac_var
14453 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14457 _ | IFS | as_nl
) ;; #(
14458 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14459 *) { eval $ac_var=; unset $ac_var;} ;;
14465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14466 *${as_nl}ac_space
=\
*)
14467 # `set' does not quote correctly, so add quotes: double-quote
14468 # substitution turns \\\\ into \\, and sed turns \\ into \.
14471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14474 # `set' quotes correctly as required by POSIX, so do not add quotes.
14475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14488 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14489 if test -w "$cache_file"; then
14490 if test "x$cache_file" != "x/dev/null"; then
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14492 $as_echo "$as_me: updating cache $cache_file" >&6;}
14493 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14494 cat confcache
>"$cache_file"
14496 case $cache_file in #(
14498 mv -f confcache
"$cache_file"$$
&&
14499 mv -f "$cache_file"$$
"$cache_file" ;; #(
14501 mv -f confcache
"$cache_file" ;;
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14512 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14513 # Let make expand exec_prefix.
14514 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14516 DEFS
=-DHAVE_CONFIG_H
14521 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14522 # 1. Remove the extension, and $U if already installed.
14523 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14524 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14526 # will be set to the directory where LIBOBJS objects are built.
14527 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14528 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14530 LIBOBJS
=$ac_libobjs
14532 LTLIBOBJS
=$ac_ltlibobjs
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14536 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14537 if test -n "$am_sleep_pid"; then
14538 # Hide warnings about reused PIDs.
14539 wait $am_sleep_pid 2>/dev
/null
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14542 $as_echo "done" >&6; }
14543 if test -n "$EXEEXT"; then
14545 am__EXEEXT_FALSE
='#'
14547 am__EXEEXT_TRUE
='#'
14551 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14552 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14555 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14556 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14559 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14560 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14563 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14564 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14567 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14568 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
14569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14571 if test -z "${PEOBJ_TRUE}" && test -z "${PEOBJ_FALSE}"; then
14572 as_fn_error $?
"conditional \"PEOBJ\" was never defined.
14573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14575 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
14576 as_fn_error $?
"conditional \"build\" was never defined.
14577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14580 : "${CONFIG_STATUS=./config.status}"
14582 ac_clean_files_save
=$ac_clean_files
14583 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14585 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14587 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14589 # Generated by $as_me.
14590 # Run this file to recreate the current configuration.
14591 # Compiler output produced by configure, useful for debugging
14592 # configure, is in config.log if it exists.
14595 ac_cs_recheck=false
14598 SHELL=\${CONFIG_SHELL-$SHELL}
14601 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14602 ## -------------------- ##
14603 ## M4sh Initialization. ##
14604 ## -------------------- ##
14606 # Be more Bourne compatible
14607 DUALCASE
=1; export DUALCASE
# for MKS sh
14608 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14611 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14612 # is contrary to our usage. Disable this feature.
14613 alias -g '${1+"$@"}'='"$@"'
14614 setopt NO_GLOB_SUBST
14616 case `(set -o) 2>/dev/null` in #(
14628 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14629 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14631 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14632 # Prefer a ksh shell builtin over an external printf program on Solaris,
14633 # but without wasting forks for bash or zsh.
14634 if test -z "$BASH_VERSION$ZSH_VERSION" \
14635 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14636 as_echo='print
-r --'
14637 as_echo_n='print
-rn --'
14638 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14639 as_echo='printf %s
\n'
14640 as_echo_n='printf %s
'
14642 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14643 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14644 as_echo_n='/usr
/ucb
/echo -n'
14646 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14647 as_echo_n_body='eval
14651 expr "X$arg" : "X\\(.*\\)$as_nl";
14652 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14654 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14656 export as_echo_n_body
14657 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14659 export as_echo_body
14660 as_echo='sh
-c $as_echo_body as_echo
'
14663 # The user is always right.
14664 if test "${PATH_SEPARATOR+set}" != set; then
14666 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14667 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14674 # We need space, tab and new line, in precisely that order. Quoting is
14675 # there to prevent editors from complaining about space-tab.
14676 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14677 # splitting by setting IFS to empty value.)
14680 # Find who we are. Look in the path if we contain no directory separator.
14683 *[\\/]* ) as_myself=$0 ;;
14684 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14685 for as_dir in $PATH
14688 test -z "$as_dir" && as_dir=.
14689 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14695 # We did not find ourselves, most probably we were run as `sh COMMAND'
14696 # in which case we are not to be found in the path.
14697 if test "x$as_myself" = x
; then
14700 if test ! -f "$as_myself"; then
14701 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14705 # Unset variables that we do not need and which cause bugs (e.g. in
14706 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14707 # suppresses any "Segmentation fault" message there. '((' could
14708 # trigger a bug in pdksh 5.2.14.
14709 for as_var
in BASH_ENV ENV MAIL MAILPATH
14710 do eval test x\
${$as_var+set} = xset \
14711 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14724 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14727 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14728 # ----------------------------------------
14729 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14730 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14731 # script with STATUS, using 1 if that was 0.
14734 as_status
=$1; test $as_status -eq 0 && as_status
=1
14736 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14737 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14739 $as_echo "$as_me: error: $2" >&2
14740 as_fn_exit
$as_status
14744 # as_fn_set_status STATUS
14745 # -----------------------
14746 # Set $? to STATUS, without forking.
14747 as_fn_set_status
()
14750 } # as_fn_set_status
14752 # as_fn_exit STATUS
14753 # -----------------
14754 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14758 as_fn_set_status
$1
14764 # Portably unset VAR.
14767 { eval $1=; unset $1;}
14769 as_unset
=as_fn_unset
14770 # as_fn_append VAR VALUE
14771 # ----------------------
14772 # Append the text in VALUE to the end of the definition contained in VAR. Take
14773 # advantage of any shell optimizations that allow amortized linear growth over
14774 # repeated appends, instead of the typical quadratic growth present in naive
14776 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14777 eval 'as_fn_append ()
14788 # as_fn_arith ARG...
14789 # ------------------
14790 # Perform arithmetic evaluation on the ARGs, and store the result in the
14791 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14792 # must be portable across $(()) and expr.
14793 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14794 eval 'as_fn_arith ()
14801 as_val
=`expr "$@" || test $? -eq 1`
14806 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14807 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14813 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14814 as_basename
=basename
14819 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14825 as_me
=`$as_basename -- "$0" ||
14826 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14827 X"$0" : 'X\(//\)$' \| \
14828 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14830 sed '/^.*\/\([^/][^/]*\)\/*$/{
14844 # Avoid depending upon Character Ranges.
14845 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14846 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14847 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14848 as_cr_digits
='0123456789'
14849 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14851 ECHO_C
= ECHO_N
= ECHO_T
=
14852 case `echo -n x` in #(((((
14854 case `echo 'xy\c'` in
14855 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14857 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14864 rm -f conf$$ conf$$.exe conf$$.
file
14865 if test -d conf$$.dir
; then
14866 rm -f conf$$.dir
/conf$$.
file
14869 mkdir conf$$.dir
2>/dev
/null
14871 if (echo >conf$$.
file) 2>/dev
/null
; then
14872 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14874 # ... but there are two gotchas:
14875 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14876 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14877 # In both cases, we have to default to `cp -pR'.
14878 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14880 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14888 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14889 rmdir conf$$.dir
2>/dev
/null
14894 # Create "$as_dir" as a directory, including parents if necessary.
14899 -*) as_dir
=.
/$as_dir;;
14901 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14905 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14906 *) as_qdir
=$as_dir;;
14908 as_dirs
="'$as_qdir' $as_dirs"
14909 as_dir
=`$as_dirname -- "$as_dir" ||
14910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14911 X"$as_dir" : 'X\(//\)[^/]' \| \
14912 X"$as_dir" : 'X\(//\)$' \| \
14913 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14914 $as_echo X"$as_dir" |
14915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14919 /^X\(\/\/\)[^/].*/{
14932 test -d "$as_dir" && break
14934 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14935 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14939 if mkdir
-p .
2>/dev
/null
; then
14940 as_mkdir_p
='mkdir -p "$as_dir"'
14942 test -d .
/-p && rmdir .
/-p
14947 # as_fn_executable_p FILE
14948 # -----------------------
14949 # Test if FILE is an executable regular file.
14950 as_fn_executable_p
()
14952 test -f "$1" && test -x "$1"
14953 } # as_fn_executable_p
14954 as_test_x
='test -x'
14955 as_executable_p
=as_fn_executable_p
14957 # Sed expression to map a string onto a valid CPP name.
14958 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14960 # Sed expression to map a string onto a valid variable name.
14961 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14965 ## ----------------------------------- ##
14966 ## Main body of $CONFIG_STATUS script. ##
14967 ## ----------------------------------- ##
14969 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14972 # Save the log message, to keep $0 and so on meaningful, and to
14973 # report actual input values of CONFIG_FILES etc. instead of their
14974 # values after options handling.
14976 This file was extended by luajit for TeX Live $as_me 2.1.0-beta2, which was
14977 generated by GNU Autoconf 2.69. Invocation command line was
14979 CONFIG_FILES = $CONFIG_FILES
14980 CONFIG_HEADERS = $CONFIG_HEADERS
14981 CONFIG_LINKS = $CONFIG_LINKS
14982 CONFIG_COMMANDS = $CONFIG_COMMANDS
14985 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14990 case $ac_config_files in *"
14991 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14994 case $ac_config_headers in *"
14995 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15000 # Files that config.status was made for.
15001 config_files="$ac_config_files"
15002 config_headers="$ac_config_headers"
15003 config_commands="$ac_config_commands"
15007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15009 \`$as_me' instantiates files and other configuration actions
15010 from templates according to the current configuration. Unless the files
15011 and actions are specified as TAGs, all are instantiated by default.
15013 Usage: $0 [OPTION]... [TAG]...
15015 -h, --help print this help, then exit
15016 -V, --version print version number and configuration settings, then exit
15017 --config print configuration, then exit
15018 -q, --quiet, --silent
15019 do not print progress messages
15020 -d, --debug don't remove temporary files
15021 --recheck update $as_me by reconfiguring in the same conditions
15022 --file=FILE[:TEMPLATE]
15023 instantiate the configuration file FILE
15024 --header=FILE[:TEMPLATE]
15025 instantiate the configuration header FILE
15027 Configuration files:
15030 Configuration headers:
15033 Configuration commands:
15036 Report bugs to <tex-k@tug.org>."
15039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15040 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15042 luajit for TeX Live config.status 2.1.0-beta2
15043 configured by $0, generated by GNU Autoconf 2.69,
15044 with options \\"\$ac_cs_config\\"
15046 Copyright (C) 2012 Free Software Foundation, Inc.
15047 This config.status script is free software; the Free Software Foundation
15048 gives unlimited permission to copy, distribute and modify it."
15055 test -n "\$AWK" || AWK=awk
15058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15059 # The default lists apply if the user does not specify any file.
15065 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15066 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15070 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15082 # Handling of the options.
15083 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15085 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15086 $as_echo "$ac_cs_version"; exit ;;
15087 --config |
--confi |
--conf |
--con |
--co |
--c )
15088 $as_echo "$ac_cs_config"; exit ;;
15089 --debug |
--debu |
--deb |
--de |
--d |
-d )
15091 --file |
--fil |
--fi |
--f )
15094 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15095 '') as_fn_error $?
"missing file argument" ;;
15097 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15098 ac_need_defaults
=false
;;
15099 --header |
--heade |
--head |
--hea )
15102 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15104 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15105 ac_need_defaults
=false
;;
15107 # Conflict between --help and --header
15108 as_fn_error $?
"ambiguous option: \`$1'
15109 Try \`$0 --help' for more information.";;
15110 --help |
--hel |
-h )
15111 $as_echo "$ac_cs_usage"; exit ;;
15112 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15113 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15116 # This is an error.
15117 -*) as_fn_error $?
"unrecognized option: \`$1'
15118 Try \`$0 --help' for more information." ;;
15120 *) as_fn_append ac_config_targets
" $1"
15121 ac_need_defaults
=false
;;
15127 ac_configure_extra_args
=
15129 if $ac_cs_silent; then
15131 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15136 if \$ac_cs_recheck; then
15137 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15139 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15140 CONFIG_SHELL='$SHELL'
15141 export CONFIG_SHELL
15146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15150 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15151 ## Running $as_me. ##
15157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15161 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15164 # The HP-UX ksh and POSIX shell print the target directory to stdout
15165 # if CDPATH is set.
15166 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15168 sed_quote_subst='$sed_quote_subst'
15169 double_quote_subst='$double_quote_subst'
15170 delay_variable_subst='$delay_variable_subst'
15171 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15172 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15173 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15174 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15175 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15176 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15177 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15178 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15179 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15180 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15181 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15182 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15183 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15184 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15185 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15186 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15187 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15188 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15189 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15190 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15191 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15192 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15193 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15194 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15195 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15196 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15197 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15198 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15199 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15200 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15201 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15202 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15203 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15204 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15205 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15206 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15207 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15208 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15209 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15210 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15211 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15212 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15213 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15214 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15215 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15216 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15217 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15218 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15219 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15220 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15221 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15222 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15223 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15224 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15225 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15226 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15227 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15228 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15229 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15230 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"`'
15231 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15232 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15233 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15234 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15235 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15236 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15237 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15238 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15239 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15240 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15241 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15242 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15243 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15244 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15245 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15246 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15247 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15248 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15249 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15250 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15251 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15252 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15253 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15254 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15255 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15256 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15257 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15258 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15259 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15260 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15261 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15262 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15263 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15264 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15265 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15266 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15267 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15268 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15269 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15270 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15271 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15272 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15273 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15274 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15275 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15276 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15277 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15278 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15279 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15280 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15281 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15282 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15283 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15284 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15285 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15286 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15287 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15288 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15289 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15290 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15291 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15292 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15293 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15294 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15295 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15296 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15297 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15298 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15299 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15300 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15301 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15302 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15303 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15304 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15305 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15306 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15309 LTCFLAGS='$LTCFLAGS'
15310 compiler='$compiler_DEFAULT'
15312 # A function that is used when there is no print builtin or printf.
15313 func_fallback_echo ()
15315 eval 'cat <<_LTECHO_EOF
15320 # Quote evaled strings.
15337 deplibs_check_method \
15341 sharedlib_from_linklib_cmd \
15344 archiver_list_spec \
15350 lt_cv_sys_global_symbol_pipe \
15351 lt_cv_sys_global_symbol_to_cdecl \
15352 lt_cv_sys_global_symbol_to_import \
15353 lt_cv_sys_global_symbol_to_c_name_address \
15354 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15355 lt_cv_nm_interface \
15356 nm_file_list_spec \
15357 lt_cv_truncate_bin \
15358 lt_prog_compiler_no_builtin_flag \
15359 lt_prog_compiler_pic \
15360 lt_prog_compiler_wl \
15361 lt_prog_compiler_static \
15362 lt_cv_prog_compiler_c_o \
15371 export_dynamic_flag_spec \
15372 whole_archive_flag_spec \
15373 compiler_needs_object \
15375 allow_undefined_flag \
15376 no_undefined_flag \
15377 hardcode_libdir_flag_spec \
15378 hardcode_libdir_separator \
15382 variables_saved_for_relink \
15384 library_names_spec \
15386 install_override_mode \
15390 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15391 *[\\\\\\\`\\"\\\$]*)
15392 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15395 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15400 # Double-quote double-evaled strings.
15401 for var in reload_cmds \
15402 old_postinstall_cmds \
15403 old_postuninstall_cmds \
15405 extract_expsyms_cmds \
15406 old_archive_from_new_cmds \
15407 old_archive_from_expsyms_cmds \
15409 archive_expsym_cmds \
15411 module_expsym_cmds \
15412 export_symbols_cmds \
15416 postuninstall_cmds \
15418 sys_lib_search_path_spec \
15419 configure_time_dlsearch_path \
15420 configure_time_lt_sys_library_path; do
15421 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15422 *[\\\\\\\`\\"\\\$]*)
15423 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15426 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15431 ac_aux_dir='$ac_aux_dir'
15433 # See if we are running on zsh, and set the options that allow our
15434 # commands through without removal of \ escapes INIT.
15435 if test -n "\${ZSH_VERSION+set}"; then
15436 setopt NO_GLOB_SUBST
15445 kpse_dll_name='$kpse_dll_name'
15451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15453 # Handling of arguments.
15454 for ac_config_target
in $ac_config_targets
15456 case $ac_config_target in
15457 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15458 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15459 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15460 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15461 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
15462 "texluajit.pc") CONFIG_FILES
="$CONFIG_FILES texluajit.pc" ;;
15464 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15469 # If the user did not use the arguments to specify the items to instantiate,
15470 # then the envvar interface is used. Set only those that are not.
15471 # We use the long form for the default assignment because of an extremely
15472 # bizarre bug on SunOS 4.1.3.
15473 if $ac_need_defaults; then
15474 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15475 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15476 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15479 # Have a temporary directory for convenience. Make it in the build tree
15480 # simply because there is no reason against having it here, and in addition,
15481 # creating and moving files from /tmp can sometimes cause problems.
15482 # Hook for its removal unless debugging.
15483 # Note that there is a small window in which the directory will not be cleaned:
15484 # after its creation but before its name has been assigned to `$tmp'.
15488 trap 'exit_status=$?
15489 : "${ac_tmp:=$tmp}"
15490 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15492 trap 'as_fn_exit 1' 1 2 13 15
15494 # Create a (secure) tmp directory for tmp files.
15497 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15501 tmp
=.
/conf$$
-$RANDOM
15502 (umask 077 && mkdir
"$tmp")
15503 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15506 # Set up the scripts for CONFIG_FILES section.
15507 # No need to generate them if there are no CONFIG_FILES.
15508 # This happens for instance with `./config.status config.h'.
15509 if test -n "$CONFIG_FILES"; then
15512 ac_cr
=`echo X | tr X '\015'`
15513 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15514 # But we know of no other shell where ac_cr would be empty at this
15515 # point, so we can use a bashism as a fallback.
15516 if test "x$ac_cr" = x
; then
15517 eval ac_cr
=\$
\'\\r
\'
15519 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15520 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15523 ac_cs_awk_cr
=$ac_cr
15526 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15531 echo "cat >conf$$subs.awk <<_ACEOF" &&
15532 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15534 } >conf$$subs.sh ||
15535 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15536 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15538 for ac_last_try in false false false false false :; do
15539 . ./conf$$subs.sh ||
15540 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15542 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15543 if test $ac_delim_n = $ac_delim_num; then
15545 elif $ac_last_try; then
15546 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15548 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15551 rm -f conf$$subs.sh
15553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15554 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15558 s/^/S["/; s
/!.
*/"]=/
15568 s/\(.\{148\}\)..*/\1/
15570 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15575 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15582 s/\(.\{148\}\)..*/\1/
15584 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15588 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15593 ' <conf$$subs.awk | sed '
15598 ' >>$CONFIG_STATUS || ac_write_fail=1
15599 rm -f conf$$subs.awk
15600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15602 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15603 for (key in S) S_is_set[key] = 1
15609 nfields = split(line, field, "@
")
15611 len = length(field[1])
15612 for (i = 2; i < nfields; i++) {
15614 keylen = length(key)
15615 if (S_is_set[key]) {
15617 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15618 len += length(value) + length(field[++i])
15629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15630 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15631 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15634 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15635 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15638 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15639 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15640 # trailing colons and then remove the whole line if VPATH becomes empty
15641 # (actually we leave an empty line to preserve line numbers).
15642 if test "x
$srcdir" = x.; then
15643 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15662 fi # test -n "$CONFIG_FILES"
15664 # Set up the scripts for CONFIG_HEADERS section.
15665 # No need to generate them if there are no CONFIG_HEADERS.
15666 # This happens for instance with `./config.status Makefile'.
15667 if test -n "$CONFIG_HEADERS"; then
15668 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15672 # Transform confdefs.h into an awk script `defines.awk', embedded as
15673 # here-document in config.status, that substitutes the proper values into
15674 # config.h.in to produce config.h.
15676 # Create a delimiter string that does not exist in confdefs.h, to ease
15677 # handling of long lines.
15679 for ac_last_try in false false :; do
15680 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15681 if test -z "$ac_tt"; then
15683 elif $ac_last_try; then
15684 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15686 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15690 # For the awk script, D is an array of macro values keyed by name,
15691 # likewise P contains macro parameters if any. Preserve backslash
15692 # newline sequences.
15694 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15696 s/.\{148\}/&'"$ac_delim"'/g
15699 s/^[ ]*#[ ]*define[ ][ ]*/ /
15706 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15708 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15712 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15713 D["\
1"]=" \
3\\\\\\n
"\\/p
15715 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15720 s/.\{148\}/&'"$ac_delim"'/g
15725 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15728 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15730 ' <confdefs.h | sed '
15731 s/'"$ac_delim"'/"\\\
15732 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15735 for (key in D) D_is_set[key] = 1
15738 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15740 split(line, arg, " ")
15741 if (arg[1] == "#") {
15745 defundef
= substr
(arg
[1], 2)
15748 split(mac1
, mac2
, "(") #)
15750 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15751 if (D_is_set
[macro
]) {
15752 # Preserve the white space surrounding the "#".
15753 print prefix
"define", macro P
[macro
] D
[macro
]
15756 # Replace #undef with comments. This is necessary, for example,
15757 # in the case of _POSIX_SOURCE, which is predefined and required
15758 # on some systems where configure will not decide to define it.
15759 if (defundef
== "undef") {
15760 print
"/*", prefix defundef
, macro
, "*/"
15768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15769 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15770 fi # test -n "$CONFIG_HEADERS"
15773 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15778 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15780 case $ac_mode$ac_tag in
15782 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15783 :[FH
]-) ac_tag
=-:-;;
15784 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15801 -) ac_f
="$ac_tmp/stdin";;
15802 *) # Look for the file first in the build tree, then in the source tree
15803 # (if the path is not absolute). The absolute path cannot be DOS-style,
15804 # because $ac_f cannot contain `:'.
15808 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15810 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15812 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15813 as_fn_append ac_file_inputs
" '$ac_f'"
15816 # Let's still pretend it is `configure' which instantiates (i.e., don't
15817 # use $as_me), people would be surprised to read:
15818 # /* config.h. Generated by config.status. */
15819 configure_input
='Generated from '`
15820 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15822 if test x
"$ac_file" != x-
; then
15823 configure_input
="$ac_file. $configure_input"
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15825 $as_echo "$as_me: creating $ac_file" >&6;}
15827 # Neutralize special characters interpreted by sed in replacement strings.
15828 case $configure_input in #(
15829 *\
&* |
*\|
* |
*\\* )
15830 ac_sed_conf_input
=`$as_echo "$configure_input" |
15831 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15832 *) ac_sed_conf_input
=$configure_input;;
15836 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15837 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15842 ac_dir
=`$as_dirname -- "$ac_file" ||
15843 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15844 X"$ac_file" : 'X\(//\)[^/]' \| \
15845 X"$ac_file" : 'X\(//\)$' \| \
15846 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15847 $as_echo X"$ac_file" |
15848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15852 /^X\(\/\/\)[^/].*/{
15865 as_dir
="$ac_dir"; as_fn_mkdir_p
15869 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15871 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15872 # A ".." for each directory in $ac_dir_suffix.
15873 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15874 case $ac_top_builddir_sub in
15875 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15876 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15879 ac_abs_top_builddir
=$ac_pwd
15880 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15881 # for backward compatibility:
15882 ac_top_builddir
=$ac_top_build_prefix
15885 .
) # We are building in place.
15887 ac_top_srcdir
=$ac_top_builddir_sub
15888 ac_abs_top_srcdir
=$ac_pwd ;;
15889 [\\/]* | ?
:[\\/]* ) # Absolute name.
15890 ac_srcdir
=$srcdir$ac_dir_suffix;
15891 ac_top_srcdir
=$srcdir
15892 ac_abs_top_srcdir
=$srcdir ;;
15893 *) # Relative name.
15894 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15895 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15896 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15898 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15908 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15909 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15911 ac_MKDIR_P
=$MKDIR_P
15913 [\\/$
]* | ?
:[\\/]* ) ;;
15914 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15919 # If the template does not know about datarootdir, expand it.
15920 # FIXME: This hack should be removed a few years after 2.60.
15921 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15932 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15933 *datarootdir
*) ac_datarootdir_seen
=yes;;
15934 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15936 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15939 ac_datarootdir_hack='
15940 s&@datadir@&$datadir&g
15941 s&@docdir@&$docdir&g
15942 s&@infodir@&$infodir&g
15943 s&@localedir@&$localedir&g
15944 s&@mandir@&$mandir&g
15945 s&\\\${datarootdir}&$datarootdir&g' ;;
15949 # Neutralize VPATH when `$srcdir' = `.'.
15950 # Shell code in configure.ac might set extrasub.
15951 # FIXME: do we really want to maintain this feature?
15952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15953 ac_sed_extra="$ac_vpsub
15956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15958 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15959 s|@configure_input@|
$ac_sed_conf_input|
;t t
15960 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15961 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15962 s
&@srcdir@
&$ac_srcdir&;t t
15963 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15964 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15965 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15966 s
&@builddir@
&$ac_builddir&;t t
15967 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15968 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15969 s
&@INSTALL@
&$ac_INSTALL&;t t
15970 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15971 $ac_datarootdir_hack
15973 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15974 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15976 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15977 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15978 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15979 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15981 which seems to be undefined. Please make sure it is defined" >&5
15982 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15983 which seems to be undefined. Please make sure it is defined" >&2;}
15985 rm -f "$ac_tmp/stdin"
15987 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15988 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15990 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15996 if test x"$ac_file" != x-; then
15998 $as_echo "/* $configure_input */" \
15999 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16000 } >"$ac_tmp/config.h" \
16001 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16002 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16004 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16007 mv "$ac_tmp/config.h" "$ac_file" \
16008 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16011 $as_echo "/* $configure_input */" \
16012 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16013 || as_fn_error $? "could not create -" "$LINENO" 5
16015 # Compute "$ac_file"'s index
in $config_headers.
16018 for _am_header
in $config_headers :; do
16019 case $_am_header in
16020 $_am_arg |
$_am_arg:* )
16023 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16026 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16027 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16028 X"$_am_arg" : 'X\(//\)[^/]' \| \
16029 X"$_am_arg" : 'X\(//\)$' \| \
16030 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16031 $as_echo X"$_am_arg" |
16032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16036 /^X\(\/\/\)[^/].*/{
16048 s/.*/./; q'`/stamp-h
$_am_stamp_count
16051 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16052 $as_echo "$as_me: executing $ac_file commands" >&6;}
16057 case $ac_file$ac_mode in
16058 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16059 # Older Autoconf quotes --file arguments for eval, but not when files
16060 # are listed without --file. Let's play safe and only enable the eval
16061 # if we detect the quoting.
16062 case $CONFIG_FILES in
16063 *\'*) eval set x
"$CONFIG_FILES" ;;
16064 *) set x
$CONFIG_FILES ;;
16069 # Strip MF so we end up with the name of the file.
16070 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16071 # Check whether this is an Automake generated Makefile or not.
16072 # We used to match only the files named 'Makefile.in', but
16073 # some people rename them; so instead we look at the file content.
16074 # Grep'ing the first line is not enough: some people post-process
16075 # each Makefile.in and add a new line on top of each file to say so.
16076 # Grep'ing the whole file is not good either: AIX grep has a line
16077 # limit of 2048, but all sed's we know have understand at least 4000.
16078 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16079 dirpart
=`$as_dirname -- "$mf" ||
16080 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16081 X"$mf" : 'X\(//\)[^/]' \| \
16082 X"$mf" : 'X\(//\)$' \| \
16083 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16089 /^X\(\/\/\)[^/].*/{
16105 # Extract the definition of DEPDIR, am__include, and am__quote
16106 # from the Makefile without running 'make'.
16107 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16108 test -z "$DEPDIR" && continue
16109 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16110 test -z "$am__include" && continue
16111 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16112 # Find all dependency output files, they are included files with
16113 # $(DEPDIR) in their names. We invoke sed twice because it is the
16114 # simplest approach to changing $(DEPDIR) to its actual value in the
16116 for file in `sed -n "
16117 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16118 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16119 # Make sure the directory exists.
16120 test -f "$dirpart/$file" && continue
16121 fdir
=`$as_dirname -- "$file" ||
16122 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16123 X"$file" : 'X\(//\)[^/]' \| \
16124 X"$file" : 'X\(//\)$' \| \
16125 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16126 $as_echo X"$file" |
16127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16131 /^X\(\/\/\)[^/].*/{
16144 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16145 # echo "creating $dirpart/$file"
16146 echo '# dummy' > "$dirpart/$file"
16153 # See if we are running on zsh, and set the options that allow our
16154 # commands through without removal of \ escapes.
16155 if test -n "${ZSH_VERSION+set}"; then
16156 setopt NO_GLOB_SUBST
16160 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16163 cat <<_LT_EOF >> "$cfgfile"
16165 # Generated automatically by $as_me ($PACKAGE) $VERSION
16166 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16167 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16169 # Provide generalized library-building support services.
16170 # Written by Gordon Matzigkeit, 1996
16172 # Copyright (C) 2014 Free Software Foundation, Inc.
16173 # This is free software; see the source for copying conditions. There is NO
16174 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16176 # GNU Libtool is free software; you can redistribute it and/or modify
16177 # it under the terms of the GNU General Public License as published by
16178 # the Free Software Foundation; either version 2 of of the License, or
16179 # (at your option) any later version.
16181 # As a special exception to the GNU General Public License, if you
16182 # distribute this file as part of a program or library that is built
16183 # using GNU Libtool, you may include this file under the same
16184 # distribution terms that you use for the rest of that program.
16186 # GNU Libtool is distributed in the hope that it will be useful, but
16187 # WITHOUT ANY WARRANTY; without even the implied warranty of
16188 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16189 # GNU General Public License for more details.
16191 # You should have received a copy of the GNU General Public License
16192 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16195 # The names of the tagged configurations supported by this script.
16198 # Configured defaults for sys_lib_dlsearch_path munging.
16199 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16201 # ### BEGIN LIBTOOL CONFIG
16203 # Which release of libtool.m4 was used?
16204 macro_version=$macro_version
16205 macro_revision=$macro_revision
16207 # Assembler program.
16210 # DLL creation program.
16211 DLLTOOL=$lt_DLLTOOL
16213 # Object dumper program.
16214 OBJDUMP=$lt_OBJDUMP
16216 # Whether or not to build shared libraries.
16217 build_libtool_libs=$enable_shared
16219 # Whether or not to build static libraries.
16220 build_old_libs=$enable_static
16222 # What type of objects to build.
16225 # Whether or not to optimize for fast installation.
16226 fast_install=$enable_fast_install
16228 # Shared archive member basename,for filename based shared library versioning on AIX.
16229 shared_archive_member_spec=$shared_archive_member_spec
16231 # Shell to use when invoking shell scripts.
16234 # An echo program that protects backslashes.
16237 # The PATH separator for the build system.
16238 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16241 host_alias=$host_alias
16245 # The build system.
16246 build_alias=$build_alias
16250 # A sed program that does not truncate output.
16253 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16254 Xsed="\$SED -e 1s/^X//"
16256 # A grep program that handles long lines.
16262 # A literal string matcher.
16265 # A BSD- or MS-compatible name lister.
16268 # Whether we need soft or hard links.
16271 # What is the maximum length of a command?
16272 max_cmd_len=$max_cmd_len
16274 # Object file suffix (normally "o").
16277 # Executable file suffix (normally "").
16280 # whether the shell understands "unset".
16283 # turn spaces into newlines.
16286 # turn newlines into spaces.
16289 # convert \$build file names to \$host format.
16290 to_host_file_cmd=$lt_cv_to_host_file_cmd
16292 # convert \$build files to toolchain format.
16293 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16295 # Method to check whether dependent libraries are shared objects.
16296 deplibs_check_method=$lt_deplibs_check_method
16298 # Command to use when deplibs_check_method = "file_magic".
16299 file_magic_cmd=$lt_file_magic_cmd
16301 # How to find potential files when deplibs_check_method = "file_magic".
16302 file_magic_glob=$lt_file_magic_glob
16304 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16305 want_nocaseglob=$lt_want_nocaseglob
16307 # Command to associate shared and link libraries.
16308 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16313 # Flags to create an archive.
16314 AR_FLAGS=$lt_AR_FLAGS
16316 # How to feed a file listing to the archiver.
16317 archiver_list_spec=$lt_archiver_list_spec
16319 # A symbol stripping program.
16322 # Commands used to install an old-style archive.
16324 old_postinstall_cmds=$lt_old_postinstall_cmds
16325 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16327 # Whether to use a lock for old archive extraction.
16328 lock_old_archive_extraction=$lock_old_archive_extraction
16333 # LTCC compiler flags.
16334 LTCFLAGS=$lt_CFLAGS
16336 # Take the output of nm and produce a listing of raw symbols and C names.
16337 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16339 # Transform the output of nm in a proper C declaration.
16340 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16342 # Transform the output of nm into a list of symbols to manually relocate.
16343 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16345 # Transform the output of nm in a C name address pair.
16346 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16348 # Transform the output of nm in a C name address pair when lib prefix is needed.
16349 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16351 # The name lister interface.
16352 nm_interface=$lt_lt_cv_nm_interface
16354 # Specify filename containing input files for \$NM.
16355 nm_file_list_spec=$lt_nm_file_list_spec
16357 # The root where to search for dependent libraries,and where our libraries should be installed.
16358 lt_sysroot=$lt_sysroot
16360 # Command to truncate a binary pipe.
16361 lt_truncate_bin=$lt_lt_cv_truncate_bin
16363 # The name of the directory that contains temporary libtool files.
16366 # Used to examine libraries when file_magic_cmd begins with "file".
16367 MAGIC_CMD=$MAGIC_CMD
16369 # Must we lock files when doing compilation?
16370 need_locks=$lt_need_locks
16373 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16375 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16376 DSYMUTIL=$lt_DSYMUTIL
16378 # Tool to change global to local symbols on Mac OS X.
16381 # Tool to manipulate fat objects and archives on Mac OS X.
16384 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16387 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16388 OTOOL64=$lt_OTOOL64
16390 # Old archive suffix (normally "a").
16393 # Shared library suffix (normally ".so").
16394 shrext_cmds=$lt_shrext_cmds
16396 # The commands to extract the exported symbol list from a shared archive.
16397 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16399 # Variables whose values should be saved in libtool wrapper scripts and
16400 # restored at link time.
16401 variables_saved_for_relink=$lt_variables_saved_for_relink
16403 # Do we need the "lib" prefix for modules?
16404 need_lib_prefix=$need_lib_prefix
16406 # Do we need a version for libraries?
16407 need_version=$need_version
16409 # Library versioning type.
16410 version_type=$version_type
16412 # Shared library runtime path variable.
16413 runpath_var=$runpath_var
16415 # Shared library path variable.
16416 shlibpath_var=$shlibpath_var
16418 # Is shlibpath searched before the hard-coded library search path?
16419 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16421 # Format of library name prefix.
16422 libname_spec=$lt_libname_spec
16424 # List of archive names. First name is the real one, the rest are links.
16425 # The last name is the one that the linker finds with -lNAME
16426 library_names_spec=$lt_library_names_spec
16428 # The coded name of the library, if different from the real name.
16429 soname_spec=$lt_soname_spec
16431 # Permission mode override for installation of shared libraries.
16432 install_override_mode=$lt_install_override_mode
16434 # Command to use after installation of a shared archive.
16435 postinstall_cmds=$lt_postinstall_cmds
16437 # Command to use after uninstallation of a shared archive.
16438 postuninstall_cmds=$lt_postuninstall_cmds
16440 # Commands used to finish a libtool library installation in a directory.
16441 finish_cmds=$lt_finish_cmds
16443 # As "finish_cmds", except a single script fragment to be evaled but
16445 finish_eval=$lt_finish_eval
16447 # Whether we should hardcode library paths into libraries.
16448 hardcode_into_libs=$hardcode_into_libs
16450 # Compile-time system search path for libraries.
16451 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16453 # Detected run-time system search path for libraries.
16454 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16456 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16457 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16459 # Whether dlopen is supported.
16460 dlopen_support=$enable_dlopen
16462 # Whether dlopen of programs is supported.
16463 dlopen_self=$enable_dlopen_self
16465 # Whether dlopen of statically linked programs is supported.
16466 dlopen_self_static=$enable_dlopen_self_static
16468 # Commands to strip libraries.
16469 old_striplib=$lt_old_striplib
16470 striplib=$lt_striplib
16473 # The linker used to build libraries.
16476 # How to create reloadable object files.
16477 reload_flag=$lt_reload_flag
16478 reload_cmds=$lt_reload_cmds
16480 # Commands used to build an old-style archive.
16481 old_archive_cmds=$lt_old_archive_cmds
16483 # A language specific compiler.
16486 # Is the compiler the GNU compiler?
16489 # Compiler flag to turn off builtin functions.
16490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16492 # Additional compiler flags for building library objects.
16493 pic_flag=$lt_lt_prog_compiler_pic
16495 # How to pass a linker flag through the compiler.
16496 wl=$lt_lt_prog_compiler_wl
16498 # Compiler flag to prevent dynamic linking.
16499 link_static_flag=$lt_lt_prog_compiler_static
16501 # Does compiler simultaneously support -c and -o options?
16502 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16504 # Whether or not to add -lc for building shared libraries.
16505 build_libtool_need_lc=$archive_cmds_need_lc
16507 # Whether or not to disallow shared libs when runtime libs are static.
16508 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16510 # Compiler flag to allow reflexive dlopens.
16511 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16513 # Compiler flag to generate shared objects directly from archives.
16514 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16516 # Whether the compiler copes with passing no objects directly.
16517 compiler_needs_object=$lt_compiler_needs_object
16519 # Create an old-style archive from a shared archive.
16520 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16522 # Create a temporary old-style archive to link instead of a shared archive.
16523 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16525 # Commands used to build a shared archive.
16526 archive_cmds=$lt_archive_cmds
16527 archive_expsym_cmds=$lt_archive_expsym_cmds
16529 # Commands used to build a loadable module if different from building
16530 # a shared archive.
16531 module_cmds=$lt_module_cmds
16532 module_expsym_cmds=$lt_module_expsym_cmds
16534 # Whether we are building with GNU ld or not.
16535 with_gnu_ld=$lt_with_gnu_ld
16537 # Flag that allows shared libraries with undefined symbols to be built.
16538 allow_undefined_flag=$lt_allow_undefined_flag
16540 # Flag that enforces no undefined symbols.
16541 no_undefined_flag=$lt_no_undefined_flag
16543 # Flag to hardcode \$libdir into a binary during linking.
16544 # This must work even if \$libdir does not exist
16545 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16547 # Whether we need a single "-rpath" flag with a separated argument.
16548 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16550 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16551 # DIR into the resulting binary.
16552 hardcode_direct=$hardcode_direct
16554 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16555 # DIR into the resulting binary and the resulting library dependency is
16556 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16557 # library is relocated.
16558 hardcode_direct_absolute=$hardcode_direct_absolute
16560 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16561 # into the resulting binary.
16562 hardcode_minus_L=$hardcode_minus_L
16564 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16565 # into the resulting binary.
16566 hardcode_shlibpath_var=$hardcode_shlibpath_var
16568 # Set to "yes" if building a shared library automatically hardcodes DIR
16569 # into the library and all subsequent libraries and executables linked
16571 hardcode_automatic=$hardcode_automatic
16573 # Set to yes if linker adds runtime paths of dependent libraries
16574 # to runtime path list.
16575 inherit_rpath=$inherit_rpath
16577 # Whether libtool must link a program against all its dependency libraries.
16578 link_all_deplibs=$link_all_deplibs
16580 # Set to "yes" if exported symbols are required.
16581 always_export_symbols=$always_export_symbols
16583 # The commands to list exported symbols.
16584 export_symbols_cmds=$lt_export_symbols_cmds
16586 # Symbols that should not be listed in the preloaded symbols.
16587 exclude_expsyms=$lt_exclude_expsyms
16589 # Symbols that must always be exported.
16590 include_expsyms=$lt_include_expsyms
16592 # Commands necessary for linking programs (against libraries) with templates.
16593 prelink_cmds=$lt_prelink_cmds
16595 # Commands necessary for finishing linking programs.
16596 postlink_cmds=$lt_postlink_cmds
16598 # Specify filename containing input files.
16599 file_list_spec=$lt_file_list_spec
16601 # How to hardcode a shared library path into an executable.
16602 hardcode_action=$hardcode_action
16604 # ### END LIBTOOL CONFIG
16608 cat <<'_LT_EOF' >> "$cfgfile"
16610 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16612 # func_munge_path_list VARIABLE PATH
16613 # -----------------------------------
16614 # VARIABLE is name of variable containing _space_ separated list of
16615 # directories to be munged by the contents of PATH, which is string
16618 # string "DIR[ DIR]" will be prepended to VARIABLE
16620 # string "DIR[ DIR]" will be appended to VARIABLE
16621 # "DIRP[:DIRP]::[DIRA:]DIRA"
16622 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16623 # "DIRA[ DIRA]" will be appended to VARIABLE
16625 # VARIABLE will be replaced by "DIR[ DIR]"
16626 func_munge_path_list ()
16632 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16635 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16638 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16639 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16642 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16648 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16649 func_cc_basename ()
16651 for cc_temp in $*""; do
16653 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16654 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16659 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16663 # ### END FUNCTIONS SHARED WITH CONFIGURE
16669 cat <<\_LT_EOF
>> "$cfgfile"
16670 # AIX sometimes has problems with the GCC collect2 program. For some
16671 # reason, if we set the COLLECT_NAMES environment variable, the problems
16672 # vanish in a puff of smoke.
16673 if test set != "${COLLECT_NAMES+set}"; then
16675 export COLLECT_NAMES
16682 ltmain
=$ac_aux_dir/ltmain.sh
16685 # We use sed instead of cat because bash on DJGPP gets confused if
16686 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16687 # text mode, it properly converts lines to CR/LF. This bash problem
16688 # is reportedly fixed, but why not run on old versions too?
16689 sed '$q' "$ltmain" >> "$cfgfile" \
16690 ||
(rm -f "$cfgfile"; exit 1)
16692 mv -f "$cfgfile" "$ofile" ||
16693 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16696 ## KPSE_DLL_NAME: Specify the DLL name
16697 if test "x$kpse_dll_name" != x
; then
16698 $SED '/^soname_spec=/a\
16699 ## KPSE_DLL_NAME: Specify the DLL name\
16700 soname_spec='$kpse_dll_name'.dll\
16701 ' "$ofile" >"$cfgfile"
16702 mv "$cfgfile" "$ofile" ||
16703 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16714 ac_clean_files
=$ac_clean_files_save
16716 test $ac_write_fail = 0 ||
16717 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16719 ac_configure_args
="$ac_configure_args DASM_ARCH=$DASM_ARCH"
16720 if test "x$cross_compiling" = xyes
; then :
16721 if test "x$cache_file" != x
/dev
/null
; then :
16722 cache_file
=config.cache
16724 ac_configure_args
="$ac_configure_args --host='$kpse_build_alias' \
16725 CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \
16726 CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'"
16729 # configure is writing to config.log, and then calls config.status.
16730 # config.status does its own redirection, appending to config.log.
16731 # Unfortunately, on DOS this fails, as config.log is still kept open
16732 # by configure, so config.status won't be able to write to it; its
16733 # output is simply discarded. So we exec the FD to /dev/null,
16734 # effectively closing config.log, so it can be properly (re)opened and
16735 # appended to by config.status. When coming back to configure, we
16736 # need to make the FD available again.
16737 if test "$no_create" != yes; then
16739 ac_config_status_args
=
16740 test "$silent" = yes &&
16741 ac_config_status_args
="$ac_config_status_args --quiet"
16743 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16745 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16746 # would make configure fail if this is the last instruction.
16747 $ac_cs_success || as_fn_exit
1
16751 # CONFIG_SUBDIRS section.
16753 if test "$no_recursion" != yes; then
16755 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16756 # so they do not pile up.
16757 ac_sub_configure_args
=
16759 eval "set x $ac_configure_args"
16763 if test -n "$ac_prev"; then
16768 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16769 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16770 ac_prev
=cache_file
;;
16771 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16772 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16775 --config-cache |
-C)
16777 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16779 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16781 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16783 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16785 --disable-option-checking)
16789 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16791 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
16795 # Always prepend --prefix to ensure using the same prefix
16796 # in subdir configurations.
16797 ac_arg
="--prefix=$prefix"
16799 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16801 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
16804 if test "$silent" = yes; then
16805 ac_sub_configure_args
="--silent $ac_sub_configure_args"
16808 # Always prepend --disable-option-checking to silence warnings, since
16809 # different subdirs can have different --enable and --with options.
16810 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
16813 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
16815 # Do not complain, so a configure script can configure whichever
16816 # parts of a large source tree are present.
16817 test -d "$srcdir/$ac_dir" ||
continue
16819 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16820 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16821 $as_echo "$ac_msg" >&6
16822 as_dir
="$ac_dir"; as_fn_mkdir_p
16826 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16828 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16829 # A ".." for each directory in $ac_dir_suffix.
16830 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16831 case $ac_top_builddir_sub in
16832 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16833 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16836 ac_abs_top_builddir
=$ac_pwd
16837 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16838 # for backward compatibility:
16839 ac_top_builddir
=$ac_top_build_prefix
16842 .
) # We are building in place.
16844 ac_top_srcdir
=$ac_top_builddir_sub
16845 ac_abs_top_srcdir
=$ac_pwd ;;
16846 [\\/]* | ?
:[\\/]* ) # Absolute name.
16847 ac_srcdir
=$srcdir$ac_dir_suffix;
16848 ac_top_srcdir
=$srcdir
16849 ac_abs_top_srcdir
=$srcdir ;;
16850 *) # Relative name.
16851 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16852 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16853 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16855 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16860 # Check for guested configure; otherwise get Cygnus style configure.
16861 if test -f "$ac_srcdir/configure.gnu"; then
16862 ac_sub_configure
=$ac_srcdir/configure.gnu
16863 elif test -f "$ac_srcdir/configure"; then
16864 ac_sub_configure
=$ac_srcdir/configure
16865 elif test -f "$ac_srcdir/configure.in"; then
16866 # This should be Cygnus configure.
16867 ac_sub_configure
=$ac_aux_dir/configure
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16870 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16874 # The recursion is here.
16875 if test -n "$ac_sub_configure"; then
16876 # Make the cache file name correct relative to the subdirectory.
16877 case $cache_file in
16878 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
16879 *) # Relative name.
16880 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16884 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16885 # The eval makes quoting arguments work.
16886 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16887 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16888 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16894 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16896 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}