2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for luajit for TeX Live 2.0.3.
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
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='luajit for TeX Live'
582 PACKAGE_TARNAME
='luajit-for-tex-live'
583 PACKAGE_VERSION
='2.0.3'
584 PACKAGE_STRING
='luajit for TeX Live 2.0.3'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="LuaJIT-2.0.3/src/luajit.h"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 enable_option_checking
=no
626 ac_subst_vars
='am__EXEEXT_FALSE
647 am__fastdepCCAS_FALSE
679 MAINTAINER_MODE_FALSE
693 INSTALL_STRIP_PROGRAM
735 program_transform_name
748 enable_option_checking
750 enable_maintainer_mode
751 enable_dependency_tracking
752 enable_compiler_warnings
755 ac_precious_vars
='build_alias
766 ac_subdirs_all
='native'
768 # Initialize some variables set by options.
770 ac_init_version
=false
771 ac_unrecognized_opts
=
773 # The variables have the same names as the options, with
774 # dashes changed to underlines.
782 program_transform_name
=s
,x
,x
,
790 # Installation directory options.
791 # These are left unexpanded so users can "make install exec_prefix=/foo"
792 # and all the variables that are supposed to be based on exec_prefix
793 # by default will actually change.
794 # Use braces instead of parens because sh, perl, etc. also accept them.
795 # (The list follows the same order as the GNU Coding Standards.)
796 bindir
='${exec_prefix}/bin'
797 sbindir
='${exec_prefix}/sbin'
798 libexecdir
='${exec_prefix}/libexec'
799 datarootdir
='${prefix}/share'
800 datadir
='${datarootdir}'
801 sysconfdir
='${prefix}/etc'
802 sharedstatedir
='${prefix}/com'
803 localstatedir
='${prefix}/var'
804 includedir
='${prefix}/include'
805 oldincludedir
='/usr/include'
806 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
807 infodir
='${datarootdir}/info'
812 libdir
='${exec_prefix}/lib'
813 localedir
='${datarootdir}/locale'
814 mandir
='${datarootdir}/man'
820 # If the previous option needs an argument, assign it.
821 if test -n "$ac_prev"; then
822 eval $ac_prev=\
$ac_option
828 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
833 # Accept the important Cygnus configure options, so we can diagnose typos.
835 case $ac_dashdash$ac_option in
839 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
841 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
844 -build |
--build |
--buil |
--bui |
--bu)
845 ac_prev
=build_alias
;;
846 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
847 build_alias
=$ac_optarg ;;
849 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
850 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
851 ac_prev
=cache_file
;;
852 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
853 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
854 cache_file
=$ac_optarg ;;
857 cache_file
=config.cache
;;
859 -datadir |
--datadir |
--datadi |
--datad)
861 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
862 datadir
=$ac_optarg ;;
864 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
865 |
--dataroo |
--dataro |
--datar)
866 ac_prev
=datarootdir
;;
867 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
868 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
869 datarootdir
=$ac_optarg ;;
871 -disable-* |
--disable-*)
872 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
875 as_fn_error $?
"invalid feature name: $ac_useropt"
876 ac_useropt_orig
=$ac_useropt
877 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878 case $ac_user_opts in
882 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
883 ac_unrecognized_sep
=', ';;
885 eval enable_
$ac_useropt=no
;;
887 -docdir |
--docdir |
--docdi |
--doc |
--do)
889 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
892 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
894 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
897 -enable-* |
--enable-*)
898 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
901 as_fn_error $?
"invalid feature name: $ac_useropt"
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=\
$ac_optarg ;;
913 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
914 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
915 |
--exec |
--exe |
--ex)
916 ac_prev
=exec_prefix
;;
917 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
918 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
919 |
--exec=* |
--exe=* |
--ex=*)
920 exec_prefix
=$ac_optarg ;;
922 -gas |
--gas |
--ga |
--g)
923 # Obsolete; use --with-gas.
926 -help |
--help |
--hel |
--he |
-h)
928 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
929 ac_init_help
=recursive
;;
930 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
931 ac_init_help
=short
;;
933 -host |
--host |
--hos |
--ho)
934 ac_prev
=host_alias
;;
935 -host=* |
--host=* |
--hos=* |
--ho=*)
936 host_alias
=$ac_optarg ;;
938 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
940 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
942 htmldir
=$ac_optarg ;;
944 -includedir |
--includedir |
--includedi |
--included |
--include \
945 |
--includ |
--inclu |
--incl |
--inc)
946 ac_prev
=includedir
;;
947 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
948 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
949 includedir
=$ac_optarg ;;
951 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
953 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
954 infodir
=$ac_optarg ;;
956 -libdir |
--libdir |
--libdi |
--libd)
958 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
961 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
962 |
--libexe |
--libex |
--libe)
963 ac_prev
=libexecdir
;;
964 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
965 |
--libexe=* |
--libex=* |
--libe=*)
966 libexecdir
=$ac_optarg ;;
968 -localedir |
--localedir |
--localedi |
--localed |
--locale)
970 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
971 localedir
=$ac_optarg ;;
973 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
974 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
975 ac_prev
=localstatedir
;;
976 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
977 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
978 localstatedir
=$ac_optarg ;;
980 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
982 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
986 # Obsolete; use --without-fp.
989 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
990 |
--no-cr |
--no-c |
-n)
993 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
994 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
997 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
998 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
999 |
--oldin |
--oldi |
--old |
--ol |
--o)
1000 ac_prev
=oldincludedir
;;
1001 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1002 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1003 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1004 oldincludedir
=$ac_optarg ;;
1006 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1008 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1009 prefix
=$ac_optarg ;;
1011 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1012 |
--program-pre |
--program-pr |
--program-p)
1013 ac_prev
=program_prefix
;;
1014 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1015 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1016 program_prefix
=$ac_optarg ;;
1018 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1019 |
--program-suf |
--program-su |
--program-s)
1020 ac_prev
=program_suffix
;;
1021 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1022 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1023 program_suffix
=$ac_optarg ;;
1025 -program-transform-name |
--program-transform-name \
1026 |
--program-transform-nam |
--program-transform-na \
1027 |
--program-transform-n |
--program-transform- \
1028 |
--program-transform |
--program-transfor \
1029 |
--program-transfo |
--program-transf \
1030 |
--program-trans |
--program-tran \
1031 |
--progr-tra |
--program-tr |
--program-t)
1032 ac_prev
=program_transform_name
;;
1033 -program-transform-name=* |
--program-transform-name=* \
1034 |
--program-transform-nam=* |
--program-transform-na=* \
1035 |
--program-transform-n=* |
--program-transform-=* \
1036 |
--program-transform=* |
--program-transfor=* \
1037 |
--program-transfo=* |
--program-transf=* \
1038 |
--program-trans=* |
--program-tran=* \
1039 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1040 program_transform_name
=$ac_optarg ;;
1042 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1044 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1045 pdfdir
=$ac_optarg ;;
1047 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1049 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1053 |
-silent |
--silent |
--silen |
--sile |
--sil)
1056 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1058 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1060 sbindir
=$ac_optarg ;;
1062 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1063 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1064 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1066 ac_prev
=sharedstatedir
;;
1067 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1068 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1069 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1071 sharedstatedir
=$ac_optarg ;;
1073 -site |
--site |
--sit)
1075 -site=* |
--site=* |
--sit=*)
1078 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1080 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1081 srcdir
=$ac_optarg ;;
1083 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1084 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1085 ac_prev
=sysconfdir
;;
1086 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1087 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1088 sysconfdir
=$ac_optarg ;;
1090 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1091 ac_prev
=target_alias
;;
1092 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1093 target_alias
=$ac_optarg ;;
1095 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1098 -version |
--version |
--versio |
--versi |
--vers |
-V)
1099 ac_init_version
=: ;;
1102 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1105 as_fn_error $?
"invalid package name: $ac_useropt"
1106 ac_useropt_orig
=$ac_useropt
1107 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113 ac_unrecognized_sep
=', ';;
1115 eval with_
$ac_useropt=\
$ac_optarg ;;
1117 -without-* |
--without-*)
1118 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error $?
"invalid package name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval with_
$ac_useropt=no
;;
1134 # Obsolete; use --with-x.
1137 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1138 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1139 ac_prev
=x_includes
;;
1140 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1141 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1142 x_includes
=$ac_optarg ;;
1144 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1145 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1146 ac_prev
=x_libraries
;;
1147 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1148 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1149 x_libraries
=$ac_optarg ;;
1151 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1152 Try \`$0 --help' for more information"
1156 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 case $ac_envvar in #(
1159 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1160 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1162 eval $ac_envvar=\
$ac_optarg
1163 export $ac_envvar ;;
1166 # FIXME: should be removed in autoconf 3.0.
1167 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1169 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1176 if test -n "$ac_prev"; then
1177 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1178 as_fn_error $?
"missing argument to $ac_option"
1181 if test -n "$ac_unrecognized_opts"; then
1182 case $enable_option_checking in
1184 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1185 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189 # Check all directory arguments for consistency.
1190 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1191 datadir sysconfdir sharedstatedir localstatedir includedir \
1192 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1193 libdir localedir mandir
1195 eval ac_val
=\$
$ac_var
1196 # Remove trailing slashes.
1199 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1200 eval $ac_var=\
$ac_val;;
1202 # Be sure to have absolute directory names.
1204 [\\/$
]* | ?
:[\\/]* ) continue;;
1205 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1207 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1210 # There might be people who depend on the old broken behavior: `$host'
1211 # used to hold the argument of --host etc.
1212 # FIXME: To remove some day.
1215 target
=$target_alias
1217 # FIXME: To remove some day.
1218 if test "x$host_alias" != x
; then
1219 if test "x$build_alias" = x
; then
1220 cross_compiling
=maybe
1221 elif test "x$build_alias" != "x$host_alias"; then
1227 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1229 test "$silent" = yes && exec 6>/dev
/null
1232 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di
=`ls -di .` &&
1234 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1235 as_fn_error $?
"working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 as_fn_error $?
"pwd does not report name of working directory"
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242 ac_srcdir_defaulted
=yes
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir
=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246 X"$as_myself" : 'X\(//\)[^/]' \| \
1247 X"$as_myself" : 'X\(//\)$' \| \
1248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1272 ac_srcdir_defaulted
=no
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1276 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1278 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1290 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 for ac_var
in $ac_precious_vars; do
1293 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1295 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1300 # Report the --help message.
1302 if test "$ac_init_help" = "long"; then
1303 # Omit some internal or obsolete options to make the list less imposing.
1304 # This message is too long to be a string in the A/UX 3.1 sh.
1306 \`configure' configures luajit for TeX Live 2.0.3 to adapt to many kinds of systems.
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE. See below for descriptions of some of the useful variables.
1313 Defaults for the options are specified in brackets.
1316 -h, --help display this help and exit
1317 --help=short display options specific to this package
1318 --help=recursive display the short help of all the included packages
1319 -V, --version display version information and exit
1320 -q, --quiet, --silent do not print \`checking ...' messages
1321 --cache-file=FILE cache test results in FILE [disabled]
1322 -C, --config-cache alias for \`--cache-file=config.cache'
1323 -n, --no-create do not create output files
1324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1326 Installation directories:
1327 --prefix=PREFIX install architecture-independent files in PREFIX
1328 [$ac_default_prefix]
1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1337 For better control, use the options below.
1339 Fine tuning of the installation directories:
1340 --bindir=DIR user executables [EPREFIX/bin]
1341 --sbindir=DIR system admin executables [EPREFIX/sbin]
1342 --libexecdir=DIR program executables [EPREFIX/libexec]
1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346 --libdir=DIR object code libraries [EPREFIX/lib]
1347 --includedir=DIR C header files [PREFIX/include]
1348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351 --infodir=DIR info documentation [DATAROOTDIR/info]
1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353 --mandir=DIR man documentation [DATAROOTDIR/man]
1354 --docdir=DIR documentation root
1355 [DATAROOTDIR/doc/luajit-for-tex-live]
1356 --htmldir=DIR html documentation [DOCDIR]
1357 --dvidir=DIR dvi documentation [DOCDIR]
1358 --pdfdir=DIR pdf documentation [DOCDIR]
1359 --psdir=DIR ps documentation [DOCDIR]
1365 --program-prefix=PREFIX prepend PREFIX to installed program names
1366 --program-suffix=SUFFIX append SUFFIX to installed program names
1367 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1370 --build=BUILD configure
for building on BUILD
[guessed
]
1371 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of luajit for TeX Live 2.0.3:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1386 --disable-silent-rules verbose build output
(undo
: "make V=0")
1387 --enable-maintainer-mode
1388 enable make rules and dependencies not useful
(and
1389 sometimes confusing
) to the casual installer
1390 --enable-dependency-tracking
1391 do not reject slow dependency extractors
1392 --disable-dependency-tracking
1393 speeds up one-time build
1394 --enable-compiler-warnings=[no|min|
yes|max|all
]
1395 Turn on compiler warnings
[default
: yes if
1396 maintainer-mode
, min otherwise
]
1397 --disable-largefile omit support
for large files
1399 Some influential environment variables
:
1400 CC C compiler
command
1401 CFLAGS C compiler flags
1402 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1403 nonstandard directory
<lib dir
>
1404 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1405 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1406 you have headers
in a nonstandard directory
<include dir
>
1407 CCAS assembler compiler
command (defaults to CC
)
1408 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1411 Use these variables to override the choices made by
`configure' or to help
1412 it to find libraries and programs with nonstandard names/locations.
1414 Report bugs to <tex-k@tug.org>.
1419 if test "$ac_init_help" = "recursive"; then
1420 # If there are subdirs, report their specific --help.
1421 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422 test -d "$ac_dir" ||
1423 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1431 # A ".." for each directory in $ac_dir_suffix.
1432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1433 case $ac_top_builddir_sub in
1434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1444 .) # We are building in place.
1446 ac_top_srcdir=$ac_top_builddir_sub
1447 ac_abs_top_srcdir=$ac_pwd ;;
1448 [\\/]* | ?:[\\/]* ) # Absolute name.
1449 ac_srcdir=$srcdir$ac_dir_suffix;
1450 ac_top_srcdir=$srcdir
1451 ac_abs_top_srcdir=$srcdir ;;
1453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454 ac_top_srcdir=$ac_top_build_prefix$srcdir
1455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1459 cd "$ac_dir" || { ac_status=$?; continue; }
1460 # Check for guested configure.
1461 if test -f "$ac_srcdir/configure.gnu"; then
1463 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464 elif test -f "$ac_srcdir/configure"; then
1466 $SHELL "$ac_srcdir/configure" --help=recursive
1468 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1470 cd "$ac_pwd" || { ac_status=$?; break; }
1474 test -n "$ac_init_help" && exit $ac_status
1475 if $ac_init_version; then
1477 luajit for TeX Live configure 2.0.3
1478 generated by GNU Autoconf 2.69
1480 Copyright (C) 2012 Free Software Foundation, Inc.
1481 This configure script is free software; the Free Software Foundation
1482 gives unlimited permission to copy, distribute and modify it.
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1491 # ac_fn_c_try_compile LINENO
1492 # --------------------------
1493 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1494 ac_fn_c_try_compile ()
1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 rm -f conftest.$ac_objext
1498 if { { ac_try="$ac_compile"
1500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1501 *) ac_try_echo
=$ac_try;;
1503 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_compile") 2>conftest.err
1507 if test -s conftest.err
; then
1508 grep -v '^ *+' conftest.err
>conftest.er1
1509 cat conftest.er1
>&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } && {
1514 test -z "$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1516 } && test -s conftest.
$ac_objext; then :
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.
$ac_ext >&5
1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525 as_fn_set_status
$ac_retval
1527 } # ac_fn_c_try_compile
1529 # ac_fn_c_try_link LINENO
1530 # -----------------------
1531 # Try to link conftest.$ac_ext, and return whether this succeeded.
1534 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1535 rm -f conftest.
$ac_objext conftest
$ac_exeext
1536 if { { ac_try
="$ac_link"
1538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_link") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest$ac_exeext && {
1555 test "$cross_compiling" = yes ||
1556 test -x conftest$ac_exeext
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.$ac_ext >&5
1565 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1566 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1567 # interfere with the next link command; also delete a directory that is
1568 # left behind by Apple's compiler. We do this before executing the actions.
1569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 as_fn_set_status $ac_retval
1573 } # ac_fn_c_try_link
1575 # ac_fn_c_try_run LINENO
1576 # ----------------------
1577 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1578 # that executables *can* be run.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 if { { ac_try="$ac_link"
1584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1585 *) ac_try_echo
=$ac_try;;
1587 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_link") 2>&5
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1593 { { case "(($ac_try" in
1594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_try") 2>&5
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; }; }; then :
1605 $as_echo "$as_me: program exited with status $ac_status" >&5
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1609 ac_retval=$ac_status
1611 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613 as_fn_set_status $ac_retval
1617 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1618 # --------------------------------------------
1619 # Tries to find the compile-time value of EXPR in a program that includes
1620 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1622 ac_fn_c_compute_int ()
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 if test "$cross_compiling" = yes; then
1626 # Depending upon the size, compute the lo and hi bounds.
1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h. */
1633 static int test_array [1 - 2 * !(($2) >= 0)];
1635 return test_array [0];
1641 if ac_fn_c_try_compile "$LINENO"; then :
1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h. */
1650 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1652 return test_array [0];
1658 if ac_fn_c_try_compile "$LINENO"; then :
1659 ac_hi=$ac_mid; break
1661 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1662 if test $ac_lo -le $ac_mid; then
1666 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1677 static int test_array [1 - 2 * !(($2) < 0)];
1679 return test_array [0];
1685 if ac_fn_c_try_compile "$LINENO"; then :
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1694 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1696 return test_array [0];
1702 if ac_fn_c_try_compile "$LINENO"; then :
1703 ac_lo=$ac_mid; break
1705 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1706 if test $ac_mid -le $ac_hi; then
1710 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720 # Binary search between lo and hi bounds.
1721 while test "x$ac_lo" != "x$ac_hi"; do
1722 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724 /* end confdefs.h. */
1729 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1731 return test_array [0];
1737 if ac_fn_c_try_compile "$LINENO"; then :
1740 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1745 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1752 static long int longval () { return $2; }
1753 static unsigned long int ulongval () { return $2; }
1760 FILE *f = fopen ("conftest.val", "w");
1765 long int i = longval ();
1768 fprintf (f, "%ld", i);
1772 unsigned long int i = ulongval ();
1775 fprintf (f, "%lu", i);
1777 /* Do not output a trailing newline, as this causes \r\n confusion
1778 on some platforms. */
1779 return ferror (f) || fclose (f) != 0;
1785 if ac_fn_c_try_run "$LINENO"; then :
1786 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1791 conftest.$ac_objext conftest.beam conftest.$ac_ext
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status $ac_retval
1798 } # ac_fn_c_compute_int
1800 # ac_fn_c_try_cpp LINENO
1801 # ----------------------
1802 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1809 *) ac_try_echo
=$ac_try;;
1811 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 if test -s conftest.err
; then
1816 grep -v '^ *+' conftest.err
>conftest.er1
1817 cat conftest.er1
>&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } > conftest.i
&& {
1822 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1823 test ! -s conftest.err
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.
$ac_ext >&5
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 as_fn_set_status
$ac_retval
1837 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1838 # -------------------------------------------------------
1839 # Tests whether HEADER exists and can be compiled using the include files in
1840 # INCLUDES, setting the cache variable VAR accordingly.
1841 ac_fn_c_check_header_compile
()
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \
${$3+:} false
; then :
1847 $as_echo_n "(cached) " >&6
1849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1854 if ac_fn_c_try_compile
"$LINENO"; then :
1859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; }
1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 } # ac_fn_c_check_header_compile
1867 cat >config.log
<<_ACEOF
1868 This file contains any messages produced by compilers while
1869 running configure, to aid debugging if configure makes a mistake.
1871 It was created by luajit for TeX Live $as_me 2.0.3, which was
1872 generated by GNU Autoconf 2.69. Invocation command line was
1884 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1885 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1886 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1887 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1888 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1890 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1891 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1893 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1894 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1895 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1896 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1897 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1898 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1899 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir
=.
1908 $as_echo "PATH: $as_dir"
1924 # Keep a trace of the command line.
1925 # Strip out --no-create and --no-recursion so they do not pile up.
1926 # Strip out --silent because we don't want to record it for future runs.
1927 # Also quote any args containing shell meta-characters.
1928 # Make two passes to allow for proper duplicate-argument suppression.
1932 ac_must_keep_next
=false
1938 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1939 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1940 |
-silent |
--silent |
--silen |
--sile |
--sil)
1943 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1946 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1948 as_fn_append ac_configure_args1
" '$ac_arg'"
1949 if test $ac_must_keep_next = true
; then
1950 ac_must_keep_next
=false
# Got value, back to normal.
1953 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1954 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1955 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1956 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1957 case "$ac_configure_args0 " in
1958 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1961 -* ) ac_must_keep_next
=true
;;
1964 as_fn_append ac_configure_args
" '$ac_arg'"
1969 { ac_configure_args0
=; unset ac_configure_args0
;}
1970 { ac_configure_args1
=; unset ac_configure_args1
;}
1972 # When interrupted or exit'd, cleanup temporary files, and complete
1973 # config.log. We remove comments because anyway the quotes in there
1974 # would cause problems or look ugly.
1975 # WARNING: Use '\'' to represent an apostrophe within the trap.
1976 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1977 trap 'exit_status=$?
1978 # Save into config.log some information that might help in debugging.
1982 $as_echo "## ---------------- ##
1983 ## Cache variables. ##
1984 ## ---------------- ##"
1986 # The following way of writing the cache mishandles newlines in values,
1988 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1989 eval ac_val=\$$ac_var
1993 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1994 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1997 _ | IFS | as_nl) ;; #(
1998 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1999 *) { eval $ac_var=; unset $ac_var;} ;;
2004 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2005 *${as_nl}ac_space=\ *)
2007 "s/'\''/'\''\\\\'\'''\''/g;
2008 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2011 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2018 $as_echo "## ----------------- ##
2019 ## Output variables. ##
2020 ## ----------------- ##"
2022 for ac_var in $ac_subst_vars
2024 eval ac_val=\$$ac_var
2026 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2028 $as_echo "$ac_var='\''$ac_val'\''"
2032 if test -n "$ac_subst_files"; then
2033 $as_echo "## ------------------- ##
2034 ## File substitutions. ##
2035 ## ------------------- ##"
2037 for ac_var
in $ac_subst_files
2039 eval ac_val
=\$
$ac_var
2041 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2043 $as_echo "$ac_var='\''$ac_val'\''"
2048 if test -s confdefs.h; then
2049 $as_echo "## ----------- ##
2056 test "$ac_signal" != 0 &&
2057 $as_echo "$as_me: caught signal $ac_signal"
2058 $as_echo "$as_me: exit $exit_status"
2060 rm -f core *.core core.conftest.* &&
2061 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2064 for ac_signal
in 1 2 13 15; do
2065 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2069 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2070 rm -f -r conftest
* confdefs.h
2072 $as_echo "/* confdefs.h */" > confdefs.h
2074 # Predefined preprocessor variables.
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_NAME "$PACKAGE_NAME"
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2088 cat >>confdefs.h
<<_ACEOF
2089 #define PACKAGE_STRING "$PACKAGE_STRING"
2092 cat >>confdefs.h
<<_ACEOF
2093 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_URL "$PACKAGE_URL"
2101 # Let the site file select an alternate cache file if it wants to.
2102 # Prefer an explicitly selected file to automatically selected ones.
2105 if test -n "$CONFIG_SITE"; then
2106 # We do not want a PATH search for config.site.
2107 case $CONFIG_SITE in #((
2108 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2109 */*) ac_site_file1
=$CONFIG_SITE;;
2110 *) ac_site_file1
=.
/$CONFIG_SITE;;
2112 elif test "x$prefix" != xNONE
; then
2113 ac_site_file1
=$prefix/share
/config.site
2114 ac_site_file2
=$prefix/etc
/config.site
2116 ac_site_file1
=$ac_default_prefix/share
/config.site
2117 ac_site_file2
=$ac_default_prefix/etc
/config.site
2119 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2121 test "x$ac_site_file" = xNONE
&& continue
2122 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2124 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2125 sed 's/^/| /' "$ac_site_file" >&5
2127 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2129 as_fn_error $?
"failed to load site script $ac_site_file
2130 See \`config.log' for more details" "$LINENO" 5; }
2134 if test -r "$cache_file"; then
2135 # Some versions of bash will fail to source /dev/null (special files
2136 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2137 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2139 $as_echo "$as_me: loading cache $cache_file" >&6;}
2141 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2142 *) .
"./$cache_file";;
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2147 $as_echo "$as_me: creating cache $cache_file" >&6;}
2151 # Check that the precious variables saved in the cache have kept the same
2153 ac_cache_corrupted
=false
2154 for ac_var
in $ac_precious_vars; do
2155 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2156 eval ac_new_set
=\
$ac_env_${ac_var}_set
2157 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2158 eval ac_new_val
=\
$ac_env_${ac_var}_value
2159 case $ac_old_set,$ac_new_set in
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2162 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2163 ac_cache_corrupted
=: ;;
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2166 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2167 ac_cache_corrupted
=: ;;
2170 if test "x$ac_old_val" != "x$ac_new_val"; then
2171 # differences in whitespace do not lead to failure.
2172 ac_old_val_w
=`echo x $ac_old_val`
2173 ac_new_val_w
=`echo x $ac_new_val`
2174 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2176 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2177 ac_cache_corrupted
=:
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2180 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2181 eval $ac_var=\
$ac_old_val
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2184 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2186 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2189 # Pass precious variables to config.status.
2190 if test "$ac_new_set" = set; then
2192 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2193 *) ac_arg
=$ac_var=$ac_new_val ;;
2195 case " $ac_configure_args " in
2196 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2197 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2201 if $ac_cache_corrupted; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2205 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2206 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2208 ## -------------------- ##
2209 ## Main body of script. ##
2210 ## -------------------- ##
2213 ac_cpp
='$CPP $CPPFLAGS'
2214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2222 for ac_dir
in ..
/..
/build-aux
"$srcdir"/..
/..
/build-aux
; do
2223 if test -f "$ac_dir/install-sh"; then
2225 ac_install_sh
="$ac_aux_dir/install-sh -c"
2227 elif test -f "$ac_dir/install.sh"; then
2229 ac_install_sh
="$ac_aux_dir/install.sh -c"
2231 elif test -f "$ac_dir/shtool"; then
2233 ac_install_sh
="$ac_aux_dir/shtool install -c"
2237 if test -z "$ac_aux_dir"; then
2238 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2241 # These three variables are undocumented and unsupported,
2242 # and are intended to be withdrawn in a future Autoconf release.
2243 # They can cause serious problems if a builder's source tree is in a directory
2244 # whose full name contains unusual characters.
2245 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2246 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2247 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2252 am__api_version
='1.14'
2254 # Find a good install program. We prefer a C program (faster),
2255 # so one script is as good as another. But avoid the broken or
2256 # incompatible versions:
2257 # SysV /etc/install, /usr/sbin/install
2258 # SunOS /usr/etc/install
2259 # IRIX /sbin/install
2261 # AmigaOS /C/install, which installs bootblocks on floppy discs
2262 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2263 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2264 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2265 # OS/2's system install, which has a completely different semantic
2266 # ./install, which can be erroneously created by make from ./install.sh.
2267 # Reject install programs that cannot install multiple files.
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2269 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2270 if test -z "$INSTALL"; then
2271 if ${ac_cv_path_install+:} false
; then :
2272 $as_echo_n "(cached) " >&6
2274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir
=.
2279 # Account for people who put trailing slashes in PATH elements.
2280 case $as_dir/ in #((
2281 .
/ | .
// |
/[cC
]/* | \
2282 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2283 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2286 # OSF1 and SCO ODT 3.0 have their own names for install.
2287 # Don't use installbsd from OSF since it installs stuff as root
2289 for ac_prog
in ginstall scoinst
install; do
2290 for ac_exec_ext
in '' $ac_executable_extensions; do
2291 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2292 if test $ac_prog = install &&
2293 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2294 # AIX install. It has an incompatible calling convention.
2296 elif test $ac_prog = install &&
2297 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2298 # program-specific install script used by HP pwplus--don't use.
2301 rm -rf conftest.one conftest.two conftest.dir
2302 echo one
> conftest.one
2303 echo two
> conftest.two
2305 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2306 test -s conftest.one
&& test -s conftest.two
&&
2307 test -s conftest.dir
/conftest.one
&&
2308 test -s conftest.dir
/conftest.two
2310 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2323 rm -rf conftest.one conftest.two conftest.dir
2326 if test "${ac_cv_path_install+set}" = set; then
2327 INSTALL
=$ac_cv_path_install
2329 # As a last resort, use the slow shell script. Don't cache a
2330 # value for INSTALL within a source directory, because that will
2331 # break other packages using the cache if that directory is
2332 # removed, or if the value is a relative name.
2333 INSTALL
=$ac_install_sh
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2337 $as_echo "$INSTALL" >&6; }
2339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2340 # It thinks the first close brace ends the variable substitution.
2341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2343 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2345 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2348 $as_echo_n "checking whether build environment is sane... " >&6; }
2349 # Reject unsafe characters in $srcdir or the absolute working directory
2350 # name. Accept space and tab only in the latter.
2354 *[\\\"\
#\$\&\'\`$am_lf]*)
2355 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2358 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2359 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2362 # Do 'set' in a subshell so we don't clobber the current shell's
2363 # arguments. Must try -L first in case configure is actually a
2364 # symlink; some systems play weird games with the mod time of symlinks
2365 # (eg FreeBSD returns the mod time of the symlink's containing
2369 for am_try
in 1 2; do
2370 echo "timestamp, slept: $am_has_slept" > conftest.
file
2371 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2372 if test "$*" = "X"; then
2374 set X
`ls -t "$srcdir/configure" conftest.file`
2376 if test "$*" != "X $srcdir/configure conftest.file" \
2377 && test "$*" != "X conftest.file $srcdir/configure"; then
2379 # If neither matched, then we have a broken ls. This can happen
2380 # if, for instance, CONFIG_SHELL is bash and it inherits a
2381 # broken ls alias from the environment. This has actually
2382 # happened. Such a system could not be considered "sane".
2383 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2384 alias in your environment" "$LINENO" 5
2386 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2393 test "$2" = conftest.
file
2399 as_fn_error $?
"newly created file is older than distributed files!
2400 Check your system clock" "$LINENO" 5
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2403 $as_echo "yes" >&6; }
2404 # If we didn't sleep, we still need to ensure time stamps of config.status and
2405 # generated files are strictly newer.
2407 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2414 test "$program_prefix" != NONE
&&
2415 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2416 # Use a double $ so make ignores it.
2417 test "$program_suffix" != NONE
&&
2418 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2419 # Double any \ or $.
2420 # By default was `s,x,x', remove it if useless.
2421 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2422 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2424 # expand $ac_aux_dir to an absolute path
2425 am_aux_dir
=`cd $ac_aux_dir && pwd`
2427 if test x
"${MISSING+set}" != xset
; then
2430 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2432 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2435 # Use eval to expand $SHELL
2436 if eval "$MISSING --is-lightweight"; then
2437 am_missing_run
="$MISSING "
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2441 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2444 if test x
"${install_sh}" != xset
; then
2447 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2449 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2453 # Installed binaries are usually stripped using 'strip' when the user
2454 # run "make install-strip". However 'strip' might not be the right
2455 # tool to use in cross-compilation environments, therefore Automake
2456 # will honor the 'STRIP' environment variable to overrule this program.
2457 if test "$cross_compiling" != no
; then
2458 if test -n "$ac_tool_prefix"; then
2459 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2460 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; }
2463 if ${ac_cv_prog_STRIP+:} false
; then :
2464 $as_echo_n "(cached) " >&6
2466 if test -n "$STRIP"; then
2467 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir
=.
2474 for ac_exec_ext
in '' $ac_executable_extensions; do
2475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2476 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 STRIP
=$ac_cv_prog_STRIP
2487 if test -n "$STRIP"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2489 $as_echo "$STRIP" >&6; }
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492 $as_echo "no" >&6; }
2497 if test -z "$ac_cv_prog_STRIP"; then
2499 # Extract the first word of "strip", so it can be a program name with args.
2500 set dummy strip
; ac_word
=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; }
2503 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2504 $as_echo_n "(cached) " >&6
2506 if test -n "$ac_ct_STRIP"; then
2507 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir
=.
2514 for ac_exec_ext
in '' $ac_executable_extensions; do
2515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2516 ac_cv_prog_ac_ct_STRIP
="strip"
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2527 if test -n "$ac_ct_STRIP"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2529 $as_echo "$ac_ct_STRIP" >&6; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2535 if test "x$ac_ct_STRIP" = x
; then
2538 case $cross_compiling:$ac_tool_warned in
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2542 ac_tool_warned
=yes ;;
2547 STRIP
="$ac_cv_prog_STRIP"
2551 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2554 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2555 if test -z "$MKDIR_P"; then
2556 if ${ac_cv_path_mkdir+:} false
; then :
2557 $as_echo_n "(cached) " >&6
2559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2560 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2563 test -z "$as_dir" && as_dir
=.
2564 for ac_prog
in mkdir gmkdir
; do
2565 for ac_exec_ext
in '' $ac_executable_extensions; do
2566 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2567 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2568 'mkdir (GNU coreutils) '* | \
2569 'mkdir (coreutils) '* | \
2570 'mkdir (fileutils) '4.1*)
2571 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2581 test -d .
/--version && rmdir .
/--version
2582 if test "${ac_cv_path_mkdir+set}" = set; then
2583 MKDIR_P
="$ac_cv_path_mkdir -p"
2585 # As a last resort, use the slow shell script. Don't cache a
2586 # value for MKDIR_P within a source directory, because that will
2587 # break other packages using the cache if that directory is
2588 # removed, or if the value is a relative name.
2589 MKDIR_P
="$ac_install_sh -d"
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2593 $as_echo "$MKDIR_P" >&6; }
2595 for ac_prog
in gawk mawk nawk
awk
2597 # Extract the first word of "$ac_prog", so it can be a program name with args.
2598 set dummy
$ac_prog; ac_word
=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if ${ac_cv_prog_AWK+:} false
; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$AWK"; then
2605 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir
=.
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2614 ac_cv_prog_AWK
="$ac_prog"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 if test -n "$AWK"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2627 $as_echo "$AWK" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2634 test -n "$AWK" && break
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2638 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2640 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2641 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2642 $as_echo_n "(cached) " >&6
2644 cat >conftest.
make <<\_ACEOF
2647 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2649 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2650 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2652 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2654 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2658 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660 $as_echo "yes" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2665 SET_MAKE
="MAKE=${MAKE-make}"
2668 rm -rf .tst
2>/dev
/null
2669 mkdir .tst
2>/dev
/null
2670 if test -d .tst
; then
2675 rmdir .tst
2>/dev
/null
2677 # Check whether --enable-silent-rules was given.
2678 if test "${enable_silent_rules+set}" = set; then :
2679 enableval
=$enable_silent_rules;
2682 case $enable_silent_rules in # (((
2683 yes) AM_DEFAULT_VERBOSITY
=0;;
2684 no
) AM_DEFAULT_VERBOSITY
=1;;
2685 *) AM_DEFAULT_VERBOSITY
=1;;
2687 am_make
=${MAKE-make}
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2689 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2690 if ${am_cv_make_support_nested_variables+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 if $as_echo 'TRUE=$(BAR$(V))
2699 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2700 am_cv_make_support_nested_variables
=yes
2702 am_cv_make_support_nested_variables
=no
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2706 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2707 if test $am_cv_make_support_nested_variables = yes; then
2709 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2711 AM_V
=$AM_DEFAULT_VERBOSITY
2712 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2716 DEPDIR="${am__leading_dot}deps"
2718 ac_config_commands="$ac_config_commands depfiles"
2721 am_make=${MAKE-make}
2722 cat > confinc << 'END
'
2724 @echo this is the am__doit target
2727 # If we don't
find an include directive
, just comment out the code.
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2729 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2733 # First try GNU make style include.
2734 echo "include confinc" > confmf
2735 # Ignore all kinds of additional output from 'make'.
2736 case `$am_make -s -f confmf 2> /dev/null` in #(
2737 *the\ am__doit\ target
*)
2743 # Now try BSD make style include.
2744 if test "$am__include" = "#"; then
2745 echo '.include "confinc"' > confmf
2746 case `$am_make -s -f confmf 2> /dev/null` in #(
2747 *the\ am__doit\ target
*)
2748 am__include
=.include
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2757 $as_echo "$_am_result" >&6; }
2758 rm -f confinc confmf
2760 # Check whether --enable-dependency-tracking was given.
2761 if test "${enable_dependency_tracking+set}" = set; then :
2762 enableval
=$enable_dependency_tracking;
2765 if test "x$enable_dependency_tracking" != xno
; then
2766 am_depcomp
="$ac_aux_dir/depcomp"
2770 if test "x$enable_dependency_tracking" != xno; then
2780 ac_cpp
='$CPP $CPPFLAGS'
2781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2784 if test -n "$ac_tool_prefix"; then
2785 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2786 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if ${ac_cv_prog_CC+:} false
; then :
2790 $as_echo_n "(cached) " >&6
2792 if test -n "$CC"; then
2793 ac_cv_prog_CC
="$CC" # Let the user override the test.
2795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir
=.
2800 for ac_exec_ext
in '' $ac_executable_extensions; do
2801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2802 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 if test -n "$CC"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2815 $as_echo "$CC" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2823 if test -z "$ac_cv_prog_CC"; then
2825 # Extract the first word of "gcc", so it can be a program name with args.
2826 set dummy gcc
; ac_word
=$2
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2828 $as_echo_n "checking for $ac_word... " >&6; }
2829 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2830 $as_echo_n "(cached) " >&6
2832 if test -n "$ac_ct_CC"; then
2833 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir
=.
2840 for ac_exec_ext
in '' $ac_executable_extensions; do
2841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2842 ac_cv_prog_ac_ct_CC
="gcc"
2843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2853 if test -n "$ac_ct_CC"; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2855 $as_echo "$ac_ct_CC" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2861 if test "x$ac_ct_CC" = x
; then
2864 case $cross_compiling:$ac_tool_warned in
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2868 ac_tool_warned
=yes ;;
2876 if test -z "$CC"; then
2877 if test -n "$ac_tool_prefix"; then
2878 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2879 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if ${ac_cv_prog_CC+:} false
; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$CC"; then
2886 ac_cv_prog_CC
="$CC" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2895 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2917 if test -z "$CC"; then
2918 # Extract the first word of "cc", so it can be a program name with args.
2919 set dummy cc
; ac_word
=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if ${ac_cv_prog_CC+:} false
; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$CC"; then
2926 ac_cv_prog_CC
="$CC" # Let the user override the test.
2929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir
=.
2934 for ac_exec_ext
in '' $ac_executable_extensions; do
2935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2936 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2937 ac_prog_rejected
=yes
2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test $ac_prog_rejected = yes; then
2949 # We found a bogon in the path, so make sure we never use it.
2950 set dummy
$ac_cv_prog_CC
2952 if test $# != 0; then
2953 # We chose a different compiler from the bogus one.
2954 # However, it has the same basename, so the bogon will be chosen
2955 # first if we set CC to just the basename; use the full file name.
2957 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2963 if test -n "$CC"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2965 $as_echo "$CC" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2973 if test -z "$CC"; then
2974 if test -n "$ac_tool_prefix"; then
2975 for ac_prog
in cl.exe
2977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2978 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_CC+:} false
; then :
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$CC"; then
2985 ac_cv_prog_CC
="$CC" # Let the user override the test.
2987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir
=.
2992 for ac_exec_ext
in '' $ac_executable_extensions; do
2993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2994 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$CC"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3007 $as_echo "$CC" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3014 test -n "$CC" && break
3017 if test -z "$CC"; then
3019 for ac_prog
in cl.exe
3021 # Extract the first word of "$ac_prog", so it can be a program name with args.
3022 set dummy
$ac_prog; ac_word
=$2
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3024 $as_echo_n "checking for $ac_word... " >&6; }
3025 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3026 $as_echo_n "(cached) " >&6
3028 if test -n "$ac_ct_CC"; then
3029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir
=.
3036 for ac_exec_ext
in '' $ac_executable_extensions; do
3037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3038 ac_cv_prog_ac_ct_CC
="$ac_prog"
3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3049 if test -n "$ac_ct_CC"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3051 $as_echo "$ac_ct_CC" >&6; }
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3058 test -n "$ac_ct_CC" && break
3061 if test "x$ac_ct_CC" = x
; then
3064 case $cross_compiling:$ac_tool_warned in
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3068 ac_tool_warned
=yes ;;
3077 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079 as_fn_error $?
"no acceptable C compiler found in \$PATH
3080 See \`config.log' for more details" "$LINENO" 5; }
3082 # Provide some information about the compiler.
3083 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3086 for ac_option
in --version -v -V -qversion; do
3087 { { ac_try
="$ac_compiler $ac_option >&5"
3089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3096 if test -s conftest.err; then
3098 ... rest of stderr output deleted ...
3099 10q' conftest.err >conftest.er1
3100 cat conftest.er1 >&5
3102 rm -f conftest.er1 conftest.err
3103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3104 test $ac_status = 0; }
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3118 ac_clean_files_save=$ac_clean_files
3119 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3120 # Try to create an executable without -o first, disregard a.out.
3121 # It will help us diagnose broken compilers, and finding out an intuition
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3124 $as_echo_n "checking whether the C compiler works... " >&6; }
3125 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3127 # The possible output files:
3128 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3131 for ac_file in $ac_files
3134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3140 if { { ac_try="$ac_link_default"
3142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3143 *) ac_try_echo
=$ac_try;;
3145 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3146 $as_echo "$ac_try_echo"; } >&5
3147 (eval "$ac_link_default") 2>&5
3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3150 test $ac_status = 0; }; then :
3151 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3152 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3153 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3154 # so that the user can short-circuit this test for compilers unknown to
3156 for ac_file
in $ac_files ''
3158 test -f "$ac_file" ||
continue
3160 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3163 # We found the default executable, but exeext='' is most
3167 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3169 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3171 # We set ac_cv_exeext here because the later test for it is not
3172 # safe: cross compilers may not add the suffix if given an `-o'
3173 # argument, so we may need to know it at that point already.
3174 # Even if this section looks crufty: it has the advantage of
3181 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3186 if test -z "$ac_file"; then :
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3189 $as_echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.
$ac_ext >&5
3192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 as_fn_error
77 "C compiler cannot create executables
3195 See \`config.log' for more details" "$LINENO" 5; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3198 $as_echo "yes" >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3201 $as_echo_n "checking for C compiler default output file name... " >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3203 $as_echo "$ac_file" >&6; }
3204 ac_exeext
=$ac_cv_exeext
3206 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3207 ac_clean_files
=$ac_clean_files_save
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3209 $as_echo_n "checking for suffix of executables... " >&6; }
3210 if { { ac_try
="$ac_link"
3212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_link") 2>&5
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }; then :
3221 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3222 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3223 # work properly (i.e., refer to `conftest.exe'), while it won't with
3225 for ac_file
in conftest.exe conftest conftest.
*; do
3226 test -f "$ac_file" ||
continue
3228 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3229 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3237 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3238 See \`config.log' for more details" "$LINENO" 5; }
3240 rm -f conftest conftest
$ac_cv_exeext
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3242 $as_echo "$ac_cv_exeext" >&6; }
3244 rm -f conftest.
$ac_ext
3245 EXEEXT
=$ac_cv_exeext
3247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3253 FILE *f = fopen ("conftest.out", "w");
3254 return ferror (f) || fclose (f) != 0;
3260 ac_clean_files
="$ac_clean_files conftest.out"
3261 # Check that the compiler produces executables we can run. If not, either
3262 # the compiler is broken, or we cross compile.
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3264 $as_echo_n "checking whether we are cross compiling... " >&6; }
3265 if test "$cross_compiling" != yes; then
3266 { { ac_try
="$ac_link"
3268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
3273 (eval "$ac_link") 2>&5
3275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3276 test $ac_status = 0; }
3277 if { ac_try='./conftest$ac_cv_exeext'
3278 { { case "(($ac_try" in
3279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3280 *) ac_try_echo
=$ac_try;;
3282 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3283 $as_echo "$ac_try_echo"; } >&5
3284 (eval "$ac_try") 2>&5
3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3287 test $ac_status = 0; }; }; then
3290 if test "$cross_compiling" = maybe
; then
3293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error $?
"cannot run C compiled programs.
3296 If you meant to cross compile, use \`--host'.
3297 See \`config.log' for more details" "$LINENO" 5; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3302 $as_echo "$cross_compiling" >&6; }
3304 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3305 ac_clean_files
=$ac_clean_files_save
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3307 $as_echo_n "checking for suffix of object files... " >&6; }
3308 if ${ac_cv_objext+:} false
; then :
3309 $as_echo_n "(cached) " >&6
3311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3322 rm -f conftest.o conftest.obj
3323 if { { ac_try
="$ac_compile"
3325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_compile") 2>&5
3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333 test $ac_status = 0; }; then :
3334 for ac_file in conftest.o conftest.obj conftest.*; do
3335 test -f "$ac_file" || continue;
3337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3338 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3349 See \
`config.log' for more details" "$LINENO" 5; }
3351 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3354 $as_echo "$ac_cv_objext" >&6; }
3355 OBJEXT=$ac_cv_objext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3358 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3359 if ${ac_cv_c_compiler_gnu+:} false; then :
3360 $as_echo_n "(cached) " >&6
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3376 if ac_fn_c_try_compile "$LINENO"; then :
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3386 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3387 if test $ac_compiler_gnu = yes; then
3392 ac_test_CFLAGS=${CFLAGS+set}
3393 ac_save_CFLAGS=$CFLAGS
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3395 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3396 if ${ac_cv_prog_cc_g+:} false; then :
3397 $as_echo_n "(cached) " >&6
3399 ac_save_c_werror_flag=$ac_c_werror_flag
3400 ac_c_werror_flag=yes
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3414 if ac_fn_c_try_compile "$LINENO"; then :
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3429 if ac_fn_c_try_compile "$LINENO"; then :
3432 ac_c_werror_flag=$ac_save_c_werror_flag
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 if ac_fn_c_try_compile "$LINENO"; then :
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 ac_c_werror_flag=$ac_save_c_werror_flag
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3456 $as_echo "$ac_cv_prog_cc_g" >&6; }
3457 if test "$ac_test_CFLAGS" = set; then
3458 CFLAGS=$ac_save_CFLAGS
3459 elif test $ac_cv_prog_cc_g = yes; then
3460 if test "$GCC" = yes; then
3466 if test "$GCC" = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3473 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3474 if ${ac_cv_prog_cc_c89+:} false; then :
3475 $as_echo_n "(cached) " >&6
3477 ac_cv_prog_cc_c89=no
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3484 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3485 struct buf { int x; };
3486 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3487 static char *e (p, i)
3493 static char *f (char * (*g) (char **, int), char **p, ...)
3498 s = g (p, va_arg (v,int));
3503 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3504 function prototypes and stuff, but not '\xHH' hex character constants.
3505 These don't provoke an error unfortunately, instead are silently treated
3506 as 'x'. The following induces an error, until -std is added to get
3507 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3508 array size at least. It's necessary to write '\x00'==0 to get something
3509 that's true only with -std. */
3510 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3512 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3513 inside strings and character constants. */
3515 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3517 int test (int i, double x);
3518 struct s1 {int (*f) (int a);};
3519 struct s2 {int (*f) (double a);};
3520 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3526 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3531 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3532 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3534 CC="$ac_save_CC $ac_arg"
3535 if ac_fn_c_try_compile "$LINENO"; then :
3536 ac_cv_prog_cc_c89=$ac_arg
3538 rm -f core conftest.err conftest.$ac_objext
3539 test "x$ac_cv_prog_cc_c89" != "xno" && break
3541 rm -f conftest.$ac_ext
3546 case "x$ac_cv_prog_cc_c89" in
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3549 $as_echo "none needed" >&6; } ;;
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3552 $as_echo "unsupported" >&6; } ;;
3554 CC="$CC $ac_cv_prog_cc_c89"
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3556 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3558 if test "x$ac_cv_prog_cc_c89" != xno; then :
3563 ac_cpp='$CPP $CPPFLAGS'
3564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569 ac_cpp='$CPP $CPPFLAGS'
3570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3574 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3575 if ${am_cv_prog_cc_c_o+:} false; then :
3576 $as_echo_n "(cached) " >&6
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 # Make sure it works both with $CC and with simple cc.
3590 # Following AC_PROG_CC_C_O, we do the test twice because some
3591 # compilers refuse to overwrite an existing .o file with -o,
3592 # though they will create one.
3593 am_cv_prog_cc_c_o=yes
3595 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3596 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); } \
3600 && test -f conftest2.$ac_objext; then
3603 am_cv_prog_cc_c_o=no
3607 rm -f core conftest*
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3611 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3612 if test "$am_cv_prog_cc_c_o" != yes; then
3613 # Losing compiler, so override with the script.
3614 # FIXME: It is wrong to rewrite CC.
3615 # But if we don't then we get into trouble of one sort or another.
3616 # A longer-term fix would be to have automake use am__CC in this case,
3617 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3618 CC="$am_aux_dir/compile $CC"
3621 ac_cpp='$CPP $CPPFLAGS'
3622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627 depcc="$CC" am_compiler_list=
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3630 $as_echo_n "checking dependency style of $depcc... " >&6; }
3631 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3632 $as_echo_n "(cached) " >&6
3634 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3635 # We make a subdir and do the tests there. Otherwise we can end up
3636 # making bogus files that we don't know about and never remove. For
3637 # instance it was reported that on HP-UX the gcc test will end up
3638 # making a dummy file named 'D' -- because '-MD' means "put the output
3642 # Copy depcomp to subdir because otherwise we won't find it if we're
3643 # using a relative directory.
3644 cp "$am_depcomp" conftest.dir
3646 # We will build objects and dependencies in a subdirectory because
3647 # it helps to detect inapplicable dependency modes. For instance
3648 # both Tru64's cc and ICC support -MD to output dependencies as a
3649 # side effect of compilation, but ICC will put the dependencies in
3650 # the current directory while Tru64 will put them in the object
3654 am_cv_CC_dependencies_compiler_type=none
3655 if test "$am_compiler_list" = ""; then
3656 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3659 case " $depcc " in #(
3660 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3663 for depmode in $am_compiler_list; do
3664 # Setup a source with many dependencies, because some compilers
3665 # like to wrap large dependency lists on column 80 (with \), and
3666 # we should not choose a depcomp mode which is confused by this.
3668 # We need to recreate these files for each test, as the compiler may
3669 # overwrite some of them when testing with obscure command lines.
3670 # This happens at least with the AIX C compiler.
3672 for i in 1 2 3 4 5 6; do
3673 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3674 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3675 # Solaris 10 /bin/sh.
3676 echo '/* dummy */' > sub/conftst$i.h
3678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3680 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3681 # mode. It turns out that the SunPro C++ compiler does not properly
3682 # handle '-M -o', and we need to detect this. Also, some Intel
3683 # versions had trouble with output in subdirs.
3684 am__obj=sub/conftest.${OBJEXT-o}
3685 am__minus_obj="-o $am__obj"
3688 # This depmode causes a compiler race in universal mode.
3689 test "$am__universal" = false || continue
3692 # After this tag, mechanisms are not by side-effect, so they'll
3693 # only be used when explicitly requested.
3694 if test "x$enable_dependency_tracking" = xyes; then
3700 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3701 # This compiler won't grok '-c -o', but also, the minuso test has
3702 # not run yet. These depmodes are late enough in the game, and
3703 # so weak that their functioning should not be impacted.
3704 am__obj=conftest.${OBJEXT-o}
3709 if depmode=$depmode \
3710 source=sub/conftest.c object=$am__obj \
3711 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3712 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3713 >/dev/null 2>conftest.err &&
3714 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3715 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3716 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3717 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3718 # icc doesn't choke on unknown options, it will just issue warnings
3719 # or remarks (even with -Werror). So we grep stderr for any message
3720 # that says an option was ignored or not supported.
3721 # When given -MP, icc 7.0 and 7.1 complain thusly:
3722 # icc: Command line warning: ignoring option '-M'; no argument required
3723 # The diagnosis changed in icc 8.0:
3724 # icc: Command line remark: option '-MP' not supported
3725 if (grep 'ignoring option' conftest.err ||
3726 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3727 am_cv_CC_dependencies_compiler_type=$depmode
3736 am_cv_CC_dependencies_compiler_type=none
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3741 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3742 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3745 test "x$enable_dependency_tracking" != xno \
3746 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3748 am__fastdepCC_FALSE='#'
3750 am__fastdepCC_TRUE='#'
3751 am__fastdepCC_FALSE=
3756 # Check whether --enable-compiler-warnings was given.
3757 if test "${enable_compiler_warnings+set}" = set; then :
3758 enableval=$enable_compiler_warnings;
3760 case $enable_compiler_warnings in #(
3761 no | min | yes | max | all) :
3764 if test "x$enable_maintainer_mode" = xyes; then :
3765 enable_compiler_warnings=yes
3767 enable_compiler_warnings=min
3772 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3773 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3774 # is not polluted with repeated "-I."
3775 am__isrc=' -I$(srcdir)'
3776 # test to see if srcdir already configured
3777 if test -f $srcdir/config.status; then
3778 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3782 # test whether we have cygpath
3783 if test -z "$CYGPATH_W"; then
3784 if (cygpath --version) >/dev/null 2>/dev/null; then
3785 CYGPATH_W='cygpath -w'
3792 # Define the identity of the package.
3793 PACKAGE='luajit-for-tex-live'
3797 cat >>confdefs.h <<_ACEOF
3798 #define PACKAGE "$PACKAGE"
3802 cat >>confdefs.h <<_ACEOF
3803 #define VERSION "$VERSION"
3806 # Some tools Automake needs.
3808 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3811 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3814 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3817 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3820 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3822 # For better backward compatibility. To be removed once Automake 1.9.x
3823 # dies out for good. For more background, see:
3824 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3825 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3826 mkdir_p='$(MKDIR_P)'
3828 # We need awk for the "check" target. The system "awk" is bad on
3830 # Always define AMTAR for backward compatibility. Yes, it's still used
3831 # in the wild :-( We should find a proper way to deprecate it ...
3835 # We'll loop over all known methods to create a tar archive until one works.
3836 _am_tools='gnutar pax cpio none'
3838 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3845 # POSIX will say in a future version that running "rm -f" with no argument
3846 # is OK; and we want to be able to make that assumption in our Makefile
3847 # recipes. So use an aggressive probe to check that the usage we want is
3848 # actually supported "in the wild" to an acceptable degree.
3849 # See automake bug#10828.
3850 # To make any issue more visible, cause the running configure to be aborted
3851 # by default if the 'rm' program in use doesn't match our expectations; the
3852 # user can still override this though.
3853 if rm -f && rm -fr && rm -rf; then : OK; else
3857 Your 'rm' program seems unable to run without file operands specified
3858 on the command line, even when the '-f' option is present. This is contrary
3859 to the behaviour of most rm programs out there, and not conforming with
3860 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3862 Please tell bug-automake@gnu.org about your system, including the value
3863 of your $PATH and any error possibly output before this message. This
3864 can help us improve future automake versions.
3867 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3868 echo 'Configuration will proceed anyway, since you have set the' >&2
3869 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3873 Aborting the configuration process, to ensure you take notice of the issue.
3875 You can download and install GNU coreutils to get an 'rm' implementation
3876 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3878 If you want to complete the configuration process using your problematic
3879 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3880 to "yes", and re-run configure.
3883 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3888 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3889 # Check whether --enable-maintainer-mode was given.
3890 if test "${enable_maintainer_mode+set}" = set; then :
3891 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3893 USE_MAINTAINER_MODE=no
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3897 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3898 if test $USE_MAINTAINER_MODE = yes; then
3899 MAINTAINER_MODE_TRUE=
3900 MAINTAINER_MODE_FALSE='#'
3902 MAINTAINER_MODE_TRUE='#'
3903 MAINTAINER_MODE_FALSE=
3906 MAINT=$MAINTAINER_MODE_TRUE
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3910 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3911 if ${kb_cv_c_prototypes+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3920 extern void foo(int i,...);
3925 if ac_fn_c_try_link "$LINENO"; then :
3926 kb_cv_c_prototypes=yes
3928 kb_cv_c_prototypes=no
3930 rm -f core conftest.err conftest.$ac_objext \
3931 conftest$ac_exeext conftest.$ac_ext
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
3934 $as_echo "$kb_cv_c_prototypes" >&6; }
3935 if test "x$kb_cv_c_prototypes" = xno; then
3936 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
3939 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
3940 if ${kpse_cv_warning_cflags+:} false; then :
3941 $as_echo_n "(cached) " >&6
3943 if test "x$GCC" = xyes; then
3944 kpse_cv_warning_cflags=
3945 if test "x$enable_compiler_warnings" != xno; then
3946 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
3947 case `$CC -dumpversion` in #(
3949 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
3953 case `$CC -dumpversion` in #(
3955 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
3959 if test "x$enable_compiler_warnings" != xmin; then
3960 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
3961 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
3962 if test "x$enable_compiler_warnings" != xyes; then
3963 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
3964 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
3965 case `$CC -dumpversion` in #(
3967 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
3971 if test "x$enable_compiler_warnings" != xmax; then
3972 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
3977 elif test "x$enable_compiler_warnings" = xno; then
3978 kpse_cv_warning_cflags=
3980 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
3984 $as_echo "$kpse_cv_warning_cflags" >&6; }
3985 WARNING_CFLAGS=$kpse_cv_warning_cflags
3994 # Make sure we can run config.sub.
3995 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3996 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3999 $as_echo_n "checking build system type... " >&6; }
4000 if ${ac_cv_build+:} false; then :
4001 $as_echo_n "(cached) " >&6
4003 ac_build_alias=$build_alias
4004 test "x$ac_build_alias" = x &&
4005 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4006 test "x$ac_build_alias" = x &&
4007 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4008 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4009 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4013 $as_echo "$ac_cv_build" >&6; }
4014 case $ac_cv_build in
4016 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4019 ac_save_IFS=$IFS; IFS='-'
4025 # Remember, the first character of IFS is used to create $*,
4026 # except with old shells:
4029 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4033 $as_echo_n "checking host system type... " >&6; }
4034 if ${ac_cv_host+:} false; then :
4035 $as_echo_n "(cached) " >&6
4037 if test "x$host_alias" = x; then
4038 ac_cv_host=$ac_cv_build
4040 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4041 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4046 $as_echo "$ac_cv_host" >&6; }
4049 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4052 ac_save_IFS=$IFS; IFS='-'
4058 # Remember, the first character of IFS is used to create $*,
4059 # except with old shells:
4062 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4065 if test "x$host_alias" != x && test "x$build_alias" = x; then :
4066 as_fn_error $? "when cross-compiling you must specify both --host and --build." "$LINENO" 5
4068 eval kpse_build_alias=\${build_alias-$build}
4072 ac_cpp='$CPP $CPPFLAGS'
4073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4076 if test -n "$ac_tool_prefix"; then
4077 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4078 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080 $as_echo_n "checking for $ac_word... " >&6; }
4081 if ${ac_cv_prog_CC+:} false; then :
4082 $as_echo_n "(cached) " >&6
4084 if test -n "$CC"; then
4085 ac_cv_prog_CC="$CC" # Let the user override the test.
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 if test -n "$CC"; then
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4107 $as_echo "$CC" >&6; }
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110 $as_echo "no" >&6; }
4115 if test -z "$ac_cv_prog_CC"; then
4117 # Extract the first word of "gcc", so it can be a program name with args.
4118 set dummy gcc; ac_word=$2
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120 $as_echo_n "checking for $ac_word... " >&6; }
4121 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4122 $as_echo_n "(cached) " >&6
4124 if test -n "$ac_ct_CC"; then
4125 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_ac_ct_CC="gcc"
4135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4145 if test -n "$ac_ct_CC"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4147 $as_echo "$ac_ct_CC" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4153 if test "x$ac_ct_CC" = x; then
4156 case $cross_compiling:$ac_tool_warned in
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4160 ac_tool_warned=yes ;;
4168 if test -z "$CC"; then
4169 if test -n "$ac_tool_prefix"; then
4170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4171 set dummy ${ac_tool_prefix}cc; ac_word=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_CC+:} false; then :
4175 $as_echo_n "(cached) " >&6
4177 if test -n "$CC"; then
4178 ac_cv_prog_CC="$CC" # Let the user override the test.
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_prog_CC="${ac_tool_prefix}cc"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 if test -n "$CC"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4200 $as_echo "$CC" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4209 if test -z "$CC"; then
4210 # Extract the first word of "cc", so it can be a program name with args.
4211 set dummy cc; ac_word=$2
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213 $as_echo_n "checking for $ac_word... " >&6; }
4214 if ${ac_cv_prog_CC+:} false; then :
4215 $as_echo_n "(cached) " >&6
4217 if test -n "$CC"; then
4218 ac_cv_prog_CC="$CC" # Let the user override the test.
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225 test -z "$as_dir" && as_dir=.
4226 for ac_exec_ext in '' $ac_executable_extensions; do
4227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4229 ac_prog_rejected=yes
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 if test $ac_prog_rejected = yes; then
4241 # We found a bogon in the path, so make sure we never use it.
4242 set dummy $ac_cv_prog_CC
4244 if test $# != 0; then
4245 # We chose a different compiler from the bogus one.
4246 # However, it has the same basename, so the bogon will be chosen
4247 # first if we set CC to just the basename; use the full file name.
4249 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4255 if test -n "$CC"; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4257 $as_echo "$CC" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4265 if test -z "$CC"; then
4266 if test -n "$ac_tool_prefix"; then
4267 for ac_prog in cl.exe
4269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4272 $as_echo_n "checking for $ac_word... " >&6; }
4273 if ${ac_cv_prog_CC+:} false; then :
4274 $as_echo_n "(cached) " >&6
4276 if test -n "$CC"; then
4277 ac_cv_prog_CC="$CC" # Let the user override the test.
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 if test -n "$CC"; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4299 $as_echo "$CC" >&6; }
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 $as_echo "no" >&6; }
4306 test -n "$CC" && break
4309 if test -z "$CC"; then
4311 for ac_prog in cl.exe
4313 # Extract the first word of "$ac_prog", so it can be a program name with args.
4314 set dummy $ac_prog; ac_word=$2
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4318 $as_echo_n "(cached) " >&6
4320 if test -n "$ac_ct_CC"; then
4321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 test -z "$as_dir" && as_dir=.
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4330 ac_cv_prog_ac_ct_CC="$ac_prog"
4331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4341 if test -n "$ac_ct_CC"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4343 $as_echo "$ac_ct_CC" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4350 test -n "$ac_ct_CC" && break
4353 if test "x$ac_ct_CC" = x; then
4356 case $cross_compiling:$ac_tool_warned in
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4360 ac_tool_warned=yes ;;
4369 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4372 See \
`config.log' for more details" "$LINENO" 5; }
4374 # Provide some information about the compiler.
4375 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4378 for ac_option in --version -v -V -qversion; do
4379 { { ac_try="$ac_compiler $ac_option >&5"
4381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4382 *) ac_try_echo
=$ac_try;;
4384 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4385 $as_echo "$ac_try_echo"; } >&5
4386 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4388 if test -s conftest.err
; then
4390 ... rest of stderr output deleted ...
4391 10q' conftest.err
>conftest.er1
4392 cat conftest.er1
>&5
4394 rm -f conftest.er1 conftest.err
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4400 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4401 if ${ac_cv_c_compiler_gnu+:} false
; then :
4402 $as_echo_n "(cached) " >&6
4404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4418 if ac_fn_c_try_compile
"$LINENO"; then :
4423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4424 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4428 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4429 if test $ac_compiler_gnu = yes; then
4434 ac_test_CFLAGS
=${CFLAGS+set}
4435 ac_save_CFLAGS
=$CFLAGS
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4437 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4438 if ${ac_cv_prog_cc_g+:} false
; then :
4439 $as_echo_n "(cached) " >&6
4441 ac_save_c_werror_flag
=$ac_c_werror_flag
4442 ac_c_werror_flag
=yes
4445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4456 if ac_fn_c_try_compile
"$LINENO"; then :
4460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4471 if ac_fn_c_try_compile
"$LINENO"; then :
4474 ac_c_werror_flag
=$ac_save_c_werror_flag
4476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4487 if ac_fn_c_try_compile
"$LINENO"; then :
4490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4495 ac_c_werror_flag
=$ac_save_c_werror_flag
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4498 $as_echo "$ac_cv_prog_cc_g" >&6; }
4499 if test "$ac_test_CFLAGS" = set; then
4500 CFLAGS
=$ac_save_CFLAGS
4501 elif test $ac_cv_prog_cc_g = yes; then
4502 if test "$GCC" = yes; then
4508 if test "$GCC" = yes; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4515 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4516 if ${ac_cv_prog_cc_c89+:} false
; then :
4517 $as_echo_n "(cached) " >&6
4519 ac_cv_prog_cc_c89
=no
4521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4526 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4527 struct buf { int x; };
4528 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4529 static char *e (p, i)
4535 static char *f (char * (*g) (char **, int), char **p, ...)
4540 s = g (p, va_arg (v,int));
4545 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4546 function prototypes and stuff, but not '\xHH' hex character constants.
4547 These don't provoke an error unfortunately, instead are silently treated
4548 as 'x'. The following induces an error, until -std is added to get
4549 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4550 array size at least. It's necessary to write '\x00'==0 to get something
4551 that's true only with -std. */
4552 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4554 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4555 inside strings and character constants. */
4557 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4559 int test (int i, double x);
4560 struct s1 {int (*f) (int a);};
4561 struct s2 {int (*f) (double a);};
4562 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4568 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4573 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4574 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4576 CC
="$ac_save_CC $ac_arg"
4577 if ac_fn_c_try_compile
"$LINENO"; then :
4578 ac_cv_prog_cc_c89
=$ac_arg
4580 rm -f core conftest.err conftest.
$ac_objext
4581 test "x$ac_cv_prog_cc_c89" != "xno" && break
4583 rm -f conftest.
$ac_ext
4588 case "x$ac_cv_prog_cc_c89" in
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4591 $as_echo "none needed" >&6; } ;;
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4594 $as_echo "unsupported" >&6; } ;;
4596 CC
="$CC $ac_cv_prog_cc_c89"
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4598 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4600 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4605 ac_cpp
='$CPP $CPPFLAGS'
4606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4611 ac_cpp
='$CPP $CPPFLAGS'
4612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4616 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4617 if ${am_cv_prog_cc_c_o+:} false
; then :
4618 $as_echo_n "(cached) " >&6
4620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4631 # Make sure it works both with $CC and with simple cc.
4632 # Following AC_PROG_CC_C_O, we do the test twice because some
4633 # compilers refuse to overwrite an existing .o file with -o,
4634 # though they will create one.
4635 am_cv_prog_cc_c_o
=yes
4637 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4638 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); } \
4642 && test -f conftest2.
$ac_objext; then
4645 am_cv_prog_cc_c_o
=no
4649 rm -f core conftest
*
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4653 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4654 if test "$am_cv_prog_cc_c_o" != yes; then
4655 # Losing compiler, so override with the script.
4656 # FIXME: It is wrong to rewrite CC.
4657 # But if we don't then we get into trouble of one sort or another.
4658 # A longer-term fix would be to have automake use am__CC in this case,
4659 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4660 CC
="$am_aux_dir/compile $CC"
4663 ac_cpp
='$CPP $CPPFLAGS'
4664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4669 depcc
="$CC" am_compiler_list
=
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4672 $as_echo_n "checking dependency style of $depcc... " >&6; }
4673 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4674 $as_echo_n "(cached) " >&6
4676 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4677 # We make a subdir and do the tests there. Otherwise we can end up
4678 # making bogus files that we don't know about and never remove. For
4679 # instance it was reported that on HP-UX the gcc test will end up
4680 # making a dummy file named 'D' -- because '-MD' means "put the output
4684 # Copy depcomp to subdir because otherwise we won't find it if we're
4685 # using a relative directory.
4686 cp "$am_depcomp" conftest.dir
4688 # We will build objects and dependencies in a subdirectory because
4689 # it helps to detect inapplicable dependency modes. For instance
4690 # both Tru64's cc and ICC support -MD to output dependencies as a
4691 # side effect of compilation, but ICC will put the dependencies in
4692 # the current directory while Tru64 will put them in the object
4696 am_cv_CC_dependencies_compiler_type
=none
4697 if test "$am_compiler_list" = ""; then
4698 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4701 case " $depcc " in #(
4702 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4705 for depmode
in $am_compiler_list; do
4706 # Setup a source with many dependencies, because some compilers
4707 # like to wrap large dependency lists on column 80 (with \), and
4708 # we should not choose a depcomp mode which is confused by this.
4710 # We need to recreate these files for each test, as the compiler may
4711 # overwrite some of them when testing with obscure command lines.
4712 # This happens at least with the AIX C compiler.
4714 for i
in 1 2 3 4 5 6; do
4715 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4716 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4717 # Solaris 10 /bin/sh.
4718 echo '/* dummy */' > sub
/conftst
$i.h
4720 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4722 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4723 # mode. It turns out that the SunPro C++ compiler does not properly
4724 # handle '-M -o', and we need to detect this. Also, some Intel
4725 # versions had trouble with output in subdirs.
4726 am__obj
=sub
/conftest.
${OBJEXT-o}
4727 am__minus_obj
="-o $am__obj"
4730 # This depmode causes a compiler race in universal mode.
4731 test "$am__universal" = false ||
continue
4734 # After this tag, mechanisms are not by side-effect, so they'll
4735 # only be used when explicitly requested.
4736 if test "x$enable_dependency_tracking" = xyes
; then
4742 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4743 # This compiler won't grok '-c -o', but also, the minuso test has
4744 # not run yet. These depmodes are late enough in the game, and
4745 # so weak that their functioning should not be impacted.
4746 am__obj
=conftest.
${OBJEXT-o}
4751 if depmode
=$depmode \
4752 source=sub
/conftest.c object
=$am__obj \
4753 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4754 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4755 >/dev
/null
2>conftest.err
&&
4756 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4757 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4758 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4759 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4760 # icc doesn't choke on unknown options, it will just issue warnings
4761 # or remarks (even with -Werror). So we grep stderr for any message
4762 # that says an option was ignored or not supported.
4763 # When given -MP, icc 7.0 and 7.1 complain thusly:
4764 # icc: Command line warning: ignoring option '-M'; no argument required
4765 # The diagnosis changed in icc 8.0:
4766 # icc: Command line remark: option '-MP' not supported
4767 if (grep 'ignoring option' conftest.err ||
4768 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4769 am_cv_CC_dependencies_compiler_type
=$depmode
4778 am_cv_CC_dependencies_compiler_type
=none
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4783 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4784 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4787 test "x$enable_dependency_tracking" != xno \
4788 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4790 am__fastdepCC_FALSE
='#'
4792 am__fastdepCC_TRUE
='#'
4793 am__fastdepCC_FALSE
=
4797 # By default we simply use the C compiler to build assembly code.
4799 test "${CCAS+set}" = set || CCAS
=$CC
4800 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4804 depcc
="$CCAS" am_compiler_list
=
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4807 $as_echo_n "checking dependency style of $depcc... " >&6; }
4808 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
4809 $as_echo_n "(cached) " >&6
4811 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4812 # We make a subdir and do the tests there. Otherwise we can end up
4813 # making bogus files that we don't know about and never remove. For
4814 # instance it was reported that on HP-UX the gcc test will end up
4815 # making a dummy file named 'D' -- because '-MD' means "put the output
4819 # Copy depcomp to subdir because otherwise we won't find it if we're
4820 # using a relative directory.
4821 cp "$am_depcomp" conftest.dir
4823 # We will build objects and dependencies in a subdirectory because
4824 # it helps to detect inapplicable dependency modes. For instance
4825 # both Tru64's cc and ICC support -MD to output dependencies as a
4826 # side effect of compilation, but ICC will put the dependencies in
4827 # the current directory while Tru64 will put them in the object
4831 am_cv_CCAS_dependencies_compiler_type
=none
4832 if test "$am_compiler_list" = ""; then
4833 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4838 for depmode
in $am_compiler_list; do
4839 # Setup a source with many dependencies, because some compilers
4840 # like to wrap large dependency lists on column 80 (with \), and
4841 # we should not choose a depcomp mode which is confused by this.
4843 # We need to recreate these files for each test, as the compiler may
4844 # overwrite some of them when testing with obscure command lines.
4845 # This happens at least with the AIX C compiler.
4847 for i
in 1 2 3 4 5 6; do
4848 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4849 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4850 # Solaris 10 /bin/sh.
4851 echo '/* dummy */' > sub
/conftst
$i.h
4853 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4855 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4856 # mode. It turns out that the SunPro C++ compiler does not properly
4857 # handle '-M -o', and we need to detect this. Also, some Intel
4858 # versions had trouble with output in subdirs.
4859 am__obj
=sub
/conftest.
${OBJEXT-o}
4860 am__minus_obj
="-o $am__obj"
4863 # This depmode causes a compiler race in universal mode.
4864 test "$am__universal" = false ||
continue
4867 # After this tag, mechanisms are not by side-effect, so they'll
4868 # only be used when explicitly requested.
4869 if test "x$enable_dependency_tracking" = xyes
; then
4875 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4876 # This compiler won't grok '-c -o', but also, the minuso test has
4877 # not run yet. These depmodes are late enough in the game, and
4878 # so weak that their functioning should not be impacted.
4879 am__obj
=conftest.
${OBJEXT-o}
4884 if depmode
=$depmode \
4885 source=sub
/conftest.c object
=$am__obj \
4886 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4887 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4888 >/dev
/null
2>conftest.err
&&
4889 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4890 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4891 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4892 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4893 # icc doesn't choke on unknown options, it will just issue warnings
4894 # or remarks (even with -Werror). So we grep stderr for any message
4895 # that says an option was ignored or not supported.
4896 # When given -MP, icc 7.0 and 7.1 complain thusly:
4897 # icc: Command line warning: ignoring option '-M'; no argument required
4898 # The diagnosis changed in icc 8.0:
4899 # icc: Command line remark: option '-MP' not supported
4900 if (grep 'ignoring option' conftest.err ||
4901 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4902 am_cv_CCAS_dependencies_compiler_type
=$depmode
4911 am_cv_CCAS_dependencies_compiler_type
=none
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4916 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4917 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4920 test "x$enable_dependency_tracking" != xno \
4921 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4922 am__fastdepCCAS_TRUE
=
4923 am__fastdepCCAS_FALSE
='#'
4925 am__fastdepCCAS_TRUE
='#'
4926 am__fastdepCCAS_FALSE
=
4930 if test -n "$ac_tool_prefix"; then
4931 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4932 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if ${ac_cv_prog_RANLIB+:} false
; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$RANLIB"; then
4939 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 RANLIB
=$ac_cv_prog_RANLIB
4959 if test -n "$RANLIB"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4961 $as_echo "$RANLIB" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4969 if test -z "$ac_cv_prog_RANLIB"; then
4970 ac_ct_RANLIB
=$RANLIB
4971 # Extract the first word of "ranlib", so it can be a program name with args.
4972 set dummy ranlib
; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$ac_ct_RANLIB"; then
4979 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4999 if test -n "$ac_ct_RANLIB"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5001 $as_echo "$ac_ct_RANLIB" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5007 if test "x$ac_ct_RANLIB" = x
; then
5010 case $cross_compiling:$ac_tool_warned in
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned
=yes ;;
5016 RANLIB
=$ac_ct_RANLIB
5019 RANLIB
="$ac_cv_prog_RANLIB"
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5023 $as_echo_n "checking whether ln -s works... " >&6; }
5025 if test "$LN_S" = "ln -s"; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5027 $as_echo "yes" >&6; }
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5030 $as_echo "no, using $LN_S" >&6; }
5035 ac_cpp
='$CPP $CPPFLAGS'
5036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5040 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5041 # On Suns, sometimes $CPP names a directory.
5042 if test -n "$CPP" && test -d "$CPP"; then
5045 if test -z "$CPP"; then
5046 if ${ac_cv_prog_CPP+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 # Double quotes because CPP needs to be expanded
5050 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5053 for ac_c_preproc_warn_flag
in '' yes
5055 # Use a header file that comes with gcc, so configuring glibc
5056 # with a fresh cross-compiler works.
5057 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5058 # <limits.h> exists even on freestanding compilers.
5059 # On the NeXT, cc -E runs the code through the compiler's parser,
5060 # not just through cpp. "Syntax error" is here to catch this case.
5061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5064 # include <limits.h>
5066 # include <assert.h>
5070 if ac_fn_c_try_cpp
"$LINENO"; then :
5073 # Broken: fails on valid input.
5076 rm -f conftest.err conftest.i conftest.
$ac_ext
5078 # OK, works on sane cases. Now check whether nonexistent headers
5079 # can be detected and how.
5080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5082 #include <ac_nonexistent.h>
5084 if ac_fn_c_try_cpp
"$LINENO"; then :
5085 # Broken: success on invalid input.
5088 # Passes both tests.
5092 rm -f conftest.err conftest.i conftest.
$ac_ext
5095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5096 rm -f conftest.i conftest.err conftest.
$ac_ext
5097 if $ac_preproc_ok; then :
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5110 $as_echo "$CPP" >&6; }
5112 for ac_c_preproc_warn_flag
in '' yes
5114 # Use a header file that comes with gcc, so configuring glibc
5115 # with a fresh cross-compiler works.
5116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5117 # <limits.h> exists even on freestanding compilers.
5118 # On the NeXT, cc -E runs the code through the compiler's parser,
5119 # not just through cpp. "Syntax error" is here to catch this case.
5120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5123 # include <limits.h>
5125 # include <assert.h>
5129 if ac_fn_c_try_cpp
"$LINENO"; then :
5132 # Broken: fails on valid input.
5135 rm -f conftest.err conftest.i conftest.
$ac_ext
5137 # OK, works on sane cases. Now check whether nonexistent headers
5138 # can be detected and how.
5139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5140 /* end confdefs.h. */
5141 #include <ac_nonexistent.h>
5143 if ac_fn_c_try_cpp
"$LINENO"; then :
5144 # Broken: success on invalid input.
5147 # Passes both tests.
5151 rm -f conftest.err conftest.i conftest.
$ac_ext
5154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5155 rm -f conftest.i conftest.err conftest.
$ac_ext
5156 if $ac_preproc_ok; then :
5159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5161 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5162 See \`config.log' for more details" "$LINENO" 5; }
5166 ac_cpp
='$CPP $CPPFLAGS'
5167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5173 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5174 if ${ac_cv_path_GREP+:} false
; then :
5175 $as_echo_n "(cached) " >&6
5177 if test -z "$GREP"; then
5178 ac_path_GREP_found
=false
5179 # Loop through the user's path and test for each of PROGNAME-LIST
5180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5181 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5184 test -z "$as_dir" && as_dir
=.
5185 for ac_prog
in grep ggrep
; do
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5188 as_fn_executable_p
"$ac_path_GREP" ||
continue
5189 # Check for GNU ac_path_GREP and select it if it is found.
5190 # Check for GNU $ac_path_GREP
5191 case `"$ac_path_GREP" --version 2>&1` in
5193 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5196 $as_echo_n 0123456789 >"conftest.in"
5199 cat "conftest.in" "conftest.in" >"conftest.tmp"
5200 mv "conftest.tmp" "conftest.in"
5201 cp "conftest.in" "conftest.nl"
5202 $as_echo 'GREP' >> "conftest.nl"
5203 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5204 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5205 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5206 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5207 # Best one so far, save it but keep looking for a better one
5208 ac_cv_path_GREP
="$ac_path_GREP"
5209 ac_path_GREP_max
=$ac_count
5211 # 10*(2^10) chars as input seems more than enough
5212 test $ac_count -gt 10 && break
5214 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5217 $ac_path_GREP_found && break 3
5222 if test -z "$ac_cv_path_GREP"; then
5223 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5226 ac_cv_path_GREP
=$GREP
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5231 $as_echo "$ac_cv_path_GREP" >&6; }
5232 GREP
="$ac_cv_path_GREP"
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5236 $as_echo_n "checking for egrep... " >&6; }
5237 if ${ac_cv_path_EGREP+:} false
; then :
5238 $as_echo_n "(cached) " >&6
5240 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5241 then ac_cv_path_EGREP
="$GREP -E"
5243 if test -z "$EGREP"; then
5244 ac_path_EGREP_found
=false
5245 # Loop through the user's path and test for each of PROGNAME-LIST
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_prog
in egrep; do
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5254 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5255 # Check for GNU ac_path_EGREP and select it if it is found.
5256 # Check for GNU $ac_path_EGREP
5257 case `"$ac_path_EGREP" --version 2>&1` in
5259 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5262 $as_echo_n 0123456789 >"conftest.in"
5265 cat "conftest.in" "conftest.in" >"conftest.tmp"
5266 mv "conftest.tmp" "conftest.in"
5267 cp "conftest.in" "conftest.nl"
5268 $as_echo 'EGREP' >> "conftest.nl"
5269 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5270 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5271 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5272 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5273 # Best one so far, save it but keep looking for a better one
5274 ac_cv_path_EGREP
="$ac_path_EGREP"
5275 ac_path_EGREP_max
=$ac_count
5277 # 10*(2^10) chars as input seems more than enough
5278 test $ac_count -gt 10 && break
5280 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5283 $ac_path_EGREP_found && break 3
5288 if test -z "$ac_cv_path_EGREP"; then
5289 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5292 ac_cv_path_EGREP
=$EGREP
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5298 $as_echo "$ac_cv_path_EGREP" >&6; }
5299 EGREP
="$ac_cv_path_EGREP"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5303 $as_echo_n "checking for ANSI C header files... " >&6; }
5304 if ${ac_cv_header_stdc+:} false
; then :
5305 $as_echo_n "(cached) " >&6
5307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5322 if ac_fn_c_try_compile
"$LINENO"; then :
5323 ac_cv_header_stdc
=yes
5325 ac_cv_header_stdc
=no
5327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5329 if test $ac_cv_header_stdc = yes; then
5330 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5337 $EGREP "memchr" >/dev
/null
2>&1; then :
5340 ac_cv_header_stdc
=no
5346 if test $ac_cv_header_stdc = yes; then
5347 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5354 $EGREP "free" >/dev
/null
2>&1; then :
5357 ac_cv_header_stdc
=no
5363 if test $ac_cv_header_stdc = yes; then
5364 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5365 if test "$cross_compiling" = yes; then :
5368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5372 #if ((' ' & 0x0FF) == 0x020)
5373 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5374 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5376 # define ISLOWER(c) \
5377 (('a' <= (c) && (c) <= 'i') \
5378 || ('j' <= (c) && (c) <= 'r') \
5379 || ('s' <= (c) && (c) <= 'z'))
5380 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5383 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5388 for (i = 0; i < 256; i++)
5389 if (XOR (islower (i), ISLOWER (i))
5390 || toupper (i) != TOUPPER (i))
5395 if ac_fn_c_try_run
"$LINENO"; then :
5398 ac_cv_header_stdc
=no
5400 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5401 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5407 $as_echo "$ac_cv_header_stdc" >&6; }
5408 if test $ac_cv_header_stdc = yes; then
5410 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5414 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5415 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5416 inttypes.h stdint.h unistd.h
5418 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5419 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5421 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5422 cat >>confdefs.h
<<_ACEOF
5423 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5431 # The cast to long int works around a bug in the HP C Compiler
5432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5434 # This bug is HP SR number 8606223364.
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
5436 $as_echo_n "checking size of void *... " >&6; }
5437 if ${ac_cv_sizeof_void_p+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
5443 if test "$ac_cv_type_void_p" = yes; then
5444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5446 as_fn_error
77 "cannot compute sizeof (void *)
5447 See \`config.log' for more details" "$LINENO" 5; }
5449 ac_cv_sizeof_void_p
=0
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
5455 $as_echo "$ac_cv_sizeof_void_p" >&6; }
5459 cat >>confdefs.h
<<_ACEOF
5460 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
5464 ac_configure_args
="$ac_configure_args HOST_PTR_SIZE='$ac_cv_sizeof_void_p'"
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
5467 $as_echo_n "checking for library containing sqrt... " >&6; }
5468 if ${ac_cv_search_sqrt+:} false
; then :
5469 $as_echo_n "(cached) " >&6
5471 ac_func_search_save_LIBS
=$LIBS
5472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5473 /* end confdefs.h. */
5475 /* Override any GCC internal prototype to avoid an error.
5476 Use char because int might match the return type of a GCC
5477 builtin and then its argument prototype would still apply. */
5490 for ac_lib
in '' m
; do
5491 if test -z "$ac_lib"; then
5492 ac_res
="none required"
5495 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5497 if ac_fn_c_try_link
"$LINENO"; then :
5498 ac_cv_search_sqrt
=$ac_res
5500 rm -f core conftest.err conftest.
$ac_objext \
5502 if ${ac_cv_search_sqrt+:} false
; then :
5506 if ${ac_cv_search_sqrt+:} false
; then :
5509 ac_cv_search_sqrt
=no
5512 LIBS
=$ac_func_search_save_LIBS
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
5515 $as_echo "$ac_cv_search_sqrt" >&6; }
5516 ac_res
=$ac_cv_search_sqrt
5517 if test "$ac_res" != no
; then :
5518 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
5523 $as_echo_n "checking for library containing dlopen... " >&6; }
5524 if ${ac_cv_search_dlopen+:} false
; then :
5525 $as_echo_n "(cached) " >&6
5527 ac_func_search_save_LIBS
=$LIBS
5528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5529 /* end confdefs.h. */
5531 /* Override any GCC internal prototype to avoid an error.
5532 Use char because int might match the return type of a GCC
5533 builtin and then its argument prototype would still apply. */
5546 for ac_lib
in '' dl
; do
5547 if test -z "$ac_lib"; then
5548 ac_res
="none required"
5551 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5553 if ac_fn_c_try_link
"$LINENO"; then :
5554 ac_cv_search_dlopen
=$ac_res
5556 rm -f core conftest.err conftest.
$ac_objext \
5558 if ${ac_cv_search_dlopen+:} false
; then :
5562 if ${ac_cv_search_dlopen+:} false
; then :
5565 ac_cv_search_dlopen
=no
5568 LIBS
=$ac_func_search_save_LIBS
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
5571 $as_echo "$ac_cv_search_dlopen" >&6; }
5572 ac_res
=$ac_cv_search_dlopen
5573 if test "$ac_res" != no
; then :
5574 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5579 LUAJIT_DEFINES
='-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6'
5581 case $host_os:$host_cpu in #(
5583 LUAJIT_LDEXTRA
='-pagezero_size 10000 -image_base 100000000' ;; #(
5589 # Check whether --enable-largefile was given.
5590 if test "${enable_largefile+set}" = set; then :
5591 enableval
=$enable_largefile;
5594 if test "$enable_largefile" != no
; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5597 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5598 if ${ac_cv_sys_largefile_CC+:} false
; then :
5599 $as_echo_n "(cached) " >&6
5601 ac_cv_sys_largefile_CC
=no
5602 if test "$GCC" != yes; then
5605 # IRIX 6.2 and later do not support large files by default,
5606 # so use the C compiler's -n32 option if that helps.
5607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5609 #include <sys/types.h>
5610 /* Check that off_t can represent 2**63 - 1 correctly.
5611 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5612 since some C++ compilers masquerading as C compilers
5613 incorrectly reject 9223372036854775807. */
5614 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5615 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5616 && LARGE_OFF_T % 2147483647 == 1)
5626 if ac_fn_c_try_compile
"$LINENO"; then :
5629 rm -f core conftest.err conftest.
$ac_objext
5631 if ac_fn_c_try_compile
"$LINENO"; then :
5632 ac_cv_sys_largefile_CC
=' -n32'; break
5634 rm -f core conftest.err conftest.
$ac_objext
5638 rm -f conftest.
$ac_ext
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5642 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5643 if test "$ac_cv_sys_largefile_CC" != no
; then
5644 CC
=$CC$ac_cv_sys_largefile_CC
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5648 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5649 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5650 $as_echo_n "(cached) " >&6
5653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5654 /* end confdefs.h. */
5655 #include <sys/types.h>
5656 /* Check that off_t can represent 2**63 - 1 correctly.
5657 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5658 since some C++ compilers masquerading as C compilers
5659 incorrectly reject 9223372036854775807. */
5660 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5661 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5662 && LARGE_OFF_T % 2147483647 == 1)
5672 if ac_fn_c_try_compile
"$LINENO"; then :
5673 ac_cv_sys_file_offset_bits
=no
; break
5675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5678 #define _FILE_OFFSET_BITS 64
5679 #include <sys/types.h>
5680 /* Check that off_t can represent 2**63 - 1 correctly.
5681 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5682 since some C++ compilers masquerading as C compilers
5683 incorrectly reject 9223372036854775807. */
5684 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5685 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5686 && LARGE_OFF_T % 2147483647 == 1)
5696 if ac_fn_c_try_compile
"$LINENO"; then :
5697 ac_cv_sys_file_offset_bits
=64; break
5699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5700 ac_cv_sys_file_offset_bits
=unknown
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5705 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5706 case $ac_cv_sys_file_offset_bits in #(
5709 cat >>confdefs.h
<<_ACEOF
5710 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5715 if test $ac_cv_sys_file_offset_bits = unknown
; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5717 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5718 if ${ac_cv_sys_large_files+:} false
; then :
5719 $as_echo_n "(cached) " >&6
5722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5724 #include <sys/types.h>
5725 /* Check that off_t can represent 2**63 - 1 correctly.
5726 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5727 since some C++ compilers masquerading as C compilers
5728 incorrectly reject 9223372036854775807. */
5729 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5730 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5731 && LARGE_OFF_T % 2147483647 == 1)
5741 if ac_fn_c_try_compile
"$LINENO"; then :
5742 ac_cv_sys_large_files
=no
; break
5744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5746 /* end confdefs.h. */
5747 #define _LARGE_FILES 1
5748 #include <sys/types.h>
5749 /* Check that off_t can represent 2**63 - 1 correctly.
5750 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5751 since some C++ compilers masquerading as C compilers
5752 incorrectly reject 9223372036854775807. */
5753 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5754 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5755 && LARGE_OFF_T % 2147483647 == 1)
5765 if ac_fn_c_try_compile
"$LINENO"; then :
5766 ac_cv_sys_large_files
=1; break
5768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5769 ac_cv_sys_large_files
=unknown
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5774 $as_echo "$ac_cv_sys_large_files" >&6; }
5775 case $ac_cv_sys_large_files in #(
5778 cat >>confdefs.h
<<_ACEOF
5779 #define _LARGE_FILES $ac_cv_sys_large_files
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
5790 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
5791 if ${ac_cv_sys_largefile_source+:} false
; then :
5792 $as_echo_n "(cached) " >&6
5795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5797 #include <sys/types.h> /* for off_t */
5802 int (*fp) (FILE *, off_t, int) = fseeko;
5803 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
5808 if ac_fn_c_try_link
"$LINENO"; then :
5809 ac_cv_sys_largefile_source
=no
; break
5811 rm -f core conftest.err conftest.
$ac_objext \
5812 conftest
$ac_exeext conftest.
$ac_ext
5813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5814 /* end confdefs.h. */
5815 #define _LARGEFILE_SOURCE 1
5816 #include <sys/types.h> /* for off_t */
5821 int (*fp) (FILE *, off_t, int) = fseeko;
5822 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
5827 if ac_fn_c_try_link
"$LINENO"; then :
5828 ac_cv_sys_largefile_source
=1; break
5830 rm -f core conftest.err conftest.
$ac_objext \
5831 conftest
$ac_exeext conftest.
$ac_ext
5832 ac_cv_sys_largefile_source
=unknown
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
5837 $as_echo "$ac_cv_sys_largefile_source" >&6; }
5838 case $ac_cv_sys_largefile_source in #(
5841 cat >>confdefs.h
<<_ACEOF
5842 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
5848 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
5849 # in glibc 2.1.3, but that breaks too many other things.
5850 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
5851 if test $ac_cv_sys_largefile_source != unknown
; then
5853 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
5857 if test "x$enable_largefile" != xno
; then
5858 case $ac_cv_sys_file_offset_bits in #(
5862 case $ac_cv_sys_large_files in #(
5866 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_LARGE_FILES" ;;
5869 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_FILE_OFFSET_BITS=64" ;;
5872 case $ac_cv_sys_largefile_source in #(
5876 LUAJIT_DEFINES
="$LUAJIT_DEFINES -D_LARGEFILE_SOURCE" ;;
5881 cygwin
* | mingw
* | msys
*) :
5882 LJHOST
='Windows' ;; #(
5884 LJHOST
='Darwin' ;; #(
5885 solaris
* | sunos
*) :
5886 LJHOST
='SunOS' ;; #(
5888 LJHOST
='Linux' ;; #(
5892 lj_save_CPPFLAGS
=$CPPFLAGS
5893 CPPFLAGS
="$CPPFLAGS -I$srcdir/LuaJIT-2.0.3/src $LUAJIT_DEFINES -dM"
5894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5896 #include <lj_arch.h>
5898 if ac_fn_c_try_cpp
"$LINENO"; then :
5899 lj_cpp
=ok
; rm -f dynasm_flags native_flags
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architecture" >&5
5901 $as_echo_n "checking for architecture... " >&6; }
5902 if grep 'LJ_TARGET_X64 ' conftest.i
>/dev
/null
2>&1; then :
5904 elif grep 'LJ_TARGET_X86 ' conftest.i
>/dev
/null
2>&1; then :
5906 LUAJIT_DEFINES
="$LUAJIT_DEFINES -march=i686"
5907 elif grep 'LJ_TARGET_ARM ' conftest.i
>/dev
/null
2>&1; then :
5909 elif grep 'LJ_TARGET_PPC ' conftest.i
>/dev
/null
2>&1; then :
5911 elif grep 'LJ_TARGET_PPCSPE ' conftest.i
>/dev
/null
2>&1; then :
5913 elif grep 'LJ_TARGET_MIPS ' conftest.i
>/dev
/null
2>&1; then :
5915 if grep 'MIPSEL ' conftest.i
>/dev
/null
2>&1; then :
5916 echo '-D__MPISEL__=1' >>native_flags
5919 as_fn_error $?
"Sorry, unsupported architecture" "$LINENO" 5
5921 if grep 'LJ_TARGET_PS3 1'conftest.i
>/dev
/null
2>&1; then :
5923 echo '-D__CELLOS_LV2__' >>native_flags
5924 LUAJIT_DEFINES
="$LUAJIT_DEFINES -DLUAJIT_USE_SYSMALLOC"
5926 if grep 'LJ_NO_UNWIND 1'conftest.i
>/dev
/null
2>&1; then :
5927 echo '-DLUAJIT_NO_UNWIND' >>native_flags
5929 echo "-DLUAJIT_TARGET=LUAJIT_ARCH_$LJARCH" >>native_flags
5930 if grep 'LJ_ARCH_BITS 64' conftest.i
>/dev
/null
2>&1; then :
5931 echo '-D P64' >>dynasm_flags
5932 if test "x$LJHOST" = xLinux
; then :
5933 LUAJIT_DEFINES
="$LUAJIT_DEFINES -DMAP_32BIT=0x40"
5936 if grep 'LJ_HASJIT 1' conftest.i
>/dev
/null
2>&1; then :
5937 echo '-D JIT' >>dynasm_flags
5939 if grep 'LJ_HASFFI 1' conftest.i
>/dev
/null
2>&1; then :
5940 echo '-D FFI' >>dynasm_flags
5942 if grep 'LJ_DUALNUM 1' conftest.i
>/dev
/null
2>&1; then :
5943 echo '-D DUALNUM' >>dynasm_flags
5945 if grep 'LJ_ARCH_HASFPU 1' conftest.i
>/dev
/null
2>&1; then :
5946 echo '-D FPU' >>dynasm_flags
5947 echo '-DLJ_ARCH_HASFPU=1' >>native_flags
5949 echo '-DLJ_ARCH_HASFPU=0' >>native_flags
5951 if grep 'LJ_ABI_SOFTFP 1' conftest.i
>/dev
/null
2>&1; then :
5952 echo '-DDLJ_ABI_SOFTFP=1' >>native_flags
5954 echo '-D HFABI' >>dynasm_flags
5955 echo '-DLJ_ABI_SOFTFP=0' >>native_flags
5957 echo '-D VER='`grep 'LJ_ARCH_VERSION ' conftest.i 2>&1 | \
5958 sed 's/^.*LJ_ARCH_VERSION //'` >>dynasm_flags
5959 if test "x$LJHOST" = xWindows
; then :
5960 echo '-D WIN' >>dynasm_flags
5965 if grep '__SSE2__ 1' conftest.i
>/dev
/null
2>&1; then :
5966 echo '-D SSE' >>dynasm_flags
5971 if test "x$LJHOST" = xiOS
; then :
5972 echo '-D IOS' >>dynasm_flags
5975 if grep 'LJ_ARCH_SQRT 1' conftest.i
>/dev
/null
2>&1; then :
5976 echo '-D SQRT' >>dynasm_flags
5978 if grep 'LJ_ARCH_SQRT 1' conftest.i
>/dev
/null
2>&1; then :
5979 echo '-D SQRT' >>dynasm_flags
5981 if grep 'LJ_ARCH_ROUND 1' conftest.i
>/dev
/null
2>&1; then :
5982 echo '-D ROUND' >>dynasm_flags
5984 if grep 'LJ_ARCH_PPC64 1' conftest.i
>/dev
/null
2>&1; then :
5985 echo '-D GPR64' >>dynasm_flags
5987 if test "x$LJHOST" = xPS3
; then :
5988 echo '-D PPE -D TOC' >>dynasm_flags
5995 echo '-DLUAJIT_OS=LUAJIT_OS_WINDOWS' >>native_flags
;; #(
5997 echo '-DLUAJIT_OS=LUAJIT_OS_OSX' >>native_flags
;; #(
5999 echo '-DLUAJIT_OS=LUAJIT_OS_LINUX' >>native_flags
;; #(
6001 echo '-DLUAJIT_OS=LUAJIT_OS_OTHER' >>native_flags
;;
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LJHOST $LJARCH $DASM_ARCH" >&5
6004 $as_echo "$LJHOST $LJARCH $DASM_ARCH" >&6; }
6007 rm -f conftest.err conftest.i conftest.
$ac_ext
6008 CPPFLAGS
=$lj_save_CPPFLAGS
6015 LUAJIT_DEFINES
="$LUAJIT_DEFINES -malign-double" ;; #(
6017 LJVM_MODE
=machasm
;; #(
6021 if test "x$LJVM_MODE" = xpeobj
; then
6033 if test "x$enable_build" != xno
; then
6042 if test "x$enable_build" != xno ||
test -f config.force
; then
6044 if test "x$lj_cpp" != xok
; then :
6045 as_fn_error $?
"Sorry, can not preprocess <lj_arch.h>" "$LINENO" 5
6048 echo timestamp
>config.force
6051 LUAJIT_TREE
=LuaJIT-2.0
.3
6054 ac_config_headers
="$ac_config_headers config.h"
6057 ac_config_files
="$ac_config_files Makefile include/Makefile"
6063 subdirs
="$subdirs native"
6068 cat >confcache
<<\_ACEOF
6069 # This file is a shell script that caches the results of configure
6070 # tests run on this system so they can be shared between configure
6071 # scripts and configure runs, see configure's option --config-cache.
6072 # It is not useful on other systems. If it contains results you don't
6073 # want to keep, you may remove or edit it.
6075 # config.status only pays attention to the cache file if you give it
6076 # the --recheck option to rerun configure.
6078 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6084 # The following way of writing the cache mishandles newlines in values,
6085 # but we know of no workaround that is simple, portable, and efficient.
6086 # So, we kill variables containing newlines.
6087 # Ultrix sh set writes to stderr and can't be redirected directly,
6088 # and sets the high bit in the cache file unless we assign to the vars.
6090 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6091 eval ac_val
=\$
$ac_var
6095 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6099 _ | IFS | as_nl
) ;; #(
6100 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6101 *) { eval $ac_var=; unset $ac_var;} ;;
6107 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6108 *${as_nl}ac_space
=\
*)
6109 # `set' does not quote correctly, so add quotes: double-quote
6110 # substitution turns \\\\ into \\, and sed turns \\ into \.
6113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6116 # `set' quotes correctly as required by POSIX, so do not add quotes.
6117 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6126 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6128 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6130 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6131 if test -w "$cache_file"; then
6132 if test "x$cache_file" != "x/dev/null"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6134 $as_echo "$as_me: updating cache $cache_file" >&6;}
6135 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6136 cat confcache
>"$cache_file"
6138 case $cache_file in #(
6140 mv -f confcache
"$cache_file"$$
&&
6141 mv -f "$cache_file"$$
"$cache_file" ;; #(
6143 mv -f confcache
"$cache_file" ;;
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6149 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6154 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6155 # Let make expand exec_prefix.
6156 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6158 DEFS
=-DHAVE_CONFIG_H
6163 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6164 # 1. Remove the extension, and $U if already installed.
6165 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6166 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6167 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6168 # will be set to the directory where LIBOBJS objects are built.
6169 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6170 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6174 LTLIBOBJS
=$ac_ltlibobjs
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6178 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6179 if test -n "$am_sleep_pid"; then
6180 # Hide warnings about reused PIDs.
6181 wait $am_sleep_pid 2>/dev
/null
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6184 $as_echo "done" >&6; }
6185 if test -n "$EXEEXT"; then
6187 am__EXEEXT_FALSE
='#'
6193 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6194 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6197 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6198 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6201 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6202 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6205 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6206 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6209 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
6210 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
6211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6213 if test -z "${PEOBJ_TRUE}" && test -z "${PEOBJ_FALSE}"; then
6214 as_fn_error $?
"conditional \"PEOBJ\" was never defined.
6215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6217 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6218 as_fn_error $?
"conditional \"build\" was never defined.
6219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6222 : "${CONFIG_STATUS=./config.status}"
6224 ac_clean_files_save
=$ac_clean_files
6225 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6227 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6229 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6231 # Generated by $as_me.
6232 # Run this file to recreate the current configuration.
6233 # Compiler output produced by configure, useful for debugging
6234 # configure, is in config.log if it exists.
6240 SHELL=\${CONFIG_SHELL-$SHELL}
6243 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6244 ## -------------------- ##
6245 ## M4sh Initialization. ##
6246 ## -------------------- ##
6248 # Be more Bourne compatible
6249 DUALCASE
=1; export DUALCASE
# for MKS sh
6250 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6253 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6254 # is contrary to our usage. Disable this feature.
6255 alias -g '${1+"$@"}'='"$@"'
6256 setopt NO_GLOB_SUBST
6258 case `(set -o) 2>/dev/null` in #(
6270 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6271 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6274 # Prefer a ksh shell builtin over an external printf program on Solaris,
6275 # but without wasting forks for bash or zsh.
6276 if test -z "$BASH_VERSION$ZSH_VERSION" \
6277 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6278 as_echo='print
-r --'
6279 as_echo_n='print
-rn --'
6280 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6281 as_echo='printf %s
\n'
6282 as_echo_n='printf %s
'
6284 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6285 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6286 as_echo_n='/usr
/ucb
/echo -n'
6288 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6289 as_echo_n_body='eval
6293 expr "X$arg" : "X\\(.*\\)$as_nl";
6294 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6296 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6298 export as_echo_n_body
6299 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6302 as_echo='sh
-c $as_echo_body as_echo
'
6305 # The user is always right.
6306 if test "${PATH_SEPARATOR+set}" != set; then
6308 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6309 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6316 # We need space, tab and new line, in precisely that order. Quoting is
6317 # there to prevent editors from complaining about space-tab.
6318 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6319 # splitting by setting IFS to empty value.)
6322 # Find who we are. Look in the path if we contain no directory separator.
6325 *[\\/]* ) as_myself=$0 ;;
6326 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir=.
6331 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6337 # We did not find ourselves, most probably we were run as `sh COMMAND'
6338 # in which case we are not to be found in the path.
6339 if test "x$as_myself" = x
; then
6342 if test ! -f "$as_myself"; then
6343 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6347 # Unset variables that we do not need and which cause bugs (e.g. in
6348 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6349 # suppresses any "Segmentation fault" message there. '((' could
6350 # trigger a bug in pdksh 5.2.14.
6351 for as_var
in BASH_ENV ENV MAIL MAILPATH
6352 do eval test x\
${$as_var+set} = xset \
6353 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6366 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6370 # ----------------------------------------
6371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6373 # script with STATUS, using 1 if that was 0.
6376 as_status
=$1; test $as_status -eq 0 && as_status
=1
6378 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6381 $as_echo "$as_me: error: $2" >&2
6382 as_fn_exit
$as_status
6386 # as_fn_set_status STATUS
6387 # -----------------------
6388 # Set $? to STATUS, without forking.
6392 } # as_fn_set_status
6396 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6406 # Portably unset VAR.
6409 { eval $1=; unset $1;}
6411 as_unset
=as_fn_unset
6412 # as_fn_append VAR VALUE
6413 # ----------------------
6414 # Append the text in VALUE to the end of the definition contained in VAR. Take
6415 # advantage of any shell optimizations that allow amortized linear growth over
6416 # repeated appends, instead of the typical quadratic growth present in naive
6418 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6419 eval 'as_fn_append ()
6430 # as_fn_arith ARG...
6431 # ------------------
6432 # Perform arithmetic evaluation on the ARGs, and store the result in the
6433 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6434 # must be portable across $(()) and expr.
6435 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6436 eval 'as_fn_arith ()
6443 as_val
=`expr "$@" || test $? -eq 1`
6448 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6449 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6455 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6456 as_basename
=basename
6461 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6467 as_me
=`$as_basename -- "$0" ||
6468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6469 X"$0" : 'X\(//\)$' \| \
6470 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6472 sed '/^.*\/\([^/][^/]*\)\/*$/{
6486 # Avoid depending upon Character Ranges.
6487 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6488 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6489 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6490 as_cr_digits
='0123456789'
6491 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6493 ECHO_C
= ECHO_N
= ECHO_T
=
6494 case `echo -n x` in #(((((
6496 case `echo 'xy\c'` in
6497 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6499 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6506 rm -f conf$$ conf$$.exe conf$$.
file
6507 if test -d conf$$.dir
; then
6508 rm -f conf$$.dir
/conf$$.
file
6511 mkdir conf$$.dir
2>/dev
/null
6513 if (echo >conf$$.
file) 2>/dev
/null
; then
6514 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6516 # ... but there are two gotchas:
6517 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6518 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6519 # In both cases, we have to default to `cp -pR'.
6520 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6522 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6530 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6531 rmdir conf$$.dir
2>/dev
/null
6536 # Create "$as_dir" as a directory, including parents if necessary.
6541 -*) as_dir
=.
/$as_dir;;
6543 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6547 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6548 *) as_qdir
=$as_dir;;
6550 as_dirs
="'$as_qdir' $as_dirs"
6551 as_dir
=`$as_dirname -- "$as_dir" ||
6552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6553 X"$as_dir" : 'X\(//\)[^/]' \| \
6554 X"$as_dir" : 'X\(//\)$' \| \
6555 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6556 $as_echo X"$as_dir" |
6557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6574 test -d "$as_dir" && break
6576 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6577 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6581 if mkdir
-p .
2>/dev
/null
; then
6582 as_mkdir_p
='mkdir -p "$as_dir"'
6584 test -d .
/-p && rmdir .
/-p
6589 # as_fn_executable_p FILE
6590 # -----------------------
6591 # Test if FILE is an executable regular file.
6592 as_fn_executable_p
()
6594 test -f "$1" && test -x "$1"
6595 } # as_fn_executable_p
6597 as_executable_p
=as_fn_executable_p
6599 # Sed expression to map a string onto a valid CPP name.
6600 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6602 # Sed expression to map a string onto a valid variable name.
6603 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6607 ## ----------------------------------- ##
6608 ## Main body of $CONFIG_STATUS script. ##
6609 ## ----------------------------------- ##
6611 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6614 # Save the log message, to keep $0 and so on meaningful, and to
6615 # report actual input values of CONFIG_FILES etc. instead of their
6616 # values after options handling.
6618 This file was extended by luajit for TeX Live $as_me 2.0.3, which was
6619 generated by GNU Autoconf 2.69. Invocation command line was
6621 CONFIG_FILES = $CONFIG_FILES
6622 CONFIG_HEADERS = $CONFIG_HEADERS
6623 CONFIG_LINKS = $CONFIG_LINKS
6624 CONFIG_COMMANDS = $CONFIG_COMMANDS
6627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6632 case $ac_config_files in *"
6633 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6636 case $ac_config_headers in *"
6637 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6642 # Files that config.status was made for.
6643 config_files="$ac_config_files"
6644 config_headers="$ac_config_headers"
6645 config_commands="$ac_config_commands"
6649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6651 \`$as_me' instantiates files and other configuration actions
6652 from templates according to the current configuration. Unless the files
6653 and actions are specified as TAGs, all are instantiated by default.
6655 Usage: $0 [OPTION]... [TAG]...
6657 -h, --help print this help, then exit
6658 -V, --version print version number and configuration settings, then exit
6659 --config print configuration, then exit
6660 -q, --quiet, --silent
6661 do not print progress messages
6662 -d, --debug don't remove temporary files
6663 --recheck update $as_me by reconfiguring in the same conditions
6664 --file=FILE[:TEMPLATE]
6665 instantiate the configuration file FILE
6666 --header=FILE[:TEMPLATE]
6667 instantiate the configuration header FILE
6669 Configuration files:
6672 Configuration headers:
6675 Configuration commands:
6678 Report bugs to <tex-k@tug.org>."
6681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6682 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6684 luajit for TeX Live config.status 2.0.3
6685 configured by $0, generated by GNU Autoconf 2.69,
6686 with options \\"\$ac_cs_config\\"
6688 Copyright (C) 2012 Free Software Foundation, Inc.
6689 This config.status script is free software; the Free Software Foundation
6690 gives unlimited permission to copy, distribute and modify it."
6697 test -n "\$AWK" || AWK=awk
6700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6701 # The default lists apply if the user does not specify any file.
6707 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6708 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6712 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6724 # Handling of the options.
6725 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6727 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6728 $as_echo "$ac_cs_version"; exit ;;
6729 --config |
--confi |
--conf |
--con |
--co |
--c )
6730 $as_echo "$ac_cs_config"; exit ;;
6731 --debug |
--debu |
--deb |
--de |
--d |
-d )
6733 --file |
--fil |
--fi |
--f )
6736 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6737 '') as_fn_error $?
"missing file argument" ;;
6739 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6740 ac_need_defaults
=false
;;
6741 --header |
--heade |
--head |
--hea )
6744 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6746 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6747 ac_need_defaults
=false
;;
6749 # Conflict between --help and --header
6750 as_fn_error $?
"ambiguous option: \`$1'
6751 Try \`$0 --help' for more information.";;
6752 --help |
--hel |
-h )
6753 $as_echo "$ac_cs_usage"; exit ;;
6754 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6755 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6759 -*) as_fn_error $?
"unrecognized option: \`$1'
6760 Try \`$0 --help' for more information." ;;
6762 *) as_fn_append ac_config_targets
" $1"
6763 ac_need_defaults
=false
;;
6769 ac_configure_extra_args
=
6771 if $ac_cs_silent; then
6773 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6778 if \$ac_cs_recheck; then
6779 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6781 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6782 CONFIG_SHELL='$SHELL'
6788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6792 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6793 ## Running $as_me. ##
6799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6803 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6809 # Handling of arguments.
6810 for ac_config_target
in $ac_config_targets
6812 case $ac_config_target in
6813 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6814 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6815 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6816 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
6818 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6823 # If the user did not use the arguments to specify the items to instantiate,
6824 # then the envvar interface is used. Set only those that are not.
6825 # We use the long form for the default assignment because of an extremely
6826 # bizarre bug on SunOS 4.1.3.
6827 if $ac_need_defaults; then
6828 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6829 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6830 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6833 # Have a temporary directory for convenience. Make it in the build tree
6834 # simply because there is no reason against having it here, and in addition,
6835 # creating and moving files from /tmp can sometimes cause problems.
6836 # Hook for its removal unless debugging.
6837 # Note that there is a small window in which the directory will not be cleaned:
6838 # after its creation but before its name has been assigned to `$tmp'.
6842 trap 'exit_status=$?
6844 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6846 trap 'as_fn_exit 1' 1 2 13 15
6848 # Create a (secure) tmp directory for tmp files.
6851 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6855 tmp
=.
/conf$$
-$RANDOM
6856 (umask 077 && mkdir
"$tmp")
6857 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6860 # Set up the scripts for CONFIG_FILES section.
6861 # No need to generate them if there are no CONFIG_FILES.
6862 # This happens for instance with `./config.status config.h'.
6863 if test -n "$CONFIG_FILES"; then
6866 ac_cr
=`echo X | tr X '\015'`
6867 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6868 # But we know of no other shell where ac_cr would be empty at this
6869 # point, so we can use a bashism as a fallback.
6870 if test "x$ac_cr" = x
; then
6871 eval ac_cr
=\$
\'\\r
\'
6873 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6874 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6880 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6885 echo "cat >conf$$subs.awk <<_ACEOF" &&
6886 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6889 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6890 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6892 for ac_last_try in false false false false false :; do
6893 . ./conf$$subs.sh ||
6894 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6896 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6897 if test $ac_delim_n = $ac_delim_num; then
6899 elif $ac_last_try; then
6900 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6902 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6908 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6912 s/^/S["/; s
/!.
*/"]=/
6922 s/\(.\{148\}\)..*/\1/
6924 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6929 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6936 s/\(.\{148\}\)..*/\1/
6938 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6942 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6947 ' <conf$$subs.awk | sed '
6952 ' >>$CONFIG_STATUS || ac_write_fail=1
6953 rm -f conf$$subs.awk
6954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6956 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6957 for (key in S) S_is_set[key] = 1
6963 nfields = split(line, field, "@
")
6965 len = length(field[1])
6966 for (i = 2; i < nfields; i++) {
6968 keylen = length(key)
6969 if (S_is_set[key]) {
6971 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6972 len += length(value) + length(field[++i])
6983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6984 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6985 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6988 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6989 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6992 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6993 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6994 # trailing colons and then remove the whole line if VPATH becomes empty
6995 # (actually we leave an empty line to preserve line numbers).
6996 if test "x
$srcdir" = x.; then
6997 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7016 fi # test -n "$CONFIG_FILES"
7018 # Set up the scripts for CONFIG_HEADERS section.
7019 # No need to generate them if there are no CONFIG_HEADERS.
7020 # This happens for instance with `./config.status Makefile'.
7021 if test -n "$CONFIG_HEADERS"; then
7022 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7026 # Transform confdefs.h into an awk script `defines.awk', embedded as
7027 # here-document in config.status, that substitutes the proper values into
7028 # config.h.in to produce config.h.
7030 # Create a delimiter string that does not exist in confdefs.h, to ease
7031 # handling of long lines.
7033 for ac_last_try in false false :; do
7034 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7035 if test -z "$ac_tt"; then
7037 elif $ac_last_try; then
7038 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7040 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7044 # For the awk script, D is an array of macro values keyed by name,
7045 # likewise P contains macro parameters if any. Preserve backslash
7046 # newline sequences.
7048 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7050 s/.\{148\}/&'"$ac_delim"'/g
7053 s/^[ ]*#[ ]*define[ ][ ]*/ /
7060 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7062 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7066 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7067 D["\
1"]=" \
3\\\\\\n
"\\/p
7069 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7074 s/.\{148\}/&'"$ac_delim"'/g
7079 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7082 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7084 ' <confdefs.h | sed '
7085 s/'"$ac_delim"'/"\\\
7086 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7089 for (key in D) D_is_set[key] = 1
7092 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7094 split(line, arg, " ")
7095 if (arg[1] == "#") {
7099 defundef
= substr
(arg
[1], 2)
7102 split(mac1
, mac2
, "(") #)
7104 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7105 if (D_is_set
[macro
]) {
7106 # Preserve the white space surrounding the "#".
7107 print prefix
"define", macro P
[macro
] D
[macro
]
7110 # Replace #undef with comments. This is necessary, for example,
7111 # in the case of _POSIX_SOURCE, which is predefined and required
7112 # on some systems where configure will not decide to define it.
7113 if (defundef
== "undef") {
7114 print
"/*", prefix defundef
, macro
, "*/"
7122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7123 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7124 fi # test -n "$CONFIG_HEADERS"
7127 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7132 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7134 case $ac_mode$ac_tag in
7136 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7137 :[FH
]-) ac_tag
=-:-;;
7138 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7155 -) ac_f
="$ac_tmp/stdin";;
7156 *) # Look for the file first in the build tree, then in the source tree
7157 # (if the path is not absolute). The absolute path cannot be DOS-style,
7158 # because $ac_f cannot contain `:'.
7162 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7164 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7166 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7167 as_fn_append ac_file_inputs
" '$ac_f'"
7170 # Let's still pretend it is `configure' which instantiates (i.e., don't
7171 # use $as_me), people would be surprised to read:
7172 # /* config.h. Generated by config.status. */
7173 configure_input
='Generated from '`
7174 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7176 if test x
"$ac_file" != x-
; then
7177 configure_input
="$ac_file. $configure_input"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7179 $as_echo "$as_me: creating $ac_file" >&6;}
7181 # Neutralize special characters interpreted by sed in replacement strings.
7182 case $configure_input in #(
7183 *\
&* |
*\|
* |
*\\* )
7184 ac_sed_conf_input
=`$as_echo "$configure_input" |
7185 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7186 *) ac_sed_conf_input
=$configure_input;;
7190 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7191 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7196 ac_dir
=`$as_dirname -- "$ac_file" ||
7197 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7198 X"$ac_file" : 'X\(//\)[^/]' \| \
7199 X"$ac_file" : 'X\(//\)$' \| \
7200 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7201 $as_echo X"$ac_file" |
7202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7219 as_dir
="$ac_dir"; as_fn_mkdir_p
7223 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7225 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7226 # A ".." for each directory in $ac_dir_suffix.
7227 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7228 case $ac_top_builddir_sub in
7229 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7230 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7233 ac_abs_top_builddir
=$ac_pwd
7234 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7235 # for backward compatibility:
7236 ac_top_builddir
=$ac_top_build_prefix
7239 .
) # We are building in place.
7241 ac_top_srcdir
=$ac_top_builddir_sub
7242 ac_abs_top_srcdir
=$ac_pwd ;;
7243 [\\/]* | ?
:[\\/]* ) # Absolute name.
7244 ac_srcdir
=$srcdir$ac_dir_suffix;
7245 ac_top_srcdir
=$srcdir
7246 ac_abs_top_srcdir
=$srcdir ;;
7248 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7249 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7250 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7252 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7262 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7263 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7267 [\\/$
]* | ?
:[\\/]* ) ;;
7268 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7273 # If the template does not know about datarootdir, expand it.
7274 # FIXME: This hack should be removed a few years after 2.60.
7275 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7286 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7287 *datarootdir
*) ac_datarootdir_seen
=yes;;
7288 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7290 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7293 ac_datarootdir_hack='
7294 s&@datadir@&$datadir&g
7295 s&@docdir@&$docdir&g
7296 s&@infodir@&$infodir&g
7297 s&@localedir@&$localedir&g
7298 s&@mandir@&$mandir&g
7299 s&\\\${datarootdir}&$datarootdir&g' ;;
7303 # Neutralize VPATH when `$srcdir' = `.'.
7304 # Shell code in configure.ac might set extrasub.
7305 # FIXME: do we really want to maintain this feature?
7306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7307 ac_sed_extra="$ac_vpsub
7310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7312 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7313 s|@configure_input@|
$ac_sed_conf_input|
;t t
7314 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7315 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7316 s
&@srcdir@
&$ac_srcdir&;t t
7317 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7318 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7319 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7320 s
&@builddir@
&$ac_builddir&;t t
7321 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7322 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7323 s
&@INSTALL@
&$ac_INSTALL&;t t
7324 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7325 $ac_datarootdir_hack
7327 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7328 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7330 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7331 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7332 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7333 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7335 which seems to be undefined. Please make sure it is defined" >&5
7336 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7337 which seems to be undefined. Please make sure it is defined" >&2;}
7339 rm -f "$ac_tmp/stdin"
7341 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7342 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7344 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7350 if test x"$ac_file" != x-; then
7352 $as_echo "/* $configure_input */" \
7353 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7354 } >"$ac_tmp/config.h" \
7355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7356 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7358 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7361 mv "$ac_tmp/config.h" "$ac_file" \
7362 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7365 $as_echo "/* $configure_input */" \
7366 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7367 || as_fn_error $? "could not create -" "$LINENO" 5
7369 # Compute "$ac_file"'s index
in $config_headers.
7372 for _am_header
in $config_headers :; do
7374 $_am_arg |
$_am_arg:* )
7377 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7380 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7381 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7382 X"$_am_arg" : 'X\(//\)[^/]' \| \
7383 X"$_am_arg" : 'X\(//\)$' \| \
7384 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7385 $as_echo X"$_am_arg" |
7386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7402 s/.*/./; q'`/stamp-h
$_am_stamp_count
7405 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7406 $as_echo "$as_me: executing $ac_file commands" >&6;}
7411 case $ac_file$ac_mode in
7412 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7413 # Older Autoconf quotes --file arguments for eval, but not when files
7414 # are listed without --file. Let's play safe and only enable the eval
7415 # if we detect the quoting.
7416 case $CONFIG_FILES in
7417 *\'*) eval set x
"$CONFIG_FILES" ;;
7418 *) set x
$CONFIG_FILES ;;
7423 # Strip MF so we end up with the name of the file.
7424 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7425 # Check whether this is an Automake generated Makefile or not.
7426 # We used to match only the files named 'Makefile.in', but
7427 # some people rename them; so instead we look at the file content.
7428 # Grep'ing the first line is not enough: some people post-process
7429 # each Makefile.in and add a new line on top of each file to say so.
7430 # Grep'ing the whole file is not good either: AIX grep has a line
7431 # limit of 2048, but all sed's we know have understand at least 4000.
7432 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7433 dirpart
=`$as_dirname -- "$mf" ||
7434 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7435 X"$mf" : 'X\(//\)[^/]' \| \
7436 X"$mf" : 'X\(//\)$' \| \
7437 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7459 # Extract the definition of DEPDIR, am__include, and am__quote
7460 # from the Makefile without running 'make'.
7461 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7462 test -z "$DEPDIR" && continue
7463 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7464 test -z "$am__include" && continue
7465 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7466 # Find all dependency output files, they are included files with
7467 # $(DEPDIR) in their names. We invoke sed twice because it is the
7468 # simplest approach to changing $(DEPDIR) to its actual value in the
7470 for file in `sed -n "
7471 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7472 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7473 # Make sure the directory exists.
7474 test -f "$dirpart/$file" && continue
7475 fdir
=`$as_dirname -- "$file" ||
7476 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7477 X"$file" : 'X\(//\)[^/]' \| \
7478 X"$file" : 'X\(//\)$' \| \
7479 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7498 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7499 # echo "creating $dirpart/$file"
7500 echo '# dummy' > "$dirpart/$file"
7512 ac_clean_files
=$ac_clean_files_save
7514 test $ac_write_fail = 0 ||
7515 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7517 ac_configure_args
="$ac_configure_args DASM_ARCH=$DASM_ARCH"
7518 if test "x$cross_compiling" = xyes
; then :
7519 if test "x$cache_file" != x
/dev
/null
; then :
7520 cache_file
=config.cache
7522 ac_configure_args
="$ac_configure_args --host='$kpse_build_alias' \
7523 CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \
7524 CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'"
7527 # configure is writing to config.log, and then calls config.status.
7528 # config.status does its own redirection, appending to config.log.
7529 # Unfortunately, on DOS this fails, as config.log is still kept open
7530 # by configure, so config.status won't be able to write to it; its
7531 # output is simply discarded. So we exec the FD to /dev/null,
7532 # effectively closing config.log, so it can be properly (re)opened and
7533 # appended to by config.status. When coming back to configure, we
7534 # need to make the FD available again.
7535 if test "$no_create" != yes; then
7537 ac_config_status_args
=
7538 test "$silent" = yes &&
7539 ac_config_status_args
="$ac_config_status_args --quiet"
7541 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7543 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7544 # would make configure fail if this is the last instruction.
7545 $ac_cs_success || as_fn_exit
1
7549 # CONFIG_SUBDIRS section.
7551 if test "$no_recursion" != yes; then
7553 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
7554 # so they do not pile up.
7555 ac_sub_configure_args
=
7557 eval "set x $ac_configure_args"
7561 if test -n "$ac_prev"; then
7566 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7567 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7568 ac_prev
=cache_file
;;
7569 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7570 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7573 --config-cache |
-C)
7575 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7577 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7579 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7581 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7583 --disable-option-checking)
7587 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7589 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
7593 # Always prepend --prefix to ensure using the same prefix
7594 # in subdir configurations.
7595 ac_arg
="--prefix=$prefix"
7597 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7599 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
7602 if test "$silent" = yes; then
7603 ac_sub_configure_args
="--silent $ac_sub_configure_args"
7606 # Always prepend --disable-option-checking to silence warnings, since
7607 # different subdirs can have different --enable and --with options.
7608 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
7611 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7613 # Do not complain, so a configure script can configure whichever
7614 # parts of a large source tree are present.
7615 test -d "$srcdir/$ac_dir" ||
continue
7617 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
7619 $as_echo "$ac_msg" >&6
7620 as_dir
="$ac_dir"; as_fn_mkdir_p
7624 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7626 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7627 # A ".." for each directory in $ac_dir_suffix.
7628 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7629 case $ac_top_builddir_sub in
7630 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7631 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7634 ac_abs_top_builddir
=$ac_pwd
7635 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7636 # for backward compatibility:
7637 ac_top_builddir
=$ac_top_build_prefix
7640 .
) # We are building in place.
7642 ac_top_srcdir
=$ac_top_builddir_sub
7643 ac_abs_top_srcdir
=$ac_pwd ;;
7644 [\\/]* | ?
:[\\/]* ) # Absolute name.
7645 ac_srcdir
=$srcdir$ac_dir_suffix;
7646 ac_top_srcdir
=$srcdir
7647 ac_abs_top_srcdir
=$srcdir ;;
7649 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7650 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7651 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7653 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7658 # Check for guested configure; otherwise get Cygnus style configure.
7659 if test -f "$ac_srcdir/configure.gnu"; then
7660 ac_sub_configure
=$ac_srcdir/configure.gnu
7661 elif test -f "$ac_srcdir/configure"; then
7662 ac_sub_configure
=$ac_srcdir/configure
7663 elif test -f "$ac_srcdir/configure.in"; then
7664 # This should be Cygnus configure.
7665 ac_sub_configure
=$ac_aux_dir/configure
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
7668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7672 # The recursion is here.
7673 if test -n "$ac_sub_configure"; then
7674 # Make the cache file name correct relative to the subdirectory.
7676 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7678 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
7681 { $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
7682 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7683 # The eval makes quoting arguments work.
7684 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
7685 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
7686 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
7692 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7694 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}