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-beta1.
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-beta1'
594 PACKAGE_STRING
='luajit for TeX Live 2.1.0-beta1'
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
680 am__fastdepCCAS_FALSE
712 MAINTAINER_MODE_FALSE
726 INSTALL_STRIP_PROGRAM
768 program_transform_name
781 enable_option_checking
783 enable_maintainer_mode
784 enable_dependency_tracking
785 enable_compiler_warnings
796 ac_precious_vars
='build_alias
808 ac_subdirs_all
='native'
810 # Initialize some variables set by options.
812 ac_init_version
=false
813 ac_unrecognized_opts
=
815 # The variables have the same names as the options, with
816 # dashes changed to underlines.
824 program_transform_name
=s
,x
,x
,
832 # Installation directory options.
833 # These are left unexpanded so users can "make install exec_prefix=/foo"
834 # and all the variables that are supposed to be based on exec_prefix
835 # by default will actually change.
836 # Use braces instead of parens because sh, perl, etc. also accept them.
837 # (The list follows the same order as the GNU Coding Standards.)
838 bindir
='${exec_prefix}/bin'
839 sbindir
='${exec_prefix}/sbin'
840 libexecdir
='${exec_prefix}/libexec'
841 datarootdir
='${prefix}/share'
842 datadir
='${datarootdir}'
843 sysconfdir
='${prefix}/etc'
844 sharedstatedir
='${prefix}/com'
845 localstatedir
='${prefix}/var'
846 includedir
='${prefix}/include'
847 oldincludedir
='/usr/include'
848 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
849 infodir
='${datarootdir}/info'
854 libdir
='${exec_prefix}/lib'
855 localedir
='${datarootdir}/locale'
856 mandir
='${datarootdir}/man'
862 # If the previous option needs an argument, assign it.
863 if test -n "$ac_prev"; then
864 eval $ac_prev=\
$ac_option
870 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 # Accept the important Cygnus configure options, so we can diagnose typos.
877 case $ac_dashdash$ac_option in
881 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
883 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
886 -build |
--build |
--buil |
--bui |
--bu)
887 ac_prev
=build_alias
;;
888 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
889 build_alias
=$ac_optarg ;;
891 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
892 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
893 ac_prev
=cache_file
;;
894 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
895 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
896 cache_file
=$ac_optarg ;;
899 cache_file
=config.cache
;;
901 -datadir |
--datadir |
--datadi |
--datad)
903 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
904 datadir
=$ac_optarg ;;
906 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
907 |
--dataroo |
--dataro |
--datar)
908 ac_prev
=datarootdir
;;
909 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
910 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
911 datarootdir
=$ac_optarg ;;
913 -disable-* |
--disable-*)
914 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
917 as_fn_error $?
"invalid feature name: $ac_useropt"
918 ac_useropt_orig
=$ac_useropt
919 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
925 ac_unrecognized_sep
=', ';;
927 eval enable_
$ac_useropt=no
;;
929 -docdir |
--docdir |
--docdi |
--doc |
--do)
931 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
934 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
936 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
939 -enable-* |
--enable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error $?
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=\
$ac_optarg ;;
955 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
956 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
957 |
--exec |
--exe |
--ex)
958 ac_prev
=exec_prefix
;;
959 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
960 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
961 |
--exec=* |
--exe=* |
--ex=*)
962 exec_prefix
=$ac_optarg ;;
964 -gas |
--gas |
--ga |
--g)
965 # Obsolete; use --with-gas.
968 -help |
--help |
--hel |
--he |
-h)
970 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
971 ac_init_help
=recursive
;;
972 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
973 ac_init_help
=short
;;
975 -host |
--host |
--hos |
--ho)
976 ac_prev
=host_alias
;;
977 -host=* |
--host=* |
--hos=* |
--ho=*)
978 host_alias
=$ac_optarg ;;
980 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
982 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
984 htmldir
=$ac_optarg ;;
986 -includedir |
--includedir |
--includedi |
--included |
--include \
987 |
--includ |
--inclu |
--incl |
--inc)
988 ac_prev
=includedir
;;
989 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
990 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
991 includedir
=$ac_optarg ;;
993 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
995 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
996 infodir
=$ac_optarg ;;
998 -libdir |
--libdir |
--libdi |
--libd)
1000 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1001 libdir
=$ac_optarg ;;
1003 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1004 |
--libexe |
--libex |
--libe)
1005 ac_prev
=libexecdir
;;
1006 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1007 |
--libexe=* |
--libex=* |
--libe=*)
1008 libexecdir
=$ac_optarg ;;
1010 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1011 ac_prev
=localedir
;;
1012 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1013 localedir
=$ac_optarg ;;
1015 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1016 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1017 ac_prev
=localstatedir
;;
1018 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1019 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1020 localstatedir
=$ac_optarg ;;
1022 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1024 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1025 mandir
=$ac_optarg ;;
1027 -nfp |
--nfp |
--nf)
1028 # Obsolete; use --without-fp.
1031 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1032 |
--no-cr |
--no-c |
-n)
1035 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1036 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1039 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1040 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1041 |
--oldin |
--oldi |
--old |
--ol |
--o)
1042 ac_prev
=oldincludedir
;;
1043 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1044 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1045 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1046 oldincludedir
=$ac_optarg ;;
1048 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1050 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1051 prefix
=$ac_optarg ;;
1053 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1054 |
--program-pre |
--program-pr |
--program-p)
1055 ac_prev
=program_prefix
;;
1056 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1057 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1058 program_prefix
=$ac_optarg ;;
1060 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1061 |
--program-suf |
--program-su |
--program-s)
1062 ac_prev
=program_suffix
;;
1063 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1064 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1065 program_suffix
=$ac_optarg ;;
1067 -program-transform-name |
--program-transform-name \
1068 |
--program-transform-nam |
--program-transform-na \
1069 |
--program-transform-n |
--program-transform- \
1070 |
--program-transform |
--program-transfor \
1071 |
--program-transfo |
--program-transf \
1072 |
--program-trans |
--program-tran \
1073 |
--progr-tra |
--program-tr |
--program-t)
1074 ac_prev
=program_transform_name
;;
1075 -program-transform-name=* |
--program-transform-name=* \
1076 |
--program-transform-nam=* |
--program-transform-na=* \
1077 |
--program-transform-n=* |
--program-transform-=* \
1078 |
--program-transform=* |
--program-transfor=* \
1079 |
--program-transfo=* |
--program-transf=* \
1080 |
--program-trans=* |
--program-tran=* \
1081 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1082 program_transform_name
=$ac_optarg ;;
1084 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1086 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1087 pdfdir
=$ac_optarg ;;
1089 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1091 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1094 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1095 |
-silent |
--silent |
--silen |
--sile |
--sil)
1098 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1100 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1102 sbindir
=$ac_optarg ;;
1104 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1105 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1106 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1108 ac_prev
=sharedstatedir
;;
1109 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1110 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1111 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1113 sharedstatedir
=$ac_optarg ;;
1115 -site |
--site |
--sit)
1117 -site=* |
--site=* |
--sit=*)
1120 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1122 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1123 srcdir
=$ac_optarg ;;
1125 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1126 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1127 ac_prev
=sysconfdir
;;
1128 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1129 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1130 sysconfdir
=$ac_optarg ;;
1132 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1133 ac_prev
=target_alias
;;
1134 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1135 target_alias
=$ac_optarg ;;
1137 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1140 -version |
--version |
--versio |
--versi |
--vers |
-V)
1141 ac_init_version
=: ;;
1144 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1147 as_fn_error $?
"invalid package name: $ac_useropt"
1148 ac_useropt_orig
=$ac_useropt
1149 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1155 ac_unrecognized_sep
=', ';;
1157 eval with_
$ac_useropt=\
$ac_optarg ;;
1159 -without-* |
--without-*)
1160 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1163 as_fn_error $?
"invalid package name: $ac_useropt"
1164 ac_useropt_orig
=$ac_useropt
1165 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1171 ac_unrecognized_sep
=', ';;
1173 eval with_
$ac_useropt=no
;;
1176 # Obsolete; use --with-x.
1179 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1180 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1181 ac_prev
=x_includes
;;
1182 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1183 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1184 x_includes
=$ac_optarg ;;
1186 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1187 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1188 ac_prev
=x_libraries
;;
1189 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1190 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1191 x_libraries
=$ac_optarg ;;
1193 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1194 Try \`$0 --help' for more information"
1198 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1199 # Reject names that are not valid shell variable names.
1200 case $ac_envvar in #(
1201 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1202 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1204 eval $ac_envvar=\
$ac_optarg
1205 export $ac_envvar ;;
1208 # FIXME: should be removed in autoconf 3.0.
1209 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1211 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218 if test -n "$ac_prev"; then
1219 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1220 as_fn_error $?
"missing argument to $ac_option"
1223 if test -n "$ac_unrecognized_opts"; then
1224 case $enable_option_checking in
1226 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1227 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1231 # Check all directory arguments for consistency.
1232 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1233 datadir sysconfdir sharedstatedir localstatedir includedir \
1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1235 libdir localedir mandir
1237 eval ac_val
=\$
$ac_var
1238 # Remove trailing slashes.
1241 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1242 eval $ac_var=\
$ac_val;;
1244 # Be sure to have absolute directory names.
1246 [\\/$
]* | ?
:[\\/]* ) continue;;
1247 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1249 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1252 # There might be people who depend on the old broken behavior: `$host'
1253 # used to hold the argument of --host etc.
1254 # FIXME: To remove some day.
1257 target
=$target_alias
1259 # FIXME: To remove some day.
1260 if test "x$host_alias" != x
; then
1261 if test "x$build_alias" = x
; then
1262 cross_compiling
=maybe
1263 elif test "x$build_alias" != "x$host_alias"; then
1269 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1271 test "$silent" = yes && exec 6>/dev
/null
1274 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1275 ac_ls_di
=`ls -di .` &&
1276 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1277 as_fn_error $?
"working directory cannot be determined"
1278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1279 as_fn_error $?
"pwd does not report name of working directory"
1282 # Find the source files, if location was not specified.
1283 if test -z "$srcdir"; then
1284 ac_srcdir_defaulted
=yes
1285 # Try the directory containing this script, then the parent directory.
1286 ac_confdir
=`$as_dirname -- "$as_myself" ||
1287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1288 X"$as_myself" : 'X\(//\)[^/]' \| \
1289 X"$as_myself" : 'X\(//\)$' \| \
1290 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1291 $as_echo X"$as_myself" |
1292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1314 ac_srcdir_defaulted
=no
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1317 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1318 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1320 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1322 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1324 # When building in place, set srcdir=.
1325 if test "$ac_abs_confdir" = "$ac_pwd"; then
1328 # Remove unnecessary trailing slashes from srcdir.
1329 # Double slashes in file names in object file debugging info
1330 # mess up M-x gdb in Emacs.
1332 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1334 for ac_var
in $ac_precious_vars; do
1335 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1336 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1337 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1338 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1342 # Report the --help message.
1344 if test "$ac_init_help" = "long"; then
1345 # Omit some internal or obsolete options to make the list less imposing.
1346 # This message is too long to be a string in the A/UX 3.1 sh.
1348 \`configure' configures luajit for TeX Live 2.1.0-beta1 to adapt to many kinds of systems.
1350 Usage: $0 [OPTION]... [VAR=VALUE]...
1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1353 VAR=VALUE. See below for descriptions of some of the useful variables.
1355 Defaults for the options are specified in brackets.
1358 -h, --help display this help and exit
1359 --help=short display options specific to this package
1360 --help=recursive display the short help of all the included packages
1361 -V, --version display version information and exit
1362 -q, --quiet, --silent do not print \`checking ...' messages
1363 --cache-file=FILE cache test results in FILE [disabled]
1364 -C, --config-cache alias for \`--cache-file=config.cache'
1365 -n, --no-create do not create output files
1366 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1368 Installation directories:
1369 --prefix=PREFIX install architecture-independent files in PREFIX
1370 [$ac_default_prefix]
1371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1374 By default, \`make install' will install all the files in
1375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1376 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1377 for instance \`--prefix=\$HOME'.
1379 For better control, use the options below.
1381 Fine tuning of the installation directories:
1382 --bindir=DIR user executables [EPREFIX/bin]
1383 --sbindir=DIR system admin executables [EPREFIX/sbin]
1384 --libexecdir=DIR program executables [EPREFIX/libexec]
1385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1387 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1388 --libdir=DIR object code libraries [EPREFIX/lib]
1389 --includedir=DIR C header files [PREFIX/include]
1390 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1393 --infodir=DIR info documentation [DATAROOTDIR/info]
1394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1395 --mandir=DIR man documentation [DATAROOTDIR/man]
1396 --docdir=DIR documentation root
1397 [DATAROOTDIR/doc/luajit-for-tex-live]
1398 --htmldir=DIR html documentation [DOCDIR]
1399 --dvidir=DIR dvi documentation [DOCDIR]
1400 --pdfdir=DIR pdf documentation [DOCDIR]
1401 --psdir=DIR ps documentation [DOCDIR]
1407 --program-prefix=PREFIX prepend PREFIX to installed program names
1408 --program-suffix=SUFFIX append SUFFIX to installed program names
1409 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1412 --build=BUILD configure
for building on BUILD
[guessed
]
1413 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1417 if test -n "$ac_init_help"; then
1418 case $ac_init_help in
1419 short | recursive
) echo "Configuration of luajit for TeX Live 2.1.0-beta1:";;
1424 --disable-option-checking ignore unrecognized
--enable/--with options
1425 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1426 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1427 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1428 --disable-silent-rules verbose build output
(undo
: "make V=0")
1429 --enable-maintainer-mode
1430 enable make rules and dependencies not useful
(and
1431 sometimes confusing
) to the casual installer
1432 --enable-dependency-tracking
1433 do not reject slow dependency extractors
1434 --disable-dependency-tracking
1435 speeds up one-time build
1436 --enable-compiler-warnings=[no|min|
yes|max|all
]
1437 Turn on compiler warnings
[default
: yes if
1438 maintainer-mode
, min otherwise
]
1439 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1440 --enable-static[=PKGS
] build static libraries
[default
=yes]
1441 --enable-fast-install[=PKGS
]
1442 optimize
for fast installation
[default
=yes]
1443 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1444 --disable-largefile omit support
for large files
1447 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1448 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1449 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1451 --with-aix-soname=aix|svr4|both
1452 shared library versioning
(aka
"SONAME") variant to
1453 provide on AIX
, [default
=aix
].
1454 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1455 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1456 compiler
's sysroot if not specified).
1458 Some influential environment variables:
1459 CC C compiler command
1460 CFLAGS C compiler flags
1461 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1462 nonstandard directory <lib dir>
1463 LIBS libraries to pass to the linker, e.g. -l<library>
1464 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1465 you have headers in a nonstandard directory <include dir>
1466 CCAS assembler compiler command (defaults to CC)
1467 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1469 User-defined run-time library search path.
1472 Use these variables to override the choices made by `configure' or to
help
1473 it to
find libraries and programs with nonstandard names
/locations.
1475 Report bugs to
<tex-k@tug.org
>.
1480 if test "$ac_init_help" = "recursive"; then
1481 # If there are subdirs, report their specific --help.
1482 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1483 test -d "$ac_dir" ||
1484 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1489 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1491 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1492 # A ".." for each directory in $ac_dir_suffix.
1493 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1494 case $ac_top_builddir_sub in
1495 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1496 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1499 ac_abs_top_builddir
=$ac_pwd
1500 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1501 # for backward compatibility:
1502 ac_top_builddir
=$ac_top_build_prefix
1505 .
) # We are building in place.
1507 ac_top_srcdir
=$ac_top_builddir_sub
1508 ac_abs_top_srcdir
=$ac_pwd ;;
1509 [\\/]* | ?
:[\\/]* ) # Absolute name.
1510 ac_srcdir
=$srcdir$ac_dir_suffix;
1511 ac_top_srcdir
=$srcdir
1512 ac_abs_top_srcdir
=$srcdir ;;
1514 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1515 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1516 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1518 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1520 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1521 # Check for guested configure.
1522 if test -f "$ac_srcdir/configure.gnu"; then
1524 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1525 elif test -f "$ac_srcdir/configure"; then
1527 $SHELL "$ac_srcdir/configure" --help=recursive
1529 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1531 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1535 test -n "$ac_init_help" && exit $ac_status
1536 if $ac_init_version; then
1538 luajit
for TeX Live configure
2.1.0-beta1
1539 generated by GNU Autoconf
2.69
1541 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1542 This configure
script is free software
; the Free Software Foundation
1543 gives unlimited permission to copy
, distribute and modify it.
1548 ## ------------------------ ##
1549 ## Autoconf initialization. ##
1550 ## ------------------------ ##
1552 # ac_fn_c_try_compile LINENO
1553 # --------------------------
1554 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1555 ac_fn_c_try_compile
()
1557 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1558 rm -f conftest.
$ac_objext
1559 if { { ac_try
="$ac_compile"
1561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_compile") 2>conftest.err
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } && {
1575 test -z "$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1577 } && test -s conftest.$ac_objext; then :
1580 $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.$ac_ext >&5
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1588 } # ac_fn_c_try_compile
1590 # ac_fn_c_try_link LINENO
1591 # -----------------------
1592 # Try to link conftest.$ac_ext, and return whether this succeeded.
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext conftest$ac_exeext
1597 if { { ac_try="$ac_link"
1599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1600 *) ac_try_echo
=$ac_try;;
1602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_link") 2>conftest.err
1606 if test -s conftest.err
; then
1607 grep -v '^ *+' conftest.err
>conftest.er1
1608 cat conftest.er1
>&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest
$ac_exeext && {
1616 test "$cross_compiling" = yes ||
1617 test -x conftest
$ac_exeext
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1627 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1628 # interfere with the next link command; also delete a directory that is
1629 # left behind by Apple's compiler. We do this before executing the actions.
1630 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 as_fn_set_status
$ac_retval
1634 } # ac_fn_c_try_link
1636 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1637 # -------------------------------------------------------
1638 # Tests whether HEADER exists and can be compiled using the include files in
1639 # INCLUDES, setting the cache variable VAR accordingly.
1640 ac_fn_c_check_header_compile
()
1642 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if eval \
${$3+:} false
; then :
1646 $as_echo_n "(cached) " >&6
1648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1653 if ac_fn_c_try_compile
"$LINENO"; then :
1658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 $as_echo "$ac_res" >&6; }
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 } # ac_fn_c_check_header_compile
1667 # ac_fn_c_try_cpp LINENO
1668 # ----------------------
1669 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1672 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1673 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1682 if test -s conftest.err; then
1683 grep -v '^ *+' conftest.err >conftest.er1
1684 cat conftest.er1 >&5
1685 mv -f conftest.er1 conftest.err
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; } > conftest.i && {
1689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1690 test ! -s conftest.err
1694 $as_echo "$as_me: failed program was:" >&5
1695 sed 's/^/| /' conftest.$ac_ext >&5
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 as_fn_set_status $ac_retval
1704 # ac_fn_c_try_run LINENO
1705 # ----------------------
1706 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1707 # that executables *can* be run.
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 if { { ac_try="$ac_link"
1713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1714 *) ac_try_echo
=$ac_try;;
1716 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_link") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1722 { { case "(($ac_try" in
1723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_try") 2>&5
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; }; }; then :
1734 $as_echo "$as_me: program exited with status $ac_status" >&5
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1738 ac_retval=$ac_status
1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 as_fn_set_status $ac_retval
1746 # ac_fn_c_check_func LINENO FUNC VAR
1747 # ----------------------------------
1748 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1749 ac_fn_c_check_func ()
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1759 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1761 #define $2 innocuous_$2
1763 /* System header to define __stub macros and hopefully few prototypes,
1764 which can conflict with char $2 (); below.
1765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1766 <limits.h> exists even on freestanding compilers. */
1769 # include <limits.h>
1771 # include <assert.h>
1776 /* Override any GCC internal prototype to avoid an error.
1777 Use char because int might match the return type of a GCC
1778 builtin and then its argument prototype would still apply. */
1783 /* The GNU C library defines this for functions which it implements
1784 to always fail with ENOSYS. Some functions are actually named
1785 something starting with __ and the normal name is an alias. */
1786 #if defined __stub_$2 || defined __stub___$2
1798 if ac_fn_c_try_link "$LINENO"; then :
1803 rm -f core conftest.err conftest.$ac_objext \
1804 conftest$ac_exeext conftest.$ac_ext
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 } # ac_fn_c_check_func
1813 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1814 # --------------------------------------------
1815 # Tries to find the compile-time value of EXPR in a program that includes
1816 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1818 ac_fn_c_compute_int ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if test "$cross_compiling" = yes; then
1822 # Depending upon the size, compute the lo and hi bounds.
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1829 static int test_array [1 - 2 * !(($2) >= 0)];
1831 return test_array [0];
1837 if ac_fn_c_try_compile "$LINENO"; then :
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1846 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1848 return test_array [0];
1854 if ac_fn_c_try_compile "$LINENO"; then :
1855 ac_hi=$ac_mid; break
1857 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1858 if test $ac_lo -le $ac_mid; then
1862 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1873 static int test_array [1 - 2 * !(($2) < 0)];
1875 return test_array [0];
1881 if ac_fn_c_try_compile "$LINENO"; then :
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1890 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1892 return test_array [0];
1898 if ac_fn_c_try_compile "$LINENO"; then :
1899 ac_lo=$ac_mid; break
1901 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1902 if test $ac_mid -le $ac_hi; then
1906 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 # Binary search between lo and hi bounds.
1917 while test "x$ac_lo" != "x$ac_hi"; do
1918 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1925 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1927 return test_array [0];
1933 if ac_fn_c_try_compile "$LINENO"; then :
1936 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1948 static long int longval () { return $2; }
1949 static unsigned long int ulongval () { return $2; }
1956 FILE *f = fopen ("conftest.val", "w");
1961 long int i = longval ();
1964 fprintf (f, "%ld", i);
1968 unsigned long int i = ulongval ();
1971 fprintf (f, "%lu", i);
1973 /* Do not output a trailing newline, as this causes \r\n confusion
1974 on some platforms. */
1975 return ferror (f) || fclose (f) != 0;
1981 if ac_fn_c_try_run "$LINENO"; then :
1982 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1987 conftest.$ac_objext conftest.beam conftest.$ac_ext
1991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992 as_fn_set_status $ac_retval
1994 } # ac_fn_c_compute_int
1995 cat >config.log <<_ACEOF
1996 This file contains any messages produced by compilers while
1997 running configure, to aid debugging if configure makes a mistake.
1999 It was created by luajit for TeX Live $as_me 2.1.0-beta1, which was
2000 generated by GNU Autoconf 2.69. Invocation command line was
2012 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2013 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2014 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2015 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2016 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2018 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2019 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2021 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2022 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2023 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2024 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2025 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2026 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2027 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir=.
2036 $as_echo "PATH: $as_dir"
2052 # Keep a trace of the command line.
2053 # Strip out --no-create and --no-recursion so they do not pile up.
2054 # Strip out --silent because we don't want to record it for future runs.
2055 # Also quote any args containing shell meta-characters.
2056 # Make two passes to allow for proper duplicate-argument suppression.
2060 ac_must_keep_next=false
2066 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2068 | -silent | --silent | --silen | --sile | --sil)
2071 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2074 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2076 as_fn_append ac_configure_args1 " '$ac_arg'"
2077 if test $ac_must_keep_next = true; then
2078 ac_must_keep_next=false # Got value, back to normal.
2081 *=* | --config-cache | -C | -disable-* | --disable-* \
2082 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2083 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2084 | -with-* | --with-* | -without-* | --without-* | --x)
2085 case "$ac_configure_args0 " in
2086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2089 -* ) ac_must_keep_next=true ;;
2092 as_fn_append ac_configure_args " '$ac_arg'"
2097 { ac_configure_args0=; unset ac_configure_args0;}
2098 { ac_configure_args1=; unset ac_configure_args1;}
2100 # When interrupted or exit'd, cleanup temporary files, and complete
2101 # config.log. We remove comments because anyway the quotes in there
2102 # would cause problems or look ugly.
2103 # WARNING: Use '\'' to represent an apostrophe within the trap.
2104 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2105 trap 'exit_status=$?
2106 # Save into config.log some information that might help in debugging.
2110 $as_echo "## ---------------- ##
2111 ## Cache variables. ##
2112 ## ---------------- ##"
2114 # The following way of writing the cache mishandles newlines in values,
2116 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2117 eval ac_val=\$$ac_var
2121 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2122 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2125 _ | IFS | as_nl) ;; #(
2126 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2127 *) { eval $ac_var=; unset $ac_var;} ;;
2132 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2133 *${as_nl}ac_space=\ *)
2135 "s/'\''/'\''\\\\'\'''\''/g;
2136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2146 $as_echo "## ----------------- ##
2147 ## Output variables. ##
2148 ## ----------------- ##"
2150 for ac_var in $ac_subst_vars
2152 eval ac_val=\$$ac_var
2154 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 $as_echo "$ac_var='\''$ac_val'\''"
2160 if test -n "$ac_subst_files"; then
2161 $as_echo "## ------------------- ##
2162 ## File substitutions. ##
2163 ## ------------------- ##"
2165 for ac_var in $ac_subst_files
2167 eval ac_val=\$$ac_var
2169 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 $as_echo "$ac_var='\''$ac_val'\''"
2176 if test -s confdefs.h; then
2177 $as_echo "## ----------- ##
2184 test "$ac_signal" != 0 &&
2185 $as_echo "$as_me: caught signal $ac_signal"
2186 $as_echo "$as_me: exit $exit_status"
2188 rm -f core *.core core.conftest.* &&
2189 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2192 for ac_signal in 1 2 13 15; do
2193 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2197 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2198 rm -f -r conftest* confdefs.h
2200 $as_echo "/* confdefs.h */" > confdefs.h
2202 # Predefined preprocessor variables.
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_NAME "$PACKAGE_NAME"
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_STRING "$PACKAGE_STRING"
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_URL "$PACKAGE_URL"
2229 # Let the site file select an alternate cache file if it wants to.
2230 # Prefer an explicitly selected file to automatically selected ones.
2233 if test -n "$CONFIG_SITE"; then
2234 # We do not want a PATH search for config.site.
2235 case $CONFIG_SITE in #((
2236 -*) ac_site_file1=./$CONFIG_SITE;;
2237 */*) ac_site_file1=$CONFIG_SITE;;
2238 *) ac_site_file1=./$CONFIG_SITE;;
2240 elif test "x$prefix" != xNONE; then
2241 ac_site_file1=$prefix/share/config.site
2242 ac_site_file2=$prefix/etc/config.site
2244 ac_site_file1=$ac_default_prefix/share/config.site
2245 ac_site_file2=$ac_default_prefix/etc/config.site
2247 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2249 test "x$ac_site_file" = xNONE && continue
2250 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2252 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2253 sed 's/^/| /' "$ac_site_file" >&5
2255 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257 as_fn_error $? "failed to load site
script $ac_site_file
2258 See \
`config.log' for more details" "$LINENO" 5; }
2262 if test -r "$cache_file"; then
2263 # Some versions of bash will fail to source /dev/null (special files
2264 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2265 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2267 $as_echo "$as_me: loading cache $cache_file" >&6;}
2269 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2270 *) . "./$cache_file";;
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2275 $as_echo "$as_me: creating cache $cache_file" >&6;}
2279 # Check that the precious variables saved in the cache have kept the same
2281 ac_cache_corrupted=false
2282 for ac_var in $ac_precious_vars; do
2283 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2284 eval ac_new_set=\$ac_env_${ac_var}_set
2285 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2286 eval ac_new_val=\$ac_env_${ac_var}_value
2287 case $ac_old_set,$ac_new_set in
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2290 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2291 ac_cache_corrupted=: ;;
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2294 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2295 ac_cache_corrupted=: ;;
2298 if test "x$ac_old_val" != "x$ac_new_val"; then
2299 # differences in whitespace do not lead to failure.
2300 ac_old_val_w=`echo x
$ac_old_val`
2301 ac_new_val_w=`echo x
$ac_new_val`
2302 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2304 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2305 ac_cache_corrupted=:
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2308 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2309 eval $ac_var=\$ac_old_val
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2312 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2314 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2317 # Pass precious variables to config.status.
2318 if test "$ac_new_set" = set; then
2320 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2321 *) ac_arg=$ac_var=$ac_new_val ;;
2323 case " $ac_configure_args " in
2324 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2325 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2329 if $ac_cache_corrupted; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2333 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2334 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2336 ## -------------------- ##
2337 ## Main body of script. ##
2338 ## -------------------- ##
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2350 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2351 if test -f "$ac_dir/install-sh"; then
2353 ac_install_sh="$ac_aux_dir/install-sh -c"
2355 elif test -f "$ac_dir/install.sh"; then
2357 ac_install_sh="$ac_aux_dir/install.sh -c"
2359 elif test -f "$ac_dir/shtool"; then
2361 ac_install_sh="$ac_aux_dir/shtool install -c"
2365 if test -z "$ac_aux_dir"; then
2366 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2369 # These three variables are undocumented and unsupported,
2370 # and are intended to be withdrawn in a future Autoconf release.
2371 # They can cause serious problems if a builder's source tree is in a directory
2372 # whose full name contains unusual characters.
2373 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2374 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2375 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2380 am__api_version='1.15'
2382 # Find a good install program. We prefer a C program (faster),
2383 # so one script is as good as another. But avoid the broken or
2384 # incompatible versions:
2385 # SysV /etc/install, /usr/sbin/install
2386 # SunOS /usr/etc/install
2387 # IRIX /sbin/install
2389 # AmigaOS /C/install, which installs bootblocks on floppy discs
2390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2393 # OS/2's system install, which has a completely different semantic
2394 # ./install, which can be erroneously created by make from ./install.sh.
2395 # Reject install programs that cannot install multiple files.
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2397 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2398 if test -z "$INSTALL"; then
2399 if ${ac_cv_path_install+:} false; then :
2400 $as_echo_n "(cached) " >&6
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 # Account for people who put trailing slashes in PATH elements.
2408 case $as_dir/ in #((
2409 ./ | .// | /[cC]/* | \
2410 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2411 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2414 # OSF1 and SCO ODT 3.0 have their own names for install.
2415 # Don't use installbsd from OSF since it installs stuff as root
2417 for ac_prog in ginstall scoinst install; do
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2420 if test $ac_prog = install &&
2421 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2422 # AIX install. It has an incompatible calling convention.
2424 elif test $ac_prog = install &&
2425 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2426 # program-specific install script used by HP pwplus--don't use.
2429 rm -rf conftest.one conftest.two conftest.dir
2430 echo one > conftest.one
2431 echo two > conftest.two
2433 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2434 test -s conftest.one && test -s conftest.two &&
2435 test -s conftest.dir/conftest.one &&
2436 test -s conftest.dir/conftest.two
2438 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2451 rm -rf conftest.one conftest.two conftest.dir
2454 if test "${ac_cv_path_install+set}" = set; then
2455 INSTALL=$ac_cv_path_install
2457 # As a last resort, use the slow shell script. Don't cache a
2458 # value for INSTALL within a source directory, because that will
2459 # break other packages using the cache if that directory is
2460 # removed, or if the value is a relative name.
2461 INSTALL=$ac_install_sh
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2465 $as_echo "$INSTALL" >&6; }
2467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2468 # It thinks the first close brace ends the variable substitution.
2469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2473 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2476 $as_echo_n "checking whether build environment is sane... " >&6; }
2477 # Reject unsafe characters in $srcdir or the absolute working directory
2478 # name. Accept space and tab only in the latter.
2482 *[\\\"\#\$\&\'\`$am_lf]*)
2483 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2486 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2487 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2490 # Do 'set' in a subshell so we don't clobber the current shell's
2491 # arguments. Must try -L first in case configure is actually a
2492 # symlink; some systems play weird games with the mod time of symlinks
2493 # (eg FreeBSD returns the mod time of the symlink's containing
2497 for am_try
in 1 2; do
2498 echo "timestamp, slept: $am_has_slept" > conftest.
file
2499 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2500 if test "$*" = "X"; then
2502 set X
`ls -t "$srcdir/configure" conftest.file`
2504 if test "$*" != "X $srcdir/configure conftest.file" \
2505 && test "$*" != "X conftest.file $srcdir/configure"; then
2507 # If neither matched, then we have a broken ls. This can happen
2508 # if, for instance, CONFIG_SHELL is bash and it inherits a
2509 # broken ls alias from the environment. This has actually
2510 # happened. Such a system could not be considered "sane".
2511 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2512 alias in your environment" "$LINENO" 5
2514 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2521 test "$2" = conftest.
file
2527 as_fn_error $?
"newly created file is older than distributed files!
2528 Check your system clock" "$LINENO" 5
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2531 $as_echo "yes" >&6; }
2532 # If we didn't sleep, we still need to ensure time stamps of config.status and
2533 # generated files are strictly newer.
2535 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2542 test "$program_prefix" != NONE
&&
2543 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2544 # Use a double $ so make ignores it.
2545 test "$program_suffix" != NONE
&&
2546 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2547 # Double any \ or $.
2548 # By default was `s,x,x', remove it if useless.
2549 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2550 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2552 # Expand $ac_aux_dir to an absolute path.
2553 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2555 if test x
"${MISSING+set}" != xset
; then
2558 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2560 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2563 # Use eval to expand $SHELL
2564 if eval "$MISSING --is-lightweight"; then
2565 am_missing_run
="$MISSING "
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2569 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2572 if test x
"${install_sh+set}" != xset
; then
2575 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2577 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2581 # Installed binaries are usually stripped using 'strip' when the user
2582 # run "make install-strip". However 'strip' might not be the right
2583 # tool to use in cross-compilation environments, therefore Automake
2584 # will honor the 'STRIP' environment variable to overrule this program.
2585 if test "$cross_compiling" != no
; then
2586 if test -n "$ac_tool_prefix"; then
2587 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2588 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if ${ac_cv_prog_STRIP+:} false
; then :
2592 $as_echo_n "(cached) " >&6
2594 if test -n "$STRIP"; then
2595 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir
=.
2602 for ac_exec_ext
in '' $ac_executable_extensions; do
2603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2604 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 STRIP
=$ac_cv_prog_STRIP
2615 if test -n "$STRIP"; then
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2617 $as_echo "$STRIP" >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2625 if test -z "$ac_cv_prog_STRIP"; then
2627 # Extract the first word of "strip", so it can be a program name with args.
2628 set dummy strip
; ac_word
=$2
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2632 $as_echo_n "(cached) " >&6
2634 if test -n "$ac_ct_STRIP"; then
2635 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir
=.
2642 for ac_exec_ext
in '' $ac_executable_extensions; do
2643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2644 ac_cv_prog_ac_ct_STRIP
="strip"
2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2655 if test -n "$ac_ct_STRIP"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2657 $as_echo "$ac_ct_STRIP" >&6; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660 $as_echo "no" >&6; }
2663 if test "x$ac_ct_STRIP" = x
; then
2666 case $cross_compiling:$ac_tool_warned in
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2670 ac_tool_warned
=yes ;;
2675 STRIP
="$ac_cv_prog_STRIP"
2679 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2682 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2683 if test -z "$MKDIR_P"; then
2684 if ${ac_cv_path_mkdir+:} false
; then :
2685 $as_echo_n "(cached) " >&6
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_prog
in mkdir gmkdir
; do
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2695 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2696 'mkdir (GNU coreutils) '* | \
2697 'mkdir (coreutils) '* | \
2698 'mkdir (fileutils) '4.1*)
2699 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2709 test -d .
/--version && rmdir .
/--version
2710 if test "${ac_cv_path_mkdir+set}" = set; then
2711 MKDIR_P
="$ac_cv_path_mkdir -p"
2713 # As a last resort, use the slow shell script. Don't cache a
2714 # value for MKDIR_P within a source directory, because that will
2715 # break other packages using the cache if that directory is
2716 # removed, or if the value is a relative name.
2717 MKDIR_P
="$ac_install_sh -d"
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2721 $as_echo "$MKDIR_P" >&6; }
2723 for ac_prog
in gawk mawk nawk
awk
2725 # Extract the first word of "$ac_prog", so it can be a program name with args.
2726 set dummy
$ac_prog; ac_word
=$2
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2728 $as_echo_n "checking for $ac_word... " >&6; }
2729 if ${ac_cv_prog_AWK+:} false
; then :
2730 $as_echo_n "(cached) " >&6
2732 if test -n "$AWK"; then
2733 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir
=.
2740 for ac_exec_ext
in '' $ac_executable_extensions; do
2741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2742 ac_cv_prog_AWK
="$ac_prog"
2743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 if test -n "$AWK"; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2755 $as_echo "$AWK" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758 $as_echo "no" >&6; }
2762 test -n "$AWK" && break
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2766 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2768 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2769 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2770 $as_echo_n "(cached) " >&6
2772 cat >conftest.
make <<\_ACEOF
2775 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2777 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2778 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2780 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2782 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2786 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2788 $as_echo "yes" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2793 SET_MAKE
="MAKE=${MAKE-make}"
2796 rm -rf .tst
2>/dev
/null
2797 mkdir .tst
2>/dev
/null
2798 if test -d .tst
; then
2803 rmdir .tst
2>/dev
/null
2805 # Check whether --enable-silent-rules was given.
2806 if test "${enable_silent_rules+set}" = set; then :
2807 enableval
=$enable_silent_rules;
2810 case $enable_silent_rules in # (((
2811 yes) AM_DEFAULT_VERBOSITY
=0;;
2812 no
) AM_DEFAULT_VERBOSITY
=1;;
2813 *) AM_DEFAULT_VERBOSITY
=1;;
2815 am_make
=${MAKE-make}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2817 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2818 if ${am_cv_make_support_nested_variables+:} false
; then :
2819 $as_echo_n "(cached) " >&6
2821 if $as_echo 'TRUE=$(BAR$(V))
2827 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2828 am_cv_make_support_nested_variables
=yes
2830 am_cv_make_support_nested_variables
=no
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2834 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2835 if test $am_cv_make_support_nested_variables = yes; then
2837 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2839 AM_V
=$AM_DEFAULT_VERBOSITY
2840 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2844 DEPDIR="${am__leading_dot}deps"
2846 ac_config_commands="$ac_config_commands depfiles"
2849 am_make=${MAKE-make}
2850 cat > confinc << 'END
'
2852 @echo this is the am__doit target
2855 # If we don't
find an include directive
, just comment out the code.
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2857 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2861 # First try GNU make style include.
2862 echo "include confinc" > confmf
2863 # Ignore all kinds of additional output from 'make'.
2864 case `$am_make -s -f confmf 2> /dev/null` in #(
2865 *the\ am__doit\ target
*)
2871 # Now try BSD make style include.
2872 if test "$am__include" = "#"; then
2873 echo '.include "confinc"' > confmf
2874 case `$am_make -s -f confmf 2> /dev/null` in #(
2875 *the\ am__doit\ target
*)
2876 am__include
=.include
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2885 $as_echo "$_am_result" >&6; }
2886 rm -f confinc confmf
2888 # Check whether --enable-dependency-tracking was given.
2889 if test "${enable_dependency_tracking+set}" = set; then :
2890 enableval
=$enable_dependency_tracking;
2893 if test "x$enable_dependency_tracking" != xno
; then
2894 am_depcomp
="$ac_aux_dir/depcomp"
2898 if test "x$enable_dependency_tracking" != xno; then
2908 ac_cpp
='$CPP $CPPFLAGS'
2909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2912 if test -n "$ac_tool_prefix"; then
2913 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2914 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if ${ac_cv_prog_CC+:} false
; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CC"; then
2921 ac_cv_prog_CC
="$CC" # Let the user override the test.
2923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir
=.
2928 for ac_exec_ext
in '' $ac_executable_extensions; do
2929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2930 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2951 if test -z "$ac_cv_prog_CC"; then
2953 # Extract the first word of "gcc", so it can be a program name with args.
2954 set dummy gcc
; ac_word
=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$ac_ct_CC"; then
2961 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_ac_ct_CC
="gcc"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2981 if test -n "$ac_ct_CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2983 $as_echo "$ac_ct_CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2989 if test "x$ac_ct_CC" = x
; then
2992 case $cross_compiling:$ac_tool_warned in
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996 ac_tool_warned
=yes ;;
3004 if test -z "$CC"; then
3005 if test -n "$ac_tool_prefix"; then
3006 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3007 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if ${ac_cv_prog_CC+:} false
; then :
3011 $as_echo_n "(cached) " >&6
3013 if test -n "$CC"; then
3014 ac_cv_prog_CC
="$CC" # Let the user override the test.
3016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir
=.
3021 for ac_exec_ext
in '' $ac_executable_extensions; do
3022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3023 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$CC"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3036 $as_echo "$CC" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3045 if test -z "$CC"; then
3046 # Extract the first word of "cc", so it can be a program name with args.
3047 set dummy cc
; ac_word
=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if ${ac_cv_prog_CC+:} false
; then :
3051 $as_echo_n "(cached) " >&6
3053 if test -n "$CC"; then
3054 ac_cv_prog_CC
="$CC" # Let the user override the test.
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir
=.
3062 for ac_exec_ext
in '' $ac_executable_extensions; do
3063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3064 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3065 ac_prog_rejected
=yes
3069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 if test $ac_prog_rejected = yes; then
3077 # We found a bogon in the path, so make sure we never use it.
3078 set dummy
$ac_cv_prog_CC
3080 if test $# != 0; then
3081 # We chose a different compiler from the bogus one.
3082 # However, it has the same basename, so the bogon will be chosen
3083 # first if we set CC to just the basename; use the full file name.
3085 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3091 if test -n "$CC"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093 $as_echo "$CC" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3101 if test -z "$CC"; then
3102 if test -n "$ac_tool_prefix"; then
3103 for ac_prog
in cl.exe
3105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3106 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if ${ac_cv_prog_CC+:} false
; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$CC"; then
3113 ac_cv_prog_CC
="$CC" # Let the user override the test.
3115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir
=.
3120 for ac_exec_ext
in '' $ac_executable_extensions; do
3121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3122 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test -n "$CC"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3135 $as_echo "$CC" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3142 test -n "$CC" && break
3145 if test -z "$CC"; then
3147 for ac_prog
in cl.exe
3149 # Extract the first word of "$ac_prog", so it can be a program name with args.
3150 set dummy
$ac_prog; ac_word
=$2
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152 $as_echo_n "checking for $ac_word... " >&6; }
3153 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3154 $as_echo_n "(cached) " >&6
3156 if test -n "$ac_ct_CC"; then
3157 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3163 test -z "$as_dir" && as_dir
=.
3164 for ac_exec_ext
in '' $ac_executable_extensions; do
3165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3166 ac_cv_prog_ac_ct_CC
="$ac_prog"
3167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3177 if test -n "$ac_ct_CC"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3179 $as_echo "$ac_ct_CC" >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3186 test -n "$ac_ct_CC" && break
3189 if test "x$ac_ct_CC" = x
; then
3192 case $cross_compiling:$ac_tool_warned in
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3196 ac_tool_warned
=yes ;;
3205 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error $?
"no acceptable C compiler found in \$PATH
3208 See \`config.log' for more details" "$LINENO" 5; }
3210 # Provide some information about the compiler.
3211 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3214 for ac_option
in --version -v -V -qversion; do
3215 { { ac_try
="$ac_compiler $ac_option >&5"
3217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221 $as_echo "$ac_try_echo"; } >&5
3222 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3224 if test -s conftest.err; then
3226 ... rest of stderr output deleted ...
3227 10q' conftest.err >conftest.er1
3228 cat conftest.er1 >&5
3230 rm -f conftest.er1 conftest.err
3231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232 test $ac_status = 0; }
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3246 ac_clean_files_save=$ac_clean_files
3247 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3248 # Try to create an executable without -o first, disregard a.out.
3249 # It will help us diagnose broken compilers, and finding out an intuition
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3252 $as_echo_n "checking whether the C compiler works... " >&6; }
3253 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3255 # The possible output files:
3256 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3259 for ac_file in $ac_files
3262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3263 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3268 if { { ac_try="$ac_link_default"
3270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3271 *) ac_try_echo
=$ac_try;;
3273 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link_default") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }; then :
3279 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3280 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3281 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3282 # so that the user can short-circuit this test for compilers unknown to
3284 for ac_file
in $ac_files ''
3286 test -f "$ac_file" ||
continue
3288 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3291 # We found the default executable, but exeext='' is most
3295 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3297 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3299 # We set ac_cv_exeext here because the later test for it is not
3300 # safe: cross compilers may not add the suffix if given an `-o'
3301 # argument, so we may need to know it at that point already.
3302 # Even if this section looks crufty: it has the advantage of
3309 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3314 if test -z "$ac_file"; then :
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 $as_echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.
$ac_ext >&5
3320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error
77 "C compiler cannot create executables
3323 See \`config.log' for more details" "$LINENO" 5; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3326 $as_echo "yes" >&6; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3329 $as_echo_n "checking for C compiler default output file name... " >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3331 $as_echo "$ac_file" >&6; }
3332 ac_exeext
=$ac_cv_exeext
3334 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3335 ac_clean_files
=$ac_clean_files_save
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3337 $as_echo_n "checking for suffix of executables... " >&6; }
3338 if { { ac_try
="$ac_link"
3340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_link") 2>&5
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; then :
3349 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3350 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3351 # work properly (i.e., refer to `conftest.exe'), while it won't with
3353 for ac_file
in conftest.exe conftest conftest.
*; do
3354 test -f "$ac_file" ||
continue
3356 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3357 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3366 See \`config.log' for more details" "$LINENO" 5; }
3368 rm -f conftest conftest
$ac_cv_exeext
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3370 $as_echo "$ac_cv_exeext" >&6; }
3372 rm -f conftest.
$ac_ext
3373 EXEEXT
=$ac_cv_exeext
3375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3381 FILE *f = fopen ("conftest.out", "w");
3382 return ferror (f) || fclose (f) != 0;
3388 ac_clean_files
="$ac_clean_files conftest.out"
3389 # Check that the compiler produces executables we can run. If not, either
3390 # the compiler is broken, or we cross compile.
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3392 $as_echo_n "checking whether we are cross compiling... " >&6; }
3393 if test "$cross_compiling" != yes; then
3394 { { ac_try
="$ac_link"
3396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400 $as_echo "$ac_try_echo"; } >&5
3401 (eval "$ac_link") 2>&5
3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404 test $ac_status = 0; }
3405 if { ac_try='./conftest$ac_cv_exeext'
3406 { { case "(($ac_try" in
3407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3408 *) ac_try_echo
=$ac_try;;
3410 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_try") 2>&5
3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415 test $ac_status = 0; }; }; then
3418 if test "$cross_compiling" = maybe
; then
3421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3423 as_fn_error $?
"cannot run C compiled programs.
3424 If you meant to cross compile, use \`--host'.
3425 See \`config.log' for more details" "$LINENO" 5; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3430 $as_echo "$cross_compiling" >&6; }
3432 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3433 ac_clean_files
=$ac_clean_files_save
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3435 $as_echo_n "checking for suffix of object files... " >&6; }
3436 if ${ac_cv_objext+:} false
; then :
3437 $as_echo_n "(cached) " >&6
3439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3450 rm -f conftest.o conftest.obj
3451 if { { ac_try
="$ac_compile"
3453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457 $as_echo "$ac_try_echo"; } >&5
3458 (eval "$ac_compile") 2>&5
3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461 test $ac_status = 0; }; then :
3462 for ac_file in conftest.o conftest.obj conftest.*; do
3463 test -f "$ac_file" || continue;
3465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3466 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3471 $as_echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3477 See \
`config.log' for more details" "$LINENO" 5; }
3479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3482 $as_echo "$ac_cv_objext" >&6; }
3483 OBJEXT=$ac_cv_objext
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3486 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3487 if ${ac_cv_c_compiler_gnu+:} false; then :
3488 $as_echo_n "(cached) " >&6
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3504 if ac_fn_c_try_compile "$LINENO"; then :
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3514 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3515 if test $ac_compiler_gnu = yes; then
3520 ac_test_CFLAGS=${CFLAGS+set}
3521 ac_save_CFLAGS=$CFLAGS
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3523 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3524 if ${ac_cv_prog_cc_g+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 ac_save_c_werror_flag=$ac_c_werror_flag
3528 ac_c_werror_flag=yes
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3542 if ac_fn_c_try_compile "$LINENO"; then :
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3557 if ac_fn_c_try_compile "$LINENO"; then :
3560 ac_c_werror_flag=$ac_save_c_werror_flag
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3573 if ac_fn_c_try_compile "$LINENO"; then :
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3581 ac_c_werror_flag=$ac_save_c_werror_flag
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3584 $as_echo "$ac_cv_prog_cc_g" >&6; }
3585 if test "$ac_test_CFLAGS" = set; then
3586 CFLAGS=$ac_save_CFLAGS
3587 elif test $ac_cv_prog_cc_g = yes; then
3588 if test "$GCC" = yes; then
3594 if test "$GCC" = yes; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3601 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3602 if ${ac_cv_prog_cc_c89+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 ac_cv_prog_cc_c89=no
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3613 struct buf { int x; };
3614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3615 static char *e (p, i)
3621 static char *f (char * (*g) (char **, int), char **p, ...)
3626 s = g (p, va_arg (v,int));
3631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3632 function prototypes and stuff, but not '\xHH' hex character constants.
3633 These don't provoke an error unfortunately, instead are silently treated
3634 as 'x'. The following induces an error, until -std is added to get
3635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3636 array size at least. It's necessary to write '\x00'==0 to get something
3637 that's true only with -std. */
3638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3641 inside strings and character constants. */
3643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3645 int test (int i, double x);
3646 struct s1 {int (*f) (int a);};
3647 struct s2 {int (*f) (double a);};
3648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3654 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3660 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3662 CC="$ac_save_CC $ac_arg"
3663 if ac_fn_c_try_compile "$LINENO"; then :
3664 ac_cv_prog_cc_c89=$ac_arg
3666 rm -f core conftest.err conftest.$ac_objext
3667 test "x$ac_cv_prog_cc_c89" != "xno" && break
3669 rm -f conftest.$ac_ext
3674 case "x$ac_cv_prog_cc_c89" in
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3677 $as_echo "none needed" >&6; } ;;
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3680 $as_echo "unsupported" >&6; } ;;
3682 CC="$CC $ac_cv_prog_cc_c89"
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3684 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3686 if test "x$ac_cv_prog_cc_c89" != xno; then :
3691 ac_cpp='$CPP $CPPFLAGS'
3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3702 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3703 if ${am_cv_prog_cc_c_o+:} false; then :
3704 $as_echo_n "(cached) " >&6
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3717 # Make sure it works both with $CC and with simple cc.
3718 # Following AC_PROG_CC_C_O, we do the test twice because some
3719 # compilers refuse to overwrite an existing .o file with -o,
3720 # though they will create one.
3721 am_cv_prog_cc_c_o=yes
3723 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3724 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } \
3728 && test -f conftest2.$ac_objext; then
3731 am_cv_prog_cc_c_o=no
3735 rm -f core conftest*
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3739 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3740 if test "$am_cv_prog_cc_c_o" != yes; then
3741 # Losing compiler, so override with the script.
3742 # FIXME: It is wrong to rewrite CC.
3743 # But if we don't then we get into trouble of one sort or another.
3744 # A longer-term fix would be to have automake use am__CC in this case,
3745 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3746 CC="$am_aux_dir/compile $CC"
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3755 depcc="$CC" am_compiler_list=
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3758 $as_echo_n "checking dependency style of $depcc... " >&6; }
3759 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3760 $as_echo_n "(cached) " >&6
3762 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3763 # We make a subdir and do the tests there. Otherwise we can end up
3764 # making bogus files that we don't know about and never remove. For
3765 # instance it was reported that on HP-UX the gcc test will end up
3766 # making a dummy file named 'D' -- because '-MD' means "put the output
3770 # Copy depcomp to subdir because otherwise we won't find it if we're
3771 # using a relative directory.
3772 cp "$am_depcomp" conftest.dir
3774 # We will build objects and dependencies in a subdirectory because
3775 # it helps to detect inapplicable dependency modes. For instance
3776 # both Tru64's cc and ICC support -MD to output dependencies as a
3777 # side effect of compilation, but ICC will put the dependencies in
3778 # the current directory while Tru64 will put them in the object
3782 am_cv_CC_dependencies_compiler_type=none
3783 if test "$am_compiler_list" = ""; then
3784 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3787 case " $depcc " in #(
3788 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3791 for depmode in $am_compiler_list; do
3792 # Setup a source with many dependencies, because some compilers
3793 # like to wrap large dependency lists on column 80 (with \), and
3794 # we should not choose a depcomp mode which is confused by this.
3796 # We need to recreate these files for each test, as the compiler may
3797 # overwrite some of them when testing with obscure command lines.
3798 # This happens at least with the AIX C compiler.
3800 for i in 1 2 3 4 5 6; do
3801 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3802 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3803 # Solaris 10 /bin/sh.
3804 echo '/* dummy */' > sub/conftst$i.h
3806 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3808 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3809 # mode. It turns out that the SunPro C++ compiler does not properly
3810 # handle '-M -o', and we need to detect this. Also, some Intel
3811 # versions had trouble with output in subdirs.
3812 am__obj=sub/conftest.${OBJEXT-o}
3813 am__minus_obj="-o $am__obj"
3816 # This depmode causes a compiler race in universal mode.
3817 test "$am__universal" = false || continue
3820 # After this tag, mechanisms are not by side-effect, so they'll
3821 # only be used when explicitly requested.
3822 if test "x$enable_dependency_tracking" = xyes; then
3828 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3829 # This compiler won't grok '-c -o', but also, the minuso test has
3830 # not run yet. These depmodes are late enough in the game, and
3831 # so weak that their functioning should not be impacted.
3832 am__obj=conftest.${OBJEXT-o}
3837 if depmode=$depmode \
3838 source=sub/conftest.c object=$am__obj \
3839 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3840 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3841 >/dev/null 2>conftest.err &&
3842 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3843 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3844 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3845 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3846 # icc doesn't choke on unknown options, it will just issue warnings
3847 # or remarks (even with -Werror). So we grep stderr for any message
3848 # that says an option was ignored or not supported.
3849 # When given -MP, icc 7.0 and 7.1 complain thusly:
3850 # icc: Command line warning: ignoring option '-M'; no argument required
3851 # The diagnosis changed in icc 8.0:
3852 # icc: Command line remark: option '-MP' not supported
3853 if (grep 'ignoring option' conftest.err ||
3854 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3855 am_cv_CC_dependencies_compiler_type=$depmode
3864 am_cv_CC_dependencies_compiler_type=none
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3869 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3870 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3873 test "x$enable_dependency_tracking" != xno \
3874 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3876 am__fastdepCC_FALSE='#'
3878 am__fastdepCC_TRUE='#'
3879 am__fastdepCC_FALSE=
3884 # Check whether --enable-compiler-warnings was given.
3885 if test "${enable_compiler_warnings+set}" = set; then :
3886 enableval=$enable_compiler_warnings;
3888 case $enable_compiler_warnings in #(
3889 no | min | yes | max | all) :
3892 if test "x$enable_maintainer_mode" = xyes; then :
3893 enable_compiler_warnings=yes
3895 enable_compiler_warnings=min
3900 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3901 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3902 # is not polluted with repeated "-I."
3903 am__isrc=' -I$(srcdir)'
3904 # test to see if srcdir already configured
3905 if test -f $srcdir/config.status; then
3906 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3910 # test whether we have cygpath
3911 if test -z "$CYGPATH_W"; then
3912 if (cygpath --version) >/dev/null 2>/dev/null; then
3913 CYGPATH_W='cygpath -w'
3920 # Define the identity of the package.
3921 PACKAGE='luajit-for-tex-live'
3922 VERSION='2.1.0-beta1'
3925 cat >>confdefs.h <<_ACEOF
3926 #define PACKAGE "$PACKAGE"
3930 cat >>confdefs.h <<_ACEOF
3931 #define VERSION "$VERSION"
3934 # Some tools Automake needs.
3936 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3939 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3942 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3945 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3948 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3950 # For better backward compatibility. To be removed once Automake 1.9.x
3951 # dies out for good. For more background, see:
3952 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3953 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3954 mkdir_p='$(MKDIR_P)'
3956 # We need awk for the "check" target (and possibly the TAP driver). The
3957 # system "awk" is bad on some platforms.
3958 # Always define AMTAR for backward compatibility. Yes, it's still used
3959 # in the wild :-( We should find a proper way to deprecate it ...
3963 # We'll loop over all known methods to create a tar archive until one works.
3964 _am_tools='gnutar pax cpio none'
3966 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3973 # POSIX will say in a future version that running "rm -f" with no argument
3974 # is OK; and we want to be able to make that assumption in our Makefile
3975 # recipes. So use an aggressive probe to check that the usage we want is
3976 # actually supported "in the wild" to an acceptable degree.
3977 # See automake bug#10828.
3978 # To make any issue more visible, cause the running configure to be aborted
3979 # by default if the 'rm' program in use doesn't match our expectations; the
3980 # user can still override this though.
3981 if rm -f && rm -fr && rm -rf; then : OK; else
3985 Your 'rm' program seems unable to run without file operands specified
3986 on the command line, even when the '-f' option is present. This is contrary
3987 to the behaviour of most rm programs out there, and not conforming with
3988 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3990 Please tell bug-automake@gnu.org about your system, including the value
3991 of your $PATH and any error possibly output before this message. This
3992 can help us improve future automake versions.
3995 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3996 echo 'Configuration will proceed anyway, since you have set the' >&2
3997 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4001 Aborting the configuration process, to ensure you take notice of the issue.
4003 You can download and install GNU coreutils to get an 'rm' implementation
4004 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4006 If you want to complete the configuration process using your problematic
4007 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4008 to "yes", and re-run configure.
4011 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4017 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4018 # Check whether --enable-maintainer-mode was given.
4019 if test "${enable_maintainer_mode+set}" = set; then :
4020 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4022 USE_MAINTAINER_MODE=no
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4026 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4027 if test $USE_MAINTAINER_MODE = yes; then
4028 MAINTAINER_MODE_TRUE=
4029 MAINTAINER_MODE_FALSE='#'
4031 MAINTAINER_MODE_TRUE='#'
4032 MAINTAINER_MODE_FALSE=
4035 MAINT=$MAINTAINER_MODE_TRUE
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4039 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4040 if ${kb_cv_c_prototypes+:} false; then :
4041 $as_echo_n "(cached) " >&6
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4049 extern void foo(int i,...);
4054 if ac_fn_c_try_link "$LINENO"; then :
4055 kb_cv_c_prototypes=yes
4057 kb_cv_c_prototypes=no
4059 rm -f core conftest.err conftest.$ac_objext \
4060 conftest$ac_exeext conftest.$ac_ext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4063 $as_echo "$kb_cv_c_prototypes" >&6; }
4064 if test "x$kb_cv_c_prototypes" = xno; then
4065 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4068 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4069 if ${kpse_cv_warning_cflags+:} false; then :
4070 $as_echo_n "(cached) " >&6
4072 if test "x$GCC" = xyes; then
4073 kpse_cv_warning_cflags=
4074 if test "x$enable_compiler_warnings" != xno; then
4075 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4076 case `$CC -dumpversion` in #(
4077 3.4.* | 4.* | 5.*) :
4078 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4082 case `$CC -dumpversion` in #(
4083 3.[234].* | 4.* | 5.*) :
4084 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4088 if test "x$enable_compiler_warnings" != xmin; then
4089 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4090 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4091 if test "x$enable_compiler_warnings" != xyes; then
4092 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4093 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4094 case `$CC -dumpversion` in #(
4095 3.4.* | 4.* | 5.*) :
4096 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4100 if test "x$enable_compiler_warnings" != xmax; then
4101 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4106 elif test "x$enable_compiler_warnings" = xno; then
4107 kpse_cv_warning_cflags=
4109 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4113 $as_echo "$kpse_cv_warning_cflags" >&6; }
4114 WARNING_CFLAGS=$kpse_cv_warning_cflags
4123 # Make sure we can run config.sub.
4124 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4125 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4128 $as_echo_n "checking build system type... " >&6; }
4129 if ${ac_cv_build+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 ac_build_alias=$build_alias
4133 test "x$ac_build_alias" = x &&
4134 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4135 test "x$ac_build_alias" = x &&
4136 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4137 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4138 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4142 $as_echo "$ac_cv_build" >&6; }
4143 case $ac_cv_build in
4145 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4148 ac_save_IFS=$IFS; IFS='-'
4154 # Remember, the first character of IFS is used to create $*,
4155 # except with old shells:
4158 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4162 $as_echo_n "checking host system type... " >&6; }
4163 if ${ac_cv_host+:} false; then :
4164 $as_echo_n "(cached) " >&6
4166 if test "x$host_alias" = x; then
4167 ac_cv_host=$ac_cv_build
4169 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4170 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4175 $as_echo "$ac_cv_host" >&6; }
4178 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4181 ac_save_IFS=$IFS; IFS='-'
4187 # Remember, the first character of IFS is used to create $*,
4188 # except with old shells:
4191 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4194 if test "x$host_alias" != x && test "x$build_alias" = x; then :
4195 as_fn_error $? "when cross-compiling you must specify both --host and --build." "$LINENO" 5
4197 eval kpse_build_alias=\${build_alias-$build}
4201 ac_cpp='$CPP $CPPFLAGS'
4202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4205 if test -n "$ac_tool_prefix"; then
4206 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4207 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209 $as_echo_n "checking for $ac_word... " >&6; }
4210 if ${ac_cv_prog_CC+:} false; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -n "$CC"; then
4214 ac_cv_prog_CC="$CC" # Let the user override the test.
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir=.
4221 for ac_exec_ext in '' $ac_executable_extensions; do
4222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4223 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 if test -n "$CC"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4236 $as_echo "$CC" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4244 if test -z "$ac_cv_prog_CC"; then
4246 # Extract the first word of "gcc", so it can be a program name with args.
4247 set dummy gcc; ac_word=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 if test -n "$ac_ct_CC"; then
4254 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir=.
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4263 ac_cv_prog_ac_ct_CC="gcc"
4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4274 if test -n "$ac_ct_CC"; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4276 $as_echo "$ac_ct_CC" >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4282 if test "x$ac_ct_CC" = x; then
4285 case $cross_compiling:$ac_tool_warned in
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4289 ac_tool_warned=yes ;;
4297 if test -z "$CC"; then
4298 if test -n "$ac_tool_prefix"; then
4299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4300 set dummy ${ac_tool_prefix}cc; ac_word=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_prog_CC+:} false; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$CC"; then
4307 ac_cv_prog_CC="$CC" # Let the user override the test.
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316 ac_cv_prog_CC="${ac_tool_prefix}cc"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 if test -n "$CC"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4329 $as_echo "$CC" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4338 if test -z "$CC"; then
4339 # Extract the first word of "cc", so it can be a program name with args.
4340 set dummy cc; ac_word=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if ${ac_cv_prog_CC+:} false; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -n "$CC"; then
4347 ac_cv_prog_CC="$CC" # Let the user override the test.
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4357 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4358 ac_prog_rejected=yes
4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 if test $ac_prog_rejected = yes; then
4370 # We found a bogon in the path, so make sure we never use it.
4371 set dummy $ac_cv_prog_CC
4373 if test $# != 0; then
4374 # We chose a different compiler from the bogus one.
4375 # However, it has the same basename, so the bogon will be chosen
4376 # first if we set CC to just the basename; use the full file name.
4378 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4384 if test -n "$CC"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4386 $as_echo "$CC" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4394 if test -z "$CC"; then
4395 if test -n "$ac_tool_prefix"; then
4396 for ac_prog in cl.exe
4398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4399 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_CC+:} false; then :
4403 $as_echo_n "(cached) " >&6
4405 if test -n "$CC"; then
4406 ac_cv_prog_CC="$CC" # Let the user override the test.
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 if test -n "$CC"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4428 $as_echo "$CC" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4435 test -n "$CC" && break
4438 if test -z "$CC"; then
4440 for ac_prog in cl.exe
4442 # Extract the first word of "$ac_prog", so it can be a program name with args.
4443 set dummy $ac_prog; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4447 $as_echo_n "(cached) " >&6
4449 if test -n "$ac_ct_CC"; then
4450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_ac_ct_CC="$ac_prog"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4470 if test -n "$ac_ct_CC"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4472 $as_echo "$ac_ct_CC" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4479 test -n "$ac_ct_CC" && break
4482 if test "x$ac_ct_CC" = x; then
4485 case $cross_compiling:$ac_tool_warned in
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4489 ac_tool_warned=yes ;;
4498 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4500 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4501 See \
`config.log' for more details" "$LINENO" 5; }
4503 # Provide some information about the compiler.
4504 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4507 for ac_option in --version -v -V -qversion; do
4508 { { ac_try="$ac_compiler $ac_option >&5"
4510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4511 *) ac_try_echo
=$ac_try;;
4513 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4514 $as_echo "$ac_try_echo"; } >&5
4515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4517 if test -s conftest.err
; then
4519 ... rest of stderr output deleted ...
4520 10q' conftest.err
>conftest.er1
4521 cat conftest.er1
>&5
4523 rm -f conftest.er1 conftest.err
4524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 test $ac_status = 0; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4529 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4530 if ${ac_cv_c_compiler_gnu+:} false
; then :
4531 $as_echo_n "(cached) " >&6
4533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4547 if ac_fn_c_try_compile
"$LINENO"; then :
4552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4553 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4557 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4558 if test $ac_compiler_gnu = yes; then
4563 ac_test_CFLAGS
=${CFLAGS+set}
4564 ac_save_CFLAGS
=$CFLAGS
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4566 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4567 if ${ac_cv_prog_cc_g+:} false
; then :
4568 $as_echo_n "(cached) " >&6
4570 ac_save_c_werror_flag
=$ac_c_werror_flag
4571 ac_c_werror_flag
=yes
4574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4585 if ac_fn_c_try_compile
"$LINENO"; then :
4589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4600 if ac_fn_c_try_compile
"$LINENO"; then :
4603 ac_c_werror_flag
=$ac_save_c_werror_flag
4605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4616 if ac_fn_c_try_compile
"$LINENO"; then :
4619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4624 ac_c_werror_flag
=$ac_save_c_werror_flag
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4627 $as_echo "$ac_cv_prog_cc_g" >&6; }
4628 if test "$ac_test_CFLAGS" = set; then
4629 CFLAGS
=$ac_save_CFLAGS
4630 elif test $ac_cv_prog_cc_g = yes; then
4631 if test "$GCC" = yes; then
4637 if test "$GCC" = yes; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4644 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4645 if ${ac_cv_prog_cc_c89+:} false
; then :
4646 $as_echo_n "(cached) " >&6
4648 ac_cv_prog_cc_c89
=no
4650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4655 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4656 struct buf { int x; };
4657 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4658 static char *e (p, i)
4664 static char *f (char * (*g) (char **, int), char **p, ...)
4669 s = g (p, va_arg (v,int));
4674 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4675 function prototypes and stuff, but not '\xHH' hex character constants.
4676 These don't provoke an error unfortunately, instead are silently treated
4677 as 'x'. The following induces an error, until -std is added to get
4678 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4679 array size at least. It's necessary to write '\x00'==0 to get something
4680 that's true only with -std. */
4681 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4683 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4684 inside strings and character constants. */
4686 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4688 int test (int i, double x);
4689 struct s1 {int (*f) (int a);};
4690 struct s2 {int (*f) (double a);};
4691 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4697 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4702 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4703 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4705 CC
="$ac_save_CC $ac_arg"
4706 if ac_fn_c_try_compile
"$LINENO"; then :
4707 ac_cv_prog_cc_c89
=$ac_arg
4709 rm -f core conftest.err conftest.
$ac_objext
4710 test "x$ac_cv_prog_cc_c89" != "xno" && break
4712 rm -f conftest.
$ac_ext
4717 case "x$ac_cv_prog_cc_c89" in
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4720 $as_echo "none needed" >&6; } ;;
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4723 $as_echo "unsupported" >&6; } ;;
4725 CC
="$CC $ac_cv_prog_cc_c89"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4727 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4729 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4734 ac_cpp
='$CPP $CPPFLAGS'
4735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4740 ac_cpp
='$CPP $CPPFLAGS'
4741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4745 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4746 if ${am_cv_prog_cc_c_o+:} false
; then :
4747 $as_echo_n "(cached) " >&6
4749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4760 # Make sure it works both with $CC and with simple cc.
4761 # Following AC_PROG_CC_C_O, we do the test twice because some
4762 # compilers refuse to overwrite an existing .o file with -o,
4763 # though they will create one.
4764 am_cv_prog_cc_c_o
=yes
4766 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4767 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } \
4771 && test -f conftest2.
$ac_objext; then
4774 am_cv_prog_cc_c_o
=no
4778 rm -f core conftest
*
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4782 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4783 if test "$am_cv_prog_cc_c_o" != yes; then
4784 # Losing compiler, so override with the script.
4785 # FIXME: It is wrong to rewrite CC.
4786 # But if we don't then we get into trouble of one sort or another.
4787 # A longer-term fix would be to have automake use am__CC in this case,
4788 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4789 CC
="$am_aux_dir/compile $CC"
4792 ac_cpp
='$CPP $CPPFLAGS'
4793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4798 depcc
="$CC" am_compiler_list
=
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4801 $as_echo_n "checking dependency style of $depcc... " >&6; }
4802 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4803 $as_echo_n "(cached) " >&6
4805 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4806 # We make a subdir and do the tests there. Otherwise we can end up
4807 # making bogus files that we don't know about and never remove. For
4808 # instance it was reported that on HP-UX the gcc test will end up
4809 # making a dummy file named 'D' -- because '-MD' means "put the output
4813 # Copy depcomp to subdir because otherwise we won't find it if we're
4814 # using a relative directory.
4815 cp "$am_depcomp" conftest.dir
4817 # We will build objects and dependencies in a subdirectory because
4818 # it helps to detect inapplicable dependency modes. For instance
4819 # both Tru64's cc and ICC support -MD to output dependencies as a
4820 # side effect of compilation, but ICC will put the dependencies in
4821 # the current directory while Tru64 will put them in the object
4825 am_cv_CC_dependencies_compiler_type
=none
4826 if test "$am_compiler_list" = ""; then
4827 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4830 case " $depcc " in #(
4831 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4834 for depmode
in $am_compiler_list; do
4835 # Setup a source with many dependencies, because some compilers
4836 # like to wrap large dependency lists on column 80 (with \), and
4837 # we should not choose a depcomp mode which is confused by this.
4839 # We need to recreate these files for each test, as the compiler may
4840 # overwrite some of them when testing with obscure command lines.
4841 # This happens at least with the AIX C compiler.
4843 for i
in 1 2 3 4 5 6; do
4844 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4845 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4846 # Solaris 10 /bin/sh.
4847 echo '/* dummy */' > sub
/conftst
$i.h
4849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4851 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4852 # mode. It turns out that the SunPro C++ compiler does not properly
4853 # handle '-M -o', and we need to detect this. Also, some Intel
4854 # versions had trouble with output in subdirs.
4855 am__obj
=sub
/conftest.
${OBJEXT-o}
4856 am__minus_obj
="-o $am__obj"
4859 # This depmode causes a compiler race in universal mode.
4860 test "$am__universal" = false ||
continue
4863 # After this tag, mechanisms are not by side-effect, so they'll
4864 # only be used when explicitly requested.
4865 if test "x$enable_dependency_tracking" = xyes
; then
4871 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4872 # This compiler won't grok '-c -o', but also, the minuso test has
4873 # not run yet. These depmodes are late enough in the game, and
4874 # so weak that their functioning should not be impacted.
4875 am__obj
=conftest.
${OBJEXT-o}
4880 if depmode
=$depmode \
4881 source=sub
/conftest.c object
=$am__obj \
4882 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4883 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4884 >/dev
/null
2>conftest.err
&&
4885 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4886 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4887 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4888 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4889 # icc doesn't choke on unknown options, it will just issue warnings
4890 # or remarks (even with -Werror). So we grep stderr for any message
4891 # that says an option was ignored or not supported.
4892 # When given -MP, icc 7.0 and 7.1 complain thusly:
4893 # icc: Command line warning: ignoring option '-M'; no argument required
4894 # The diagnosis changed in icc 8.0:
4895 # icc: Command line remark: option '-MP' not supported
4896 if (grep 'ignoring option' conftest.err ||
4897 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4898 am_cv_CC_dependencies_compiler_type
=$depmode
4907 am_cv_CC_dependencies_compiler_type
=none
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4912 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4913 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4916 test "x$enable_dependency_tracking" != xno \
4917 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4919 am__fastdepCC_FALSE
='#'
4921 am__fastdepCC_TRUE
='#'
4922 am__fastdepCC_FALSE
=
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4927 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4928 if ${ac_cv_prog_cc_c99+:} false
; then :
4929 $as_echo_n "(cached) " >&6
4931 ac_cv_prog_cc_c99
=no
4933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4936 #include <stdbool.h>
4941 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4942 #define debug(...) fprintf (stderr, __VA_ARGS__)
4943 #define showlist(...) puts (#__VA_ARGS__)
4944 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4946 test_varargs_macros (void)
4951 debug ("X = %d\n", x);
4952 showlist (The first, second, and third items.);
4953 report (x>y, "x is %d but y is %d", x, y);
4956 // Check long long types.
4957 #define BIG64 18446744073709551615ull
4958 #define BIG32 4294967295ul
4959 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4961 your preprocessor is broken;
4965 your preprocessor is broken;
4967 static long long int bignum = -9223372036854775807LL;
4968 static unsigned long long int ubignum = BIG64;
4970 struct incomplete_array
4978 const wchar_t *name;
4982 typedef const char *ccp;
4985 test_restrict (ccp restrict text)
4987 // See if C++-style comments work.
4988 // Iterate through items via the restricted pointer.
4989 // Also check for declarations in for loops.
4990 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4995 // Check varargs and va_copy.
4997 test_varargs (const char *format, ...)
5000 va_start (args, format);
5002 va_copy (args_copy, args);
5013 str = va_arg (args_copy, const char *);
5016 number = va_arg (args_copy, int);
5019 fnumber = va_arg (args_copy, double);
5034 _Bool success = false;
5037 if (test_restrict ("String literal") == 0)
5039 char *restrict newvar = "Another string";
5042 test_varargs ("s, d' f .", "string", 65, 34.234);
5043 test_varargs_macros ();
5045 // Check flexible array members.
5046 struct incomplete_array *ia =
5047 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5049 for (int i = 0; i < ia->datasize; ++i)
5050 ia->data[i] = i * 1.234;
5052 // Check named initializers.
5053 struct named_init ni = {
5055 .name = L"Test wide string",
5056 .average = 543.34343,
5061 int dynamic_array[ni.number];
5062 dynamic_array[ni.number - 1] = 543;
5064 // work around unused variable warnings
5065 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5066 || dynamic_array[ni.number - 1] != 543);
5072 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5074 CC
="$ac_save_CC $ac_arg"
5075 if ac_fn_c_try_compile
"$LINENO"; then :
5076 ac_cv_prog_cc_c99
=$ac_arg
5078 rm -f core conftest.err conftest.
$ac_objext
5079 test "x$ac_cv_prog_cc_c99" != "xno" && break
5081 rm -f conftest.
$ac_ext
5086 case "x$ac_cv_prog_cc_c99" in
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5089 $as_echo "none needed" >&6; } ;;
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5092 $as_echo "unsupported" >&6; } ;;
5094 CC
="$CC $ac_cv_prog_cc_c99"
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5096 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5098 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5103 # By default we simply use the C compiler to build assembly code.
5105 test "${CCAS+set}" = set || CCAS
=$CC
5106 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
5110 depcc
="$CCAS" am_compiler_list
=
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5113 $as_echo_n "checking dependency style of $depcc... " >&6; }
5114 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
5115 $as_echo_n "(cached) " >&6
5117 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5118 # We make a subdir and do the tests there. Otherwise we can end up
5119 # making bogus files that we don't know about and never remove. For
5120 # instance it was reported that on HP-UX the gcc test will end up
5121 # making a dummy file named 'D' -- because '-MD' means "put the output
5125 # Copy depcomp to subdir because otherwise we won't find it if we're
5126 # using a relative directory.
5127 cp "$am_depcomp" conftest.dir
5129 # We will build objects and dependencies in a subdirectory because
5130 # it helps to detect inapplicable dependency modes. For instance
5131 # both Tru64's cc and ICC support -MD to output dependencies as a
5132 # side effect of compilation, but ICC will put the dependencies in
5133 # the current directory while Tru64 will put them in the object
5137 am_cv_CCAS_dependencies_compiler_type
=none
5138 if test "$am_compiler_list" = ""; then
5139 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5144 for depmode
in $am_compiler_list; do
5145 # Setup a source with many dependencies, because some compilers
5146 # like to wrap large dependency lists on column 80 (with \), and
5147 # we should not choose a depcomp mode which is confused by this.
5149 # We need to recreate these files for each test, as the compiler may
5150 # overwrite some of them when testing with obscure command lines.
5151 # This happens at least with the AIX C compiler.
5153 for i
in 1 2 3 4 5 6; do
5154 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5155 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5156 # Solaris 10 /bin/sh.
5157 echo '/* dummy */' > sub
/conftst
$i.h
5159 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5161 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5162 # mode. It turns out that the SunPro C++ compiler does not properly
5163 # handle '-M -o', and we need to detect this. Also, some Intel
5164 # versions had trouble with output in subdirs.
5165 am__obj
=sub
/conftest.
${OBJEXT-o}
5166 am__minus_obj
="-o $am__obj"
5169 # This depmode causes a compiler race in universal mode.
5170 test "$am__universal" = false ||
continue
5173 # After this tag, mechanisms are not by side-effect, so they'll
5174 # only be used when explicitly requested.
5175 if test "x$enable_dependency_tracking" = xyes
; then
5181 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5182 # This compiler won't grok '-c -o', but also, the minuso test has
5183 # not run yet. These depmodes are late enough in the game, and
5184 # so weak that their functioning should not be impacted.
5185 am__obj
=conftest.
${OBJEXT-o}
5190 if depmode
=$depmode \
5191 source=sub
/conftest.c object
=$am__obj \
5192 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5193 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5194 >/dev
/null
2>conftest.err
&&
5195 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5196 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5197 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5198 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5199 # icc doesn't choke on unknown options, it will just issue warnings
5200 # or remarks (even with -Werror). So we grep stderr for any message
5201 # that says an option was ignored or not supported.
5202 # When given -MP, icc 7.0 and 7.1 complain thusly:
5203 # icc: Command line warning: ignoring option '-M'; no argument required
5204 # The diagnosis changed in icc 8.0:
5205 # icc: Command line remark: option '-MP' not supported
5206 if (grep 'ignoring option' conftest.err ||
5207 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5208 am_cv_CCAS_dependencies_compiler_type
=$depmode
5217 am_cv_CCAS_dependencies_compiler_type
=none
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5222 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5223 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5226 test "x$enable_dependency_tracking" != xno \
5227 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5228 am__fastdepCCAS_TRUE
=
5229 am__fastdepCCAS_FALSE
='#'
5231 am__fastdepCCAS_TRUE
='#'
5232 am__fastdepCCAS_FALSE
=
5236 if test -n "$ac_tool_prefix"; then
5237 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5238 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_RANLIB+:} false
; then :
5242 $as_echo_n "(cached) " >&6
5244 if test -n "$RANLIB"; then
5245 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 RANLIB
=$ac_cv_prog_RANLIB
5265 if test -n "$RANLIB"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5267 $as_echo "$RANLIB" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5275 if test -z "$ac_cv_prog_RANLIB"; then
5276 ac_ct_RANLIB
=$RANLIB
5277 # Extract the first word of "ranlib", so it can be a program name with args.
5278 set dummy ranlib
; ac_word
=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5282 $as_echo_n "(cached) " >&6
5284 if test -n "$ac_ct_RANLIB"; then
5285 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5305 if test -n "$ac_ct_RANLIB"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5307 $as_echo "$ac_ct_RANLIB" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5313 if test "x$ac_ct_RANLIB" = x
; then
5316 case $cross_compiling:$ac_tool_warned in
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5320 ac_tool_warned
=yes ;;
5322 RANLIB
=$ac_ct_RANLIB
5325 RANLIB
="$ac_cv_prog_RANLIB"
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5329 $as_echo_n "checking whether ln -s works... " >&6; }
5331 if test "$LN_S" = "ln -s"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5333 $as_echo "yes" >&6; }
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5336 $as_echo "no, using $LN_S" >&6; }
5340 LUAJITVERSION
=2.1.0-beta1
5343 LUAJIT_LT_VERSINFO
=3:0:1
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5349 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5354 macro_version
='2.4.6'
5355 macro_revision
='2.4.6'
5369 ltmain
=$ac_aux_dir/ltmain.sh
5371 # Backslashify metacharacters that are still active within
5372 # double-quoted strings.
5373 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5375 # Same as above, but do not quote variable references.
5376 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5378 # Sed substitution to delay expansion of an escaped shell variable in a
5379 # double_quote_subst'ed string.
5380 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5382 # Sed substitution to delay expansion of an escaped single quote.
5383 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5385 # Sed substitution to avoid accidental globbing in evaled expressions
5386 no_glob_subst
='s/\*/\\\*/g'
5388 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5389 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5390 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5393 $as_echo_n "checking how to print strings... " >&6; }
5394 # Test print first, because it will be a builtin if present.
5395 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5396 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5398 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5401 # Use this function as a fallback that always works.
5402 func_fallback_echo ()
5404 eval 'cat <<_LTECHO_EOF
5408 ECHO='func_fallback_echo
'
5411 # func_echo_all arg...
5412 # Invoke $ECHO with all args, space-separated.
5419 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5420 $as_echo "printf" >&6; } ;;
5421 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5422 $as_echo "print -r" >&6; } ;;
5423 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5424 $as_echo "cat" >&6; } ;;
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5441 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5442 if ${ac_cv_path_SED+:} false; then :
5443 $as_echo_n "(cached) " >&6
5445 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5446 for ac_i in 1 2 3 4 5 6 7; do
5447 ac_script="$ac_script$as_nl$ac_script"
5449 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5450 { ac_script=; unset ac_script;}
5451 if test -z "$SED"; then
5452 ac_path_SED_found=false
5453 # Loop through the user's path and
test for each of PROGNAME-LIST
5454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5458 test -z "$as_dir" && as_dir
=.
5459 for ac_prog
in sed gsed
; do
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5462 as_fn_executable_p
"$ac_path_SED" ||
continue
5463 # Check for GNU ac_path_SED and select it if it is found.
5464 # Check for GNU $ac_path_SED
5465 case `"$ac_path_SED" --version 2>&1` in
5467 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5470 $as_echo_n 0123456789 >"conftest.in"
5473 cat "conftest.in" "conftest.in" >"conftest.tmp"
5474 mv "conftest.tmp" "conftest.in"
5475 cp "conftest.in" "conftest.nl"
5476 $as_echo '' >> "conftest.nl"
5477 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5478 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5479 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5480 if test $ac_count -gt ${ac_path_SED_max-0}; then
5481 # Best one so far, save it but keep looking for a better one
5482 ac_cv_path_SED
="$ac_path_SED"
5483 ac_path_SED_max
=$ac_count
5485 # 10*(2^10) chars as input seems more than enough
5486 test $ac_count -gt 10 && break
5488 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5491 $ac_path_SED_found && break 3
5496 if test -z "$ac_cv_path_SED"; then
5497 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5505 $as_echo "$ac_cv_path_SED" >&6; }
5506 SED
="$ac_cv_path_SED"
5509 test -z "$SED" && SED
=sed
5510 Xsed
="$SED -e 1s/^X//"
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5523 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5524 if ${ac_cv_path_GREP+:} false
; then :
5525 $as_echo_n "(cached) " >&6
5527 if test -z "$GREP"; then
5528 ac_path_GREP_found
=false
5529 # Loop through the user's path and test for each of PROGNAME-LIST
5530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5531 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5534 test -z "$as_dir" && as_dir
=.
5535 for ac_prog
in grep ggrep
; do
5536 for ac_exec_ext
in '' $ac_executable_extensions; do
5537 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5538 as_fn_executable_p
"$ac_path_GREP" ||
continue
5539 # Check for GNU ac_path_GREP and select it if it is found.
5540 # Check for GNU $ac_path_GREP
5541 case `"$ac_path_GREP" --version 2>&1` in
5543 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5546 $as_echo_n 0123456789 >"conftest.in"
5549 cat "conftest.in" "conftest.in" >"conftest.tmp"
5550 mv "conftest.tmp" "conftest.in"
5551 cp "conftest.in" "conftest.nl"
5552 $as_echo 'GREP' >> "conftest.nl"
5553 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5554 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5555 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5556 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5557 # Best one so far, save it but keep looking for a better one
5558 ac_cv_path_GREP
="$ac_path_GREP"
5559 ac_path_GREP_max
=$ac_count
5561 # 10*(2^10) chars as input seems more than enough
5562 test $ac_count -gt 10 && break
5564 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5567 $ac_path_GREP_found && break 3
5572 if test -z "$ac_cv_path_GREP"; then
5573 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5576 ac_cv_path_GREP
=$GREP
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5581 $as_echo "$ac_cv_path_GREP" >&6; }
5582 GREP
="$ac_cv_path_GREP"
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5586 $as_echo_n "checking for egrep... " >&6; }
5587 if ${ac_cv_path_EGREP+:} false
; then :
5588 $as_echo_n "(cached) " >&6
5590 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5591 then ac_cv_path_EGREP
="$GREP -E"
5593 if test -z "$EGREP"; then
5594 ac_path_EGREP_found
=false
5595 # Loop through the user's path and test for each of PROGNAME-LIST
5596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5600 test -z "$as_dir" && as_dir
=.
5601 for ac_prog
in egrep; do
5602 for ac_exec_ext
in '' $ac_executable_extensions; do
5603 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5604 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5605 # Check for GNU ac_path_EGREP and select it if it is found.
5606 # Check for GNU $ac_path_EGREP
5607 case `"$ac_path_EGREP" --version 2>&1` in
5609 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5612 $as_echo_n 0123456789 >"conftest.in"
5615 cat "conftest.in" "conftest.in" >"conftest.tmp"
5616 mv "conftest.tmp" "conftest.in"
5617 cp "conftest.in" "conftest.nl"
5618 $as_echo 'EGREP' >> "conftest.nl"
5619 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5620 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5621 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5622 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5623 # Best one so far, save it but keep looking for a better one
5624 ac_cv_path_EGREP
="$ac_path_EGREP"
5625 ac_path_EGREP_max
=$ac_count
5627 # 10*(2^10) chars as input seems more than enough
5628 test $ac_count -gt 10 && break
5630 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5633 $ac_path_EGREP_found && break 3
5638 if test -z "$ac_cv_path_EGREP"; then
5639 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5642 ac_cv_path_EGREP
=$EGREP
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5648 $as_echo "$ac_cv_path_EGREP" >&6; }
5649 EGREP
="$ac_cv_path_EGREP"
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5653 $as_echo_n "checking for fgrep... " >&6; }
5654 if ${ac_cv_path_FGREP+:} false
; then :
5655 $as_echo_n "(cached) " >&6
5657 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5658 then ac_cv_path_FGREP
="$GREP -F"
5660 if test -z "$FGREP"; then
5661 ac_path_FGREP_found
=false
5662 # Loop through the user's path and test for each of PROGNAME-LIST
5663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5664 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5667 test -z "$as_dir" && as_dir
=.
5668 for ac_prog
in fgrep
; do
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5671 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5672 # Check for GNU ac_path_FGREP and select it if it is found.
5673 # Check for GNU $ac_path_FGREP
5674 case `"$ac_path_FGREP" --version 2>&1` in
5676 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5679 $as_echo_n 0123456789 >"conftest.in"
5682 cat "conftest.in" "conftest.in" >"conftest.tmp"
5683 mv "conftest.tmp" "conftest.in"
5684 cp "conftest.in" "conftest.nl"
5685 $as_echo 'FGREP' >> "conftest.nl"
5686 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5687 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5688 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5689 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5690 # Best one so far, save it but keep looking for a better one
5691 ac_cv_path_FGREP
="$ac_path_FGREP"
5692 ac_path_FGREP_max
=$ac_count
5694 # 10*(2^10) chars as input seems more than enough
5695 test $ac_count -gt 10 && break
5697 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5700 $ac_path_FGREP_found && break 3
5705 if test -z "$ac_cv_path_FGREP"; then
5706 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5709 ac_cv_path_FGREP
=$FGREP
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5715 $as_echo "$ac_cv_path_FGREP" >&6; }
5716 FGREP
="$ac_cv_path_FGREP"
5719 test -z "$GREP" && GREP
=grep
5739 # Check whether --with-gnu-ld was given.
5740 if test "${with_gnu_ld+set}" = set; then :
5741 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
5747 if test yes = "$GCC"; then
5748 # Check if gcc -print-prog-name=ld gives a path.
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5750 $as_echo_n "checking for ld used by $CC... " >&6; }
5753 # gcc leaves a trailing carriage return, which upsets mingw
5754 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5756 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5759 # Accept absolute paths.
5761 re_direlt
='/[^/][^/]*/\.\./'
5762 # Canonicalize the pathname of ld
5763 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5764 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5765 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5767 test -z "$LD" && LD
=$ac_prog
5770 # If it fails, then pretend we aren't using GCC.
5774 # If it is relative, then search for the first ld in PATH.
5778 elif test yes = "$with_gnu_ld"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5780 $as_echo_n "checking for GNU ld... " >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5783 $as_echo_n "checking for non-GNU ld... " >&6; }
5785 if ${lt_cv_path_LD+:} false
; then :
5786 $as_echo_n "(cached) " >&6
5788 if test -z "$LD"; then
5789 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
5790 for ac_dir
in $PATH; do
5792 test -z "$ac_dir" && ac_dir
=.
5793 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5794 lt_cv_path_LD
=$ac_dir/$ac_prog
5795 # Check to see if the program is GNU ld. I'd rather use --version,
5796 # but apparently some variants of GNU ld only accept -v.
5797 # Break only if it was the GNU/non-GNU ld that we prefer.
5798 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5799 *GNU
* |
*'with BFD'*)
5800 test no
!= "$with_gnu_ld" && break
5803 test yes != "$with_gnu_ld" && break
5810 lt_cv_path_LD
=$LD # Let the user override the test with a path.
5815 if test -n "$LD"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5817 $as_echo "$LD" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 $as_echo "no" >&6; }
5822 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5824 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5825 if ${lt_cv_prog_gnu_ld+:} false
; then :
5826 $as_echo_n "(cached) " >&6
5828 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5829 case `$LD -v 2>&1 </dev/null` in
5830 *GNU
* |
*'with BFD'*)
5831 lt_cv_prog_gnu_ld
=yes
5834 lt_cv_prog_gnu_ld
=no
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5839 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5840 with_gnu_ld
=$lt_cv_prog_gnu_ld
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5851 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5852 if ${lt_cv_path_NM+:} false
; then :
5853 $as_echo_n "(cached) " >&6
5855 if test -n "$NM"; then
5856 # Let the user override the test.
5859 lt_nm_to_check
=${ac_tool_prefix}nm
5860 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5861 lt_nm_to_check
="$lt_nm_to_check nm"
5863 for lt_tmp_nm
in $lt_nm_to_check; do
5864 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
5865 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5867 test -z "$ac_dir" && ac_dir
=.
5868 tmp_nm
=$ac_dir/$lt_tmp_nm
5869 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
5870 # Check to see if the nm accepts a BSD-compat flag.
5871 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5872 # nm: unknown option "B" ignored
5873 # Tru64's nm complains that /dev/null is an invalid object file
5874 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5876 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
5877 *) lt_bad_file
=/dev
/null
;;
5879 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5880 *$lt_bad_file* |
*'Invalid file or object type'*)
5881 lt_cv_path_NM
="$tmp_nm -B"
5885 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5887 lt_cv_path_NM
="$tmp_nm -p"
5891 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5892 continue # so that we can try to find one that supports BSD flags
5901 : ${lt_cv_path_NM=no}
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5905 $as_echo "$lt_cv_path_NM" >&6; }
5906 if test no
!= "$lt_cv_path_NM"; then
5909 # Didn't find any BSD compatible name lister, look for dumpbin.
5910 if test -n "$DUMPBIN"; then :
5911 # Let the user override the test.
5913 if test -n "$ac_tool_prefix"; then
5914 for ac_prog
in dumpbin
"link -dump"
5916 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5917 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5921 $as_echo_n "(cached) " >&6
5923 if test -n "$DUMPBIN"; then
5924 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5930 test -z "$as_dir" && as_dir
=.
5931 for ac_exec_ext
in '' $ac_executable_extensions; do
5932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5933 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 DUMPBIN
=$ac_cv_prog_DUMPBIN
5944 if test -n "$DUMPBIN"; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5946 $as_echo "$DUMPBIN" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 $as_echo "no" >&6; }
5953 test -n "$DUMPBIN" && break
5956 if test -z "$DUMPBIN"; then
5957 ac_ct_DUMPBIN
=$DUMPBIN
5958 for ac_prog
in dumpbin
"link -dump"
5960 # Extract the first word of "$ac_prog", so it can be a program name with args.
5961 set dummy
$ac_prog; ac_word
=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -n "$ac_ct_DUMPBIN"; then
5968 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir
=.
5975 for ac_exec_ext
in '' $ac_executable_extensions; do
5976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5988 if test -n "$ac_ct_DUMPBIN"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5990 $as_echo "$ac_ct_DUMPBIN" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5997 test -n "$ac_ct_DUMPBIN" && break
6000 if test "x$ac_ct_DUMPBIN" = x
; then
6003 case $cross_compiling:$ac_tool_warned in
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6007 ac_tool_warned
=yes ;;
6009 DUMPBIN
=$ac_ct_DUMPBIN
6013 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6015 DUMPBIN
="$DUMPBIN -symbols -headers"
6023 if test : != "$DUMPBIN"; then
6027 test -z "$NM" && NM
=nm
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6035 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6036 if ${lt_cv_nm_interface+:} false
; then :
6037 $as_echo_n "(cached) " >&6
6039 lt_cv_nm_interface
="BSD nm"
6040 echo "int some_variable = 0;" > conftest.
$ac_ext
6041 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6042 (eval "$ac_compile" 2>conftest.err
)
6043 cat conftest.err
>&5
6044 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6045 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6046 cat conftest.err
>&5
6047 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6048 cat conftest.out
>&5
6049 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6050 lt_cv_nm_interface
="MS dumpbin"
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6055 $as_echo "$lt_cv_nm_interface" >&6; }
6057 # find the maximum length of command line arguments
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6059 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6060 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6061 $as_echo_n "(cached) " >&6
6068 # On DJGPP, this test can blow up pretty badly due to problems in libc
6069 # (any single argument exceeding 2000 bytes causes a buffer overrun
6070 # during glob expansion). Even if it were fixed, the result of this
6071 # check would be larger than it should be.
6072 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6076 # Under GNU Hurd, this test is not required because there is
6077 # no limit to the length of command line arguments.
6078 # Libtool will interpret -1 as no limit whatsoever
6079 lt_cv_sys_max_cmd_len
=-1;
6082 cygwin
* | mingw
* | cegcc
*)
6083 # On Win9x/ME, this test blows up -- it succeeds, but takes
6084 # about 5 minutes as the teststring grows exponentially.
6085 # Worse, since 9x/ME are not pre-emptively multitasking,
6086 # you end up with a "frozen" computer, even though with patience
6087 # the test eventually succeeds (with a max line length of 256k).
6088 # Instead, let's just punt: use the minimum linelength reported by
6089 # all of the supported platforms: 8192 (on NT/2K/XP).
6090 lt_cv_sys_max_cmd_len
=8192;
6094 # On MiNT this can take a long time and run out of memory.
6095 lt_cv_sys_max_cmd_len
=8192;
6099 # On AmigaOS with pdksh, this test takes hours, literally.
6100 # So we just punt and use a minimum line length of 8192.
6101 lt_cv_sys_max_cmd_len
=8192;
6104 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
6105 # This has been around since 386BSD, at least. Likely further.
6106 if test -x /sbin
/sysctl
; then
6107 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6108 elif test -x /usr
/sbin
/sysctl
; then
6109 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6111 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6113 # And add a safety zone
6114 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6115 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6119 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6120 lt_cv_sys_max_cmd_len
=196608
6124 # The test takes a long time on OS/2.
6125 lt_cv_sys_max_cmd_len
=8192
6129 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6130 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6131 # nice to cause kernel panics so lets avoid the loop below.
6132 # First set a reasonable default.
6133 lt_cv_sys_max_cmd_len
=16384
6135 if test -x /sbin
/sysconfig
; then
6136 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6137 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6142 lt_cv_sys_max_cmd_len
=102400
6144 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6145 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6146 if test -n "$kargmax"; then
6147 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6149 lt_cv_sys_max_cmd_len
=32768
6153 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6154 if test -n "$lt_cv_sys_max_cmd_len" && \
6155 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6156 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6157 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6159 # Make teststring a little bigger before we do anything with it.
6160 # a 1K string should be a reasonable start.
6161 for i
in 1 2 3 4 5 6 7 8; do
6162 teststring
=$teststring$teststring
6164 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6165 # If test is not a shell built-in, we'll probably end up computing a
6166 # maximum length that is only half of the actual maximum length, but
6168 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
6169 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6170 test 17 != "$i" # 1/2 MB should be enough
6173 teststring
=$teststring$teststring
6175 # Only check the string length outside the loop.
6176 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6178 # Add a significant safety factor because C++ compilers can tack on
6179 # massive amounts of additional arguments before passing them to the
6180 # linker. It appears as though 1/2 is a usable value.
6181 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6188 if test -n "$lt_cv_sys_max_cmd_len"; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6190 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6193 $as_echo "none" >&6; }
6195 max_cmd_len
=$lt_cv_sys_max_cmd_len
6206 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6216 # test EBCDIC or ASCII
6217 case `echo X|tr X '\101'` in
6218 A
) # ASCII based system
6219 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6220 lt_SP2NL
='tr \040 \012'
6221 lt_NL2SP
='tr \015\012 \040\040'
6223 *) # EBCDIC based system
6224 lt_SP2NL
='tr \100 \n'
6225 lt_NL2SP
='tr \r\n \100\100'
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6238 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6239 if ${lt_cv_to_host_file_cmd+:} false
; then :
6240 $as_echo_n "(cached) " >&6
6245 *-*-mingw* ) # actually msys
6246 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6249 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6251 * ) # otherwise, assume *nix
6252 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6258 *-*-mingw* ) # actually msys
6259 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6262 lt_cv_to_host_file_cmd
=func_convert_file_noop
6264 * ) # otherwise, assume *nix
6265 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6269 * ) # unhandled hosts (and "normal" native builds)
6270 lt_cv_to_host_file_cmd
=func_convert_file_noop
6276 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6278 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6285 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6286 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6287 $as_echo_n "(cached) " >&6
6289 #assume ordinary cross tools, or native build.
6290 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6294 *-*-mingw* ) # actually msys
6295 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6303 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6305 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6312 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6313 if ${lt_cv_ld_reload_flag+:} false
; then :
6314 $as_echo_n "(cached) " >&6
6316 lt_cv_ld_reload_flag
='-r'
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6319 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6320 reload_flag
=$lt_cv_ld_reload_flag
6321 case $reload_flag in
6323 *) reload_flag
=" $reload_flag" ;;
6325 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6327 cygwin
* | mingw
* | pw32
* | cegcc
*)
6328 if test yes != "$GCC"; then
6333 if test yes = "$GCC"; then
6334 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6336 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6349 if test -n "$ac_tool_prefix"; then
6350 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6351 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6353 $as_echo_n "checking for $ac_word... " >&6; }
6354 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6355 $as_echo_n "(cached) " >&6
6357 if test -n "$OBJDUMP"; then
6358 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir
=.
6365 for ac_exec_ext
in '' $ac_executable_extensions; do
6366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6377 OBJDUMP
=$ac_cv_prog_OBJDUMP
6378 if test -n "$OBJDUMP"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6380 $as_echo "$OBJDUMP" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383 $as_echo "no" >&6; }
6388 if test -z "$ac_cv_prog_OBJDUMP"; then
6389 ac_ct_OBJDUMP
=$OBJDUMP
6390 # Extract the first word of "objdump", so it can be a program name with args.
6391 set dummy objdump
; ac_word
=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6395 $as_echo_n "(cached) " >&6
6397 if test -n "$ac_ct_OBJDUMP"; then
6398 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir
=.
6405 for ac_exec_ext
in '' $ac_executable_extensions; do
6406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6418 if test -n "$ac_ct_OBJDUMP"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6420 $as_echo "$ac_ct_OBJDUMP" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6423 $as_echo "no" >&6; }
6426 if test "x$ac_ct_OBJDUMP" = x
; then
6429 case $cross_compiling:$ac_tool_warned in
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6433 ac_tool_warned
=yes ;;
6435 OBJDUMP
=$ac_ct_OBJDUMP
6438 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6441 test -z "$OBJDUMP" && OBJDUMP
=objdump
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6449 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6450 if ${lt_cv_deplibs_check_method+:} false
; then :
6451 $as_echo_n "(cached) " >&6
6453 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6454 lt_cv_file_magic_test_file
=
6455 lt_cv_deplibs_check_method
='unknown'
6456 # Need to set the preceding variable on all platforms that support
6457 # interlibrary dependencies.
6458 # 'none' -- dependencies not supported.
6459 # 'unknown' -- same as none, but documents that we really don't know.
6460 # 'pass_all' -- all dependencies passed with no checks.
6461 # 'test_compile' -- check by making test program.
6462 # 'file_magic [[regex]]' -- check by looking for files in library path
6463 # that responds to the $file_magic_cmd with a given extended regex.
6464 # If you have 'file' or equivalent on your system and you're not sure
6465 # whether 'pass_all' will *always* work, you probably want this one.
6469 lt_cv_deplibs_check_method
=pass_all
6473 lt_cv_deplibs_check_method
=pass_all
6477 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6478 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6479 lt_cv_file_magic_test_file
=/shlib
/libc.so
6483 # func_win32_libid is a shell function defined in ltmain.sh
6484 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6485 lt_cv_file_magic_cmd
='func_win32_libid'
6489 # Base MSYS/MinGW do not provide the 'file' command needed by
6490 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6491 # unless we find 'file', for example because we are cross-compiling.
6492 if ( file / ) >/dev
/null
2>&1; then
6493 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6494 lt_cv_file_magic_cmd
='func_win32_libid'
6496 # Keep this pattern in sync with the one in func_win32_libid.
6497 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6498 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6503 # use the weaker test based on 'objdump'. See mingw*.
6504 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6505 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6508 darwin
* | rhapsody
*)
6509 lt_cv_deplibs_check_method
=pass_all
6512 freebsd
* | dragonfly
*)
6513 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6516 # Not sure whether the presence of OpenBSD here was a mistake.
6517 # Let's accept both of them until this is cleared up.
6518 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6519 lt_cv_file_magic_cmd
=/usr
/bin
/file
6520 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6524 lt_cv_deplibs_check_method
=pass_all
6529 lt_cv_deplibs_check_method
=pass_all
6532 hpux10.20
* | hpux11
*)
6533 lt_cv_file_magic_cmd
=/usr
/bin
/file
6536 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6537 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6540 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]'
6541 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6544 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6545 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6551 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6552 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6555 irix5
* | irix6
* | nonstopux
*)
6557 *-32|
*"-32 ") libmagic
=32-bit;;
6558 *-n32|
*"-n32 ") libmagic
=N32
;;
6559 *-64|
*"-64 ") libmagic
=64-bit;;
6560 *) libmagic
=never-match
;;
6562 lt_cv_deplibs_check_method
=pass_all
6565 # This must be glibc/ELF.
6566 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
6567 lt_cv_deplibs_check_method
=pass_all
6571 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6572 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6574 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6579 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6580 lt_cv_file_magic_cmd
=/usr
/bin
/file
6581 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6585 lt_cv_deplibs_check_method
=pass_all
6589 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6590 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6592 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6596 osf3
* | osf4
* | osf5
*)
6597 lt_cv_deplibs_check_method
=pass_all
6601 lt_cv_deplibs_check_method
=pass_all
6605 lt_cv_deplibs_check_method
=pass_all
6608 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6609 lt_cv_deplibs_check_method
=pass_all
6613 case $host_vendor in
6615 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]'
6616 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6619 lt_cv_deplibs_check_method
=pass_all
6622 lt_cv_file_magic_cmd
='/bin/file'
6623 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6626 lt_cv_file_magic_cmd
='/bin/file'
6627 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6628 lt_cv_file_magic_test_file
=/lib
/libc.so
6631 lt_cv_deplibs_check_method
=pass_all
6634 lt_cv_deplibs_check_method
=pass_all
6640 lt_cv_deplibs_check_method
=pass_all
6643 lt_cv_deplibs_check_method
=pass_all
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6649 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6653 if test "$build" = "$host"; then
6656 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
6659 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6665 file_magic_cmd
=$lt_cv_file_magic_cmd
6666 deplibs_check_method
=$lt_cv_deplibs_check_method
6667 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6690 if test -n "$ac_tool_prefix"; then
6691 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6692 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6696 $as_echo_n "(cached) " >&6
6698 if test -n "$DLLTOOL"; then
6699 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir
=.
6706 for ac_exec_ext
in '' $ac_executable_extensions; do
6707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718 DLLTOOL
=$ac_cv_prog_DLLTOOL
6719 if test -n "$DLLTOOL"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6721 $as_echo "$DLLTOOL" >&6; }
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6729 if test -z "$ac_cv_prog_DLLTOOL"; then
6730 ac_ct_DLLTOOL
=$DLLTOOL
6731 # Extract the first word of "dlltool", so it can be a program name with args.
6732 set dummy dlltool
; ac_word
=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6736 $as_echo_n "(cached) " >&6
6738 if test -n "$ac_ct_DLLTOOL"; then
6739 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir
=.
6746 for ac_exec_ext
in '' $ac_executable_extensions; do
6747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6759 if test -n "$ac_ct_DLLTOOL"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6761 $as_echo "$ac_ct_DLLTOOL" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6767 if test "x$ac_ct_DLLTOOL" = x
; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned
=yes ;;
6776 DLLTOOL
=$ac_ct_DLLTOOL
6779 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6782 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6791 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6792 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6793 $as_echo_n "(cached) " >&6
6795 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6798 cygwin
* | mingw
* | pw32
* | cegcc
*)
6799 # two different shell functions defined in ltmain.sh;
6800 # decide which one to use based on capabilities of $DLLTOOL
6801 case `$DLLTOOL --help 2>&1` in
6802 *--identify-strict*)
6803 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6806 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6811 # fallback: assume linklib IS sharedlib
6812 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6818 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6819 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6820 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6828 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6832 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 $as_echo_n "checking for $ac_word... " >&6; }
6835 if ${ac_cv_prog_AR+:} false
; then :
6836 $as_echo_n "(cached) " >&6
6838 if test -n "$AR"; then
6839 ac_cv_prog_AR
="$AR" # Let the user override the test.
6841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir
=.
6846 for ac_exec_ext
in '' $ac_executable_extensions; do
6847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 if test -n "$AR"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6861 $as_echo "$AR" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6868 test -n "$AR" && break
6871 if test -z "$AR"; then
6875 # Extract the first word of "$ac_prog", so it can be a program name with args.
6876 set dummy
$ac_prog; ac_word
=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878 $as_echo_n "checking for $ac_word... " >&6; }
6879 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6880 $as_echo_n "(cached) " >&6
6882 if test -n "$ac_ct_AR"; then
6883 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir
=.
6890 for ac_exec_ext
in '' $ac_executable_extensions; do
6891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6892 ac_cv_prog_ac_ct_AR
="$ac_prog"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6903 if test -n "$ac_ct_AR"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6905 $as_echo "$ac_ct_AR" >&6; }
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6912 test -n "$ac_ct_AR" && break
6915 if test "x$ac_ct_AR" = x
; then
6918 case $cross_compiling:$ac_tool_warned in
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6922 ac_tool_warned
=yes ;;
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6942 $as_echo_n "checking for archiver @FILE support... " >&6; }
6943 if ${lt_cv_ar_at_file+:} false
; then :
6944 $as_echo_n "(cached) " >&6
6947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6958 if ac_fn_c_try_compile
"$LINENO"; then :
6959 echo conftest.
$ac_objext > conftest.lst
6960 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6961 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6962 (eval $lt_ar_try) 2>&5
6964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6965 test $ac_status = 0; }
6966 if test 0 -eq "$ac_status"; then
6967 # Ensure the archiver fails upon bogus file names.
6968 rm -f conftest.
$ac_objext libconftest.a
6969 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6970 (eval $lt_ar_try) 2>&5
6972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6973 test $ac_status = 0; }
6974 if test 0 -ne "$ac_status"; then
6978 rm -f conftest.
* libconftest.a
6981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6985 $as_echo "$lt_cv_ar_at_file" >&6; }
6987 if test no
= "$lt_cv_ar_at_file"; then
6990 archiver_list_spec
=$lt_cv_ar_at_file
6999 if test -n "$ac_tool_prefix"; then
7000 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7001 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if ${ac_cv_prog_STRIP+:} false
; then :
7005 $as_echo_n "(cached) " >&6
7007 if test -n "$STRIP"; then
7008 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir
=.
7015 for ac_exec_ext
in '' $ac_executable_extensions; do
7016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7017 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7027 STRIP
=$ac_cv_prog_STRIP
7028 if test -n "$STRIP"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7030 $as_echo "$STRIP" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7038 if test -z "$ac_cv_prog_STRIP"; then
7040 # Extract the first word of "strip", so it can be a program name with args.
7041 set dummy strip
; ac_word
=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7045 $as_echo_n "(cached) " >&6
7047 if test -n "$ac_ct_STRIP"; then
7048 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir
=.
7055 for ac_exec_ext
in '' $ac_executable_extensions; do
7056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_ac_ct_STRIP
="strip"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7068 if test -n "$ac_ct_STRIP"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7070 $as_echo "$ac_ct_STRIP" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7076 if test "x$ac_ct_STRIP" = x
; then
7079 case $cross_compiling:$ac_tool_warned in
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7083 ac_tool_warned
=yes ;;
7088 STRIP
="$ac_cv_prog_STRIP"
7091 test -z "$STRIP" && STRIP
=:
7098 if test -n "$ac_tool_prefix"; then
7099 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7100 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_RANLIB+:} false
; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$RANLIB"; then
7107 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir
=.
7114 for ac_exec_ext
in '' $ac_executable_extensions; do
7115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7116 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 RANLIB
=$ac_cv_prog_RANLIB
7127 if test -n "$RANLIB"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7129 $as_echo "$RANLIB" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7137 if test -z "$ac_cv_prog_RANLIB"; then
7138 ac_ct_RANLIB
=$RANLIB
7139 # Extract the first word of "ranlib", so it can be a program name with args.
7140 set dummy ranlib
; ac_word
=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142 $as_echo_n "checking for $ac_word... " >&6; }
7143 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7144 $as_echo_n "(cached) " >&6
7146 if test -n "$ac_ct_RANLIB"; then
7147 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir
=.
7154 for ac_exec_ext
in '' $ac_executable_extensions; do
7155 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7167 if test -n "$ac_ct_RANLIB"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7169 $as_echo "$ac_ct_RANLIB" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7175 if test "x$ac_ct_RANLIB" = x
; then
7178 case $cross_compiling:$ac_tool_warned in
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7182 ac_tool_warned
=yes ;;
7184 RANLIB
=$ac_ct_RANLIB
7187 RANLIB
="$ac_cv_prog_RANLIB"
7190 test -z "$RANLIB" && RANLIB
=:
7197 # Determine commands to create old-style static archives.
7198 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7199 old_postinstall_cmds
='chmod 644 $oldlib'
7200 old_postuninstall_cmds
=
7202 if test -n "$RANLIB"; then
7205 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7208 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7211 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7216 lock_old_archive_extraction
=yes ;;
7218 lock_old_archive_extraction
=no
;;
7259 # If no C compiler was specified, use CC.
7262 # If no C compiler flags were specified, use CFLAGS.
7263 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7265 # Allow CC to be a program name with arguments.
7269 # Check for command to grab the raw symbol name followed by C symbol from nm.
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7271 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7272 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7273 $as_echo_n "(cached) " >&6
7276 # These are sane defaults that work on at least a few old systems.
7277 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7279 # Character class describing NM global symbol codes.
7280 symcode
='[BCDEGRST]'
7282 # Regexp to match symbols that can be accessed directly from C.
7283 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7285 # Define system-specific variables.
7290 cygwin
* | mingw
* | pw32
* | cegcc
*)
7291 symcode
='[ABCDGISTW]'
7294 if test ia64
= "$host_cpu"; then
7295 symcode
='[ABCDEGRST]'
7299 symcode
='[BCDEGRST]'
7302 symcode
='[BCDEGQRST]'
7313 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7321 # If we're using GNU nm, then use its standard symbol codes.
7322 case `$NM -V 2>&1` in
7323 *GNU
* |
*'with BFD'*)
7324 symcode
='[ABCDGIRSTW]' ;;
7327 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7328 # Gets list of data symbols to import.
7329 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7330 # Adjust the below global symbol transforms to fixup imported variables.
7331 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7332 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7333 lt_c_name_lib_hook
="\
7334 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7335 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7337 # Disable hooks by default.
7338 lt_cv_sys_global_symbol_to_import
=
7344 # Transform an extracted symbol line into a proper C declaration.
7345 # Some systems (esp. on ia64) link data and code symbols differently,
7346 # so use this general approach.
7347 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
7349 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7350 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7352 # Transform an extracted symbol line into symbol name and symbol address
7353 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
7355 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7356 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7358 # Transform an extracted symbol line into symbol name with lib prefix and
7360 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
7361 $lt_c_name_lib_hook\
7362 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7363 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7364 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7366 # Handle CRLF in mingw tool chain
7370 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7374 # Try without a prefix underscore, then with it.
7375 for ac_symprfx
in "" "_"; do
7377 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7378 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7380 # Write the raw and C identifiers.
7381 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7382 # Fake it for dumpbin and say T for any non-static function,
7383 # D for any global variable and I for any imported variable.
7384 # Also find C++ and __fastcall symbols from MSVC++,
7385 # which start with @ or ?.
7386 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7387 " {last_section=section; section=\$ 3};"\
7388 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7389 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7390 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7391 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7392 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7393 " \$ 0!~/External *\|/{next};"\
7394 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7395 " {if(hide[section]) next};"\
7396 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7397 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7398 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7399 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7400 " ' prfx=^$ac_symprfx"
7402 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7404 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7406 # Check to see that the pipe works correctly.
7410 cat > conftest.
$ac_ext <<_LT_EOF
7415 void nm_test_func(void);
7416 void nm_test_func(void){}
7420 int main(){nm_test_var='a';nm_test_func();return(0);}
7423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7424 (eval $ac_compile) 2>&5
7426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7427 test $ac_status = 0; }; then
7428 # Now try to grab the symbols.
7430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7431 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7434 test $ac_status = 0; } && test -s "$nlist"; then
7435 # Try sorting and uniquifying the output.
7436 if sort "$nlist" |
uniq > "$nlist"T
; then
7437 mv -f "$nlist"T
"$nlist"
7442 # Make sure that we snagged all the symbols we need.
7443 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7444 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7445 cat <<_LT_EOF > conftest.$ac_ext
7446 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7447 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7448 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7449 relocations are performed -- see ld's documentation on pseudo-relocs. */
7450 # define LT_DLSYM_CONST
7451 #elif defined __osf__
7452 /* This system does not cope well with relocations in const data. */
7453 # define LT_DLSYM_CONST
7455 # define LT_DLSYM_CONST const
7463 # Now generate the symbol file.
7464 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7466 cat <<_LT_EOF >> conftest.$ac_ext
7468 /* The mapping between symbol names and symbols. */
7469 LT_DLSYM_CONST struct {
7473 lt__PROGRAM__LTX_preloaded_symbols[] =
7475 { "@PROGRAM@", (void *) 0 },
7477 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7478 cat <<\_LT_EOF
>> conftest.
$ac_ext
7482 /* This works around a problem
in FreeBSD linker
*/
7483 #ifdef FREEBSD_WORKAROUND
7484 static const void
*lt_preloaded_setup
() {
7485 return lt__PROGRAM__LTX_preloaded_symbols
;
7493 # Now try linking the two files.
7494 mv conftest.
$ac_objext conftstm.
$ac_objext
7495 lt_globsym_save_LIBS
=$LIBS
7496 lt_globsym_save_CFLAGS
=$CFLAGS
7497 LIBS
=conftstm.
$ac_objext
7498 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7500 (eval $ac_link) 2>&5
7502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7503 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
7506 LIBS
=$lt_globsym_save_LIBS
7507 CFLAGS
=$lt_globsym_save_CFLAGS
7509 echo "cannot find nm_test_func in $nlist" >&5
7512 echo "cannot find nm_test_var in $nlist" >&5
7515 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7518 echo "$progname: failed program was:" >&5
7519 cat conftest.
$ac_ext >&5
7521 rm -rf conftest
* conftst
*
7523 # Do not use the global_symbol_pipe unless it works.
7524 if test yes = "$pipe_works"; then
7527 lt_cv_sys_global_symbol_pipe
=
7533 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7534 lt_cv_sys_global_symbol_to_cdecl
=
7536 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7538 $as_echo "failed" >&6; }
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7541 $as_echo "ok" >&6; }
7544 # Response file support.
7545 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7546 nm_file_list_spec
='@'
7547 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7548 nm_file_list_spec
='@'
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7588 $as_echo_n "checking for sysroot... " >&6; }
7590 # Check whether --with-sysroot was given.
7591 if test "${with_sysroot+set}" = set; then :
7592 withval
=$with_sysroot;
7599 case $with_sysroot in #(
7601 if test yes = "$GCC"; then
7602 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7606 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7612 $as_echo "$with_sysroot" >&6; }
7613 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7618 $as_echo "${lt_sysroot:-no}" >&6; }
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7625 $as_echo_n "checking for a working dd... " >&6; }
7626 if ${ac_cv_path_lt_DD+:} false
; then :
7627 $as_echo_n "(cached) " >&6
7629 printf 0123456789abcdef0123456789abcdef
>conftest.i
7630 cat conftest.i conftest.i
>conftest2.i
7632 if test -z "$lt_DD"; then
7633 ac_path_lt_DD_found
=false
7634 # Loop through the user's path and test for each of PROGNAME-LIST
7635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir
=.
7640 for ac_prog
in dd; do
7641 for ac_exec_ext
in '' $ac_executable_extensions; do
7642 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
7643 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
7644 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7645 cmp -s conftest.i conftest.out \
7646 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
7648 $ac_path_lt_DD_found && break 3
7653 if test -z "$ac_cv_path_lt_DD"; then
7657 ac_cv_path_lt_DD
=$lt_DD
7660 rm -f conftest.i conftest2.i conftest.out
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7663 $as_echo "$ac_cv_path_lt_DD" >&6; }
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7667 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7668 if ${lt_cv_truncate_bin+:} false
; then :
7669 $as_echo_n "(cached) " >&6
7671 printf 0123456789abcdef0123456789abcdef
>conftest.i
7672 cat conftest.i conftest.i
>conftest2.i
7674 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7675 cmp -s conftest.i conftest.out \
7676 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
7678 rm -f conftest.i conftest2.i conftest.out
7679 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7682 $as_echo "$lt_cv_truncate_bin" >&6; }
7690 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7693 for cc_temp
in $
*""; do
7695 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7696 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7701 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7704 # Check whether --enable-libtool-lock was given.
7705 if test "${enable_libtool_lock+set}" = set; then :
7706 enableval
=$enable_libtool_lock;
7709 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
7711 # Some flags need to be propagated to the compiler or linker for good
7715 # Find out what ABI is being produced by ac_compile, and set mode
7716 # options accordingly.
7717 echo 'int i;' > conftest.
$ac_ext
7718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7719 (eval $ac_compile) 2>&5
7721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7722 test $ac_status = 0; }; then
7723 case `/usr/bin/file conftest.$ac_objext` in
7735 # Find out what ABI is being produced by ac_compile, and set linker
7736 # options accordingly.
7737 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7739 (eval $ac_compile) 2>&5
7741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7742 test $ac_status = 0; }; then
7743 if test yes = "$lt_cv_prog_gnu_ld"; then
7744 case `/usr/bin/file conftest.$ac_objext` in
7746 LD
="${LD-ld} -melf32bsmip"
7749 LD
="${LD-ld} -melf32bmipn32"
7752 LD
="${LD-ld} -melf64bmip"
7756 case `/usr/bin/file conftest.$ac_objext` in
7773 # Find out what ABI is being produced by ac_compile, and set linker
7774 # options accordingly.
7775 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7777 (eval $ac_compile) 2>&5
7779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7780 test $ac_status = 0; }; then
7782 case `/usr/bin/file conftest.$ac_objext` in
7790 case `/usr/bin/file conftest.$ac_objext` in
7792 emul
="${emul}btsmip"
7795 emul
="${emul}ltsmip"
7798 case `/usr/bin/file conftest.$ac_objext` in
7803 LD
="${LD-ld} -m $emul"
7808 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7809 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7810 # Find out what ABI is being produced by ac_compile, and set linker
7811 # options accordingly. Note that the listed cases only cover the
7812 # situations where additional linker options are needed (such as when
7813 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7814 # vice versa); the common cases where no linker options are needed do
7815 # not appear in the list.
7816 echo 'int i;' > conftest.
$ac_ext
7817 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7818 (eval $ac_compile) 2>&5
7820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7821 test $ac_status = 0; }; then
7822 case `/usr/bin/file conftest.o` in
7825 x86_64-
*kfreebsd
*-gnu)
7826 LD
="${LD-ld} -m elf_i386_fbsd"
7829 case `/usr/bin/file conftest.o` in
7831 LD
="${LD-ld} -m elf32_x86_64"
7834 LD
="${LD-ld} -m elf_i386"
7838 powerpc64le-
*linux
*)
7839 LD
="${LD-ld} -m elf32lppclinux"
7842 LD
="${LD-ld} -m elf32ppclinux"
7845 LD
="${LD-ld} -m elf_s390"
7848 LD
="${LD-ld} -m elf32_sparc"
7854 x86_64-
*kfreebsd
*-gnu)
7855 LD
="${LD-ld} -m elf_x86_64_fbsd"
7858 LD
="${LD-ld} -m elf_x86_64"
7861 LD
="${LD-ld} -m elf64lppc"
7864 LD
="${LD-ld} -m elf64ppc"
7866 s390
*-*linux
*|s390
*-*tpf
*)
7867 LD
="${LD-ld} -m elf64_s390"
7870 LD
="${LD-ld} -m elf64_sparc"
7880 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7882 CFLAGS
="$CFLAGS -belf"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7884 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7885 if ${lt_cv_cc_needs_belf+:} false
; then :
7886 $as_echo_n "(cached) " >&6
7889 ac_cpp
='$CPP $CPPFLAGS'
7890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7895 /* end confdefs.h. */
7905 if ac_fn_c_try_link
"$LINENO"; then :
7906 lt_cv_cc_needs_belf
=yes
7908 lt_cv_cc_needs_belf
=no
7910 rm -f core conftest.err conftest.
$ac_objext \
7911 conftest
$ac_exeext conftest.
$ac_ext
7913 ac_cpp
='$CPP $CPPFLAGS'
7914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7920 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7921 if test yes != "$lt_cv_cc_needs_belf"; then
7922 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7927 # Find out what ABI is being produced by ac_compile, and set linker
7928 # options accordingly.
7929 echo 'int i;' > conftest.
$ac_ext
7930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7931 (eval $ac_compile) 2>&5
7933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7934 test $ac_status = 0; }; then
7935 case `/usr/bin/file conftest.o` in
7937 case $lt_cv_prog_gnu_ld in
7940 i?
86-*-solaris*|x86_64-
*-solaris*)
7941 LD
="${LD-ld} -m elf_x86_64"
7944 LD
="${LD-ld} -m elf64_sparc"
7947 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7948 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
7953 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7965 need_locks
=$enable_libtool_lock
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7969 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7973 $as_echo_n "(cached) " >&6
7975 if test -n "$MANIFEST_TOOL"; then
7976 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir
=.
7983 for ac_exec_ext
in '' $ac_executable_extensions; do
7984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7996 if test -n "$MANIFEST_TOOL"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7998 $as_echo "$MANIFEST_TOOL" >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8006 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8007 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8008 # Extract the first word of "mt", so it can be a program name with args.
8009 set dummy mt
; ac_word
=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8013 $as_echo_n "(cached) " >&6
8015 if test -n "$ac_ct_MANIFEST_TOOL"; then
8016 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir
=.
8023 for ac_exec_ext
in '' $ac_executable_extensions; do
8024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8036 if test -n "$ac_ct_MANIFEST_TOOL"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8038 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8044 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8047 case $cross_compiling:$ac_tool_warned in
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051 ac_tool_warned
=yes ;;
8053 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8056 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8059 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8061 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8062 if ${lt_cv_path_mainfest_tool+:} false
; then :
8063 $as_echo_n "(cached) " >&6
8065 lt_cv_path_mainfest_tool
=no
8066 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8067 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8068 cat conftest.err
>&5
8069 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8070 lt_cv_path_mainfest_tool
=yes
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8075 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8076 if test yes != "$lt_cv_path_mainfest_tool"; then
8086 rhapsody
* | darwin
*)
8087 if test -n "$ac_tool_prefix"; then
8088 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8089 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8091 $as_echo_n "checking for $ac_word... " >&6; }
8092 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8093 $as_echo_n "(cached) " >&6
8095 if test -n "$DSYMUTIL"; then
8096 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8102 test -z "$as_dir" && as_dir
=.
8103 for ac_exec_ext
in '' $ac_executable_extensions; do
8104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8105 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8115 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8116 if test -n "$DSYMUTIL"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8118 $as_echo "$DSYMUTIL" >&6; }
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8126 if test -z "$ac_cv_prog_DSYMUTIL"; then
8127 ac_ct_DSYMUTIL
=$DSYMUTIL
8128 # Extract the first word of "dsymutil", so it can be a program name with args.
8129 set dummy dsymutil
; ac_word
=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 $as_echo_n "checking for $ac_word... " >&6; }
8132 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8133 $as_echo_n "(cached) " >&6
8135 if test -n "$ac_ct_DSYMUTIL"; then
8136 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8142 test -z "$as_dir" && as_dir
=.
8143 for ac_exec_ext
in '' $ac_executable_extensions; do
8144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8145 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8155 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8156 if test -n "$ac_ct_DSYMUTIL"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8158 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8164 if test "x$ac_ct_DSYMUTIL" = x
; then
8167 case $cross_compiling:$ac_tool_warned in
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171 ac_tool_warned
=yes ;;
8173 DSYMUTIL
=$ac_ct_DSYMUTIL
8176 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8179 if test -n "$ac_tool_prefix"; then
8180 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8181 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8183 $as_echo_n "checking for $ac_word... " >&6; }
8184 if ${ac_cv_prog_NMEDIT+:} false
; then :
8185 $as_echo_n "(cached) " >&6
8187 if test -n "$NMEDIT"; then
8188 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8194 test -z "$as_dir" && as_dir
=.
8195 for ac_exec_ext
in '' $ac_executable_extensions; do
8196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8197 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8207 NMEDIT
=$ac_cv_prog_NMEDIT
8208 if test -n "$NMEDIT"; then
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8210 $as_echo "$NMEDIT" >&6; }
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8213 $as_echo "no" >&6; }
8218 if test -z "$ac_cv_prog_NMEDIT"; then
8219 ac_ct_NMEDIT
=$NMEDIT
8220 # Extract the first word of "nmedit", so it can be a program name with args.
8221 set dummy nmedit
; ac_word
=$2
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8223 $as_echo_n "checking for $ac_word... " >&6; }
8224 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8225 $as_echo_n "(cached) " >&6
8227 if test -n "$ac_ct_NMEDIT"; then
8228 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8234 test -z "$as_dir" && as_dir
=.
8235 for ac_exec_ext
in '' $ac_executable_extensions; do
8236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8237 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8248 if test -n "$ac_ct_NMEDIT"; then
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8250 $as_echo "$ac_ct_NMEDIT" >&6; }
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8253 $as_echo "no" >&6; }
8256 if test "x$ac_ct_NMEDIT" = x
; then
8259 case $cross_compiling:$ac_tool_warned in
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8263 ac_tool_warned
=yes ;;
8265 NMEDIT
=$ac_ct_NMEDIT
8268 NMEDIT
="$ac_cv_prog_NMEDIT"
8271 if test -n "$ac_tool_prefix"; then
8272 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8273 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8275 $as_echo_n "checking for $ac_word... " >&6; }
8276 if ${ac_cv_prog_LIPO+:} false
; then :
8277 $as_echo_n "(cached) " >&6
8279 if test -n "$LIPO"; then
8280 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8286 test -z "$as_dir" && as_dir
=.
8287 for ac_exec_ext
in '' $ac_executable_extensions; do
8288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8289 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299 LIPO
=$ac_cv_prog_LIPO
8300 if test -n "$LIPO"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8302 $as_echo "$LIPO" >&6; }
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }
8310 if test -z "$ac_cv_prog_LIPO"; then
8312 # Extract the first word of "lipo", so it can be a program name with args.
8313 set dummy lipo
; ac_word
=$2
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8315 $as_echo_n "checking for $ac_word... " >&6; }
8316 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8317 $as_echo_n "(cached) " >&6
8319 if test -n "$ac_ct_LIPO"; then
8320 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8326 test -z "$as_dir" && as_dir
=.
8327 for ac_exec_ext
in '' $ac_executable_extensions; do
8328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8329 ac_cv_prog_ac_ct_LIPO
="lipo"
8330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8339 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8340 if test -n "$ac_ct_LIPO"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8342 $as_echo "$ac_ct_LIPO" >&6; }
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8345 $as_echo "no" >&6; }
8348 if test "x$ac_ct_LIPO" = x
; then
8351 case $cross_compiling:$ac_tool_warned in
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8355 ac_tool_warned
=yes ;;
8360 LIPO
="$ac_cv_prog_LIPO"
8363 if test -n "$ac_tool_prefix"; then
8364 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8365 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8367 $as_echo_n "checking for $ac_word... " >&6; }
8368 if ${ac_cv_prog_OTOOL+:} false
; then :
8369 $as_echo_n "(cached) " >&6
8371 if test -n "$OTOOL"; then
8372 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8378 test -z "$as_dir" && as_dir
=.
8379 for ac_exec_ext
in '' $ac_executable_extensions; do
8380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8381 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8391 OTOOL
=$ac_cv_prog_OTOOL
8392 if test -n "$OTOOL"; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8394 $as_echo "$OTOOL" >&6; }
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8397 $as_echo "no" >&6; }
8402 if test -z "$ac_cv_prog_OTOOL"; then
8404 # Extract the first word of "otool", so it can be a program name with args.
8405 set dummy otool
; ac_word
=$2
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8407 $as_echo_n "checking for $ac_word... " >&6; }
8408 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8409 $as_echo_n "(cached) " >&6
8411 if test -n "$ac_ct_OTOOL"; then
8412 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8418 test -z "$as_dir" && as_dir
=.
8419 for ac_exec_ext
in '' $ac_executable_extensions; do
8420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8421 ac_cv_prog_ac_ct_OTOOL
="otool"
8422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8431 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8432 if test -n "$ac_ct_OTOOL"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8434 $as_echo "$ac_ct_OTOOL" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8437 $as_echo "no" >&6; }
8440 if test "x$ac_ct_OTOOL" = x
; then
8443 case $cross_compiling:$ac_tool_warned in
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8447 ac_tool_warned
=yes ;;
8452 OTOOL
="$ac_cv_prog_OTOOL"
8455 if test -n "$ac_tool_prefix"; then
8456 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8457 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8459 $as_echo_n "checking for $ac_word... " >&6; }
8460 if ${ac_cv_prog_OTOOL64+:} false
; then :
8461 $as_echo_n "(cached) " >&6
8463 if test -n "$OTOOL64"; then
8464 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8470 test -z "$as_dir" && as_dir
=.
8471 for ac_exec_ext
in '' $ac_executable_extensions; do
8472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8473 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8483 OTOOL64
=$ac_cv_prog_OTOOL64
8484 if test -n "$OTOOL64"; then
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8486 $as_echo "$OTOOL64" >&6; }
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8489 $as_echo "no" >&6; }
8494 if test -z "$ac_cv_prog_OTOOL64"; then
8495 ac_ct_OTOOL64
=$OTOOL64
8496 # Extract the first word of "otool64", so it can be a program name with args.
8497 set dummy otool64
; ac_word
=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8499 $as_echo_n "checking for $ac_word... " >&6; }
8500 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8501 $as_echo_n "(cached) " >&6
8503 if test -n "$ac_ct_OTOOL64"; then
8504 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8510 test -z "$as_dir" && as_dir
=.
8511 for ac_exec_ext
in '' $ac_executable_extensions; do
8512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8513 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8523 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8524 if test -n "$ac_ct_OTOOL64"; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8526 $as_echo "$ac_ct_OTOOL64" >&6; }
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8529 $as_echo "no" >&6; }
8532 if test "x$ac_ct_OTOOL64" = x
; then
8535 case $cross_compiling:$ac_tool_warned in
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8539 ac_tool_warned
=yes ;;
8541 OTOOL64
=$ac_ct_OTOOL64
8544 OTOOL64
="$ac_cv_prog_OTOOL64"
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8574 $as_echo_n "checking for -single_module linker flag... " >&6; }
8575 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8576 $as_echo_n "(cached) " >&6
8578 lt_cv_apple_cc_single_mod
=no
8579 if test -z "$LT_MULTI_MODULE"; then
8580 # By default we will add the -single_module flag. You can override
8581 # by either setting the environment variable LT_MULTI_MODULE
8582 # non-empty at configure time, or by adding -multi_module to the
8584 rm -rf libconftest.dylib
*
8585 echo "int foo(void){return 1;}" > conftest.c
8586 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8587 -dynamiclib -Wl,-single_module conftest.c" >&5
8588 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8589 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8591 # If there is a non-empty error log, and "single_module"
8592 # appears in it, assume the flag caused a linker warning
8593 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8594 cat conftest.err
>&5
8595 # Otherwise, if the output was created with a 0 exit code from
8596 # the compiler, it worked.
8597 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
8598 lt_cv_apple_cc_single_mod
=yes
8600 cat conftest.err
>&5
8602 rm -rf libconftest.dylib
*
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8607 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8610 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8611 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8612 $as_echo_n "(cached) " >&6
8614 lt_cv_ld_exported_symbols_list
=no
8615 save_LDFLAGS
=$LDFLAGS
8616 echo "_main" > conftest.sym
8617 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8629 if ac_fn_c_try_link
"$LINENO"; then :
8630 lt_cv_ld_exported_symbols_list
=yes
8632 lt_cv_ld_exported_symbols_list
=no
8634 rm -f core conftest.err conftest.
$ac_objext \
8635 conftest
$ac_exeext conftest.
$ac_ext
8636 LDFLAGS
=$save_LDFLAGS
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8640 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8643 $as_echo_n "checking for -force_load linker flag... " >&6; }
8644 if ${lt_cv_ld_force_load+:} false
; then :
8645 $as_echo_n "(cached) " >&6
8647 lt_cv_ld_force_load
=no
8648 cat > conftest.c
<< _LT_EOF
8649 int forced_loaded() { return 2;}
8651 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8652 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8653 echo "$AR cru libconftest.a conftest.o" >&5
8654 $AR cru libconftest.a conftest.o
2>&5
8655 echo "$RANLIB libconftest.a" >&5
8656 $RANLIB libconftest.a
2>&5
8657 cat > conftest.c
<< _LT_EOF
8658 int main() { return 0;}
8660 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8661 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8663 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8664 cat conftest.err
>&5
8665 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
8666 lt_cv_ld_force_load
=yes
8668 cat conftest.err
>&5
8670 rm -f conftest.err libconftest.a conftest conftest.c
8671 rm -rf conftest.dSYM
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8675 $as_echo "$lt_cv_ld_force_load" >&6; }
8677 rhapsody
* | darwin1.
[012])
8678 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
8680 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8681 darwin
*) # darwin 5.x on
8682 # if running on 10.5 or later, the deployment target defaults
8683 # to the OS version, if on x86, and 10.4, the deployment
8684 # target defaults to 10.4. Don't you love it?
8685 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8686 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8687 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
8689 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8691 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
8695 if test yes = "$lt_cv_apple_cc_single_mod"; then
8696 _lt_dar_single_mod
='$single_module'
8698 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8699 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8701 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8703 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
8704 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8711 # func_munge_path_list VARIABLE PATH
8712 # -----------------------------------
8713 # VARIABLE is name of variable containing _space_ separated list of
8714 # directories to be munged by the contents of PATH, which is string
8717 # string "DIR[ DIR]" will be prepended to VARIABLE
8719 # string "DIR[ DIR]" will be appended to VARIABLE
8720 # "DIRP[:DIRP]::[DIRA:]DIRA"
8721 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8722 # "DIRA[ DIRA]" will be appended to VARIABLE
8724 # VARIABLE will be replaced by "DIR[ DIR]"
8725 func_munge_path_list
()
8731 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
8734 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8737 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8738 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
8741 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8747 ac_cpp
='$CPP $CPPFLAGS'
8748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8753 # On Suns, sometimes $CPP names a directory.
8754 if test -n "$CPP" && test -d "$CPP"; then
8757 if test -z "$CPP"; then
8758 if ${ac_cv_prog_CPP+:} false
; then :
8759 $as_echo_n "(cached) " >&6
8761 # Double quotes because CPP needs to be expanded
8762 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8765 for ac_c_preproc_warn_flag
in '' yes
8767 # Use a header file that comes with gcc, so configuring glibc
8768 # with a fresh cross-compiler works.
8769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8770 # <limits.h> exists even on freestanding compilers.
8771 # On the NeXT, cc -E runs the code through the compiler's parser,
8772 # not just through cpp. "Syntax error" is here to catch this case.
8773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8776 # include <limits.h>
8778 # include <assert.h>
8782 if ac_fn_c_try_cpp
"$LINENO"; then :
8785 # Broken: fails on valid input.
8788 rm -f conftest.err conftest.i conftest.
$ac_ext
8790 # OK, works on sane cases. Now check whether nonexistent headers
8791 # can be detected and how.
8792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 #include <ac_nonexistent.h>
8796 if ac_fn_c_try_cpp
"$LINENO"; then :
8797 # Broken: success on invalid input.
8800 # Passes both tests.
8804 rm -f conftest.err conftest.i conftest.
$ac_ext
8807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8808 rm -f conftest.i conftest.err conftest.
$ac_ext
8809 if $ac_preproc_ok; then :
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8822 $as_echo "$CPP" >&6; }
8824 for ac_c_preproc_warn_flag
in '' yes
8826 # Use a header file that comes with gcc, so configuring glibc
8827 # with a fresh cross-compiler works.
8828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8829 # <limits.h> exists even on freestanding compilers.
8830 # On the NeXT, cc -E runs the code through the compiler's parser,
8831 # not just through cpp. "Syntax error" is here to catch this case.
8832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8835 # include <limits.h>
8837 # include <assert.h>
8841 if ac_fn_c_try_cpp
"$LINENO"; then :
8844 # Broken: fails on valid input.
8847 rm -f conftest.err conftest.i conftest.
$ac_ext
8849 # OK, works on sane cases. Now check whether nonexistent headers
8850 # can be detected and how.
8851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8852 /* end confdefs.h. */
8853 #include <ac_nonexistent.h>
8855 if ac_fn_c_try_cpp
"$LINENO"; then :
8856 # Broken: success on invalid input.
8859 # Passes both tests.
8863 rm -f conftest.err conftest.i conftest.
$ac_ext
8866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8867 rm -f conftest.i conftest.err conftest.
$ac_ext
8868 if $ac_preproc_ok; then :
8871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8873 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8874 See \`config.log' for more details" "$LINENO" 5; }
8878 ac_cpp
='$CPP $CPPFLAGS'
8879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8885 $as_echo_n "checking for ANSI C header files... " >&6; }
8886 if ${ac_cv_header_stdc+:} false
; then :
8887 $as_echo_n "(cached) " >&6
8889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8890 /* end confdefs.h. */
8904 if ac_fn_c_try_compile
"$LINENO"; then :
8905 ac_cv_header_stdc
=yes
8907 ac_cv_header_stdc
=no
8909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8911 if test $ac_cv_header_stdc = yes; then
8912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8919 $EGREP "memchr" >/dev
/null
2>&1; then :
8922 ac_cv_header_stdc
=no
8928 if test $ac_cv_header_stdc = yes; then
8929 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8936 $EGREP "free" >/dev
/null
2>&1; then :
8939 ac_cv_header_stdc
=no
8945 if test $ac_cv_header_stdc = yes; then
8946 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8947 if test "$cross_compiling" = yes; then :
8950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */
8954 #if ((' ' & 0x0FF) == 0x020)
8955 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8956 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8958 # define ISLOWER(c) \
8959 (('a' <= (c) && (c) <= 'i') \
8960 || ('j' <= (c) && (c) <= 'r') \
8961 || ('s' <= (c) && (c) <= 'z'))
8962 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8965 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8970 for (i = 0; i < 256; i++)
8971 if (XOR (islower (i), ISLOWER (i))
8972 || toupper (i) != TOUPPER (i))
8977 if ac_fn_c_try_run
"$LINENO"; then :
8980 ac_cv_header_stdc
=no
8982 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8983 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8989 $as_echo "$ac_cv_header_stdc" >&6; }
8990 if test $ac_cv_header_stdc = yes; then
8992 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8996 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8997 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8998 inttypes.h stdint.h unistd.h
9000 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9001 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9003 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9004 cat >>confdefs.h
<<_ACEOF
9005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9013 for ac_header
in dlfcn.h
9015 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9017 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9018 cat >>confdefs.h
<<_ACEOF
9019 #define HAVE_DLFCN_H 1
9031 enable_win32_dll
=yes
9034 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
9035 if test -n "$ac_tool_prefix"; then
9036 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9037 set dummy
${ac_tool_prefix}as
; ac_word
=$2
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9039 $as_echo_n "checking for $ac_word... " >&6; }
9040 if ${ac_cv_prog_AS+:} false
; then :
9041 $as_echo_n "(cached) " >&6
9043 if test -n "$AS"; then
9044 ac_cv_prog_AS
="$AS" # Let the user override the test.
9046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9050 test -z "$as_dir" && as_dir
=.
9051 for ac_exec_ext
in '' $ac_executable_extensions; do
9052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9053 ac_cv_prog_AS
="${ac_tool_prefix}as"
9054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9064 if test -n "$AS"; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9066 $as_echo "$AS" >&6; }
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9069 $as_echo "no" >&6; }
9074 if test -z "$ac_cv_prog_AS"; then
9076 # Extract the first word of "as", so it can be a program name with args.
9077 set dummy as
; ac_word
=$2
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9079 $as_echo_n "checking for $ac_word... " >&6; }
9080 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 if test -n "$ac_ct_AS"; then
9084 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
9086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9090 test -z "$as_dir" && as_dir
=.
9091 for ac_exec_ext
in '' $ac_executable_extensions; do
9092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9093 ac_cv_prog_ac_ct_AS
="as"
9094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9103 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
9104 if test -n "$ac_ct_AS"; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9106 $as_echo "$ac_ct_AS" >&6; }
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109 $as_echo "no" >&6; }
9112 if test "x$ac_ct_AS" = x
; then
9115 case $cross_compiling:$ac_tool_warned in
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9119 ac_tool_warned
=yes ;;
9127 if test -n "$ac_tool_prefix"; then
9128 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9129 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9131 $as_echo_n "checking for $ac_word... " >&6; }
9132 if ${ac_cv_prog_DLLTOOL+:} false
; then :
9133 $as_echo_n "(cached) " >&6
9135 if test -n "$DLLTOOL"; then
9136 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9142 test -z "$as_dir" && as_dir
=.
9143 for ac_exec_ext
in '' $ac_executable_extensions; do
9144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9145 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9155 DLLTOOL
=$ac_cv_prog_DLLTOOL
9156 if test -n "$DLLTOOL"; then
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9158 $as_echo "$DLLTOOL" >&6; }
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9161 $as_echo "no" >&6; }
9166 if test -z "$ac_cv_prog_DLLTOOL"; then
9167 ac_ct_DLLTOOL
=$DLLTOOL
9168 # Extract the first word of "dlltool", so it can be a program name with args.
9169 set dummy dlltool
; ac_word
=$2
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9171 $as_echo_n "checking for $ac_word... " >&6; }
9172 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
9173 $as_echo_n "(cached) " >&6
9175 if test -n "$ac_ct_DLLTOOL"; then
9176 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9182 test -z "$as_dir" && as_dir
=.
9183 for ac_exec_ext
in '' $ac_executable_extensions; do
9184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9185 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9195 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9196 if test -n "$ac_ct_DLLTOOL"; then
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9198 $as_echo "$ac_ct_DLLTOOL" >&6; }
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9201 $as_echo "no" >&6; }
9204 if test "x$ac_ct_DLLTOOL" = x
; then
9207 case $cross_compiling:$ac_tool_warned in
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9211 ac_tool_warned
=yes ;;
9213 DLLTOOL
=$ac_ct_DLLTOOL
9216 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9219 if test -n "$ac_tool_prefix"; then
9220 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9221 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9223 $as_echo_n "checking for $ac_word... " >&6; }
9224 if ${ac_cv_prog_OBJDUMP+:} false
; then :
9225 $as_echo_n "(cached) " >&6
9227 if test -n "$OBJDUMP"; then
9228 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9234 test -z "$as_dir" && as_dir
=.
9235 for ac_exec_ext
in '' $ac_executable_extensions; do
9236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9237 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9247 OBJDUMP
=$ac_cv_prog_OBJDUMP
9248 if test -n "$OBJDUMP"; then
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9250 $as_echo "$OBJDUMP" >&6; }
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9253 $as_echo "no" >&6; }
9258 if test -z "$ac_cv_prog_OBJDUMP"; then
9259 ac_ct_OBJDUMP
=$OBJDUMP
9260 # Extract the first word of "objdump", so it can be a program name with args.
9261 set dummy objdump
; ac_word
=$2
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9263 $as_echo_n "checking for $ac_word... " >&6; }
9264 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
9265 $as_echo_n "(cached) " >&6
9267 if test -n "$ac_ct_OBJDUMP"; then
9268 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9274 test -z "$as_dir" && as_dir
=.
9275 for ac_exec_ext
in '' $ac_executable_extensions; do
9276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9277 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9287 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9288 if test -n "$ac_ct_OBJDUMP"; then
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9290 $as_echo "$ac_ct_OBJDUMP" >&6; }
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9293 $as_echo "no" >&6; }
9296 if test "x$ac_ct_OBJDUMP" = x
; then
9299 case $cross_compiling:$ac_tool_warned in
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9303 ac_tool_warned
=yes ;;
9305 OBJDUMP
=$ac_ct_OBJDUMP
9308 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9314 test -z "$AS" && AS
=as
9320 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9326 test -z "$OBJDUMP" && OBJDUMP
=objdump
9338 # Check whether --enable-shared was given.
9339 if test "${enable_shared+set}" = set; then :
9340 enableval
=$enable_shared; p
=${PACKAGE-default}
9342 yes) enable_shared
=yes ;;
9343 no
) enable_shared
=no
;;
9346 # Look at the argument we got. We use all the common list separators.
9347 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9348 for pkg
in $enableval; do
9350 if test "X$pkg" = "X$p"; then
9369 # Check whether --enable-static was given.
9370 if test "${enable_static+set}" = set; then :
9371 enableval
=$enable_static; p
=${PACKAGE-default}
9373 yes) enable_static
=yes ;;
9374 no
) enable_static
=no
;;
9377 # Look at the argument we got. We use all the common list separators.
9378 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9379 for pkg
in $enableval; do
9381 if test "X$pkg" = "X$p"; then
9401 # Check whether --with-pic was given.
9402 if test "${with_pic+set}" = set; then :
9403 withval
=$with_pic; lt_p
=${PACKAGE-default}
9405 yes|no
) pic_mode
=$withval ;;
9408 # Look at the argument we got. We use all the common list separators.
9409 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9410 for lt_pkg
in $withval; do
9412 if test "X$lt_pkg" = "X$lt_p"; then
9430 # Check whether --enable-fast-install was given.
9431 if test "${enable_fast_install+set}" = set; then :
9432 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9434 yes) enable_fast_install
=yes ;;
9435 no
) enable_fast_install
=no
;;
9437 enable_fast_install
=no
9438 # Look at the argument we got. We use all the common list separators.
9439 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9440 for pkg
in $enableval; do
9442 if test "X$pkg" = "X$p"; then
9443 enable_fast_install
=yes
9450 enable_fast_install
=yes
9460 shared_archive_member_spec
=
9461 case $host,$enable_shared in
9462 power
*-*-aix[5-9]*,yes)
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9464 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9466 # Check whether --with-aix-soname was given.
9467 if test "${with_aix_soname+set}" = set; then :
9468 withval
=$with_aix_soname; case $withval in
9472 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9475 lt_cv_with_aix_soname
=$with_aix_soname
9477 if ${lt_cv_with_aix_soname+:} false
; then :
9478 $as_echo_n "(cached) " >&6
9480 lt_cv_with_aix_soname
=aix
9483 with_aix_soname
=$lt_cv_with_aix_soname
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9487 $as_echo "$with_aix_soname" >&6; }
9488 if test aix
!= "$with_aix_soname"; then
9489 # For the AIX way of multilib, we name the shared archive member
9490 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9491 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9492 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9493 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9494 if test 64 = "${OBJECT_MODE-32}"; then
9495 shared_archive_member_spec
=shr_64
9497 shared_archive_member_spec
=shr
9515 # This can be used to rebuild libtool when needed
9516 LIBTOOL_DEPS
=$ltmain
9518 # Always use our own libtool.
9519 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9550 test -z "$LN_S" && LN_S
="ln -s"
9565 if test -n "${ZSH_VERSION+set}"; then
9566 setopt NO_GLOB_SUBST
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9570 $as_echo_n "checking for objdir... " >&6; }
9571 if ${lt_cv_objdir+:} false
; then :
9572 $as_echo_n "(cached) " >&6
9574 rm -f .libs
2>/dev
/null
9575 mkdir .libs
2>/dev
/null
9576 if test -d .libs
; then
9579 # MS-DOS does not allow filenames that begin with a dot.
9582 rmdir .libs
2>/dev
/null
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9585 $as_echo "$lt_cv_objdir" >&6; }
9586 objdir
=$lt_cv_objdir
9592 cat >>confdefs.h
<<_ACEOF
9593 #define LT_OBJDIR "$lt_cv_objdir/"
9601 # AIX sometimes has problems with the GCC collect2 program. For some
9602 # reason, if we set the COLLECT_NAMES environment variable, the problems
9603 # vanish in a puff of smoke.
9604 if test set != "${COLLECT_NAMES+set}"; then
9606 export COLLECT_NAMES
9613 can_build_shared
=yes
9615 # All known linkers require a '.a' archive for static linking (except MSVC,
9616 # which needs '.lib').
9619 with_gnu_ld
=$lt_cv_prog_gnu_ld
9624 # Set sane defaults for various variables
9625 test -z "$CC" && CC
=cc
9626 test -z "$LTCC" && LTCC
=$CC
9627 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9628 test -z "$LD" && LD
=ld
9629 test -z "$ac_objext" && ac_objext
=o
9631 func_cc_basename
$compiler
9632 cc_basename
=$func_cc_basename_result
9635 # Only perform the check for file, if the check method requires it
9636 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9637 case $deplibs_check_method in
9639 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9641 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9642 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9643 $as_echo_n "(cached) " >&6
9647 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9650 lt_save_MAGIC_CMD
=$MAGIC_CMD
9651 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9652 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9653 for ac_dir
in $ac_dummy; do
9655 test -z "$ac_dir" && ac_dir
=.
9656 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9657 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9658 if test -n "$file_magic_test_file"; then
9659 case $deplibs_check_method in
9661 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9662 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9663 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9664 $EGREP "$file_magic_regex" > /dev
/null
; then
9669 *** Warning: the command libtool uses to detect shared libraries,
9670 *** $file_magic_cmd, produces output that libtool cannot recognize.
9671 *** The result is that libtool may fail to recognize shared libraries
9672 *** as such. This will affect the creation of libtool libraries that
9673 *** depend on shared libraries, but programs linked with such libtool
9674 *** libraries will work regardless of this problem. Nevertheless, you
9675 *** may want to report the problem to your system manager and/or to
9676 *** bug-libtool@gnu.org
9686 MAGIC_CMD
=$lt_save_MAGIC_CMD
9691 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9692 if test -n "$MAGIC_CMD"; then
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9694 $as_echo "$MAGIC_CMD" >&6; }
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9697 $as_echo "no" >&6; }
9704 if test -z "$lt_cv_path_MAGIC_CMD"; then
9705 if test -n "$ac_tool_prefix"; then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9707 $as_echo_n "checking for file... " >&6; }
9708 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9709 $as_echo_n "(cached) " >&6
9713 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9716 lt_save_MAGIC_CMD
=$MAGIC_CMD
9717 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9718 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9719 for ac_dir
in $ac_dummy; do
9721 test -z "$ac_dir" && ac_dir
=.
9722 if test -f "$ac_dir/file"; then
9723 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9724 if test -n "$file_magic_test_file"; then
9725 case $deplibs_check_method in
9727 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9728 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9729 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9730 $EGREP "$file_magic_regex" > /dev
/null
; then
9735 *** Warning: the command libtool uses to detect shared libraries,
9736 *** $file_magic_cmd, produces output that libtool cannot recognize.
9737 *** The result is that libtool may fail to recognize shared libraries
9738 *** as such. This will affect the creation of libtool libraries that
9739 *** depend on shared libraries, but programs linked with such libtool
9740 *** libraries will work regardless of this problem. Nevertheless, you
9741 *** may want to report the problem to your system manager and/or to
9742 *** bug-libtool@gnu.org
9752 MAGIC_CMD
=$lt_save_MAGIC_CMD
9757 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9758 if test -n "$MAGIC_CMD"; then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9760 $as_echo "$MAGIC_CMD" >&6; }
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9763 $as_echo "no" >&6; }
9776 # Use C for the default configuration in the libtool script
9780 ac_cpp
='$CPP $CPPFLAGS'
9781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9786 # Source file extension for C test sources.
9789 # Object file extension for compiled C test sources.
9793 # Code to be used in simple compile tests
9794 lt_simple_compile_test_code
="int some_variable = 0;"
9796 # Code to be used in simple link tests
9797 lt_simple_link_test_code
='int main(){return(0);}'
9805 # If no C compiler was specified, use CC.
9808 # If no C compiler flags were specified, use CFLAGS.
9809 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9811 # Allow CC to be a program name with arguments.
9814 # Save the default compiler, since it gets overwritten when the other
9815 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9816 compiler_DEFAULT
=$CC
9818 # save warnings/boilerplate of simple test code
9819 ac_outfile
=conftest.
$ac_objext
9820 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9821 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9822 _lt_compiler_boilerplate
=`cat conftest.err`
9825 ac_outfile
=conftest.
$ac_objext
9826 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9827 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9828 _lt_linker_boilerplate
=`cat conftest.err`
9833 ## There is no encapsulation within the following macros, do not change
9834 ## the running order or otherwise move them around unless you know exactly
9835 ## what you are doing...
9836 if test -n "$compiler"; then
9838 lt_prog_compiler_no_builtin_flag
=
9840 if test yes = "$GCC"; then
9841 case $cc_basename in
9843 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9845 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9849 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9850 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9851 $as_echo_n "(cached) " >&6
9853 lt_cv_prog_compiler_rtti_exceptions
=no
9854 ac_outfile
=conftest.
$ac_objext
9855 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9856 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9857 # Insert the option either (1) after the last *FLAGS variable, or
9858 # (2) before a word containing "conftest.", or (3) at the end.
9859 # Note that $ac_compile itself does not contain backslashes and begins
9860 # with a dollar sign (not a hyphen), so the echo should work correctly.
9861 # The option is referenced via a variable to avoid confusing sed.
9862 lt_compile
=`echo "$ac_compile" | $SED \
9863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9865 -e 's:$: $lt_compiler_flag:'`
9866 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9867 (eval "$lt_compile" 2>conftest.err
)
9869 cat conftest.err
>&5
9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 if (exit $ac_status) && test -s "$ac_outfile"; then
9872 # The compiler can only warn and ignore the option if not recognized
9873 # So say no if there are warnings other than the usual output.
9874 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9875 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9876 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9877 lt_cv_prog_compiler_rtti_exceptions
=yes
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9884 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9886 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9887 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9899 lt_prog_compiler_wl
=
9900 lt_prog_compiler_pic
=
9901 lt_prog_compiler_static
=
9904 if test yes = "$GCC"; then
9905 lt_prog_compiler_wl
='-Wl,'
9906 lt_prog_compiler_static
='-static'
9910 # All AIX code is PIC.
9911 if test ia64
= "$host_cpu"; then
9912 # AIX 5 now supports IA64 processor
9913 lt_prog_compiler_static
='-Bstatic'
9915 lt_prog_compiler_pic
='-fPIC'
9921 # see comment about AmigaOS4 .so support
9922 lt_prog_compiler_pic
='-fPIC'
9925 # FIXME: we need at least 68020 code to build shared libraries, but
9926 # adding the '-m68020' flag to GCC prevents building anything better,
9928 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9933 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9934 # PIC is the default for these OSes.
9937 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9938 # This hack is so that the source file can tell whether it is being
9939 # built for inclusion in a dll (and should export symbols for example).
9940 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9941 # (--disable-auto-import) libraries
9942 lt_prog_compiler_pic
='-DDLL_EXPORT'
9945 lt_prog_compiler_static
='$wl-static'
9950 darwin
* | rhapsody
*)
9951 # PIC is the default on this platform
9952 # Common symbols not allowed in MH_DYLIB files
9953 lt_prog_compiler_pic
='-fno-common'
9957 # PIC is the default for Haiku.
9958 # The "-static" flag exists, but is broken.
9959 lt_prog_compiler_static
=
9963 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9964 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9965 # sets the default TLS model and affects inlining.
9971 lt_prog_compiler_pic
='-fPIC'
9977 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9978 # Instead, we relocate shared libraries at runtime.
9982 # Just because we use GCC doesn't mean we suddenly get shared libraries
9983 # on systems that don't support them.
9984 lt_prog_compiler_can_build_shared
=no
9989 # QNX uses GNU C++, but need to define -shared option too, otherwise
9991 lt_prog_compiler_pic
='-fPIC -shared'
9995 if test -d /usr
/nec
; then
9996 lt_prog_compiler_pic
=-Kconform_pic
10001 lt_prog_compiler_pic
='-fPIC'
10005 case $cc_basename in
10006 nvcc
*) # Cuda Compiler Driver 2.2
10007 lt_prog_compiler_wl
='-Xlinker '
10008 if test -n "$lt_prog_compiler_pic"; then
10009 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10014 # PORTME Check for flag to pass linker flags through the system compiler.
10017 lt_prog_compiler_wl
='-Wl,'
10018 if test ia64
= "$host_cpu"; then
10019 # AIX 5 now supports IA64 processor
10020 lt_prog_compiler_static
='-Bstatic'
10022 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10026 darwin
* | rhapsody
*)
10027 # PIC is the default on this platform
10028 # Common symbols not allowed in MH_DYLIB files
10029 lt_prog_compiler_pic
='-fno-common'
10030 case $cc_basename in
10032 # NAG Fortran compiler
10033 lt_prog_compiler_wl
='-Wl,-Wl,,'
10034 lt_prog_compiler_pic
='-PIC'
10035 lt_prog_compiler_static
='-Bstatic'
10040 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10041 # This hack is so that the source file can tell whether it is being
10042 # built for inclusion in a dll (and should export symbols for example).
10043 lt_prog_compiler_pic
='-DDLL_EXPORT'
10046 lt_prog_compiler_static
='$wl-static'
10051 hpux9
* | hpux10
* | hpux11
*)
10052 lt_prog_compiler_wl
='-Wl,'
10053 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10054 # not for PA HP-UX.
10060 lt_prog_compiler_pic
='+Z'
10063 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10064 lt_prog_compiler_static
='$wl-a ${wl}archive'
10067 irix5
* | irix6
* | nonstopux
*)
10068 lt_prog_compiler_wl
='-Wl,'
10069 # PIC (with -KPIC) is the default.
10070 lt_prog_compiler_static
='-non_shared'
10073 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10074 case $cc_basename in
10075 # old Intel for x86_64, which still supported -KPIC.
10077 lt_prog_compiler_wl
='-Wl,'
10078 lt_prog_compiler_pic
='-KPIC'
10079 lt_prog_compiler_static
='-static'
10081 # icc used to be incompatible with GCC.
10082 # ICC 10 doesn't accept -KPIC any more.
10084 lt_prog_compiler_wl
='-Wl,'
10085 lt_prog_compiler_pic
='-fPIC'
10086 lt_prog_compiler_static
='-static'
10088 # Lahey Fortran 8.1.
10090 lt_prog_compiler_wl
='-Wl,'
10091 lt_prog_compiler_pic
='--shared'
10092 lt_prog_compiler_static
='--static'
10095 # NAG Fortran compiler
10096 lt_prog_compiler_wl
='-Wl,-Wl,,'
10097 lt_prog_compiler_pic
='-PIC'
10098 lt_prog_compiler_static
='-Bstatic'
10101 # Fabrice Bellard et al's Tiny C Compiler
10102 lt_prog_compiler_wl
='-Wl,'
10103 lt_prog_compiler_pic
='-fPIC'
10104 lt_prog_compiler_static
='-static'
10106 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10107 # Portland Group compilers (*not* the Pentium gcc compiler,
10108 # which looks to be a dead project)
10109 lt_prog_compiler_wl
='-Wl,'
10110 lt_prog_compiler_pic
='-fpic'
10111 lt_prog_compiler_static
='-Bstatic'
10114 lt_prog_compiler_wl
='-Wl,'
10115 # All Alpha code is PIC.
10116 lt_prog_compiler_static
='-non_shared'
10118 xl
* | bgxl
* | bgf
* | mpixl
*)
10119 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10120 lt_prog_compiler_wl
='-Wl,'
10121 lt_prog_compiler_pic
='-qpic'
10122 lt_prog_compiler_static
='-qstaticlink'
10125 case `$CC -V 2>&1 | sed 5q` in
10126 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10127 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10128 lt_prog_compiler_pic
='-KPIC'
10129 lt_prog_compiler_static
='-Bstatic'
10130 lt_prog_compiler_wl
=''
10132 *Sun\ F
* |
*Sun
*Fortran
*)
10133 lt_prog_compiler_pic
='-KPIC'
10134 lt_prog_compiler_static
='-Bstatic'
10135 lt_prog_compiler_wl
='-Qoption ld '
10139 lt_prog_compiler_pic
='-KPIC'
10140 lt_prog_compiler_static
='-Bstatic'
10141 lt_prog_compiler_wl
='-Wl,'
10143 *Intel
*\
[CF
]*Compiler
*)
10144 lt_prog_compiler_wl
='-Wl,'
10145 lt_prog_compiler_pic
='-fPIC'
10146 lt_prog_compiler_static
='-static'
10149 lt_prog_compiler_wl
='-Wl,'
10150 lt_prog_compiler_pic
='-fpic'
10151 lt_prog_compiler_static
='-Bstatic'
10159 lt_prog_compiler_pic
='-KPIC'
10160 lt_prog_compiler_static
='-Bstatic'
10164 # QNX uses GNU C++, but need to define -shared option too, otherwise
10165 # it will coredump.
10166 lt_prog_compiler_pic
='-fPIC -shared'
10169 osf3
* | osf4
* | osf5
*)
10170 lt_prog_compiler_wl
='-Wl,'
10171 # All OSF/1 code is PIC.
10172 lt_prog_compiler_static
='-non_shared'
10176 lt_prog_compiler_static
='-non_shared'
10180 lt_prog_compiler_pic
='-KPIC'
10181 lt_prog_compiler_static
='-Bstatic'
10182 case $cc_basename in
10183 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10184 lt_prog_compiler_wl
='-Qoption ld ';;
10186 lt_prog_compiler_wl
='-Wl,';;
10191 lt_prog_compiler_wl
='-Qoption ld '
10192 lt_prog_compiler_pic
='-PIC'
10193 lt_prog_compiler_static
='-Bstatic'
10196 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10197 lt_prog_compiler_wl
='-Wl,'
10198 lt_prog_compiler_pic
='-KPIC'
10199 lt_prog_compiler_static
='-Bstatic'
10203 if test -d /usr
/nec
; then
10204 lt_prog_compiler_pic
='-Kconform_pic'
10205 lt_prog_compiler_static
='-Bstatic'
10209 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10210 lt_prog_compiler_wl
='-Wl,'
10211 lt_prog_compiler_pic
='-KPIC'
10212 lt_prog_compiler_static
='-Bstatic'
10216 lt_prog_compiler_wl
='-Wl,'
10217 lt_prog_compiler_can_build_shared
=no
10221 lt_prog_compiler_pic
='-pic'
10222 lt_prog_compiler_static
='-Bstatic'
10226 lt_prog_compiler_can_build_shared
=no
10232 # For platforms that do not support PIC, -DPIC is meaningless:
10234 lt_prog_compiler_pic
=
10237 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10242 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10243 if ${lt_cv_prog_compiler_pic+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10249 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10250 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10253 # Check to make sure the PIC flag actually works.
10255 if test -n "$lt_prog_compiler_pic"; then
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10257 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10258 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10259 $as_echo_n "(cached) " >&6
10261 lt_cv_prog_compiler_pic_works
=no
10262 ac_outfile
=conftest.
$ac_objext
10263 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10264 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10265 # Insert the option either (1) after the last *FLAGS variable, or
10266 # (2) before a word containing "conftest.", or (3) at the end.
10267 # Note that $ac_compile itself does not contain backslashes and begins
10268 # with a dollar sign (not a hyphen), so the echo should work correctly.
10269 # The option is referenced via a variable to avoid confusing sed.
10270 lt_compile
=`echo "$ac_compile" | $SED \
10271 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10272 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10273 -e 's:$: $lt_compiler_flag:'`
10274 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10275 (eval "$lt_compile" 2>conftest.err
)
10277 cat conftest.err
>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 if (exit $ac_status) && test -s "$ac_outfile"; then
10280 # The compiler can only warn and ignore the option if not recognized
10281 # So say no if there are warnings other than the usual output.
10282 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10283 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10284 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10285 lt_cv_prog_compiler_pic_works
=yes
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10292 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10294 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10295 case $lt_prog_compiler_pic in
10297 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10300 lt_prog_compiler_pic
=
10301 lt_prog_compiler_can_build_shared
=no
10317 # Check to make sure the static flag actually works.
10319 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10321 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10322 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 lt_cv_prog_compiler_static_works
=no
10326 save_LDFLAGS
=$LDFLAGS
10327 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10328 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10329 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10330 # The linker can only warn and ignore the option if not recognized
10331 # So say no if there are warnings
10332 if test -s conftest.err
; then
10333 # Append any errors to the config.log.
10334 cat conftest.err
1>&5
10335 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10336 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10337 if diff conftest.exp conftest.er2
>/dev
/null
; then
10338 lt_cv_prog_compiler_static_works
=yes
10341 lt_cv_prog_compiler_static_works
=yes
10345 LDFLAGS
=$save_LDFLAGS
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10349 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10351 if test yes = "$lt_cv_prog_compiler_static_works"; then
10354 lt_prog_compiler_static
=
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10364 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10365 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10366 $as_echo_n "(cached) " >&6
10368 lt_cv_prog_compiler_c_o
=no
10369 $RM -r conftest
2>/dev
/null
10373 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10375 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10376 # Insert the option either (1) after the last *FLAGS variable, or
10377 # (2) before a word containing "conftest.", or (3) at the end.
10378 # Note that $ac_compile itself does not contain backslashes and begins
10379 # with a dollar sign (not a hyphen), so the echo should work correctly.
10380 lt_compile
=`echo "$ac_compile" | $SED \
10381 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10383 -e 's:$: $lt_compiler_flag:'`
10384 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10385 (eval "$lt_compile" 2>out
/conftest.err
)
10387 cat out
/conftest.err
>&5
10388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10391 # The compiler can only warn and ignore the option if not recognized
10392 # So say no if there are warnings
10393 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10394 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10395 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10396 lt_cv_prog_compiler_c_o
=yes
10401 # SGI C++ compiler will create directory out/ii_files/ for
10402 # template instantiation
10403 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10404 $RM out
/* && rmdir out
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10411 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10419 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10420 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10421 $as_echo_n "(cached) " >&6
10423 lt_cv_prog_compiler_c_o
=no
10424 $RM -r conftest
2>/dev
/null
10428 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10430 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10431 # Insert the option either (1) after the last *FLAGS variable, or
10432 # (2) before a word containing "conftest.", or (3) at the end.
10433 # Note that $ac_compile itself does not contain backslashes and begins
10434 # with a dollar sign (not a hyphen), so the echo should work correctly.
10435 lt_compile
=`echo "$ac_compile" | $SED \
10436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10438 -e 's:$: $lt_compiler_flag:'`
10439 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10440 (eval "$lt_compile" 2>out
/conftest.err
)
10442 cat out
/conftest.err
>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10446 # The compiler can only warn and ignore the option if not recognized
10447 # So say no if there are warnings
10448 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10449 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10450 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10451 lt_cv_prog_compiler_c_o
=yes
10456 # SGI C++ compiler will create directory out/ii_files/ for
10457 # template instantiation
10458 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10459 $RM out
/* && rmdir out
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10466 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10471 hard_links
=nottested
10472 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10473 # do not overwrite the value of need_locks provided by the user
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10475 $as_echo_n "checking if we can lock with hard links... " >&6; }
10478 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10480 ln conftest.a conftest.b
2>&5 || hard_links
=no
10481 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10483 $as_echo "$hard_links" >&6; }
10484 if test no
= "$hard_links"; then
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10486 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10499 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10502 allow_undefined_flag
=
10503 always_export_symbols
=no
10505 archive_expsym_cmds
=
10506 compiler_needs_object
=no
10507 enable_shared_with_static_runtimes
=no
10508 export_dynamic_flag_spec
=
10509 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10510 hardcode_automatic
=no
10512 hardcode_direct_absolute
=no
10513 hardcode_libdir_flag_spec
=
10514 hardcode_libdir_separator
=
10515 hardcode_minus_L
=no
10516 hardcode_shlibpath_var
=unsupported
10518 link_all_deplibs
=unknown
10520 module_expsym_cmds
=
10521 old_archive_from_new_cmds
=
10522 old_archive_from_expsyms_cmds
=
10523 thread_safe_flag_spec
=
10524 whole_archive_flag_spec
=
10525 # include_expsyms should be a list of space-separated symbols to be *always*
10526 # included in the symbol list
10528 # exclude_expsyms can be an extended regexp of symbols to exclude
10529 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10530 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10531 # as well as any symbol that contains 'd'.
10532 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10533 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10534 # platforms (ab)use it in PIC code, but their linkers get confused if
10535 # the symbol is explicitly referenced. Since portable code cannot
10536 # rely on this symbol name, it's probably fine to never include it in
10537 # preloaded symbol tables.
10538 # Exclude shared library initialization/finalization symbols.
10539 extract_expsyms_cmds
=
10542 cygwin
* | mingw
* | pw32
* | cegcc
*)
10543 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10544 # When not using gcc, we currently assume that we are using
10545 # Microsoft Visual C++.
10546 if test yes != "$GCC"; then
10551 # we just hope/assume this is gcc and not c89 (= MSVC++)
10554 openbsd
* | bitrig
*)
10561 # On some targets, GNU ld is compatible enough with the native linker
10562 # that we're better off using the native interface for both.
10563 lt_use_gnu_ld_interface
=no
10564 if test yes = "$with_gnu_ld"; then
10567 # The AIX port of GNU ld has always aspired to compatibility
10568 # with the native linker. However, as the warning in the GNU ld
10569 # block says, versions before 2.19.5* couldn't really create working
10570 # shared libraries, regardless of the interface used.
10571 case `$LD -v 2>&1` in
10572 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10573 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10574 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10576 lt_use_gnu_ld_interface
=yes
10581 lt_use_gnu_ld_interface
=yes
10586 if test yes = "$lt_use_gnu_ld_interface"; then
10587 # If archive_cmds runs LD, not CC, wlarc should be empty
10590 # Set some defaults for GNU ld with shared library support. These
10591 # are reset later if shared libraries are not supported. Putting them
10592 # here allows them to be overridden if necessary.
10593 runpath_var
=LD_RUN_PATH
10594 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10595 export_dynamic_flag_spec
='$wl--export-dynamic'
10596 # ancient GNU ld didn't support --whole-archive et. al.
10597 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10598 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10600 whole_archive_flag_spec
=
10602 supports_anon_versioning
=no
10603 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10604 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10605 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10606 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10607 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10608 *\
2.11.
*) ;; # other 2.11 versions
10609 *) supports_anon_versioning
=yes ;;
10612 # See if GNU ld supports shared libraries.
10615 # On AIX/PPC, the GNU linker is very broken
10616 if test ia64
!= "$host_cpu"; then
10620 *** Warning: the GNU linker, at least up to release 2.19, is reported
10621 *** to be unable to reliably create shared libraries on AIX.
10622 *** Therefore, libtool is disabling shared libraries support. If you
10623 *** really care for shared libraries, you may want to install binutils
10624 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10625 *** You will then need to restart the configuration process.
10634 # see comment about AmigaOS4 .so support
10635 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10636 archive_expsym_cmds
=''
10639 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)'
10640 hardcode_libdir_flag_spec
='-L$libdir'
10641 hardcode_minus_L
=yes
10647 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10648 allow_undefined_flag
=unsupported
10649 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10650 # support --undefined. This deserves some investigation. FIXME
10651 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10657 cygwin
* | mingw
* | pw32
* | cegcc
*)
10658 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10659 # as there is no search path for DLLs.
10660 hardcode_libdir_flag_spec
='-L$libdir'
10661 export_dynamic_flag_spec
='$wl--export-all-symbols'
10662 allow_undefined_flag
=unsupported
10663 always_export_symbols
=no
10664 enable_shared_with_static_runtimes
=yes
10665 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'
10666 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10668 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10669 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10670 # If the export-symbols file already is a .def file, use it as
10671 # is; otherwise, prepend EXPORTS...
10672 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10673 cp $export_symbols $output_objdir/$soname.def;
10675 echo EXPORTS > $output_objdir/$soname.def;
10676 cat $export_symbols >> $output_objdir/$soname.def;
10678 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10685 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10686 link_all_deplibs
=yes
10690 hardcode_libdir_flag_spec
='-L$libdir'
10691 hardcode_minus_L
=yes
10692 allow_undefined_flag
=unsupported
10694 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10695 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10696 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10697 $ECHO EXPORTS >> $output_objdir/$libname.def~
10698 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10699 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10700 emximp -o $lib $output_objdir/$libname.def'
10701 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10702 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10703 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10704 $ECHO EXPORTS >> $output_objdir/$libname.def~
10705 prefix_cmds="$SED"~
10706 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10707 prefix_cmds="$prefix_cmds -e 1d";
10709 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10710 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10711 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10712 emximp -o $lib $output_objdir/$libname.def'
10713 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10714 enable_shared_with_static_runtimes
=yes
10719 hardcode_shlibpath_var
=no
10720 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10721 export_dynamic_flag_spec
='$wl-E'
10722 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10723 # Instead, shared libraries are loaded at an image base (0x10000000 by
10724 # default) and relocated if they conflict, which is a slow very memory
10725 # consuming and fragmenting process. To avoid this, we pick a random,
10726 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10727 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10728 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10729 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'
10732 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10734 if test linux-dietlibc
= "$host_os"; then
10735 case $cc_basename in
10736 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10739 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10740 && test no
= "$tmp_diet"
10742 tmp_addflag
=' $pic_flag'
10743 tmp_sharedflag
='-shared'
10744 case $cc_basename,$host_cpu in
10745 pgcc
*) # Portland Group C compiler
10746 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'
10747 tmp_addflag
=' $pic_flag'
10749 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10750 # Portland Group f77 and f90 compilers
10751 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'
10752 tmp_addflag
=' $pic_flag -Mnomain' ;;
10753 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10754 tmp_addflag
=' -i_dynamic' ;;
10755 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10756 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10757 ifc
* | ifort
*) # Intel Fortran compiler
10758 tmp_addflag
=' -nofor_main' ;;
10759 lf95
*) # Lahey Fortran 8.1
10760 whole_archive_flag_spec
=
10761 tmp_sharedflag
='--shared' ;;
10762 nagfor
*) # NAGFOR 5.3
10763 tmp_sharedflag
='-Wl,-shared' ;;
10764 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10765 tmp_sharedflag
='-qmkshrobj'
10767 nvcc
*) # Cuda Compiler Driver 2.2
10768 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'
10769 compiler_needs_object
=yes
10772 case `$CC -V 2>&1 | sed 5q` in
10773 *Sun\ C
*) # Sun C 5.9
10774 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'
10775 compiler_needs_object
=yes
10776 tmp_sharedflag
='-G' ;;
10777 *Sun\ F
*) # Sun Fortran 8.3
10778 tmp_sharedflag
='-G' ;;
10780 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10782 if test yes = "$supports_anon_versioning"; then
10783 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10784 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10785 echo "local: *; };" >> $output_objdir/$libname.ver~
10786 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10789 case $cc_basename in
10791 export_dynamic_flag_spec
='-rdynamic'
10793 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10794 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10795 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10796 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10797 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10798 if test yes = "$supports_anon_versioning"; then
10799 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10800 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10801 echo "local: *; };" >> $output_objdir/$libname.ver~
10802 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10812 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10813 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10816 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10817 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10822 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10826 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10827 *** create shared libraries on Solaris systems. Therefore, libtool
10828 *** is disabling shared libraries support. We urge you to upgrade GNU
10829 *** binutils to release 2.9.1 or newer. Another option is to modify
10830 *** your PATH or compiler configuration so that the native linker is
10831 *** used, and then restart.
10834 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10835 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10836 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10842 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10843 case `$LD -v 2>&1` in
10844 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10848 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10849 *** reliably create shared libraries on SCO systems. Therefore, libtool
10850 *** is disabling shared libraries support. We urge you to upgrade GNU
10851 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10852 *** your PATH or compiler configuration so that the native linker is
10853 *** used, and then restart.
10858 # For security reasons, it is highly recommended that you always
10859 # use absolute paths for naming shared libraries, and exclude the
10860 # DT_RUNPATH tag from executables and libraries. But doing so
10861 # requires that you compile everything twice, which is a pain.
10862 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10863 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10864 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10865 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10874 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10876 hardcode_direct
=yes
10877 hardcode_shlibpath_var
=no
10881 if $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'
10890 if test no
= "$ld_shlibs"; then
10892 hardcode_libdir_flag_spec
=
10893 export_dynamic_flag_spec
=
10894 whole_archive_flag_spec
=
10897 # PORTME fill in a description of your system's linker (not GNU ld)
10900 allow_undefined_flag
=unsupported
10901 always_export_symbols
=yes
10902 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'
10903 # Note: this linker hardcodes the directories in LIBPATH if there
10904 # are no directories specified by -L.
10905 hardcode_minus_L
=yes
10906 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10907 # Neither direct hardcoding nor static linking is supported with a
10909 hardcode_direct
=unsupported
10914 if test ia64
= "$host_cpu"; then
10915 # On IA64, the linker does run time linking by default, so we don't
10916 # have to do anything special.
10917 aix_use_runtimelinking
=no
10918 exp_sym_flag
='-Bexport'
10921 # If we're using GNU nm, then we don't want the "-C" option.
10922 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10923 # Without the "-l" option, or with the "-B" option, AIX nm treats
10924 # weak defined symbols like other global defined symbols, whereas
10925 # GNU nm marks them as "W".
10926 # While the 'weak' keyword is ignored in the Export File, we need
10927 # it in the Import File for the 'aix-soname' feature, so we have
10928 # to replace the "-B" option with "-P" for AIX nm.
10929 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10930 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'
10932 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'
10934 aix_use_runtimelinking
=no
10936 # Test if we are trying to use run time linking or normal
10937 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10938 # have runtime linking enabled, and use it for executables.
10939 # For shared libraries, we enable/disable runtime linking
10940 # depending on the kind of the shared library created -
10941 # when "with_aix_soname,aix_use_runtimelinking" is:
10942 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10943 # "aix,yes" lib.so shared, rtl:yes, for executables
10944 # lib.a static archive
10945 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10946 # lib.a(lib.so.V) shared, rtl:no, for executables
10947 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10948 # lib.a(lib.so.V) shared, rtl:no
10949 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10950 # lib.a static archive
10951 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10952 for ld_flag
in $LDFLAGS; do
10953 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10954 aix_use_runtimelinking
=yes
10958 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10959 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10960 # so we don't have lib.a shared libs to link our executables.
10961 # We have to force runtime linking in this case.
10962 aix_use_runtimelinking
=yes
10963 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10968 exp_sym_flag
='-bexport'
10969 no_entry_flag
='-bnoentry'
10972 # When large executables or shared objects are built, AIX ld can
10973 # have problems creating the table of contents. If linking a library
10974 # or program results in "error TOC overflow" add -mminimal-toc to
10975 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10976 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10979 hardcode_direct
=yes
10980 hardcode_direct_absolute
=yes
10981 hardcode_libdir_separator
=':'
10982 link_all_deplibs
=yes
10983 file_list_spec
='$wl-f,'
10984 case $with_aix_soname,$aix_use_runtimelinking in
10985 aix
,*) ;; # traditional, no import file
10986 svr4
,* |
*,yes) # use import file
10987 # The Import File defines what to hardcode.
10989 hardcode_direct_absolute
=no
10993 if test yes = "$GCC"; then
10994 case $host_os in aix4.
[012]|aix4.
[012].
*)
10995 # We only want to do this on AIX 4.2 and lower, the check
10996 # below for broken collect2 doesn't work under 4.3+
10997 collect2name
=`$CC -print-prog-name=collect2`
10998 if test -f "$collect2name" &&
10999 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11001 # We have reworked collect2
11004 # We have old collect2
11005 hardcode_direct
=unsupported
11006 # It fails to find uninstalled libraries when the uninstalled
11007 # path is not listed in the libpath. Setting hardcode_minus_L
11008 # to unsupported forces relinking
11009 hardcode_minus_L
=yes
11010 hardcode_libdir_flag_spec
='-L$libdir'
11011 hardcode_libdir_separator
=
11015 shared_flag
='-shared'
11016 if test yes = "$aix_use_runtimelinking"; then
11017 shared_flag
="$shared_flag "'$wl-G'
11019 # Need to ensure runtime linking is disabled for the traditional
11020 # shared library, or the linker may eventually find shared libraries
11021 # /with/ Import File - we do not want to mix them.
11022 shared_flag_aix
='-shared'
11023 shared_flag_svr4
='-shared $wl-G'
11026 if test ia64
= "$host_cpu"; then
11027 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11028 # chokes on -Wl,-G. The following line is correct:
11031 if test yes = "$aix_use_runtimelinking"; then
11032 shared_flag
='$wl-G'
11034 shared_flag
='$wl-bM:SRE'
11036 shared_flag_aix
='$wl-bM:SRE'
11037 shared_flag_svr4
='$wl-G'
11041 export_dynamic_flag_spec
='$wl-bexpall'
11042 # It seems that -bexpall does not export symbols beginning with
11043 # underscore (_), so it is better to generate a list of symbols to export.
11044 always_export_symbols
=yes
11045 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11046 # Warning - without using the other runtime loading flags (-brtl),
11047 # -berok will link without error, but may produce a broken library.
11048 allow_undefined_flag
='-berok'
11049 # Determine the default libpath from the value encoded in an
11050 # empty executable.
11051 if test set = "${lt_cv_aix_libpath+set}"; then
11052 aix_libpath
=$lt_cv_aix_libpath
11054 if ${lt_cv_aix_libpath_+:} false
; then :
11055 $as_echo_n "(cached) " >&6
11057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11068 if ac_fn_c_try_link
"$LINENO"; then :
11070 lt_aix_libpath_sed
='
11071 /Import File Strings/,/^$/ {
11073 s/^0 *\([^ ]*\) *$/\1/
11077 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11078 # Check for a 64-bit object if we didn't find anything.
11079 if test -z "$lt_cv_aix_libpath_"; then
11080 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11083 rm -f core conftest.err conftest.
$ac_objext \
11084 conftest
$ac_exeext conftest.
$ac_ext
11085 if test -z "$lt_cv_aix_libpath_"; then
11086 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11091 aix_libpath
=$lt_cv_aix_libpath_
11094 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11095 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
11097 if test ia64
= "$host_cpu"; then
11098 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11099 allow_undefined_flag
="-z nodefs"
11100 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"
11102 # Determine the default libpath from the value encoded in an
11103 # empty executable.
11104 if test set = "${lt_cv_aix_libpath+set}"; then
11105 aix_libpath
=$lt_cv_aix_libpath
11107 if ${lt_cv_aix_libpath_+:} false
; then :
11108 $as_echo_n "(cached) " >&6
11110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11121 if ac_fn_c_try_link
"$LINENO"; then :
11123 lt_aix_libpath_sed
='
11124 /Import File Strings/,/^$/ {
11126 s/^0 *\([^ ]*\) *$/\1/
11130 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11131 # Check for a 64-bit object if we didn't find anything.
11132 if test -z "$lt_cv_aix_libpath_"; then
11133 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11136 rm -f core conftest.err conftest.
$ac_objext \
11137 conftest
$ac_exeext conftest.
$ac_ext
11138 if test -z "$lt_cv_aix_libpath_"; then
11139 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11144 aix_libpath
=$lt_cv_aix_libpath_
11147 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11148 # Warning - without using the other run time loading flags,
11149 # -berok will link without error, but may produce a broken library.
11150 no_undefined_flag
=' $wl-bernotok'
11151 allow_undefined_flag
=' $wl-berok'
11152 if test yes = "$with_gnu_ld"; then
11153 # We only use this code for GNU lds that support --whole-archive.
11154 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11156 # Exported symbols can be pulled into shared objects from archives
11157 whole_archive_flag_spec
='$convenience'
11159 archive_cmds_need_lc
=yes
11160 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11161 # -brtl affects multiple linker settings, -berok does not and is overridden later
11162 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11163 if test svr4
!= "$with_aix_soname"; then
11164 # This is similar to how AIX traditionally builds its shared libraries.
11165 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'
11167 if test aix
!= "$with_aix_soname"; then
11168 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'
11170 # used by -dlpreopen to get the symbols
11171 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11173 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11181 # see comment about AmigaOS4 .so support
11182 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11183 archive_expsym_cmds
=''
11186 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)'
11187 hardcode_libdir_flag_spec
='-L$libdir'
11188 hardcode_minus_L
=yes
11194 export_dynamic_flag_spec
=-rdynamic
11197 cygwin
* | mingw
* | pw32
* | cegcc
*)
11198 # When not using gcc, we currently assume that we are using
11199 # Microsoft Visual C++.
11200 # hardcode_libdir_flag_spec is actually meaningless, as there is
11201 # no search path for DLLs.
11202 case $cc_basename in
11205 hardcode_libdir_flag_spec
=' '
11206 allow_undefined_flag
=unsupported
11207 always_export_symbols
=yes
11209 # Tell ltmain to make .lib files, not .a files.
11211 # Tell ltmain to make .dll files, not .so files.
11213 # FIXME: Setting linknames here is a bad hack.
11214 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11215 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11216 cp "$export_symbols" "$output_objdir/$soname.def";
11217 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11219 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11221 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11223 # The linker will not automatically build a static lib if we build a DLL.
11224 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11225 enable_shared_with_static_runtimes
=yes
11226 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11227 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11229 old_postinstall_cmds
='chmod 644 $oldlib'
11230 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11231 lt_tool_outputfile="@TOOL_OUTPUT@"~
11232 case $lt_outputfile in
11235 lt_outputfile=$lt_outputfile.exe
11236 lt_tool_outputfile=$lt_tool_outputfile.exe
11239 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11240 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11241 $RM "$lt_outputfile.manifest";
11245 # Assume MSVC wrapper
11246 hardcode_libdir_flag_spec
=' '
11247 allow_undefined_flag
=unsupported
11248 # Tell ltmain to make .lib files, not .a files.
11250 # Tell ltmain to make .dll files, not .so files.
11252 # FIXME: Setting linknames here is a bad hack.
11253 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11254 # The linker will automatically build a .lib file if we build a DLL.
11255 old_archive_from_new_cmds
='true'
11256 # FIXME: Should let the user specify the lib program.
11257 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11258 enable_shared_with_static_runtimes
=yes
11263 darwin
* | rhapsody
*)
11266 archive_cmds_need_lc
=no
11268 hardcode_automatic
=yes
11269 hardcode_shlibpath_var
=unsupported
11270 if test yes = "$lt_cv_ld_force_load"; then
11271 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\"`'
11274 whole_archive_flag_spec
=''
11276 link_all_deplibs
=yes
11277 allow_undefined_flag
=$_lt_dar_allow_undefined
11278 case $cc_basename in
11279 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11280 *) _lt_dar_can_shared
=$GCC ;;
11282 if test yes = "$_lt_dar_can_shared"; then
11283 output_verbose_link_cmd
=func_echo_all
11284 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11285 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11286 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"
11287 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"
11296 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11297 hardcode_libdir_flag_spec
='-L$libdir'
11298 hardcode_shlibpath_var
=no
11301 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11302 # support. Future versions do this automatically, but an explicit c++rt0.o
11303 # does not break anything, and helps significantly (at the cost of a little
11306 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11307 hardcode_libdir_flag_spec
='-R$libdir'
11308 hardcode_direct
=yes
11309 hardcode_shlibpath_var
=no
11312 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11314 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11315 hardcode_direct
=yes
11316 hardcode_minus_L
=yes
11317 hardcode_shlibpath_var
=no
11320 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11321 freebsd
* | dragonfly
*)
11322 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11323 hardcode_libdir_flag_spec
='-R$libdir'
11324 hardcode_direct
=yes
11325 hardcode_shlibpath_var
=no
11329 if test yes = "$GCC"; then
11330 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'
11332 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'
11334 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11335 hardcode_libdir_separator
=:
11336 hardcode_direct
=yes
11338 # hardcode_minus_L: Not really in the search PATH,
11339 # but as the default location of the library.
11340 hardcode_minus_L
=yes
11341 export_dynamic_flag_spec
='$wl-E'
11345 if test yes,no
= "$GCC,$with_gnu_ld"; then
11346 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11348 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11350 if test no
= "$with_gnu_ld"; then
11351 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11352 hardcode_libdir_separator
=:
11353 hardcode_direct
=yes
11354 hardcode_direct_absolute
=yes
11355 export_dynamic_flag_spec
='$wl-E'
11356 # hardcode_minus_L: Not really in the search PATH,
11357 # but as the default location of the library.
11358 hardcode_minus_L
=yes
11363 if test yes,no
= "$GCC,$with_gnu_ld"; then
11366 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11369 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11372 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11378 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11381 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11385 # Older versions of the 11.00 compiler do not understand -b yet
11386 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11388 $as_echo_n "checking if $CC understands -b... " >&6; }
11389 if ${lt_cv_prog_compiler__b+:} false
; then :
11390 $as_echo_n "(cached) " >&6
11392 lt_cv_prog_compiler__b
=no
11393 save_LDFLAGS
=$LDFLAGS
11394 LDFLAGS
="$LDFLAGS -b"
11395 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11396 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11397 # The linker can only warn and ignore the option if not recognized
11398 # So say no if there are warnings
11399 if test -s conftest.err
; then
11400 # Append any errors to the config.log.
11401 cat conftest.err
1>&5
11402 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11403 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11404 if diff conftest.exp conftest.er2
>/dev
/null
; then
11405 lt_cv_prog_compiler__b
=yes
11408 lt_cv_prog_compiler__b
=yes
11412 LDFLAGS
=$save_LDFLAGS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11416 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11418 if test yes = "$lt_cv_prog_compiler__b"; then
11419 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11421 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11427 if test no
= "$with_gnu_ld"; then
11428 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11429 hardcode_libdir_separator
=:
11434 hardcode_shlibpath_var
=no
11437 hardcode_direct
=yes
11438 hardcode_direct_absolute
=yes
11439 export_dynamic_flag_spec
='$wl-E'
11441 # hardcode_minus_L: Not really in the search PATH,
11442 # but as the default location of the library.
11443 hardcode_minus_L
=yes
11449 irix5
* | irix6
* | nonstopux
*)
11450 if test yes = "$GCC"; then
11451 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'
11452 # Try to use the -exported_symbol ld option, if it does not
11453 # work, assume that -exports_file does not work either and
11454 # implicitly export all symbols.
11455 # This should be the same for all languages, so no per-tag cache variable.
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11457 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11458 if ${lt_cv_irix_exported_symbol+:} false
; then :
11459 $as_echo_n "(cached) " >&6
11461 save_LDFLAGS
=$LDFLAGS
11462 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11465 int foo (void) { return 0; }
11467 if ac_fn_c_try_link
"$LINENO"; then :
11468 lt_cv_irix_exported_symbol
=yes
11470 lt_cv_irix_exported_symbol
=no
11472 rm -f core conftest.err conftest.
$ac_objext \
11473 conftest
$ac_exeext conftest.
$ac_ext
11474 LDFLAGS
=$save_LDFLAGS
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11477 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11478 if test yes = "$lt_cv_irix_exported_symbol"; then
11479 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'
11482 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'
11483 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'
11485 archive_cmds_need_lc
='no'
11486 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11487 hardcode_libdir_separator
=:
11489 link_all_deplibs
=yes
11493 case $cc_basename in
11495 # Fabrice Bellard et al's Tiny C Compiler
11497 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11503 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11504 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11506 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11508 hardcode_libdir_flag_spec
='-R$libdir'
11509 hardcode_direct
=yes
11510 hardcode_shlibpath_var
=no
11514 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11515 hardcode_direct
=yes
11516 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11517 hardcode_libdir_separator
=:
11518 hardcode_shlibpath_var
=no
11524 openbsd
* | bitrig
*)
11525 if test -f /usr
/libexec
/ld.so
; then
11526 hardcode_direct
=yes
11527 hardcode_shlibpath_var
=no
11528 hardcode_direct_absolute
=yes
11529 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11530 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11531 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11532 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11533 export_dynamic_flag_spec
='$wl-E'
11535 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11536 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11544 hardcode_libdir_flag_spec
='-L$libdir'
11545 hardcode_minus_L
=yes
11546 allow_undefined_flag
=unsupported
11548 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11549 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11550 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11551 $ECHO EXPORTS >> $output_objdir/$libname.def~
11552 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11553 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11554 emximp -o $lib $output_objdir/$libname.def'
11555 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11556 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11557 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11558 $ECHO EXPORTS >> $output_objdir/$libname.def~
11559 prefix_cmds="$SED"~
11560 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11561 prefix_cmds="$prefix_cmds -e 1d";
11563 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11564 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11565 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11566 emximp -o $lib $output_objdir/$libname.def'
11567 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11568 enable_shared_with_static_runtimes
=yes
11572 if test yes = "$GCC"; then
11573 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11574 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'
11576 allow_undefined_flag
=' -expect_unresolved \*'
11577 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'
11579 archive_cmds_need_lc
='no'
11580 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11581 hardcode_libdir_separator
=:
11584 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11585 if test yes = "$GCC"; then
11586 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11587 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'
11588 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11590 allow_undefined_flag
=' -expect_unresolved \*'
11591 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'
11592 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~
11593 $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'
11595 # Both c and cxx compiler support -rpath directly
11596 hardcode_libdir_flag_spec
='-rpath $libdir'
11598 archive_cmds_need_lc
='no'
11599 hardcode_libdir_separator
=:
11603 no_undefined_flag
=' -z defs'
11604 if test yes = "$GCC"; then
11606 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11607 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11608 $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'
11610 case `$CC -V 2>&1` in
11613 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11614 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11615 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11619 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11620 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11621 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11625 hardcode_libdir_flag_spec
='-R$libdir'
11626 hardcode_shlibpath_var
=no
11628 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11630 # The compiler driver will combine and reorder linker options,
11631 # but understands '-z linker_flag'. GCC discards it without '$wl',
11632 # but is careful enough not to reorder.
11633 # Supported since Solaris 2.6 (maybe 2.5.1?)
11634 if test yes = "$GCC"; then
11635 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11637 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11641 link_all_deplibs
=yes
11645 if test sequent
= "$host_vendor"; then
11646 # Use $CC to link under sequent, because it throws in some extra .o
11647 # files that make .init and .fini sections work.
11648 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11650 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11652 hardcode_libdir_flag_spec
='-L$libdir'
11653 hardcode_direct
=yes
11654 hardcode_minus_L
=yes
11655 hardcode_shlibpath_var
=no
11659 case $host_vendor in
11661 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11662 hardcode_direct
=yes # is this really true???
11665 ## LD is ld it makes a PLAMLIB
11666 ## CC just makes a GrossModule.
11667 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11668 reload_cmds
='$CC -r -o $output$reload_objs'
11672 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11673 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11676 runpath_var
='LD_RUN_PATH'
11677 hardcode_shlibpath_var
=no
11681 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11682 hardcode_shlibpath_var
=no
11683 export_dynamic_flag_spec
='-Bexport'
11687 if test -d /usr
/nec
; then
11688 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11689 hardcode_shlibpath_var
=no
11690 runpath_var
=LD_RUN_PATH
11691 hardcode_runpath_var
=yes
11696 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11697 no_undefined_flag
='$wl-z,text'
11698 archive_cmds_need_lc
=no
11699 hardcode_shlibpath_var
=no
11700 runpath_var
='LD_RUN_PATH'
11702 if test yes = "$GCC"; then
11703 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11704 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11706 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11707 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11711 sysv5
* | sco3.2v5
* | sco5v6
*)
11712 # Note: We CANNOT use -z defs as we might desire, because we do not
11713 # link with -lc, and that would cause any symbols used from libc to
11714 # always be unresolved, which means just about no library would
11715 # ever link correctly. If we're not using GNU ld we use -z text
11716 # though, which does catch some bad symbols but isn't as heavy-handed
11718 no_undefined_flag
='$wl-z,text'
11719 allow_undefined_flag
='$wl-z,nodefs'
11720 archive_cmds_need_lc
=no
11721 hardcode_shlibpath_var
=no
11722 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11723 hardcode_libdir_separator
=':'
11724 link_all_deplibs
=yes
11725 export_dynamic_flag_spec
='$wl-Bexport'
11726 runpath_var
='LD_RUN_PATH'
11728 if test yes = "$GCC"; then
11729 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11730 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11732 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11733 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11738 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11739 hardcode_libdir_flag_spec
='-L$libdir'
11740 hardcode_shlibpath_var
=no
11748 if test sni
= "$host_vendor"; then
11750 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11751 export_dynamic_flag_spec
='$wl-Blargedynsym'
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11758 $as_echo "$ld_shlibs" >&6; }
11759 test no
= "$ld_shlibs" && can_build_shared
=no
11761 with_gnu_ld
=$with_gnu_ld
11778 # Do we need to explicitly link libc?
11780 case "x$archive_cmds_need_lc" in
11782 # Assume -lc should be added
11783 archive_cmds_need_lc
=yes
11785 if test yes,yes = "$GCC,$enable_shared"; then
11786 case $archive_cmds in
11788 # FIXME: we may have to deal with multi-command sequences.
11791 # Test whether the compiler implicitly links with -lc since on some
11792 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11793 # to ld, don't add -lc before -lgcc.
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11795 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11796 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11797 $as_echo_n "(cached) " >&6
11800 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11802 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11803 (eval $ac_compile) 2>&5
11805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11806 test $ac_status = 0; } 2>conftest.err
; then
11809 libobjs
=conftest.
$ac_objext
11811 wl
=$lt_prog_compiler_wl
11812 pic_flag
=$lt_prog_compiler_pic
11818 lt_save_allow_undefined_flag
=$allow_undefined_flag
11819 allow_undefined_flag
=
11820 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11821 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11824 test $ac_status = 0; }
11826 lt_cv_archive_cmds_need_lc
=no
11828 lt_cv_archive_cmds_need_lc
=yes
11830 allow_undefined_flag
=$lt_save_allow_undefined_flag
11832 cat conftest.err
1>&5
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11838 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11839 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11998 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12000 if test yes = "$GCC"; then
12002 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12003 *) lt_awk_arg
='/^libraries:/' ;;
12006 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12007 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12009 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12010 case $lt_search_path_spec in
12012 # if the path contains ";" then we assume it to be the separator
12013 # otherwise default to the standard path separator (i.e. ":") - it is
12014 # assumed that no part of a normal pathname contains ";" but that should
12015 # okay in the real world where ";" in dirpaths is itself problematic.
12016 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12019 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12022 # Ok, now we have the path, separated by spaces, we can step through it
12023 # and add multilib dir if necessary...
12024 lt_tmp_lt_search_path_spec
=
12025 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12026 # ...but if some path component already ends with the multilib dir we assume
12027 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12028 case "$lt_multi_os_dir; $lt_search_path_spec " in
12029 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12033 for lt_sys_path
in $lt_search_path_spec; do
12034 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12035 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12036 elif test -n "$lt_multi_os_dir"; then
12037 test -d "$lt_sys_path" && \
12038 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12041 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12042 BEGIN {RS = " "; FS = "/|\n";} {
12045 for (lt_i = NF; lt_i > 0; lt_i--) {
12046 if ($lt_i != "" && $lt_i != ".") {
12047 if ($lt_i == "..") {
12050 if (lt_count == 0) {
12051 lt_foo = "/" $lt_i lt_foo;
12058 if (lt_foo != "") { lt_freq[lt_foo]++; }
12059 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12061 # AWK program above erroneously prepends '/' to C:/dos/paths
12064 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12065 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12067 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12069 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12071 library_names_spec
=
12072 libname_spec
='lib$name'
12076 postuninstall_cmds
=
12080 shlibpath_overrides_runpath
=unknown
12082 dynamic_linker
="$host_os ld.so"
12083 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12084 need_lib_prefix
=unknown
12085 hardcode_into_libs
=no
12087 # when you set need_version to no, make sure it does not cause -set_version
12088 # flags to be left without arguments
12089 need_version
=unknown
12095 version_type
=linux
# correct to gnu/linux during the next big refactor
12096 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12097 shlibpath_var
=LIBPATH
12099 # AIX 3 has no versioning support, so we append a major version to the name.
12100 soname_spec
='$libname$release$shared_ext$major'
12104 version_type
=linux
# correct to gnu/linux during the next big refactor
12107 hardcode_into_libs
=yes
12108 if test ia64
= "$host_cpu"; then
12109 # AIX 5 supports IA64
12110 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12111 shlibpath_var
=LD_LIBRARY_PATH
12113 # With GCC up to 2.95.x, collect2 would create an import file
12114 # for dependence libraries. The import file would start with
12115 # the line '#! .'. This would cause the generated library to
12116 # depend on '.', always an invalid library. This was fixed in
12117 # development snapshots of GCC prior to 3.0.
12119 aix4 | aix4.
[01] | aix4.
[01].
*)
12120 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12122 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12125 can_build_shared
=no
12129 # Using Import Files as archive members, it is possible to support
12130 # filename-based versioning of shared library archives on AIX. While
12131 # this would work for both with and without runtime linking, it will
12132 # prevent static linking of such archives. So we do filename-based
12133 # shared library versioning with .so extension only, which is used
12134 # when both runtime linking and shared linking is enabled.
12135 # Unfortunately, runtime linking may impact performance, so we do
12136 # not want this to be the default eventually. Also, we use the
12137 # versioned .so libs for executables only if there is the -brtl
12138 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12139 # To allow for filename-based versioning support, we need to create
12140 # libNAME.so.V as an archive file, containing:
12141 # *) an Import File, referring to the versioned filename of the
12142 # archive as well as the shared archive member, telling the
12143 # bitwidth (32 or 64) of that shared object, and providing the
12144 # list of exported symbols of that shared object, eventually
12145 # decorated with the 'weak' keyword
12146 # *) the shared object with the F_LOADONLY flag set, to really avoid
12147 # it being seen by the linker.
12148 # At run time we better use the real file rather than another symlink,
12149 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12151 case $with_aix_soname,$aix_use_runtimelinking in
12152 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12153 # soname into executable. Probably we can add versioning support to
12154 # collect2, so additional links can be useful in future.
12155 aix
,yes) # traditional libtool
12156 dynamic_linker
='AIX unversionable lib.so'
12157 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12158 # instead of lib<name>.a to let people know that these are not
12159 # typical AIX shared libraries.
12160 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12162 aix
,no
) # traditional AIX only
12163 dynamic_linker
='AIX lib.a(lib.so.V)'
12164 # We preserve .a as extension for shared libraries through AIX4.2
12165 # and later when we are not doing run time linking.
12166 library_names_spec
='$libname$release.a $libname.a'
12167 soname_spec
='$libname$release$shared_ext$major'
12169 svr4
,*) # full svr4 only
12170 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12171 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12172 # We do not specify a path in Import Files, so LIBPATH fires.
12173 shlibpath_overrides_runpath
=yes
12175 *,yes) # both, prefer svr4
12176 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12177 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12178 # unpreferred sharedlib libNAME.a needs extra handling
12179 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"'
12180 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"'
12181 # We do not specify a path in Import Files, so LIBPATH fires.
12182 shlibpath_overrides_runpath
=yes
12184 *,no
) # both, prefer aix
12185 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12186 library_names_spec
='$libname$release.a $libname.a'
12187 soname_spec
='$libname$release$shared_ext$major'
12188 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12189 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)'
12190 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"'
12193 shlibpath_var
=LIBPATH
12200 # Since July 2007 AmigaOS4 officially supports .so libraries.
12201 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12202 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12205 library_names_spec
='$libname.ixlibrary $libname.a'
12206 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12207 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'
12213 library_names_spec
='$libname$shared_ext'
12214 dynamic_linker
="$host_os ld.so"
12215 shlibpath_var
=LIBRARY_PATH
12219 version_type
=linux
# correct to gnu/linux during the next big refactor
12221 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12222 soname_spec
='$libname$release$shared_ext$major'
12223 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12224 shlibpath_var
=LD_LIBRARY_PATH
12225 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12226 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12227 # the default ld.so.conf also contains /usr/contrib/lib and
12228 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12229 # libtool to hard-code these into programs
12232 cygwin
* | mingw
* | pw32
* | cegcc
*)
12233 version_type
=windows
12238 case $GCC,$cc_basename in
12241 library_names_spec
='$libname.dll.a'
12242 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12243 postinstall_cmds
='base_file=`basename \$file`~
12244 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12245 dldir=$destdir/`dirname \$dlpath`~
12246 test -d \$dldir || mkdir -p \$dldir~
12247 $install_prog $dir/$dlname \$dldir/$dlname~
12248 chmod a+x \$dldir/$dlname~
12249 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12250 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12252 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12253 dlpath=$dir/\$dldll~
12255 shlibpath_overrides_runpath
=yes
12259 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12260 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12262 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12265 # MinGW DLLs use traditional 'lib' prefix
12266 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12269 # pw32 DLLs use 'pw' prefix rather than 'lib'
12270 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12273 dynamic_linker
='Win32 ld.exe'
12278 libname_spec
='$name'
12279 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12280 library_names_spec
='$libname.dll.lib'
12284 sys_lib_search_path_spec
=
12287 for lt_path
in $LIB
12290 # Let DOS variable expansion print the short 8.3 style file name.
12291 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12292 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12295 # Convert to MSYS style.
12296 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12299 # Convert to unix form, then to dos form, then back to unix form
12300 # but this time dos style (no spaces!) so that the unix form looks
12301 # like /cygdrive/c/PROGRA~1:/cygdr...
12302 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12303 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12304 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12307 sys_lib_search_path_spec
=$LIB
12308 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12309 # It is most probably a Windows format PATH.
12310 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12312 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12314 # FIXME: find the short name or the path components, as spaces are
12315 # common. (e.g. "Program Files" -> "PROGRA~1")
12319 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12320 postinstall_cmds
='base_file=`basename \$file`~
12321 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12322 dldir=$destdir/`dirname \$dlpath`~
12323 test -d \$dldir || mkdir -p \$dldir~
12324 $install_prog $dir/$dlname \$dldir/$dlname'
12325 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12326 dlpath=$dir/\$dldll~
12328 shlibpath_overrides_runpath
=yes
12329 dynamic_linker
='Win32 link.exe'
12333 # Assume MSVC wrapper
12334 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12335 dynamic_linker
='Win32 ld.exe'
12338 # FIXME: first we should search . and the directory the executable is in
12342 darwin
* | rhapsody
*)
12343 dynamic_linker
="$host_os dyld"
12344 version_type
=darwin
12347 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12348 soname_spec
='$libname$release$major$shared_ext'
12349 shlibpath_overrides_runpath
=yes
12350 shlibpath_var
=DYLD_LIBRARY_PATH
12351 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12353 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12354 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12358 version_type
=linux
# correct to gnu/linux during the next big refactor
12361 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12362 soname_spec
='$libname$release$shared_ext$major'
12363 shlibpath_var
=LD_LIBRARY_PATH
12366 freebsd
* | dragonfly
*)
12367 # DragonFly does not have aout. When/if they implement a new
12368 # versioning mechanism, adjust this.
12369 if test -x /usr
/bin
/objformat
; then
12370 objformat
=`/usr/bin/objformat`
12373 freebsd
[23].
*) objformat
=aout
;;
12374 *) objformat
=elf
;;
12377 version_type
=freebsd-
$objformat
12378 case $version_type in
12380 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12381 soname_spec
='$libname$release$shared_ext$major'
12386 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12390 shlibpath_var
=LD_LIBRARY_PATH
12393 shlibpath_overrides_runpath
=yes
12395 freebsd3.
[01]* | freebsdelf3.
[01]*)
12396 shlibpath_overrides_runpath
=yes
12397 hardcode_into_libs
=yes
12399 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12400 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12401 shlibpath_overrides_runpath
=no
12402 hardcode_into_libs
=yes
12404 *) # from 4.6 on, and DragonFly
12405 shlibpath_overrides_runpath
=yes
12406 hardcode_into_libs
=yes
12412 version_type
=linux
# correct to gnu/linux during the next big refactor
12415 dynamic_linker
="$host_os runtime_loader"
12416 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12417 soname_spec
='$libname$release$shared_ext$major'
12418 shlibpath_var
=LIBRARY_PATH
12419 shlibpath_overrides_runpath
=no
12420 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12421 hardcode_into_libs
=yes
12424 hpux9
* | hpux10
* | hpux11
*)
12425 # Give a soname corresponding to the major version so that dld.sl refuses to
12426 # link against other versions.
12433 hardcode_into_libs
=yes
12434 dynamic_linker
="$host_os dld.so"
12435 shlibpath_var
=LD_LIBRARY_PATH
12436 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12437 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12438 soname_spec
='$libname$release$shared_ext$major'
12439 if test 32 = "$HPUX_IA64_MODE"; then
12440 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12441 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12443 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12444 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12449 hardcode_into_libs
=yes
12450 dynamic_linker
="$host_os dld.sl"
12451 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12452 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12453 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12454 soname_spec
='$libname$release$shared_ext$major'
12455 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12456 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12460 dynamic_linker
="$host_os dld.sl"
12461 shlibpath_var
=SHLIB_PATH
12462 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
12467 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12468 postinstall_cmds
='chmod 555 $lib'
12469 # or fails outright, so override atomically:
12470 install_override_mode
=555
12474 version_type
=linux
# correct to gnu/linux during the next big refactor
12477 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12478 soname_spec
='$libname$release$shared_ext$major'
12479 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12480 shlibpath_var
=LD_LIBRARY_PATH
12481 shlibpath_overrides_runpath
=no
12482 hardcode_into_libs
=yes
12485 irix5
* | irix6
* | nonstopux
*)
12487 nonstopux
*) version_type
=nonstopux
;;
12489 if test yes = "$lt_cv_prog_gnu_ld"; then
12490 version_type
=linux
# correct to gnu/linux during the next big refactor
12497 soname_spec
='$libname$release$shared_ext$major'
12498 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12500 irix5
* | nonstopux
*)
12501 libsuff
= shlibsuff
=
12504 case $LD in # libtool.m4 will add one of these switches to LD
12505 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12506 libsuff
= shlibsuff
= libmagic
=32-bit;;
12507 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12508 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12509 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12510 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12511 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12515 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12516 shlibpath_overrides_runpath
=no
12517 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12518 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12519 hardcode_into_libs
=yes
12522 # No shared lib support for Linux oldld, aout, or coff.
12523 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12528 version_type
=none
# Android doesn't support versioned libraries.
12531 library_names_spec
='$libname$release$shared_ext'
12532 soname_spec
='$libname$release$shared_ext'
12534 shlibpath_var
=LD_LIBRARY_PATH
12535 shlibpath_overrides_runpath
=yes
12537 # This implies no fast_install, which is unacceptable.
12538 # Some rework will be needed to allow for fast_install
12539 # before this can be enabled.
12540 hardcode_into_libs
=yes
12542 dynamic_linker
='Android linker'
12543 # Don't embed -rpath directories since the linker doesn't support them.
12544 hardcode_libdir_flag_spec
='-L$libdir'
12547 # This must be glibc/ELF.
12548 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12549 version_type
=linux
# correct to gnu/linux during the next big refactor
12552 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12553 soname_spec
='$libname$release$shared_ext$major'
12554 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12555 shlibpath_var
=LD_LIBRARY_PATH
12556 shlibpath_overrides_runpath
=no
12558 # Some binutils ld are patched to set DT_RUNPATH
12559 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12560 $as_echo_n "(cached) " >&6
12562 lt_cv_shlibpath_overrides_runpath
=no
12563 save_LDFLAGS
=$LDFLAGS
12564 save_libdir
=$libdir
12565 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12566 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12578 if ac_fn_c_try_link
"$LINENO"; then :
12579 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12580 lt_cv_shlibpath_overrides_runpath
=yes
12583 rm -f core conftest.err conftest.
$ac_objext \
12584 conftest
$ac_exeext conftest.
$ac_ext
12585 LDFLAGS
=$save_LDFLAGS
12586 libdir
=$save_libdir
12590 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12592 # This implies no fast_install, which is unacceptable.
12593 # Some rework will be needed to allow for fast_install
12594 # before this can be enabled.
12595 hardcode_into_libs
=yes
12597 # Ideally, we could use ldconfig to report *all* directores which are
12598 # searched for libraries, however this is still not possible. Aside from not
12599 # being certain /sbin/ldconfig is available, command
12600 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12601 # even though it is searched at run-time. Try to do the best guess by
12602 # appending ld.so.conf contents (and includes) to the search path.
12603 if test -f /etc
/ld.so.conf
; then
12604 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' ' '`
12605 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12608 # We used to test for /lib/ld.so.1 and disable shared libraries on
12609 # powerpc, because MkLinux only supported shared libraries with the
12610 # GNU dynamic linker. Since this was broken with cross compilers,
12611 # most powerpc-linux boxes support dynamic linking these days and
12612 # people can always --disable-shared, the test was removed, and we
12613 # assume the GNU/Linux dynamic linker is in use.
12614 dynamic_linker
='GNU/Linux ld.so'
12621 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12622 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12623 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12624 dynamic_linker
='NetBSD (a.out) ld.so'
12626 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12627 soname_spec
='$libname$release$shared_ext$major'
12628 dynamic_linker
='NetBSD ld.elf_so'
12630 shlibpath_var
=LD_LIBRARY_PATH
12631 shlibpath_overrides_runpath
=yes
12632 hardcode_into_libs
=yes
12636 version_type
=linux
# correct to gnu/linux during the next big refactor
12637 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12638 shlibpath_var
=LD_LIBRARY_PATH
12639 shlibpath_overrides_runpath
=yes
12646 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12647 soname_spec
='$libname$release$shared_ext$major'
12648 shlibpath_var
=LD_LIBRARY_PATH
12649 shlibpath_overrides_runpath
=no
12650 hardcode_into_libs
=yes
12651 dynamic_linker
='ldqnx.so'
12654 openbsd
* | bitrig
*)
12656 sys_lib_dlsearch_path_spec
=/usr
/lib
12658 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12663 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12664 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12665 shlibpath_var
=LD_LIBRARY_PATH
12666 shlibpath_overrides_runpath
=yes
12670 libname_spec
='$name'
12671 version_type
=windows
12675 # OS/2 can only load a DLL with a base name of 8 characters or less.
12676 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12677 v=$($ECHO $release$versuffix | tr -d .-);
12678 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12679 $ECHO $n$v`$shared_ext'
12680 library_names_spec
='${libname}_dll.$libext'
12681 dynamic_linker
='OS/2 ld.exe'
12682 shlibpath_var
=BEGINLIBPATH
12683 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12684 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12685 postinstall_cmds
='base_file=`basename \$file`~
12686 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12687 dldir=$destdir/`dirname \$dlpath`~
12688 test -d \$dldir || mkdir -p \$dldir~
12689 $install_prog $dir/$dlname \$dldir/$dlname~
12690 chmod a+x \$dldir/$dlname~
12691 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12692 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12694 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12695 dlpath=$dir/\$dldll~
12699 osf3
* | osf4
* | osf5
*)
12703 soname_spec
='$libname$release$shared_ext$major'
12704 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12705 shlibpath_var
=LD_LIBRARY_PATH
12706 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12707 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12715 version_type
=linux
# correct to gnu/linux during the next big refactor
12718 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12719 soname_spec
='$libname$release$shared_ext$major'
12720 shlibpath_var
=LD_LIBRARY_PATH
12721 shlibpath_overrides_runpath
=yes
12722 hardcode_into_libs
=yes
12723 # ldd complains unless libraries are executable
12724 postinstall_cmds
='chmod +x $lib'
12729 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12730 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12731 shlibpath_var
=LD_LIBRARY_PATH
12732 shlibpath_overrides_runpath
=yes
12733 if test yes = "$with_gnu_ld"; then
12740 version_type
=linux
# correct to gnu/linux during the next big refactor
12741 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12742 soname_spec
='$libname$release$shared_ext$major'
12743 shlibpath_var
=LD_LIBRARY_PATH
12744 case $host_vendor in
12746 shlibpath_overrides_runpath
=no
12748 runpath_var
=LD_RUN_PATH
12756 shlibpath_overrides_runpath
=no
12757 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12763 if test -d /usr
/nec
; then
12764 version_type
=linux
# correct to gnu/linux during the next big refactor
12765 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12766 soname_spec
='$libname$shared_ext.$major'
12767 shlibpath_var
=LD_LIBRARY_PATH
12771 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12775 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12776 soname_spec
='$libname$release$shared_ext$major'
12777 shlibpath_var
=LD_LIBRARY_PATH
12778 shlibpath_overrides_runpath
=yes
12779 hardcode_into_libs
=yes
12780 if test yes = "$with_gnu_ld"; then
12781 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12783 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12786 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12790 sys_lib_dlsearch_path_spec
='/usr/lib'
12794 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12795 version_type
=linux
# correct to gnu/linux during the next big refactor
12798 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12799 shlibpath_var
=LD_LIBRARY_PATH
12800 shlibpath_overrides_runpath
=no
12801 hardcode_into_libs
=yes
12805 version_type
=linux
# correct to gnu/linux during the next big refactor
12806 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12807 soname_spec
='$libname$release$shared_ext$major'
12808 shlibpath_var
=LD_LIBRARY_PATH
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12816 $as_echo "$dynamic_linker" >&6; }
12817 test no
= "$dynamic_linker" && can_build_shared
=no
12819 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12820 if test yes = "$GCC"; then
12821 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12824 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12825 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12828 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12829 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12832 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12833 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12835 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12836 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12838 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12839 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12938 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12940 if test -n "$hardcode_libdir_flag_spec" ||
12941 test -n "$runpath_var" ||
12942 test yes = "$hardcode_automatic"; then
12944 # We can hardcode non-existent directories.
12945 if test no
!= "$hardcode_direct" &&
12946 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12947 # have to relink, otherwise we might link with an installed library
12948 # when we should be linking with a yet-to-be-installed one
12949 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12950 test no
!= "$hardcode_minus_L"; then
12951 # Linking always hardcodes the temporary library directory.
12952 hardcode_action
=relink
12954 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12955 hardcode_action
=immediate
12958 # We cannot hardcode anything, or else we can only hardcode existing
12960 hardcode_action
=unsupported
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12963 $as_echo "$hardcode_action" >&6; }
12965 if test relink
= "$hardcode_action" ||
12966 test yes = "$inherit_rpath"; then
12967 # Fast installation is not supported
12968 enable_fast_install
=no
12969 elif test yes = "$shlibpath_overrides_runpath" ||
12970 test no
= "$enable_shared"; then
12971 # Fast installation is not necessary
12972 enable_fast_install
=needless
12980 if test yes != "$enable_dlopen"; then
12981 enable_dlopen
=unknown
12982 enable_dlopen_self
=unknown
12983 enable_dlopen_self_static
=unknown
12990 lt_cv_dlopen
=load_add_on
12992 lt_cv_dlopen_self
=yes
12995 mingw
* | pw32
* | cegcc
*)
12996 lt_cv_dlopen
=LoadLibrary
13001 lt_cv_dlopen
=dlopen
13006 # if libdl is installed we need to link against it
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13008 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13009 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13010 $as_echo_n "(cached) " >&6
13012 ac_check_lib_save_LIBS
=$LIBS
13014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13032 if ac_fn_c_try_link
"$LINENO"; then :
13033 ac_cv_lib_dl_dlopen
=yes
13035 ac_cv_lib_dl_dlopen
=no
13037 rm -f core conftest.err conftest.
$ac_objext \
13038 conftest
$ac_exeext conftest.
$ac_ext
13039 LIBS
=$ac_check_lib_save_LIBS
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13042 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13043 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13044 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13049 lt_cv_dlopen_self
=yes
13056 # Don't try to run any link tests for TPF. We know it's impossible
13057 # because TPF is a cross-compiler, and we know how we open DSOs.
13058 lt_cv_dlopen
=dlopen
13060 lt_cv_dlopen_self
=no
13064 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13065 if test "x$ac_cv_func_shl_load" = xyes
; then :
13066 lt_cv_dlopen
=shl_load
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13069 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13070 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13071 $as_echo_n "(cached) " >&6
13073 ac_check_lib_save_LIBS
=$LIBS
13075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13078 /* Override any GCC internal prototype to avoid an error.
13079 Use char because int might match the return type of a GCC
13080 builtin and then its argument prototype would still apply. */
13088 return shl_load ();
13093 if ac_fn_c_try_link
"$LINENO"; then :
13094 ac_cv_lib_dld_shl_load
=yes
13096 ac_cv_lib_dld_shl_load
=no
13098 rm -f core conftest.err conftest.
$ac_objext \
13099 conftest
$ac_exeext conftest.
$ac_ext
13100 LIBS
=$ac_check_lib_save_LIBS
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13103 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13104 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13105 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13107 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13108 if test "x$ac_cv_func_dlopen" = xyes
; then :
13109 lt_cv_dlopen
=dlopen
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13112 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13113 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13114 $as_echo_n "(cached) " >&6
13116 ac_check_lib_save_LIBS
=$LIBS
13118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13121 /* Override any GCC internal prototype to avoid an error.
13122 Use char because int might match the return type of a GCC
13123 builtin and then its argument prototype would still apply. */
13136 if ac_fn_c_try_link
"$LINENO"; then :
13137 ac_cv_lib_dl_dlopen
=yes
13139 ac_cv_lib_dl_dlopen
=no
13141 rm -f core conftest.err conftest.
$ac_objext \
13142 conftest
$ac_exeext conftest.
$ac_ext
13143 LIBS
=$ac_check_lib_save_LIBS
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13146 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13147 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13148 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13151 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13152 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13153 $as_echo_n "(cached) " >&6
13155 ac_check_lib_save_LIBS
=$LIBS
13156 LIBS
="-lsvld $LIBS"
13157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13160 /* Override any GCC internal prototype to avoid an error.
13161 Use char because int might match the return type of a GCC
13162 builtin and then its argument prototype would still apply. */
13175 if ac_fn_c_try_link
"$LINENO"; then :
13176 ac_cv_lib_svld_dlopen
=yes
13178 ac_cv_lib_svld_dlopen
=no
13180 rm -f core conftest.err conftest.
$ac_objext \
13181 conftest
$ac_exeext conftest.
$ac_ext
13182 LIBS
=$ac_check_lib_save_LIBS
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13185 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13186 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13187 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13190 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13191 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13192 $as_echo_n "(cached) " >&6
13194 ac_check_lib_save_LIBS
=$LIBS
13196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13199 /* Override any GCC internal prototype to avoid an error.
13200 Use char because int might match the return type of a GCC
13201 builtin and then its argument prototype would still apply. */
13209 return dld_link ();
13214 if ac_fn_c_try_link
"$LINENO"; then :
13215 ac_cv_lib_dld_dld_link
=yes
13217 ac_cv_lib_dld_dld_link
=no
13219 rm -f core conftest.err conftest.
$ac_objext \
13220 conftest
$ac_exeext conftest.
$ac_ext
13221 LIBS
=$ac_check_lib_save_LIBS
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13224 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13225 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13226 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13247 if test no
= "$lt_cv_dlopen"; then
13253 case $lt_cv_dlopen in
13255 save_CPPFLAGS
=$CPPFLAGS
13256 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13258 save_LDFLAGS
=$LDFLAGS
13259 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13262 LIBS
="$lt_cv_dlopen_libs $LIBS"
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13265 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13266 if ${lt_cv_dlopen_self+:} false
; then :
13267 $as_echo_n "(cached) " >&6
13269 if test yes = "$cross_compiling"; then :
13270 lt_cv_dlopen_self
=cross
13272 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13273 lt_status
=$lt_dlunknown
13274 cat > conftest.
$ac_ext <<_LT_EOF
13275 #line $LINENO "configure"
13276 #include "confdefs.h"
13285 # define LT_DLGLOBAL RTLD_GLOBAL
13288 # define LT_DLGLOBAL DL_GLOBAL
13290 # define LT_DLGLOBAL 0
13294 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13295 find out it does not work in some platform. */
13296 #ifndef LT_DLLAZY_OR_NOW
13298 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13301 # define LT_DLLAZY_OR_NOW DL_LAZY
13304 # define LT_DLLAZY_OR_NOW RTLD_NOW
13307 # define LT_DLLAZY_OR_NOW DL_NOW
13309 # define LT_DLLAZY_OR_NOW 0
13316 /* When -fvisibility=hidden is used, assume the code has been annotated
13317 correspondingly for the symbols needed. */
13318 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13319 int fnord () __attribute__((visibility("default")));
13322 int fnord () { return 42; }
13325 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13326 int status = $lt_dlunknown;
13330 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13333 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13334 else puts (dlerror ());
13336 /* dlclose (self); */
13344 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13345 (eval $ac_link) 2>&5
13347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13348 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13349 (.
/conftest
; exit; ) >&5 2>/dev
/null
13351 case x
$lt_status in
13352 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13353 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13354 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13357 # compilation failed
13358 lt_cv_dlopen_self
=no
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13366 $as_echo "$lt_cv_dlopen_self" >&6; }
13368 if test yes = "$lt_cv_dlopen_self"; then
13369 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13371 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13372 if ${lt_cv_dlopen_self_static+:} false
; then :
13373 $as_echo_n "(cached) " >&6
13375 if test yes = "$cross_compiling"; then :
13376 lt_cv_dlopen_self_static
=cross
13378 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13379 lt_status
=$lt_dlunknown
13380 cat > conftest.
$ac_ext <<_LT_EOF
13381 #line $LINENO "configure"
13382 #include "confdefs.h"
13391 # define LT_DLGLOBAL RTLD_GLOBAL
13394 # define LT_DLGLOBAL DL_GLOBAL
13396 # define LT_DLGLOBAL 0
13400 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13401 find out it does not work in some platform. */
13402 #ifndef LT_DLLAZY_OR_NOW
13404 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13407 # define LT_DLLAZY_OR_NOW DL_LAZY
13410 # define LT_DLLAZY_OR_NOW RTLD_NOW
13413 # define LT_DLLAZY_OR_NOW DL_NOW
13415 # define LT_DLLAZY_OR_NOW 0
13422 /* When -fvisibility=hidden is used, assume the code has been annotated
13423 correspondingly for the symbols needed. */
13424 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13425 int fnord () __attribute__((visibility("default")));
13428 int fnord () { return 42; }
13431 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13432 int status = $lt_dlunknown;
13436 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13439 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13440 else puts (dlerror ());
13442 /* dlclose (self); */
13450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13451 (eval $ac_link) 2>&5
13453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13454 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13455 (.
/conftest
; exit; ) >&5 2>/dev
/null
13457 case x
$lt_status in
13458 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13459 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13460 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13463 # compilation failed
13464 lt_cv_dlopen_self_static
=no
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13472 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13475 CPPFLAGS
=$save_CPPFLAGS
13476 LDFLAGS
=$save_LDFLAGS
13481 case $lt_cv_dlopen_self in
13482 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13483 *) enable_dlopen_self
=unknown
;;
13486 case $lt_cv_dlopen_self_static in
13487 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13488 *) enable_dlopen_self_static
=unknown
;;
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13511 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13512 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13513 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13514 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13516 $as_echo "yes" >&6; }
13518 # FIXME - insert some real tests, host_os isn't really good enough
13521 if test -n "$STRIP"; then
13522 striplib
="$STRIP -x"
13523 old_striplib
="$STRIP -S"
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13525 $as_echo "yes" >&6; }
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13528 $as_echo "no" >&6; }
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13533 $as_echo "no" >&6; }
13549 # Report what library types will actually be built
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13551 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13553 $as_echo "$can_build_shared" >&6; }
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13556 $as_echo_n "checking whether to build shared libraries... " >&6; }
13557 test no
= "$can_build_shared" && enable_shared
=no
13559 # On AIX, shared libraries and static libraries use the same namespace, and
13560 # are all built from PIC.
13563 test yes = "$enable_shared" && enable_static
=no
13564 if test -n "$RANLIB"; then
13565 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13566 postinstall_cmds
='$RANLIB $lib'
13571 if test ia64
!= "$host_cpu"; then
13572 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13573 yes,aix
,yes) ;; # shared object as lib.so file only
13574 yes,svr4
,*) ;; # shared object as lib.so archive member only
13575 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13581 $as_echo "$enable_shared" >&6; }
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13584 $as_echo_n "checking whether to build static libraries... " >&6; }
13585 # Make sure either enable_shared or enable_static is yes.
13586 test yes = "$enable_shared" || enable_static
=yes
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13588 $as_echo "$enable_static" >&6; }
13595 ac_cpp
='$CPP $CPPFLAGS'
13596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13616 ac_config_commands
="$ac_config_commands libtool"
13621 # Only expand once:
13625 # The cast to long int works around a bug in the HP C Compiler
13626 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13627 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13628 # This bug is HP SR number 8606223364.
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13630 $as_echo_n "checking size of void *... " >&6; }
13631 if ${ac_cv_sizeof_void_p+:} false
; then :
13632 $as_echo_n "(cached) " >&6
13634 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13637 if test "$ac_cv_type_void_p" = yes; then
13638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13640 as_fn_error
77 "cannot compute sizeof (void *)
13641 See \`config.log' for more details" "$LINENO" 5; }
13643 ac_cv_sizeof_void_p
=0
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13649 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13653 cat >>confdefs.h
<<_ACEOF
13654 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13658 case $host:$ac_cv_sizeof_void_p in #(
13660 kpse_dll_name
=texluajit
;; #(
13662 kpse_dll_name
=texluajit
;; #(
13664 kpse_dll_name
= ;; #(
13666 kpse_dll_name
= ;; #(
13675 # The cast to long int works around a bug in the HP C Compiler
13676 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13677 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13678 # This bug is HP SR number 8606223364.
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13680 $as_echo_n "checking size of void *... " >&6; }
13681 if ${ac_cv_sizeof_void_p+:} false
; then :
13682 $as_echo_n "(cached) " >&6
13684 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13687 if test "$ac_cv_type_void_p" = yes; then
13688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13690 as_fn_error
77 "cannot compute sizeof (void *)
13691 See \`config.log' for more details" "$LINENO" 5; }
13693 ac_cv_sizeof_void_p
=0
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13699 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13703 cat >>confdefs.h
<<_ACEOF
13704 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13708 ac_configure_args
="$ac_configure_args HOST_PTR_SIZE='$ac_cv_sizeof_void_p'"
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
13711 $as_echo_n "checking for library containing sqrt... " >&6; }
13712 if ${ac_cv_search_sqrt+:} false
; then :
13713 $as_echo_n "(cached) " >&6
13715 ac_func_search_save_LIBS
=$LIBS
13716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13719 /* Override any GCC internal prototype to avoid an error.
13720 Use char because int might match the return type of a GCC
13721 builtin and then its argument prototype would still apply. */
13734 for ac_lib
in '' m
; do
13735 if test -z "$ac_lib"; then
13736 ac_res
="none required"
13739 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13741 if ac_fn_c_try_link
"$LINENO"; then :
13742 ac_cv_search_sqrt
=$ac_res
13744 rm -f core conftest.err conftest.
$ac_objext \
13746 if ${ac_cv_search_sqrt+:} false
; then :
13750 if ${ac_cv_search_sqrt+:} false
; then :
13753 ac_cv_search_sqrt
=no
13755 rm conftest.
$ac_ext
13756 LIBS
=$ac_func_search_save_LIBS
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
13759 $as_echo "$ac_cv_search_sqrt" >&6; }
13760 ac_res
=$ac_cv_search_sqrt
13761 if test "$ac_res" != no
; then :
13762 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13767 $as_echo_n "checking for library containing dlopen... " >&6; }
13768 if ${ac_cv_search_dlopen+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13771 ac_func_search_save_LIBS
=$LIBS
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13775 /* Override any GCC internal prototype to avoid an error.
13776 Use char because int might match the return type of a GCC
13777 builtin and then its argument prototype would still apply. */
13790 for ac_lib
in '' dl
; do
13791 if test -z "$ac_lib"; then
13792 ac_res
="none required"
13795 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13797 if ac_fn_c_try_link
"$LINENO"; then :
13798 ac_cv_search_dlopen
=$ac_res
13800 rm -f core conftest.err conftest.
$ac_objext \
13802 if ${ac_cv_search_dlopen+:} false
; then :
13806 if ${ac_cv_search_dlopen+:} false
; then :
13809 ac_cv_search_dlopen
=no
13811 rm conftest.
$ac_ext
13812 LIBS
=$ac_func_search_save_LIBS
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13815 $as_echo "$ac_cv_search_dlopen" >&6; }
13816 ac_res
=$ac_cv_search_dlopen
13817 if test "$ac_res" != no
; then :
13818 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13823 LUAJIT_DEFINES
='-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6'
13825 case $host_os:$host_cpu in #(
13827 LUAJIT_LDEXTRA
='-pagezero_size 10000 -image_base 100000000' ;; #(
13833 # Check whether --enable-largefile was given.
13834 if test "${enable_largefile+set}" = set; then :
13835 enableval
=$enable_largefile;
13838 if test "$enable_largefile" != no
; then
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13841 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13842 if ${ac_cv_sys_largefile_CC+:} false
; then :
13843 $as_echo_n "(cached) " >&6
13845 ac_cv_sys_largefile_CC
=no
13846 if test "$GCC" != yes; then
13849 # IRIX 6.2 and later do not support large files by default,
13850 # so use the C compiler's -n32 option if that helps.
13851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13853 #include <sys/types.h>
13854 /* Check that off_t can represent 2**63 - 1 correctly.
13855 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13856 since some C++ compilers masquerading as C compilers
13857 incorrectly reject 9223372036854775807. */
13858 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13859 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13860 && LARGE_OFF_T % 2147483647 == 1)
13870 if ac_fn_c_try_compile
"$LINENO"; then :
13873 rm -f core conftest.err conftest.
$ac_objext
13875 if ac_fn_c_try_compile
"$LINENO"; then :
13876 ac_cv_sys_largefile_CC
=' -n32'; break
13878 rm -f core conftest.err conftest.
$ac_objext
13882 rm -f conftest.
$ac_ext
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13886 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13887 if test "$ac_cv_sys_largefile_CC" != no
; then
13888 CC
=$CC$ac_cv_sys_largefile_CC
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13892 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13893 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13894 $as_echo_n "(cached) " >&6
13897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 #include <sys/types.h>
13900 /* Check that off_t can represent 2**63 - 1 correctly.
13901 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13902 since some C++ compilers masquerading as C compilers
13903 incorrectly reject 9223372036854775807. */
13904 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13905 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13906 && LARGE_OFF_T % 2147483647 == 1)
13916 if ac_fn_c_try_compile
"$LINENO"; then :
13917 ac_cv_sys_file_offset_bits
=no
; break
13919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 #define _FILE_OFFSET_BITS 64
13923 #include <sys/types.h>
13924 /* Check that off_t can represent 2**63 - 1 correctly.
13925 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13926 since some C++ compilers masquerading as C compilers
13927 incorrectly reject 9223372036854775807. */
13928 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13929 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13930 && LARGE_OFF_T % 2147483647 == 1)
13940 if ac_fn_c_try_compile
"$LINENO"; then :
13941 ac_cv_sys_file_offset_bits
=64; break
13943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13944 ac_cv_sys_file_offset_bits
=unknown
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13949 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13950 case $ac_cv_sys_file_offset_bits in #(
13953 cat >>confdefs.h
<<_ACEOF
13954 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13959 if test $ac_cv_sys_file_offset_bits = unknown
; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13961 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13962 if ${ac_cv_sys_large_files+:} false
; then :
13963 $as_echo_n "(cached) " >&6
13966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13968 #include <sys/types.h>
13969 /* Check that off_t can represent 2**63 - 1 correctly.
13970 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13971 since some C++ compilers masquerading as C compilers
13972 incorrectly reject 9223372036854775807. */
13973 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13974 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13975 && LARGE_OFF_T % 2147483647 == 1)
13985 if ac_fn_c_try_compile
"$LINENO"; then :
13986 ac_cv_sys_large_files
=no
; break
13988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13991 #define _LARGE_FILES 1
13992 #include <sys/types.h>
13993 /* Check that off_t can represent 2**63 - 1 correctly.
13994 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13995 since some C++ compilers masquerading as C compilers
13996 incorrectly reject 9223372036854775807. */
13997 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13998 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13999 && LARGE_OFF_T % 2147483647 == 1)
14009 if ac_fn_c_try_compile
"$LINENO"; then :
14010 ac_cv_sys_large_files
=1; break
14012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14013 ac_cv_sys_large_files
=unknown
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14018 $as_echo "$ac_cv_sys_large_files" >&6; }
14019 case $ac_cv_sys_large_files in #(
14022 cat >>confdefs.h
<<_ACEOF
14023 #define _LARGE_FILES $ac_cv_sys_large_files
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
14034 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
14035 if ${ac_cv_sys_largefile_source+:} false
; then :
14036 $as_echo_n "(cached) " >&6
14039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 #include <sys/types.h> /* for off_t */
14046 int (*fp) (FILE *, off_t, int) = fseeko;
14047 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14052 if ac_fn_c_try_link
"$LINENO"; then :
14053 ac_cv_sys_largefile_source
=no
; break
14055 rm -f core conftest.err conftest.
$ac_objext \
14056 conftest
$ac_exeext conftest.
$ac_ext
14057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14059 #define _LARGEFILE_SOURCE 1
14060 #include <sys/types.h> /* for off_t */
14065 int (*fp) (FILE *, off_t, int) = fseeko;
14066 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
14071 if ac_fn_c_try_link
"$LINENO"; then :
14072 ac_cv_sys_largefile_source
=1; break
14074 rm -f core conftest.err conftest.
$ac_objext \
14075 conftest
$ac_exeext conftest.
$ac_ext
14076 ac_cv_sys_largefile_source
=unknown
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
14081 $as_echo "$ac_cv_sys_largefile_source" >&6; }
14082 case $ac_cv_sys_largefile_source in #(
14085 cat >>confdefs.h
<<_ACEOF
14086 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
14092 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
14093 # in glibc 2.1.3, but that breaks too many other things.
14094 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
14095 if test $ac_cv_sys_largefile_source != unknown
; then
14097 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
14101 if test "x$enable_largefile" != xno
; then
14102 case $ac_cv_sys_file_offset_bits in #(
14106 case $ac_cv_sys_large_files in #(
14110 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_LARGE_FILES" ;;
14113 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_FILE_OFFSET_BITS=64" ;;
14116 case $ac_cv_sys_largefile_source in #(
14120 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_LARGEFILE_SOURCE" ;;
14124 case $host_os in #(
14125 cygwin
* | mingw
* | msys
*) :
14126 LJHOST
='Windows' ;; #(
14128 LJHOST
='Darwin' ;; #(
14129 solaris
* | sunos
*) :
14130 LJHOST
='SunOS' ;; #(
14132 LJHOST
='Linux' ;; #(
14136 lj_save_CPPFLAGS
=$CPPFLAGS
14137 CPPFLAGS
="$CPPFLAGS -I$srcdir/LuaJIT-src/src $LUAJIT_DEFINES -dM"
14138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 #include <lj_arch.h>
14142 if ac_fn_c_try_cpp
"$LINENO"; then :
14143 lj_cpp
=ok
; rm -f dynasm_flags native_flags
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architecture" >&5
14145 $as_echo_n "checking for architecture... " >&6; }
14146 cp conftest.i system_flags
14147 LUAJIT_CFLAGS
='-fomit-frame-pointer'
14148 if grep 'LJ_TARGET_X64 ' conftest.i
>/dev
/null
2>&1; then :
14150 elif grep 'LJ_TARGET_X86 ' conftest.i
>/dev
/null
2>&1; then :
14152 LUAJIT_CFLAGS
="$LUAJIT_CFLAGS -march=i686 -msse -msse2 -mfpmath=sse"
14153 elif grep 'LJ_TARGET_ARM ' conftest.i
>/dev
/null
2>&1; then :
14155 elif grep 'LJ_TARGET_ARM64 ' conftest.i
>/dev
/null
2>&1; then :
14157 if test "x$LJHOST" = xiOS
; then :
14158 LUAJIT_CFLAGS
='-fno-omit-frame-pointer'
14160 elif grep 'LJ_TARGET_PPC ' conftest.i
>/dev
/null
2>&1; then :
14162 if grep 'LJ_LE 1' conftest.i
>/dev
/null
2>&1; then :
14163 echo '-DLJ_ARCH_ENDIAN=LUAJIT_LE' >>native_flags
14165 echo '-DLJ_ARCH_ENDIAN=LUAJIT_BE' >>native_flags
14167 elif grep 'LJ_TARGET_MIPS ' conftest.i
>/dev
/null
2>&1; then :
14169 if grep 'MIPSEL ' conftest.i
>/dev
/null
2>&1; then :
14170 echo '-D__MIPSEL__=1' >>native_flags
14173 as_fn_error $?
"Sorry, unsupported architecture" "$LINENO" 5
14175 if grep 'LJ_TARGET_PS3 1'conftest.i
>/dev
/null
2>&1; then :
14177 echo '-D__CELLOS_LV2__' >>native_flags
14178 LUAJIT_DEFINES
="$LUAJIT_DEFINES -DLUAJIT_USE_SYSMALLOC"
14180 if grep 'LJ_NO_UNWIND 1' conftest.i
>/dev
/null
2>&1; then :
14181 echo '-D NO_UNWIND' >>dynasm_flags
14182 echo '-DLUAJIT_NO_UNWIND' >>native_flags
14184 echo "-DLUAJIT_TARGET=LUAJIT_ARCH_$LJARCH" >>native_flags
14185 if grep 'LJ_ARCH_BITS 64' conftest.i
>/dev
/null
2>&1; then :
14186 echo '-D P64' >>dynasm_flags
14187 if test "x$LJHOST" = xLinux
; then :
14188 LUAJIT_DEFINES
="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
14191 if grep 'LJ_HASJIT 1' conftest.i
>/dev
/null
2>&1; then :
14192 echo '-D JIT' >>dynasm_flags
14194 if grep 'LJ_HASFFI 1' conftest.i
>/dev
/null
2>&1; then :
14195 echo '-D FFI' >>dynasm_flags
14197 if grep 'LJ_DUALNUM 1' conftest.i
>/dev
/null
2>&1; then :
14198 echo '-D DUALNUM' >>dynasm_flags
14200 if grep 'LJ_ARCH_HASFPU 1' conftest.i
>/dev
/null
2>&1; then :
14201 echo '-D FPU' >>dynasm_flags
14202 echo '-DLJ_ARCH_HASFPU=1' >>native_flags
14204 echo '-DLJ_ARCH_HASFPU=0' >>native_flags
14206 if grep 'LJ_ABI_SOFTFP 1' conftest.i
>/dev
/null
2>&1; then :
14207 echo '-DDLJ_ABI_SOFTFP=1' >>native_flags
14209 echo '-D HFABI' >>dynasm_flags
14210 echo '-DLJ_ABI_SOFTFP=0' >>native_flags
14212 echo '-D VER='`grep 'LJ_ARCH_VERSION ' conftest.i 2>&1 | \
14213 sed 's/^.*LJ_ARCH_VERSION //'` >>dynasm_flags
14214 if test "x$LJHOST" = xWindows
; then :
14215 echo '-D WIN' >>dynasm_flags
14220 if grep 'LJ_FR2 1' conftest.i
>/dev
/null
2>&1; then :
14226 if test "x$LJHOST" = xiOS
; then :
14227 echo '-D IOS' >>dynasm_flags
14230 if grep 'LJ_ARCH_SQRT 1' conftest.i
>/dev
/null
2>&1; then :
14231 echo '-D SQRT' >>dynasm_flags
14233 if grep 'LJ_ARCH_ROUND 1' conftest.i
>/dev
/null
2>&1; then :
14234 echo '-D ROUND' >>dynasm_flags
14236 if grep 'LJ_ARCH_PPC32ON64 1' conftest.i
>/dev
/null
2>&1; then :
14237 echo '-D GPR64' >>dynasm_flags
14239 if grep 'LJ_ARCH_PPC64 ' conftest.i
>/dev
/null
2>&1; then :
14242 if test "x$LJHOST" = xPS3
; then :
14243 echo '-D PPE -D TOC' >>dynasm_flags
14250 echo '-DLUAJIT_OS=LUAJIT_OS_WINDOWS' >>native_flags
;; #(
14252 echo '-DLUAJIT_OS=LUAJIT_OS_OSX' >>native_flags
;; #(
14254 echo '-DLUAJIT_OS=LUAJIT_OS_LINUX' >>native_flags
;; #(
14256 echo '-DLUAJIT_OS=LUAJIT_OS_OTHER' >>native_flags
;;
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LJHOST $LJARCH $DASM_ARCH" >&5
14259 $as_echo "$LJHOST $LJARCH $DASM_ARCH" >&6; }
14262 rm -f conftest.err conftest.i conftest.
$ac_ext
14263 CPPFLAGS
=$lj_save_CPPFLAGS
14270 LUAJIT_CFLAGS
="$LUAJIT_CFLAGS -malign-double" ;; #(
14272 LJVM_MODE
=machasm
;; #(
14274 LJVM_MODE
=elfasm
;;
14276 lj_save_CFLAGS
=$CFLAGS
14277 CFLAGS
="$CFLAGS -fno-stack-protector"
14278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14289 if ac_fn_c_try_compile
"$LINENO"; then :
14290 LUAJIT_CFLAGS
="$LUAJIT_CFLAGS -fno-stack-protector"
14292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14293 CFLAGS
=$lj_save_CFLAGS
14294 if test "x$LJVM_MODE" = xpeobj
; then
14307 case $host_os:$host_cpu in #(
14309 LIBLUAJIT_LDEXTRA
='-image_base 7fff04c4a000' ;; #(
14315 if test "x$enable_build" != xno
; then
14324 if test "x$enable_build" != xno ||
test -f config.force
; then
14326 if test "x$lj_cpp" != xok
; then :
14327 as_fn_error $?
"Sorry, can not preprocess <lj_arch.h>" "$LINENO" 5
14330 echo timestamp
>config.force
14333 LUAJIT_TREE
=LuaJIT-src
14336 ac_config_headers
="$ac_config_headers config.h"
14339 ac_config_files
="$ac_config_files Makefile include/Makefile texluajit.pc"
14345 subdirs
="$subdirs native"
14350 cat >confcache
<<\_ACEOF
14351 # This file is a shell script that caches the results of configure
14352 # tests run on this system so they can be shared between configure
14353 # scripts and configure runs, see configure's option --config-cache.
14354 # It is not useful on other systems. If it contains results you don't
14355 # want to keep, you may remove or edit it.
14357 # config.status only pays attention to the cache file if you give it
14358 # the --recheck option to rerun configure.
14360 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14361 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14362 # following values.
14366 # The following way of writing the cache mishandles newlines in values,
14367 # but we know of no workaround that is simple, portable, and efficient.
14368 # So, we kill variables containing newlines.
14369 # Ultrix sh set writes to stderr and can't be redirected directly,
14370 # and sets the high bit in the cache file unless we assign to the vars.
14372 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14373 eval ac_val
=\$
$ac_var
14377 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14378 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14381 _ | IFS | as_nl
) ;; #(
14382 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14383 *) { eval $ac_var=; unset $ac_var;} ;;
14389 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14390 *${as_nl}ac_space
=\
*)
14391 # `set' does not quote correctly, so add quotes: double-quote
14392 # substitution turns \\\\ into \\, and sed turns \\ into \.
14395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14398 # `set' quotes correctly as required by POSIX, so do not add quotes.
14399 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14408 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14410 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14412 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14413 if test -w "$cache_file"; then
14414 if test "x$cache_file" != "x/dev/null"; then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14416 $as_echo "$as_me: updating cache $cache_file" >&6;}
14417 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14418 cat confcache
>"$cache_file"
14420 case $cache_file in #(
14422 mv -f confcache
"$cache_file"$$
&&
14423 mv -f "$cache_file"$$
"$cache_file" ;; #(
14425 mv -f confcache
"$cache_file" ;;
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14431 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14436 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14437 # Let make expand exec_prefix.
14438 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14440 DEFS
=-DHAVE_CONFIG_H
14445 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14446 # 1. Remove the extension, and $U if already installed.
14447 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14448 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14449 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14450 # will be set to the directory where LIBOBJS objects are built.
14451 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14452 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14454 LIBOBJS
=$ac_libobjs
14456 LTLIBOBJS
=$ac_ltlibobjs
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14460 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14461 if test -n "$am_sleep_pid"; then
14462 # Hide warnings about reused PIDs.
14463 wait $am_sleep_pid 2>/dev
/null
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14466 $as_echo "done" >&6; }
14467 if test -n "$EXEEXT"; then
14469 am__EXEEXT_FALSE
='#'
14471 am__EXEEXT_TRUE
='#'
14475 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14476 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14479 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14480 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14483 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14484 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14487 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14488 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14491 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14492 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
14493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14495 if test -z "${PEOBJ_TRUE}" && test -z "${PEOBJ_FALSE}"; then
14496 as_fn_error $?
"conditional \"PEOBJ\" was never defined.
14497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14499 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
14500 as_fn_error $?
"conditional \"build\" was never defined.
14501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14504 : "${CONFIG_STATUS=./config.status}"
14506 ac_clean_files_save
=$ac_clean_files
14507 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14509 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14511 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14513 # Generated by $as_me.
14514 # Run this file to recreate the current configuration.
14515 # Compiler output produced by configure, useful for debugging
14516 # configure, is in config.log if it exists.
14519 ac_cs_recheck=false
14522 SHELL=\${CONFIG_SHELL-$SHELL}
14525 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14526 ## -------------------- ##
14527 ## M4sh Initialization. ##
14528 ## -------------------- ##
14530 # Be more Bourne compatible
14531 DUALCASE
=1; export DUALCASE
# for MKS sh
14532 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14535 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14536 # is contrary to our usage. Disable this feature.
14537 alias -g '${1+"$@"}'='"$@"'
14538 setopt NO_GLOB_SUBST
14540 case `(set -o) 2>/dev/null` in #(
14552 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14553 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14554 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14555 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14556 # Prefer a ksh shell builtin over an external printf program on Solaris,
14557 # but without wasting forks for bash or zsh.
14558 if test -z "$BASH_VERSION$ZSH_VERSION" \
14559 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14560 as_echo='print
-r --'
14561 as_echo_n='print
-rn --'
14562 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14563 as_echo='printf %s
\n'
14564 as_echo_n='printf %s
'
14566 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14567 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14568 as_echo_n='/usr
/ucb
/echo -n'
14570 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14571 as_echo_n_body='eval
14575 expr "X$arg" : "X\\(.*\\)$as_nl";
14576 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14578 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14580 export as_echo_n_body
14581 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14583 export as_echo_body
14584 as_echo='sh
-c $as_echo_body as_echo
'
14587 # The user is always right.
14588 if test "${PATH_SEPARATOR+set}" != set; then
14590 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14591 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14598 # We need space, tab and new line, in precisely that order. Quoting is
14599 # there to prevent editors from complaining about space-tab.
14600 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14601 # splitting by setting IFS to empty value.)
14604 # Find who we are. Look in the path if we contain no directory separator.
14607 *[\\/]* ) as_myself=$0 ;;
14608 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14609 for as_dir in $PATH
14612 test -z "$as_dir" && as_dir=.
14613 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14619 # We did not find ourselves, most probably we were run as `sh COMMAND'
14620 # in which case we are not to be found in the path.
14621 if test "x$as_myself" = x
; then
14624 if test ! -f "$as_myself"; then
14625 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14629 # Unset variables that we do not need and which cause bugs (e.g. in
14630 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14631 # suppresses any "Segmentation fault" message there. '((' could
14632 # trigger a bug in pdksh 5.2.14.
14633 for as_var
in BASH_ENV ENV MAIL MAILPATH
14634 do eval test x\
${$as_var+set} = xset \
14635 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14648 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14651 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14652 # ----------------------------------------
14653 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14654 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14655 # script with STATUS, using 1 if that was 0.
14658 as_status
=$1; test $as_status -eq 0 && as_status
=1
14660 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14661 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14663 $as_echo "$as_me: error: $2" >&2
14664 as_fn_exit
$as_status
14668 # as_fn_set_status STATUS
14669 # -----------------------
14670 # Set $? to STATUS, without forking.
14671 as_fn_set_status
()
14674 } # as_fn_set_status
14676 # as_fn_exit STATUS
14677 # -----------------
14678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14682 as_fn_set_status
$1
14688 # Portably unset VAR.
14691 { eval $1=; unset $1;}
14693 as_unset
=as_fn_unset
14694 # as_fn_append VAR VALUE
14695 # ----------------------
14696 # Append the text in VALUE to the end of the definition contained in VAR. Take
14697 # advantage of any shell optimizations that allow amortized linear growth over
14698 # repeated appends, instead of the typical quadratic growth present in naive
14700 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14701 eval 'as_fn_append ()
14712 # as_fn_arith ARG...
14713 # ------------------
14714 # Perform arithmetic evaluation on the ARGs, and store the result in the
14715 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14716 # must be portable across $(()) and expr.
14717 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14718 eval 'as_fn_arith ()
14725 as_val
=`expr "$@" || test $? -eq 1`
14730 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14731 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14737 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14738 as_basename
=basename
14743 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14749 as_me
=`$as_basename -- "$0" ||
14750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14751 X"$0" : 'X\(//\)$' \| \
14752 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14754 sed '/^.*\/\([^/][^/]*\)\/*$/{
14768 # Avoid depending upon Character Ranges.
14769 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14770 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14771 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14772 as_cr_digits
='0123456789'
14773 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14775 ECHO_C
= ECHO_N
= ECHO_T
=
14776 case `echo -n x` in #(((((
14778 case `echo 'xy\c'` in
14779 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14781 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14788 rm -f conf$$ conf$$.exe conf$$.
file
14789 if test -d conf$$.dir
; then
14790 rm -f conf$$.dir
/conf$$.
file
14793 mkdir conf$$.dir
2>/dev
/null
14795 if (echo >conf$$.
file) 2>/dev
/null
; then
14796 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14798 # ... but there are two gotchas:
14799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14801 # In both cases, we have to default to `cp -pR'.
14802 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14804 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14812 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14813 rmdir conf$$.dir
2>/dev
/null
14818 # Create "$as_dir" as a directory, including parents if necessary.
14823 -*) as_dir
=.
/$as_dir;;
14825 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14829 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14830 *) as_qdir
=$as_dir;;
14832 as_dirs
="'$as_qdir' $as_dirs"
14833 as_dir
=`$as_dirname -- "$as_dir" ||
14834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14835 X"$as_dir" : 'X\(//\)[^/]' \| \
14836 X"$as_dir" : 'X\(//\)$' \| \
14837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14838 $as_echo X"$as_dir" |
14839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14843 /^X\(\/\/\)[^/].*/{
14856 test -d "$as_dir" && break
14858 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14859 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14863 if mkdir
-p .
2>/dev
/null
; then
14864 as_mkdir_p
='mkdir -p "$as_dir"'
14866 test -d .
/-p && rmdir .
/-p
14871 # as_fn_executable_p FILE
14872 # -----------------------
14873 # Test if FILE is an executable regular file.
14874 as_fn_executable_p
()
14876 test -f "$1" && test -x "$1"
14877 } # as_fn_executable_p
14878 as_test_x
='test -x'
14879 as_executable_p
=as_fn_executable_p
14881 # Sed expression to map a string onto a valid CPP name.
14882 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14884 # Sed expression to map a string onto a valid variable name.
14885 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14889 ## ----------------------------------- ##
14890 ## Main body of $CONFIG_STATUS script. ##
14891 ## ----------------------------------- ##
14893 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14896 # Save the log message, to keep $0 and so on meaningful, and to
14897 # report actual input values of CONFIG_FILES etc. instead of their
14898 # values after options handling.
14900 This file was extended by luajit for TeX Live $as_me 2.1.0-beta1, which was
14901 generated by GNU Autoconf 2.69. Invocation command line was
14903 CONFIG_FILES = $CONFIG_FILES
14904 CONFIG_HEADERS = $CONFIG_HEADERS
14905 CONFIG_LINKS = $CONFIG_LINKS
14906 CONFIG_COMMANDS = $CONFIG_COMMANDS
14909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14914 case $ac_config_files in *"
14915 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14918 case $ac_config_headers in *"
14919 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14924 # Files that config.status was made for.
14925 config_files="$ac_config_files"
14926 config_headers="$ac_config_headers"
14927 config_commands="$ac_config_commands"
14931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14933 \`$as_me' instantiates files and other configuration actions
14934 from templates according to the current configuration. Unless the files
14935 and actions are specified as TAGs, all are instantiated by default.
14937 Usage: $0 [OPTION]... [TAG]...
14939 -h, --help print this help, then exit
14940 -V, --version print version number and configuration settings, then exit
14941 --config print configuration, then exit
14942 -q, --quiet, --silent
14943 do not print progress messages
14944 -d, --debug don't remove temporary files
14945 --recheck update $as_me by reconfiguring in the same conditions
14946 --file=FILE[:TEMPLATE]
14947 instantiate the configuration file FILE
14948 --header=FILE[:TEMPLATE]
14949 instantiate the configuration header FILE
14951 Configuration files:
14954 Configuration headers:
14957 Configuration commands:
14960 Report bugs to <tex-k@tug.org>."
14963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14964 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14966 luajit for TeX Live config.status 2.1.0-beta1
14967 configured by $0, generated by GNU Autoconf 2.69,
14968 with options \\"\$ac_cs_config\\"
14970 Copyright (C) 2012 Free Software Foundation, Inc.
14971 This config.status script is free software; the Free Software Foundation
14972 gives unlimited permission to copy, distribute and modify it."
14979 test -n "\$AWK" || AWK=awk
14982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14983 # The default lists apply if the user does not specify any file.
14989 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14990 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14994 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15006 # Handling of the options.
15007 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15009 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15010 $as_echo "$ac_cs_version"; exit ;;
15011 --config |
--confi |
--conf |
--con |
--co |
--c )
15012 $as_echo "$ac_cs_config"; exit ;;
15013 --debug |
--debu |
--deb |
--de |
--d |
-d )
15015 --file |
--fil |
--fi |
--f )
15018 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15019 '') as_fn_error $?
"missing file argument" ;;
15021 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15022 ac_need_defaults
=false
;;
15023 --header |
--heade |
--head |
--hea )
15026 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15028 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15029 ac_need_defaults
=false
;;
15031 # Conflict between --help and --header
15032 as_fn_error $?
"ambiguous option: \`$1'
15033 Try \`$0 --help' for more information.";;
15034 --help |
--hel |
-h )
15035 $as_echo "$ac_cs_usage"; exit ;;
15036 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15037 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15040 # This is an error.
15041 -*) as_fn_error $?
"unrecognized option: \`$1'
15042 Try \`$0 --help' for more information." ;;
15044 *) as_fn_append ac_config_targets
" $1"
15045 ac_need_defaults
=false
;;
15051 ac_configure_extra_args
=
15053 if $ac_cs_silent; then
15055 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15060 if \$ac_cs_recheck; then
15061 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15063 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15064 CONFIG_SHELL='$SHELL'
15065 export CONFIG_SHELL
15070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15074 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15075 ## Running $as_me. ##
15081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15085 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15088 # The HP-UX ksh and POSIX shell print the target directory to stdout
15089 # if CDPATH is set.
15090 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15092 sed_quote_subst='$sed_quote_subst'
15093 double_quote_subst='$double_quote_subst'
15094 delay_variable_subst='$delay_variable_subst'
15095 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15096 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15097 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15098 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15099 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15100 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15101 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15102 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15103 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15104 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15105 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15106 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15107 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15108 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15109 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15110 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15111 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15112 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15113 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15114 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15115 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15116 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15117 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15118 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15119 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15120 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15121 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15122 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15123 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15124 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15125 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15126 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15127 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15128 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15129 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15130 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15131 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15132 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15133 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15134 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15135 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15136 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15137 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15138 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15139 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15140 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15141 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15142 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15143 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15144 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15145 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15146 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15147 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15148 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15149 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15150 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15151 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15152 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15153 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15154 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"`'
15155 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15156 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15157 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15158 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15159 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15160 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15161 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15162 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15163 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15164 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15165 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15166 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15167 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15168 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15169 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15170 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15171 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15172 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15173 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15174 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15175 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15176 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15177 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15178 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15179 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15180 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15181 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15182 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15183 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15184 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15185 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15186 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15187 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15188 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15189 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15190 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15191 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15192 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15193 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15194 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15195 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15196 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15197 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15198 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15199 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15200 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15201 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15202 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15203 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15204 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15205 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15206 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15207 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15208 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15209 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15210 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15211 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15212 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15213 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15214 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15215 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15216 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15217 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15218 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15219 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15220 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15221 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15222 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15223 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15224 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15225 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15226 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15227 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15228 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15229 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15230 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15233 LTCFLAGS='$LTCFLAGS'
15234 compiler='$compiler_DEFAULT'
15236 # A function that is used when there is no print builtin or printf.
15237 func_fallback_echo ()
15239 eval 'cat <<_LTECHO_EOF
15244 # Quote evaled strings.
15261 deplibs_check_method \
15265 sharedlib_from_linklib_cmd \
15268 archiver_list_spec \
15274 lt_cv_sys_global_symbol_pipe \
15275 lt_cv_sys_global_symbol_to_cdecl \
15276 lt_cv_sys_global_symbol_to_import \
15277 lt_cv_sys_global_symbol_to_c_name_address \
15278 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15279 lt_cv_nm_interface \
15280 nm_file_list_spec \
15281 lt_cv_truncate_bin \
15282 lt_prog_compiler_no_builtin_flag \
15283 lt_prog_compiler_pic \
15284 lt_prog_compiler_wl \
15285 lt_prog_compiler_static \
15286 lt_cv_prog_compiler_c_o \
15295 export_dynamic_flag_spec \
15296 whole_archive_flag_spec \
15297 compiler_needs_object \
15299 allow_undefined_flag \
15300 no_undefined_flag \
15301 hardcode_libdir_flag_spec \
15302 hardcode_libdir_separator \
15306 variables_saved_for_relink \
15308 library_names_spec \
15310 install_override_mode \
15314 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15315 *[\\\\\\\`\\"\\\$]*)
15316 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15319 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15324 # Double-quote double-evaled strings.
15325 for var in reload_cmds \
15326 old_postinstall_cmds \
15327 old_postuninstall_cmds \
15329 extract_expsyms_cmds \
15330 old_archive_from_new_cmds \
15331 old_archive_from_expsyms_cmds \
15333 archive_expsym_cmds \
15335 module_expsym_cmds \
15336 export_symbols_cmds \
15340 postuninstall_cmds \
15342 sys_lib_search_path_spec \
15343 configure_time_dlsearch_path \
15344 configure_time_lt_sys_library_path; do
15345 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15346 *[\\\\\\\`\\"\\\$]*)
15347 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15350 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15355 ac_aux_dir='$ac_aux_dir'
15357 # See if we are running on zsh, and set the options that allow our
15358 # commands through without removal of \ escapes INIT.
15359 if test -n "\${ZSH_VERSION+set}"; then
15360 setopt NO_GLOB_SUBST
15369 kpse_dll_name='$kpse_dll_name'
15375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15377 # Handling of arguments.
15378 for ac_config_target
in $ac_config_targets
15380 case $ac_config_target in
15381 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15382 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15383 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15384 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15385 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
15386 "texluajit.pc") CONFIG_FILES
="$CONFIG_FILES texluajit.pc" ;;
15388 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15393 # If the user did not use the arguments to specify the items to instantiate,
15394 # then the envvar interface is used. Set only those that are not.
15395 # We use the long form for the default assignment because of an extremely
15396 # bizarre bug on SunOS 4.1.3.
15397 if $ac_need_defaults; then
15398 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15399 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15400 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15403 # Have a temporary directory for convenience. Make it in the build tree
15404 # simply because there is no reason against having it here, and in addition,
15405 # creating and moving files from /tmp can sometimes cause problems.
15406 # Hook for its removal unless debugging.
15407 # Note that there is a small window in which the directory will not be cleaned:
15408 # after its creation but before its name has been assigned to `$tmp'.
15412 trap 'exit_status=$?
15413 : "${ac_tmp:=$tmp}"
15414 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15416 trap 'as_fn_exit 1' 1 2 13 15
15418 # Create a (secure) tmp directory for tmp files.
15421 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15425 tmp
=.
/conf$$
-$RANDOM
15426 (umask 077 && mkdir
"$tmp")
15427 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15430 # Set up the scripts for CONFIG_FILES section.
15431 # No need to generate them if there are no CONFIG_FILES.
15432 # This happens for instance with `./config.status config.h'.
15433 if test -n "$CONFIG_FILES"; then
15436 ac_cr
=`echo X | tr X '\015'`
15437 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15438 # But we know of no other shell where ac_cr would be empty at this
15439 # point, so we can use a bashism as a fallback.
15440 if test "x$ac_cr" = x
; then
15441 eval ac_cr
=\$
\'\\r
\'
15443 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15444 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15447 ac_cs_awk_cr
=$ac_cr
15450 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15455 echo "cat >conf$$subs.awk <<_ACEOF" &&
15456 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15458 } >conf$$subs.sh ||
15459 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15460 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15462 for ac_last_try in false false false false false :; do
15463 . ./conf$$subs.sh ||
15464 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15466 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15467 if test $ac_delim_n = $ac_delim_num; then
15469 elif $ac_last_try; then
15470 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15472 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15475 rm -f conf$$subs.sh
15477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15478 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15482 s/^/S["/; s
/!.
*/"]=/
15492 s/\(.\{148\}\)..*/\1/
15494 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15499 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15506 s/\(.\{148\}\)..*/\1/
15508 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15512 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15517 ' <conf$$subs.awk | sed '
15522 ' >>$CONFIG_STATUS || ac_write_fail=1
15523 rm -f conf$$subs.awk
15524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15526 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15527 for (key in S) S_is_set[key] = 1
15533 nfields = split(line, field, "@
")
15535 len = length(field[1])
15536 for (i = 2; i < nfields; i++) {
15538 keylen = length(key)
15539 if (S_is_set[key]) {
15541 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15542 len += length(value) + length(field[++i])
15553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15554 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15555 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15558 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15559 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15562 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15563 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15564 # trailing colons and then remove the whole line if VPATH becomes empty
15565 # (actually we leave an empty line to preserve line numbers).
15566 if test "x
$srcdir" = x.; then
15567 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15586 fi # test -n "$CONFIG_FILES"
15588 # Set up the scripts for CONFIG_HEADERS section.
15589 # No need to generate them if there are no CONFIG_HEADERS.
15590 # This happens for instance with `./config.status Makefile'.
15591 if test -n "$CONFIG_HEADERS"; then
15592 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15596 # Transform confdefs.h into an awk script `defines.awk', embedded as
15597 # here-document in config.status, that substitutes the proper values into
15598 # config.h.in to produce config.h.
15600 # Create a delimiter string that does not exist in confdefs.h, to ease
15601 # handling of long lines.
15603 for ac_last_try in false false :; do
15604 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15605 if test -z "$ac_tt"; then
15607 elif $ac_last_try; then
15608 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15610 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15614 # For the awk script, D is an array of macro values keyed by name,
15615 # likewise P contains macro parameters if any. Preserve backslash
15616 # newline sequences.
15618 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15620 s/.\{148\}/&'"$ac_delim"'/g
15623 s/^[ ]*#[ ]*define[ ][ ]*/ /
15630 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15632 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15636 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15637 D["\
1"]=" \
3\\\\\\n
"\\/p
15639 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15644 s/.\{148\}/&'"$ac_delim"'/g
15649 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15652 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15654 ' <confdefs.h | sed '
15655 s/'"$ac_delim"'/"\\\
15656 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15659 for (key in D) D_is_set[key] = 1
15662 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15664 split(line, arg, " ")
15665 if (arg[1] == "#") {
15669 defundef
= substr
(arg
[1], 2)
15672 split(mac1
, mac2
, "(") #)
15674 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15675 if (D_is_set
[macro
]) {
15676 # Preserve the white space surrounding the "#".
15677 print prefix
"define", macro P
[macro
] D
[macro
]
15680 # Replace #undef with comments. This is necessary, for example,
15681 # in the case of _POSIX_SOURCE, which is predefined and required
15682 # on some systems where configure will not decide to define it.
15683 if (defundef
== "undef") {
15684 print
"/*", prefix defundef
, macro
, "*/"
15692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15693 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15694 fi # test -n "$CONFIG_HEADERS"
15697 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15702 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15704 case $ac_mode$ac_tag in
15706 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15707 :[FH
]-) ac_tag
=-:-;;
15708 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15725 -) ac_f
="$ac_tmp/stdin";;
15726 *) # Look for the file first in the build tree, then in the source tree
15727 # (if the path is not absolute). The absolute path cannot be DOS-style,
15728 # because $ac_f cannot contain `:'.
15732 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15734 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15736 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15737 as_fn_append ac_file_inputs
" '$ac_f'"
15740 # Let's still pretend it is `configure' which instantiates (i.e., don't
15741 # use $as_me), people would be surprised to read:
15742 # /* config.h. Generated by config.status. */
15743 configure_input
='Generated from '`
15744 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15746 if test x
"$ac_file" != x-
; then
15747 configure_input
="$ac_file. $configure_input"
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15749 $as_echo "$as_me: creating $ac_file" >&6;}
15751 # Neutralize special characters interpreted by sed in replacement strings.
15752 case $configure_input in #(
15753 *\
&* |
*\|
* |
*\\* )
15754 ac_sed_conf_input
=`$as_echo "$configure_input" |
15755 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15756 *) ac_sed_conf_input
=$configure_input;;
15760 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15761 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15766 ac_dir
=`$as_dirname -- "$ac_file" ||
15767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15768 X"$ac_file" : 'X\(//\)[^/]' \| \
15769 X"$ac_file" : 'X\(//\)$' \| \
15770 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15771 $as_echo X"$ac_file" |
15772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15776 /^X\(\/\/\)[^/].*/{
15789 as_dir
="$ac_dir"; as_fn_mkdir_p
15793 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15795 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15796 # A ".." for each directory in $ac_dir_suffix.
15797 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15798 case $ac_top_builddir_sub in
15799 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15800 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15803 ac_abs_top_builddir
=$ac_pwd
15804 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15805 # for backward compatibility:
15806 ac_top_builddir
=$ac_top_build_prefix
15809 .
) # We are building in place.
15811 ac_top_srcdir
=$ac_top_builddir_sub
15812 ac_abs_top_srcdir
=$ac_pwd ;;
15813 [\\/]* | ?
:[\\/]* ) # Absolute name.
15814 ac_srcdir
=$srcdir$ac_dir_suffix;
15815 ac_top_srcdir
=$srcdir
15816 ac_abs_top_srcdir
=$srcdir ;;
15817 *) # Relative name.
15818 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15819 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15820 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15822 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15832 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15833 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15835 ac_MKDIR_P
=$MKDIR_P
15837 [\\/$
]* | ?
:[\\/]* ) ;;
15838 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15843 # If the template does not know about datarootdir, expand it.
15844 # FIXME: This hack should be removed a few years after 2.60.
15845 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15856 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15857 *datarootdir
*) ac_datarootdir_seen
=yes;;
15858 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15860 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15863 ac_datarootdir_hack='
15864 s&@datadir@&$datadir&g
15865 s&@docdir@&$docdir&g
15866 s&@infodir@&$infodir&g
15867 s&@localedir@&$localedir&g
15868 s&@mandir@&$mandir&g
15869 s&\\\${datarootdir}&$datarootdir&g' ;;
15873 # Neutralize VPATH when `$srcdir' = `.'.
15874 # Shell code in configure.ac might set extrasub.
15875 # FIXME: do we really want to maintain this feature?
15876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15877 ac_sed_extra="$ac_vpsub
15880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15882 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15883 s|@configure_input@|
$ac_sed_conf_input|
;t t
15884 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15885 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15886 s
&@srcdir@
&$ac_srcdir&;t t
15887 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15888 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15889 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15890 s
&@builddir@
&$ac_builddir&;t t
15891 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15892 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15893 s
&@INSTALL@
&$ac_INSTALL&;t t
15894 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15895 $ac_datarootdir_hack
15897 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15898 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15900 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15901 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15902 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15903 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15905 which seems to be undefined. Please make sure it is defined" >&5
15906 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15907 which seems to be undefined. Please make sure it is defined" >&2;}
15909 rm -f "$ac_tmp/stdin"
15911 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15912 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15914 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15920 if test x"$ac_file" != x-; then
15922 $as_echo "/* $configure_input */" \
15923 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15924 } >"$ac_tmp/config.h" \
15925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15926 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15928 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15931 mv "$ac_tmp/config.h" "$ac_file" \
15932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15935 $as_echo "/* $configure_input */" \
15936 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15937 || as_fn_error $? "could not create -" "$LINENO" 5
15939 # Compute "$ac_file"'s index
in $config_headers.
15942 for _am_header
in $config_headers :; do
15943 case $_am_header in
15944 $_am_arg |
$_am_arg:* )
15947 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15950 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15951 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15952 X"$_am_arg" : 'X\(//\)[^/]' \| \
15953 X"$_am_arg" : 'X\(//\)$' \| \
15954 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15955 $as_echo X"$_am_arg" |
15956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15960 /^X\(\/\/\)[^/].*/{
15972 s/.*/./; q'`/stamp-h
$_am_stamp_count
15975 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15976 $as_echo "$as_me: executing $ac_file commands" >&6;}
15981 case $ac_file$ac_mode in
15982 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15983 # Older Autoconf quotes --file arguments for eval, but not when files
15984 # are listed without --file. Let's play safe and only enable the eval
15985 # if we detect the quoting.
15986 case $CONFIG_FILES in
15987 *\'*) eval set x
"$CONFIG_FILES" ;;
15988 *) set x
$CONFIG_FILES ;;
15993 # Strip MF so we end up with the name of the file.
15994 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15995 # Check whether this is an Automake generated Makefile or not.
15996 # We used to match only the files named 'Makefile.in', but
15997 # some people rename them; so instead we look at the file content.
15998 # Grep'ing the first line is not enough: some people post-process
15999 # each Makefile.in and add a new line on top of each file to say so.
16000 # Grep'ing the whole file is not good either: AIX grep has a line
16001 # limit of 2048, but all sed's we know have understand at least 4000.
16002 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16003 dirpart
=`$as_dirname -- "$mf" ||
16004 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16005 X"$mf" : 'X\(//\)[^/]' \| \
16006 X"$mf" : 'X\(//\)$' \| \
16007 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16013 /^X\(\/\/\)[^/].*/{
16029 # Extract the definition of DEPDIR, am__include, and am__quote
16030 # from the Makefile without running 'make'.
16031 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16032 test -z "$DEPDIR" && continue
16033 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16034 test -z "$am__include" && continue
16035 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16036 # Find all dependency output files, they are included files with
16037 # $(DEPDIR) in their names. We invoke sed twice because it is the
16038 # simplest approach to changing $(DEPDIR) to its actual value in the
16040 for file in `sed -n "
16041 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16042 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16043 # Make sure the directory exists.
16044 test -f "$dirpart/$file" && continue
16045 fdir
=`$as_dirname -- "$file" ||
16046 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16047 X"$file" : 'X\(//\)[^/]' \| \
16048 X"$file" : 'X\(//\)$' \| \
16049 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16050 $as_echo X"$file" |
16051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16055 /^X\(\/\/\)[^/].*/{
16068 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16069 # echo "creating $dirpart/$file"
16070 echo '# dummy' > "$dirpart/$file"
16077 # See if we are running on zsh, and set the options that allow our
16078 # commands through without removal of \ escapes.
16079 if test -n "${ZSH_VERSION+set}"; then
16080 setopt NO_GLOB_SUBST
16084 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16087 cat <<_LT_EOF >> "$cfgfile"
16089 # Generated automatically by $as_me ($PACKAGE) $VERSION
16090 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16091 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16093 # Provide generalized library-building support services.
16094 # Written by Gordon Matzigkeit, 1996
16096 # Copyright (C) 2014 Free Software Foundation, Inc.
16097 # This is free software; see the source for copying conditions. There is NO
16098 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16100 # GNU Libtool is free software; you can redistribute it and/or modify
16101 # it under the terms of the GNU General Public License as published by
16102 # the Free Software Foundation; either version 2 of of the License, or
16103 # (at your option) any later version.
16105 # As a special exception to the GNU General Public License, if you
16106 # distribute this file as part of a program or library that is built
16107 # using GNU Libtool, you may include this file under the same
16108 # distribution terms that you use for the rest of that program.
16110 # GNU Libtool is distributed in the hope that it will be useful, but
16111 # WITHOUT ANY WARRANTY; without even the implied warranty of
16112 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16113 # GNU General Public License for more details.
16115 # You should have received a copy of the GNU General Public License
16116 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16119 # The names of the tagged configurations supported by this script.
16122 # Configured defaults for sys_lib_dlsearch_path munging.
16123 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16125 # ### BEGIN LIBTOOL CONFIG
16127 # Which release of libtool.m4 was used?
16128 macro_version=$macro_version
16129 macro_revision=$macro_revision
16131 # Assembler program.
16134 # DLL creation program.
16135 DLLTOOL=$lt_DLLTOOL
16137 # Object dumper program.
16138 OBJDUMP=$lt_OBJDUMP
16140 # Whether or not to build shared libraries.
16141 build_libtool_libs=$enable_shared
16143 # Whether or not to build static libraries.
16144 build_old_libs=$enable_static
16146 # What type of objects to build.
16149 # Whether or not to optimize for fast installation.
16150 fast_install=$enable_fast_install
16152 # Shared archive member basename,for filename based shared library versioning on AIX.
16153 shared_archive_member_spec=$shared_archive_member_spec
16155 # Shell to use when invoking shell scripts.
16158 # An echo program that protects backslashes.
16161 # The PATH separator for the build system.
16162 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16165 host_alias=$host_alias
16169 # The build system.
16170 build_alias=$build_alias
16174 # A sed program that does not truncate output.
16177 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16178 Xsed="\$SED -e 1s/^X//"
16180 # A grep program that handles long lines.
16186 # A literal string matcher.
16189 # A BSD- or MS-compatible name lister.
16192 # Whether we need soft or hard links.
16195 # What is the maximum length of a command?
16196 max_cmd_len=$max_cmd_len
16198 # Object file suffix (normally "o").
16201 # Executable file suffix (normally "").
16204 # whether the shell understands "unset".
16207 # turn spaces into newlines.
16210 # turn newlines into spaces.
16213 # convert \$build file names to \$host format.
16214 to_host_file_cmd=$lt_cv_to_host_file_cmd
16216 # convert \$build files to toolchain format.
16217 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16219 # Method to check whether dependent libraries are shared objects.
16220 deplibs_check_method=$lt_deplibs_check_method
16222 # Command to use when deplibs_check_method = "file_magic".
16223 file_magic_cmd=$lt_file_magic_cmd
16225 # How to find potential files when deplibs_check_method = "file_magic".
16226 file_magic_glob=$lt_file_magic_glob
16228 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16229 want_nocaseglob=$lt_want_nocaseglob
16231 # Command to associate shared and link libraries.
16232 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16237 # Flags to create an archive.
16238 AR_FLAGS=$lt_AR_FLAGS
16240 # How to feed a file listing to the archiver.
16241 archiver_list_spec=$lt_archiver_list_spec
16243 # A symbol stripping program.
16246 # Commands used to install an old-style archive.
16248 old_postinstall_cmds=$lt_old_postinstall_cmds
16249 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16251 # Whether to use a lock for old archive extraction.
16252 lock_old_archive_extraction=$lock_old_archive_extraction
16257 # LTCC compiler flags.
16258 LTCFLAGS=$lt_CFLAGS
16260 # Take the output of nm and produce a listing of raw symbols and C names.
16261 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16263 # Transform the output of nm in a proper C declaration.
16264 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16266 # Transform the output of nm into a list of symbols to manually relocate.
16267 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16269 # Transform the output of nm in a C name address pair.
16270 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16272 # Transform the output of nm in a C name address pair when lib prefix is needed.
16273 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16275 # The name lister interface.
16276 nm_interface=$lt_lt_cv_nm_interface
16278 # Specify filename containing input files for \$NM.
16279 nm_file_list_spec=$lt_nm_file_list_spec
16281 # The root where to search for dependent libraries,and where our libraries should be installed.
16282 lt_sysroot=$lt_sysroot
16284 # Command to truncate a binary pipe.
16285 lt_truncate_bin=$lt_lt_cv_truncate_bin
16287 # The name of the directory that contains temporary libtool files.
16290 # Used to examine libraries when file_magic_cmd begins with "file".
16291 MAGIC_CMD=$MAGIC_CMD
16293 # Must we lock files when doing compilation?
16294 need_locks=$lt_need_locks
16297 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16299 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16300 DSYMUTIL=$lt_DSYMUTIL
16302 # Tool to change global to local symbols on Mac OS X.
16305 # Tool to manipulate fat objects and archives on Mac OS X.
16308 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16311 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16312 OTOOL64=$lt_OTOOL64
16314 # Old archive suffix (normally "a").
16317 # Shared library suffix (normally ".so").
16318 shrext_cmds=$lt_shrext_cmds
16320 # The commands to extract the exported symbol list from a shared archive.
16321 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16323 # Variables whose values should be saved in libtool wrapper scripts and
16324 # restored at link time.
16325 variables_saved_for_relink=$lt_variables_saved_for_relink
16327 # Do we need the "lib" prefix for modules?
16328 need_lib_prefix=$need_lib_prefix
16330 # Do we need a version for libraries?
16331 need_version=$need_version
16333 # Library versioning type.
16334 version_type=$version_type
16336 # Shared library runtime path variable.
16337 runpath_var=$runpath_var
16339 # Shared library path variable.
16340 shlibpath_var=$shlibpath_var
16342 # Is shlibpath searched before the hard-coded library search path?
16343 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16345 # Format of library name prefix.
16346 libname_spec=$lt_libname_spec
16348 # List of archive names. First name is the real one, the rest are links.
16349 # The last name is the one that the linker finds with -lNAME
16350 library_names_spec=$lt_library_names_spec
16352 # The coded name of the library, if different from the real name.
16353 soname_spec=$lt_soname_spec
16355 # Permission mode override for installation of shared libraries.
16356 install_override_mode=$lt_install_override_mode
16358 # Command to use after installation of a shared archive.
16359 postinstall_cmds=$lt_postinstall_cmds
16361 # Command to use after uninstallation of a shared archive.
16362 postuninstall_cmds=$lt_postuninstall_cmds
16364 # Commands used to finish a libtool library installation in a directory.
16365 finish_cmds=$lt_finish_cmds
16367 # As "finish_cmds", except a single script fragment to be evaled but
16369 finish_eval=$lt_finish_eval
16371 # Whether we should hardcode library paths into libraries.
16372 hardcode_into_libs=$hardcode_into_libs
16374 # Compile-time system search path for libraries.
16375 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16377 # Detected run-time system search path for libraries.
16378 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16380 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16381 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16383 # Whether dlopen is supported.
16384 dlopen_support=$enable_dlopen
16386 # Whether dlopen of programs is supported.
16387 dlopen_self=$enable_dlopen_self
16389 # Whether dlopen of statically linked programs is supported.
16390 dlopen_self_static=$enable_dlopen_self_static
16392 # Commands to strip libraries.
16393 old_striplib=$lt_old_striplib
16394 striplib=$lt_striplib
16397 # The linker used to build libraries.
16400 # How to create reloadable object files.
16401 reload_flag=$lt_reload_flag
16402 reload_cmds=$lt_reload_cmds
16404 # Commands used to build an old-style archive.
16405 old_archive_cmds=$lt_old_archive_cmds
16407 # A language specific compiler.
16410 # Is the compiler the GNU compiler?
16413 # Compiler flag to turn off builtin functions.
16414 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16416 # Additional compiler flags for building library objects.
16417 pic_flag=$lt_lt_prog_compiler_pic
16419 # How to pass a linker flag through the compiler.
16420 wl=$lt_lt_prog_compiler_wl
16422 # Compiler flag to prevent dynamic linking.
16423 link_static_flag=$lt_lt_prog_compiler_static
16425 # Does compiler simultaneously support -c and -o options?
16426 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16428 # Whether or not to add -lc for building shared libraries.
16429 build_libtool_need_lc=$archive_cmds_need_lc
16431 # Whether or not to disallow shared libs when runtime libs are static.
16432 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16434 # Compiler flag to allow reflexive dlopens.
16435 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16437 # Compiler flag to generate shared objects directly from archives.
16438 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16440 # Whether the compiler copes with passing no objects directly.
16441 compiler_needs_object=$lt_compiler_needs_object
16443 # Create an old-style archive from a shared archive.
16444 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16446 # Create a temporary old-style archive to link instead of a shared archive.
16447 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16449 # Commands used to build a shared archive.
16450 archive_cmds=$lt_archive_cmds
16451 archive_expsym_cmds=$lt_archive_expsym_cmds
16453 # Commands used to build a loadable module if different from building
16454 # a shared archive.
16455 module_cmds=$lt_module_cmds
16456 module_expsym_cmds=$lt_module_expsym_cmds
16458 # Whether we are building with GNU ld or not.
16459 with_gnu_ld=$lt_with_gnu_ld
16461 # Flag that allows shared libraries with undefined symbols to be built.
16462 allow_undefined_flag=$lt_allow_undefined_flag
16464 # Flag that enforces no undefined symbols.
16465 no_undefined_flag=$lt_no_undefined_flag
16467 # Flag to hardcode \$libdir into a binary during linking.
16468 # This must work even if \$libdir does not exist
16469 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16471 # Whether we need a single "-rpath" flag with a separated argument.
16472 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16474 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16475 # DIR into the resulting binary.
16476 hardcode_direct=$hardcode_direct
16478 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16479 # DIR into the resulting binary and the resulting library dependency is
16480 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16481 # library is relocated.
16482 hardcode_direct_absolute=$hardcode_direct_absolute
16484 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16485 # into the resulting binary.
16486 hardcode_minus_L=$hardcode_minus_L
16488 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16489 # into the resulting binary.
16490 hardcode_shlibpath_var=$hardcode_shlibpath_var
16492 # Set to "yes" if building a shared library automatically hardcodes DIR
16493 # into the library and all subsequent libraries and executables linked
16495 hardcode_automatic=$hardcode_automatic
16497 # Set to yes if linker adds runtime paths of dependent libraries
16498 # to runtime path list.
16499 inherit_rpath=$inherit_rpath
16501 # Whether libtool must link a program against all its dependency libraries.
16502 link_all_deplibs=$link_all_deplibs
16504 # Set to "yes" if exported symbols are required.
16505 always_export_symbols=$always_export_symbols
16507 # The commands to list exported symbols.
16508 export_symbols_cmds=$lt_export_symbols_cmds
16510 # Symbols that should not be listed in the preloaded symbols.
16511 exclude_expsyms=$lt_exclude_expsyms
16513 # Symbols that must always be exported.
16514 include_expsyms=$lt_include_expsyms
16516 # Commands necessary for linking programs (against libraries) with templates.
16517 prelink_cmds=$lt_prelink_cmds
16519 # Commands necessary for finishing linking programs.
16520 postlink_cmds=$lt_postlink_cmds
16522 # Specify filename containing input files.
16523 file_list_spec=$lt_file_list_spec
16525 # How to hardcode a shared library path into an executable.
16526 hardcode_action=$hardcode_action
16528 # ### END LIBTOOL CONFIG
16532 cat <<'_LT_EOF' >> "$cfgfile"
16534 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16536 # func_munge_path_list VARIABLE PATH
16537 # -----------------------------------
16538 # VARIABLE is name of variable containing _space_ separated list of
16539 # directories to be munged by the contents of PATH, which is string
16542 # string "DIR[ DIR]" will be prepended to VARIABLE
16544 # string "DIR[ DIR]" will be appended to VARIABLE
16545 # "DIRP[:DIRP]::[DIRA:]DIRA"
16546 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16547 # "DIRA[ DIRA]" will be appended to VARIABLE
16549 # VARIABLE will be replaced by "DIR[ DIR]"
16550 func_munge_path_list ()
16556 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16559 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16562 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16563 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16566 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16572 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16573 func_cc_basename ()
16575 for cc_temp in $*""; do
16577 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16578 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16583 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16587 # ### END FUNCTIONS SHARED WITH CONFIGURE
16593 cat <<\_LT_EOF
>> "$cfgfile"
16594 # AIX sometimes has problems with the GCC collect2 program. For some
16595 # reason, if we set the COLLECT_NAMES environment variable, the problems
16596 # vanish in a puff of smoke.
16597 if test set != "${COLLECT_NAMES+set}"; then
16599 export COLLECT_NAMES
16606 ltmain
=$ac_aux_dir/ltmain.sh
16609 # We use sed instead of cat because bash on DJGPP gets confused if
16610 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16611 # text mode, it properly converts lines to CR/LF. This bash problem
16612 # is reportedly fixed, but why not run on old versions too?
16613 sed '$q' "$ltmain" >> "$cfgfile" \
16614 ||
(rm -f "$cfgfile"; exit 1)
16616 mv -f "$cfgfile" "$ofile" ||
16617 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16620 ## KPSE_DLL_NAME: Specify the DLL name
16621 if test "x$kpse_dll_name" != x
; then
16622 $SED '/^soname_spec=/a\
16623 ## KPSE_DLL_NAME: Specify the DLL name\
16624 soname_spec='$kpse_dll_name'.dll\
16625 ' "$ofile" >"$cfgfile"
16626 mv "$cfgfile" "$ofile" ||
16627 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16638 ac_clean_files
=$ac_clean_files_save
16640 test $ac_write_fail = 0 ||
16641 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16643 ac_configure_args
="$ac_configure_args DASM_ARCH=$DASM_ARCH"
16644 if test "x$cross_compiling" = xyes
; then :
16645 if test "x$cache_file" != x
/dev
/null
; then :
16646 cache_file
=config.cache
16648 ac_configure_args
="$ac_configure_args --host='$kpse_build_alias' \
16649 CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \
16650 CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'"
16653 # configure is writing to config.log, and then calls config.status.
16654 # config.status does its own redirection, appending to config.log.
16655 # Unfortunately, on DOS this fails, as config.log is still kept open
16656 # by configure, so config.status won't be able to write to it; its
16657 # output is simply discarded. So we exec the FD to /dev/null,
16658 # effectively closing config.log, so it can be properly (re)opened and
16659 # appended to by config.status. When coming back to configure, we
16660 # need to make the FD available again.
16661 if test "$no_create" != yes; then
16663 ac_config_status_args
=
16664 test "$silent" = yes &&
16665 ac_config_status_args
="$ac_config_status_args --quiet"
16667 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16669 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16670 # would make configure fail if this is the last instruction.
16671 $ac_cs_success || as_fn_exit
1
16675 # CONFIG_SUBDIRS section.
16677 if test "$no_recursion" != yes; then
16679 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16680 # so they do not pile up.
16681 ac_sub_configure_args
=
16683 eval "set x $ac_configure_args"
16687 if test -n "$ac_prev"; then
16692 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16693 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16694 ac_prev
=cache_file
;;
16695 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16696 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16699 --config-cache |
-C)
16701 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16703 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16705 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16707 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16709 --disable-option-checking)
16713 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16715 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
16719 # Always prepend --prefix to ensure using the same prefix
16720 # in subdir configurations.
16721 ac_arg
="--prefix=$prefix"
16723 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16725 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
16728 if test "$silent" = yes; then
16729 ac_sub_configure_args
="--silent $ac_sub_configure_args"
16732 # Always prepend --disable-option-checking to silence warnings, since
16733 # different subdirs can have different --enable and --with options.
16734 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
16737 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
16739 # Do not complain, so a configure script can configure whichever
16740 # parts of a large source tree are present.
16741 test -d "$srcdir/$ac_dir" ||
continue
16743 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16744 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16745 $as_echo "$ac_msg" >&6
16746 as_dir
="$ac_dir"; as_fn_mkdir_p
16750 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16752 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16753 # A ".." for each directory in $ac_dir_suffix.
16754 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16755 case $ac_top_builddir_sub in
16756 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16757 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16760 ac_abs_top_builddir
=$ac_pwd
16761 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16762 # for backward compatibility:
16763 ac_top_builddir
=$ac_top_build_prefix
16766 .
) # We are building in place.
16768 ac_top_srcdir
=$ac_top_builddir_sub
16769 ac_abs_top_srcdir
=$ac_pwd ;;
16770 [\\/]* | ?
:[\\/]* ) # Absolute name.
16771 ac_srcdir
=$srcdir$ac_dir_suffix;
16772 ac_top_srcdir
=$srcdir
16773 ac_abs_top_srcdir
=$srcdir ;;
16774 *) # Relative name.
16775 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16776 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16777 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16779 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16784 # Check for guested configure; otherwise get Cygnus style configure.
16785 if test -f "$ac_srcdir/configure.gnu"; then
16786 ac_sub_configure
=$ac_srcdir/configure.gnu
16787 elif test -f "$ac_srcdir/configure"; then
16788 ac_sub_configure
=$ac_srcdir/configure
16789 elif test -f "$ac_srcdir/configure.in"; then
16790 # This should be Cygnus configure.
16791 ac_sub_configure
=$ac_aux_dir/configure
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16794 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16798 # The recursion is here.
16799 if test -n "$ac_sub_configure"; then
16800 # Make the cache file name correct relative to the subdirectory.
16801 case $cache_file in
16802 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
16803 *) # Relative name.
16804 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
16807 { $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
16808 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16809 # The eval makes quoting arguments work.
16810 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16811 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16812 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16818 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16820 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}