2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for luajit native 2.1.0-beta1.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
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 native'
582 PACKAGE_TARNAME
='luajit-native'
583 PACKAGE_VERSION
='2.1.0-beta1'
584 PACKAGE_STRING
='luajit native 2.1.0-beta1'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="../LuaJIT-src/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 ac_subst_vars
='am__EXEEXT_FALSE
665 MAINTAINER_MODE_FALSE
679 INSTALL_STRIP_PROGRAM
721 program_transform_name
734 enable_option_checking
736 enable_maintainer_mode
737 enable_dependency_tracking
738 enable_compiler_warnings
740 ac_precious_vars
='build_alias
751 # Initialize some variables set by options.
753 ac_init_version
=false
754 ac_unrecognized_opts
=
756 # The variables have the same names as the options, with
757 # dashes changed to underlines.
765 program_transform_name
=s
,x
,x
,
773 # Installation directory options.
774 # These are left unexpanded so users can "make install exec_prefix=/foo"
775 # and all the variables that are supposed to be based on exec_prefix
776 # by default will actually change.
777 # Use braces instead of parens because sh, perl, etc. also accept them.
778 # (The list follows the same order as the GNU Coding Standards.)
779 bindir
='${exec_prefix}/bin'
780 sbindir
='${exec_prefix}/sbin'
781 libexecdir
='${exec_prefix}/libexec'
782 datarootdir
='${prefix}/share'
783 datadir
='${datarootdir}'
784 sysconfdir
='${prefix}/etc'
785 sharedstatedir
='${prefix}/com'
786 localstatedir
='${prefix}/var'
787 includedir
='${prefix}/include'
788 oldincludedir
='/usr/include'
789 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir
='${datarootdir}/info'
795 libdir
='${exec_prefix}/lib'
796 localedir
='${datarootdir}/locale'
797 mandir
='${datarootdir}/man'
803 # If the previous option needs an argument, assign it.
804 if test -n "$ac_prev"; then
805 eval $ac_prev=\
$ac_option
811 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 # Accept the important Cygnus configure options, so we can diagnose typos.
818 case $ac_dashdash$ac_option in
822 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
824 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
827 -build |
--build |
--buil |
--bui |
--bu)
828 ac_prev
=build_alias
;;
829 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
830 build_alias
=$ac_optarg ;;
832 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
833 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
834 ac_prev
=cache_file
;;
835 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
836 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
837 cache_file
=$ac_optarg ;;
840 cache_file
=config.cache
;;
842 -datadir |
--datadir |
--datadi |
--datad)
844 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
845 datadir
=$ac_optarg ;;
847 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
848 |
--dataroo |
--dataro |
--datar)
849 ac_prev
=datarootdir
;;
850 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
851 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
852 datarootdir
=$ac_optarg ;;
854 -disable-* |
--disable-*)
855 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
858 as_fn_error $?
"invalid feature name: $ac_useropt"
859 ac_useropt_orig
=$ac_useropt
860 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866 ac_unrecognized_sep
=', ';;
868 eval enable_
$ac_useropt=no
;;
870 -docdir |
--docdir |
--docdi |
--doc |
--do)
872 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
875 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
877 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
880 -enable-* |
--enable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error $?
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=\
$ac_optarg ;;
896 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
897 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
898 |
--exec |
--exe |
--ex)
899 ac_prev
=exec_prefix
;;
900 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
901 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
902 |
--exec=* |
--exe=* |
--ex=*)
903 exec_prefix
=$ac_optarg ;;
905 -gas |
--gas |
--ga |
--g)
906 # Obsolete; use --with-gas.
909 -help |
--help |
--hel |
--he |
-h)
911 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
912 ac_init_help
=recursive
;;
913 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
914 ac_init_help
=short
;;
916 -host |
--host |
--hos |
--ho)
917 ac_prev
=host_alias
;;
918 -host=* |
--host=* |
--hos=* |
--ho=*)
919 host_alias
=$ac_optarg ;;
921 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
923 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
925 htmldir
=$ac_optarg ;;
927 -includedir |
--includedir |
--includedi |
--included |
--include \
928 |
--includ |
--inclu |
--incl |
--inc)
929 ac_prev
=includedir
;;
930 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
931 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
932 includedir
=$ac_optarg ;;
934 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
936 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
937 infodir
=$ac_optarg ;;
939 -libdir |
--libdir |
--libdi |
--libd)
941 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
944 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
945 |
--libexe |
--libex |
--libe)
946 ac_prev
=libexecdir
;;
947 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
948 |
--libexe=* |
--libex=* |
--libe=*)
949 libexecdir
=$ac_optarg ;;
951 -localedir |
--localedir |
--localedi |
--localed |
--locale)
953 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
954 localedir
=$ac_optarg ;;
956 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
957 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
958 ac_prev
=localstatedir
;;
959 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
960 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
961 localstatedir
=$ac_optarg ;;
963 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
965 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
969 # Obsolete; use --without-fp.
972 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
973 |
--no-cr |
--no-c |
-n)
976 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
977 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
980 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
981 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
982 |
--oldin |
--oldi |
--old |
--ol |
--o)
983 ac_prev
=oldincludedir
;;
984 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
985 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
986 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
987 oldincludedir
=$ac_optarg ;;
989 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
991 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
994 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
995 |
--program-pre |
--program-pr |
--program-p)
996 ac_prev
=program_prefix
;;
997 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
998 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
999 program_prefix
=$ac_optarg ;;
1001 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1002 |
--program-suf |
--program-su |
--program-s)
1003 ac_prev
=program_suffix
;;
1004 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1005 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1006 program_suffix
=$ac_optarg ;;
1008 -program-transform-name |
--program-transform-name \
1009 |
--program-transform-nam |
--program-transform-na \
1010 |
--program-transform-n |
--program-transform- \
1011 |
--program-transform |
--program-transfor \
1012 |
--program-transfo |
--program-transf \
1013 |
--program-trans |
--program-tran \
1014 |
--progr-tra |
--program-tr |
--program-t)
1015 ac_prev
=program_transform_name
;;
1016 -program-transform-name=* |
--program-transform-name=* \
1017 |
--program-transform-nam=* |
--program-transform-na=* \
1018 |
--program-transform-n=* |
--program-transform-=* \
1019 |
--program-transform=* |
--program-transfor=* \
1020 |
--program-transfo=* |
--program-transf=* \
1021 |
--program-trans=* |
--program-tran=* \
1022 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1023 program_transform_name
=$ac_optarg ;;
1025 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1027 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1028 pdfdir
=$ac_optarg ;;
1030 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1032 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1035 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1036 |
-silent |
--silent |
--silen |
--sile |
--sil)
1039 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1041 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1043 sbindir
=$ac_optarg ;;
1045 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1046 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1047 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1049 ac_prev
=sharedstatedir
;;
1050 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1051 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1052 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1054 sharedstatedir
=$ac_optarg ;;
1056 -site |
--site |
--sit)
1058 -site=* |
--site=* |
--sit=*)
1061 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1063 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1064 srcdir
=$ac_optarg ;;
1066 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1067 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1068 ac_prev
=sysconfdir
;;
1069 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1070 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1071 sysconfdir
=$ac_optarg ;;
1073 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1074 ac_prev
=target_alias
;;
1075 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1076 target_alias
=$ac_optarg ;;
1078 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1081 -version |
--version |
--versio |
--versi |
--vers |
-V)
1082 ac_init_version
=: ;;
1085 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1088 as_fn_error $?
"invalid package name: $ac_useropt"
1089 ac_useropt_orig
=$ac_useropt
1090 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1095 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1096 ac_unrecognized_sep
=', ';;
1098 eval with_
$ac_useropt=\
$ac_optarg ;;
1100 -without-* |
--without-*)
1101 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1104 as_fn_error $?
"invalid package name: $ac_useropt"
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval with_
$ac_useropt=no
;;
1117 # Obsolete; use --with-x.
1120 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1121 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1122 ac_prev
=x_includes
;;
1123 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1124 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1125 x_includes
=$ac_optarg ;;
1127 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1128 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1129 ac_prev
=x_libraries
;;
1130 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1131 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1132 x_libraries
=$ac_optarg ;;
1134 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1135 Try \`$0 --help' for more information"
1139 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 case $ac_envvar in #(
1142 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1143 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1145 eval $ac_envvar=\
$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1159 if test -n "$ac_prev"; then
1160 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1161 as_fn_error $?
"missing argument to $ac_option"
1164 if test -n "$ac_unrecognized_opts"; then
1165 case $enable_option_checking in
1167 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1168 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172 # Check all directory arguments for consistency.
1173 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174 datadir sysconfdir sharedstatedir localstatedir includedir \
1175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176 libdir localedir mandir
1178 eval ac_val
=\$
$ac_var
1179 # Remove trailing slashes.
1182 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183 eval $ac_var=\
$ac_val;;
1185 # Be sure to have absolute directory names.
1187 [\\/$
]* | ?
:[\\/]* ) continue;;
1188 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1190 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1198 target
=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x
; then
1202 if test "x$build_alias" = x
; then
1203 cross_compiling
=maybe
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 as_fn_error $?
"working directory cannot be determined"
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 as_fn_error $?
"pwd does not report name of working directory"
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted
=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir
=`$as_dirname -- "$as_myself" ||
1228 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$as_myself" : 'X\(//\)[^/]' \| \
1230 X"$as_myself" : 'X\(//\)$' \| \
1231 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1232 $as_echo X"$as_myself" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1255 ac_srcdir_defaulted
=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1259 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1261 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1265 # When building in place, set srcdir=.
1266 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 # Remove unnecessary trailing slashes from srcdir.
1270 # Double slashes in file names in object file debugging info
1271 # mess up M-x gdb in Emacs.
1273 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275 for ac_var
in $ac_precious_vars; do
1276 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1277 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1278 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1279 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1283 # Report the --help message.
1285 if test "$ac_init_help" = "long"; then
1286 # Omit some internal or obsolete options to make the list less imposing.
1287 # This message is too long to be a string in the A/UX 3.1 sh.
1289 \`configure' configures luajit native 2.1.0-beta1 to adapt to many kinds of systems.
1291 Usage: $0 [OPTION]... [VAR=VALUE]...
1293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294 VAR=VALUE. See below for descriptions of some of the useful variables.
1296 Defaults for the options are specified in brackets.
1299 -h, --help display this help and exit
1300 --help=short display options specific to this package
1301 --help=recursive display the short help of all the included packages
1302 -V, --version display version information and exit
1303 -q, --quiet, --silent do not print \`checking ...' messages
1304 --cache-file=FILE cache test results in FILE [disabled]
1305 -C, --config-cache alias for \`--cache-file=config.cache'
1306 -n, --no-create do not create output files
1307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1309 Installation directories:
1310 --prefix=PREFIX install architecture-independent files in PREFIX
1311 [$ac_default_prefix]
1312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 By default, \`make install' will install all the files in
1316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318 for instance \`--prefix=\$HOME'.
1320 For better control, use the options below.
1322 Fine tuning of the installation directories:
1323 --bindir=DIR user executables [EPREFIX/bin]
1324 --sbindir=DIR system admin executables [EPREFIX/sbin]
1325 --libexecdir=DIR program executables [EPREFIX/libexec]
1326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1329 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root [DATAROOTDIR/doc/luajit-native]
1338 --htmldir=DIR html documentation [DOCDIR]
1339 --dvidir=DIR dvi documentation [DOCDIR]
1340 --pdfdir=DIR pdf documentation [DOCDIR]
1341 --psdir=DIR ps documentation [DOCDIR]
1347 --program-prefix=PREFIX prepend PREFIX to installed program names
1348 --program-suffix=SUFFIX append SUFFIX to installed program names
1349 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1352 --build=BUILD configure
for building on BUILD
[guessed
]
1353 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1357 if test -n "$ac_init_help"; then
1358 case $ac_init_help in
1359 short | recursive
) echo "Configuration of luajit native 2.1.0-beta1:";;
1364 --disable-option-checking ignore unrecognized
--enable/--with options
1365 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1366 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1367 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1368 --disable-silent-rules verbose build output
(undo
: "make V=0")
1369 --enable-maintainer-mode
1370 enable make rules and dependencies not useful
(and
1371 sometimes confusing
) to the casual installer
1372 --enable-dependency-tracking
1373 do not reject slow dependency extractors
1374 --disable-dependency-tracking
1375 speeds up one-time build
1376 --enable-compiler-warnings=[no|min|
yes|max|all
]
1377 Turn on compiler warnings
[default
: yes if
1378 maintainer-mode
, min otherwise
]
1380 Some influential environment variables
:
1381 CC C compiler
command
1382 CFLAGS C compiler flags
1383 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1384 nonstandard directory
<lib dir
>
1385 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1386 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1387 you have headers
in a nonstandard directory
<include dir
>
1390 Use these variables to override the choices made by
`configure' or to help
1391 it to find libraries and programs with nonstandard names/locations.
1393 Report bugs to <tex-k@tug.org>.
1398 if test "$ac_init_help" = "recursive"; then
1399 # If there are subdirs, report their specific --help.
1400 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1401 test -d "$ac_dir" ||
1402 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1423 .) # We are building in place.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 luajit native configure 2.1.0-beta1
1457 generated by GNU Autoconf 2.69
1459 Copyright (C) 2012 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1466 ## ------------------------ ##
1467 ## Autoconf initialization. ##
1468 ## ------------------------ ##
1470 # ac_fn_c_try_compile LINENO
1471 # --------------------------
1472 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1473 ac_fn_c_try_compile ()
1475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1476 rm -f conftest.$ac_objext
1477 if { { ac_try="$ac_compile"
1479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1480 *) ac_try_echo
=$ac_try;;
1482 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1483 $as_echo "$ac_try_echo"; } >&5
1484 (eval "$ac_compile") 2>conftest.err
1486 if test -s conftest.err
; then
1487 grep -v '^ *+' conftest.err
>conftest.er1
1488 cat conftest.er1
>&5
1489 mv -f conftest.er1 conftest.err
1491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1492 test $ac_status = 0; } && {
1493 test -z "$ac_c_werror_flag" ||
1494 test ! -s conftest.err
1495 } && test -s conftest.
$ac_objext; then :
1498 $as_echo "$as_me: failed program was:" >&5
1499 sed 's/^/| /' conftest.
$ac_ext >&5
1503 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1504 as_fn_set_status
$ac_retval
1506 } # ac_fn_c_try_compile
1508 # ac_fn_c_try_link LINENO
1509 # -----------------------
1510 # Try to link conftest.$ac_ext, and return whether this succeeded.
1513 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1514 rm -f conftest.
$ac_objext conftest
$ac_exeext
1515 if { { ac_try
="$ac_link"
1517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1518 *) ac_try_echo=$ac_try;;
1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521 $as_echo "$ac_try_echo"; } >&5
1522 (eval "$ac_link") 2>conftest.err
1524 if test -s conftest.err; then
1525 grep -v '^ *+' conftest.err >conftest.er1
1526 cat conftest.er1 >&5
1527 mv -f conftest.er1 conftest.err
1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530 test $ac_status = 0; } && {
1531 test -z "$ac_c_werror_flag" ||
1532 test ! -s conftest.err
1533 } && test -s conftest$ac_exeext && {
1534 test "$cross_compiling" = yes ||
1535 test -x conftest$ac_exeext
1539 $as_echo "$as_me: failed program was:" >&5
1540 sed 's/^/| /' conftest.$ac_ext >&5
1544 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1545 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1546 # interfere with the next link command; also delete a directory that is
1547 # left behind by Apple's compiler. We do this before executing the actions.
1548 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1550 as_fn_set_status $ac_retval
1552 } # ac_fn_c_try_link
1554 # ac_fn_c_try_run LINENO
1555 # ----------------------
1556 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1557 # that executables *can* be run.
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { { ac_try="$ac_link"
1563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1564 *) ac_try_echo
=$ac_try;;
1566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_link") 2>&5
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1572 { { case "(($ac_try" in
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_try") 2>&5
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; }; }; then :
1584 $as_echo "$as_me: program exited with status $ac_status" >&5
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1588 ac_retval=$ac_status
1590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1596 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1597 # --------------------------------------------
1598 # Tries to find the compile-time value of EXPR in a program that includes
1599 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1601 ac_fn_c_compute_int ()
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 if test "$cross_compiling" = yes; then
1605 # Depending upon the size, compute the lo and hi bounds.
1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1607 /* end confdefs.h. */
1612 static int test_array [1 - 2 * !(($2) >= 0)];
1614 return test_array [0];
1620 if ac_fn_c_try_compile "$LINENO"; then :
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1629 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1631 return test_array [0];
1637 if ac_fn_c_try_compile "$LINENO"; then :
1638 ac_hi=$ac_mid; break
1640 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1641 if test $ac_lo -le $ac_mid; then
1645 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651 /* end confdefs.h. */
1656 static int test_array [1 - 2 * !(($2) < 0)];
1658 return test_array [0];
1664 if ac_fn_c_try_compile "$LINENO"; then :
1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1673 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1675 return test_array [0];
1681 if ac_fn_c_try_compile "$LINENO"; then :
1682 ac_lo=$ac_mid; break
1684 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1685 if test $ac_mid -le $ac_hi; then
1689 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699 # Binary search between lo and hi bounds.
1700 while test "x$ac_lo" != "x$ac_hi"; do
1701 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1708 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1710 return test_array [0];
1716 if ac_fn_c_try_compile "$LINENO"; then :
1719 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1729 /* end confdefs.h. */
1731 static long int longval () { return $2; }
1732 static unsigned long int ulongval () { return $2; }
1739 FILE *f = fopen ("conftest.val", "w");
1744 long int i = longval ();
1747 fprintf (f, "%ld", i);
1751 unsigned long int i = ulongval ();
1754 fprintf (f, "%lu", i);
1756 /* Do not output a trailing newline, as this causes \r\n confusion
1757 on some platforms. */
1758 return ferror (f) || fclose (f) != 0;
1764 if ac_fn_c_try_run "$LINENO"; then :
1765 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1770 conftest.$ac_objext conftest.beam conftest.$ac_ext
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 as_fn_set_status $ac_retval
1777 } # ac_fn_c_compute_int
1779 # ac_fn_c_try_cpp LINENO
1780 # ----------------------
1781 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { { ac_try="$ac_cpp conftest.$ac_ext"
1787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1788 *) ac_try_echo
=$ac_try;;
1790 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1794 if test -s conftest.err
; then
1795 grep -v '^ *+' conftest.err
>conftest.er1
1796 cat conftest.er1
>&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } > conftest.i
&& {
1801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.
$ac_ext >&5
1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 as_fn_set_status
$ac_retval
1816 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1817 # -------------------------------------------------------
1818 # Tests whether HEADER exists and can be compiled using the include files in
1819 # INCLUDES, setting the cache variable VAR accordingly.
1820 ac_fn_c_check_header_compile
()
1822 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \
${$3+:} false
; then :
1826 $as_echo_n "(cached) " >&6
1828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1833 if ac_fn_c_try_compile
"$LINENO"; then :
1838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842 $as_echo "$ac_res" >&6; }
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845 } # ac_fn_c_check_header_compile
1846 cat >config.log
<<_ACEOF
1847 This file contains any messages produced by compilers while
1848 running configure, to aid debugging if configure makes a mistake.
1850 It was created by luajit native $as_me 2.1.0-beta1, which was
1851 generated by GNU Autoconf 2.69. Invocation command line was
1863 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1864 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1865 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1866 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1867 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1869 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1870 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1872 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1873 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1874 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1875 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1876 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1877 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1878 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir
=.
1887 $as_echo "PATH: $as_dir"
1903 # Keep a trace of the command line.
1904 # Strip out --no-create and --no-recursion so they do not pile up.
1905 # Strip out --silent because we don't want to record it for future runs.
1906 # Also quote any args containing shell meta-characters.
1907 # Make two passes to allow for proper duplicate-argument suppression.
1911 ac_must_keep_next
=false
1917 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1918 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1919 |
-silent |
--silent |
--silen |
--sile |
--sil)
1922 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1925 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1927 as_fn_append ac_configure_args1
" '$ac_arg'"
1928 if test $ac_must_keep_next = true
; then
1929 ac_must_keep_next
=false
# Got value, back to normal.
1932 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1933 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1934 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1935 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1936 case "$ac_configure_args0 " in
1937 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1940 -* ) ac_must_keep_next
=true
;;
1943 as_fn_append ac_configure_args
" '$ac_arg'"
1948 { ac_configure_args0
=; unset ac_configure_args0
;}
1949 { ac_configure_args1
=; unset ac_configure_args1
;}
1951 # When interrupted or exit'd, cleanup temporary files, and complete
1952 # config.log. We remove comments because anyway the quotes in there
1953 # would cause problems or look ugly.
1954 # WARNING: Use '\'' to represent an apostrophe within the trap.
1955 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1956 trap 'exit_status=$?
1957 # Save into config.log some information that might help in debugging.
1961 $as_echo "## ---------------- ##
1962 ## Cache variables. ##
1963 ## ---------------- ##"
1965 # The following way of writing the cache mishandles newlines in values,
1967 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1968 eval ac_val=\$$ac_var
1972 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1973 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1976 _ | IFS | as_nl) ;; #(
1977 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1978 *) { eval $ac_var=; unset $ac_var;} ;;
1983 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1984 *${as_nl}ac_space=\ *)
1986 "s/'\''/'\''\\\\'\'''\''/g;
1987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1997 $as_echo "## ----------------- ##
1998 ## Output variables. ##
1999 ## ----------------- ##"
2001 for ac_var in $ac_subst_vars
2003 eval ac_val=\$$ac_var
2005 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2007 $as_echo "$ac_var='\''$ac_val'\''"
2011 if test -n "$ac_subst_files"; then
2012 $as_echo "## ------------------- ##
2013 ## File substitutions. ##
2014 ## ------------------- ##"
2016 for ac_var
in $ac_subst_files
2018 eval ac_val
=\$
$ac_var
2020 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2022 $as_echo "$ac_var='\''$ac_val'\''"
2027 if test -s confdefs.h; then
2028 $as_echo "## ----------- ##
2035 test "$ac_signal" != 0 &&
2036 $as_echo "$as_me: caught signal $ac_signal"
2037 $as_echo "$as_me: exit $exit_status"
2039 rm -f core *.core core.conftest.* &&
2040 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2043 for ac_signal
in 1 2 13 15; do
2044 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2048 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2049 rm -f -r conftest
* confdefs.h
2051 $as_echo "/* confdefs.h */" > confdefs.h
2053 # Predefined preprocessor variables.
2055 cat >>confdefs.h
<<_ACEOF
2056 #define PACKAGE_NAME "$PACKAGE_NAME"
2059 cat >>confdefs.h
<<_ACEOF
2060 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2063 cat >>confdefs.h
<<_ACEOF
2064 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2067 cat >>confdefs.h
<<_ACEOF
2068 #define PACKAGE_STRING "$PACKAGE_STRING"
2071 cat >>confdefs.h
<<_ACEOF
2072 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2075 cat >>confdefs.h
<<_ACEOF
2076 #define PACKAGE_URL "$PACKAGE_URL"
2080 # Let the site file select an alternate cache file if it wants to.
2081 # Prefer an explicitly selected file to automatically selected ones.
2084 if test -n "$CONFIG_SITE"; then
2085 # We do not want a PATH search for config.site.
2086 case $CONFIG_SITE in #((
2087 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2088 */*) ac_site_file1
=$CONFIG_SITE;;
2089 *) ac_site_file1
=.
/$CONFIG_SITE;;
2091 elif test "x$prefix" != xNONE
; then
2092 ac_site_file1
=$prefix/share
/config.site
2093 ac_site_file2
=$prefix/etc
/config.site
2095 ac_site_file1
=$ac_default_prefix/share
/config.site
2096 ac_site_file2
=$ac_default_prefix/etc
/config.site
2098 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2100 test "x$ac_site_file" = xNONE
&& continue
2101 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2103 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2104 sed 's/^/| /' "$ac_site_file" >&5
2106 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2108 as_fn_error $?
"failed to load site script $ac_site_file
2109 See \`config.log' for more details" "$LINENO" 5; }
2113 if test -r "$cache_file"; then
2114 # Some versions of bash will fail to source /dev/null (special files
2115 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2116 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2118 $as_echo "$as_me: loading cache $cache_file" >&6;}
2120 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2121 *) .
"./$cache_file";;
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2126 $as_echo "$as_me: creating cache $cache_file" >&6;}
2130 # Check that the precious variables saved in the cache have kept the same
2132 ac_cache_corrupted
=false
2133 for ac_var
in $ac_precious_vars; do
2134 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2135 eval ac_new_set
=\
$ac_env_${ac_var}_set
2136 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2137 eval ac_new_val
=\
$ac_env_${ac_var}_value
2138 case $ac_old_set,$ac_new_set in
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2141 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2142 ac_cache_corrupted
=: ;;
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2145 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2146 ac_cache_corrupted
=: ;;
2149 if test "x$ac_old_val" != "x$ac_new_val"; then
2150 # differences in whitespace do not lead to failure.
2151 ac_old_val_w
=`echo x $ac_old_val`
2152 ac_new_val_w
=`echo x $ac_new_val`
2153 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2155 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2156 ac_cache_corrupted
=:
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2159 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2160 eval $ac_var=\
$ac_old_val
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2163 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2165 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2168 # Pass precious variables to config.status.
2169 if test "$ac_new_set" = set; then
2171 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2172 *) ac_arg
=$ac_var=$ac_new_val ;;
2174 case " $ac_configure_args " in
2175 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2176 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2180 if $ac_cache_corrupted; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2184 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2185 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2187 ## -------------------- ##
2188 ## Main body of script. ##
2189 ## -------------------- ##
2192 ac_cpp
='$CPP $CPPFLAGS'
2193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2201 for ac_dir
in ..
/..
/..
/build-aux
"$srcdir"/..
/..
/..
/build-aux
; do
2202 if test -f "$ac_dir/install-sh"; then
2204 ac_install_sh
="$ac_aux_dir/install-sh -c"
2206 elif test -f "$ac_dir/install.sh"; then
2208 ac_install_sh
="$ac_aux_dir/install.sh -c"
2210 elif test -f "$ac_dir/shtool"; then
2212 ac_install_sh
="$ac_aux_dir/shtool install -c"
2216 if test -z "$ac_aux_dir"; then
2217 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../../build-aux \"$srcdir\"/../../../build-aux" "$LINENO" 5
2220 # These three variables are undocumented and unsupported,
2221 # and are intended to be withdrawn in a future Autoconf release.
2222 # They can cause serious problems if a builder's source tree is in a directory
2223 # whose full name contains unusual characters.
2224 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2225 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2226 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2231 am__api_version
='1.15'
2233 # Find a good install program. We prefer a C program (faster),
2234 # so one script is as good as another. But avoid the broken or
2235 # incompatible versions:
2236 # SysV /etc/install, /usr/sbin/install
2237 # SunOS /usr/etc/install
2238 # IRIX /sbin/install
2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2244 # OS/2's system install, which has a completely different semantic
2245 # ./install, which can be erroneously created by make from ./install.sh.
2246 # Reject install programs that cannot install multiple files.
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2248 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2249 if test -z "$INSTALL"; then
2250 if ${ac_cv_path_install+:} false
; then :
2251 $as_echo_n "(cached) " >&6
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 # Account for people who put trailing slashes in PATH elements.
2259 case $as_dir/ in #((
2260 .
/ | .
// |
/[cC
]/* | \
2261 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2262 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2265 # OSF1 and SCO ODT 3.0 have their own names for install.
2266 # Don't use installbsd from OSF since it installs stuff as root
2268 for ac_prog
in ginstall scoinst
install; do
2269 for ac_exec_ext
in '' $ac_executable_extensions; do
2270 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2271 if test $ac_prog = install &&
2272 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2273 # AIX install. It has an incompatible calling convention.
2275 elif test $ac_prog = install &&
2276 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2277 # program-specific install script used by HP pwplus--don't use.
2280 rm -rf conftest.one conftest.two conftest.dir
2281 echo one
> conftest.one
2282 echo two
> conftest.two
2284 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2285 test -s conftest.one
&& test -s conftest.two
&&
2286 test -s conftest.dir
/conftest.one
&&
2287 test -s conftest.dir
/conftest.two
2289 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2302 rm -rf conftest.one conftest.two conftest.dir
2305 if test "${ac_cv_path_install+set}" = set; then
2306 INSTALL
=$ac_cv_path_install
2308 # As a last resort, use the slow shell script. Don't cache a
2309 # value for INSTALL within a source directory, because that will
2310 # break other packages using the cache if that directory is
2311 # removed, or if the value is a relative name.
2312 INSTALL
=$ac_install_sh
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2316 $as_echo "$INSTALL" >&6; }
2318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2319 # It thinks the first close brace ends the variable substitution.
2320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2324 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2327 $as_echo_n "checking whether build environment is sane... " >&6; }
2328 # Reject unsafe characters in $srcdir or the absolute working directory
2329 # name. Accept space and tab only in the latter.
2333 *[\\\"\
#\$\&\'\`$am_lf]*)
2334 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2337 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2338 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2341 # Do 'set' in a subshell so we don't clobber the current shell's
2342 # arguments. Must try -L first in case configure is actually a
2343 # symlink; some systems play weird games with the mod time of symlinks
2344 # (eg FreeBSD returns the mod time of the symlink's containing
2348 for am_try
in 1 2; do
2349 echo "timestamp, slept: $am_has_slept" > conftest.
file
2350 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2351 if test "$*" = "X"; then
2353 set X
`ls -t "$srcdir/configure" conftest.file`
2355 if test "$*" != "X $srcdir/configure conftest.file" \
2356 && test "$*" != "X conftest.file $srcdir/configure"; then
2358 # If neither matched, then we have a broken ls. This can happen
2359 # if, for instance, CONFIG_SHELL is bash and it inherits a
2360 # broken ls alias from the environment. This has actually
2361 # happened. Such a system could not be considered "sane".
2362 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2363 alias in your environment" "$LINENO" 5
2365 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2372 test "$2" = conftest.
file
2378 as_fn_error $?
"newly created file is older than distributed files!
2379 Check your system clock" "$LINENO" 5
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2382 $as_echo "yes" >&6; }
2383 # If we didn't sleep, we still need to ensure time stamps of config.status and
2384 # generated files are strictly newer.
2386 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2393 test "$program_prefix" != NONE
&&
2394 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2395 # Use a double $ so make ignores it.
2396 test "$program_suffix" != NONE
&&
2397 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2398 # Double any \ or $.
2399 # By default was `s,x,x', remove it if useless.
2400 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2401 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2403 # Expand $ac_aux_dir to an absolute path.
2404 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2406 if test x
"${MISSING+set}" != xset
; then
2409 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2411 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2414 # Use eval to expand $SHELL
2415 if eval "$MISSING --is-lightweight"; then
2416 am_missing_run
="$MISSING "
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2420 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2423 if test x
"${install_sh+set}" != xset
; then
2426 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2428 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2432 # Installed binaries are usually stripped using 'strip' when the user
2433 # run "make install-strip". However 'strip' might not be the right
2434 # tool to use in cross-compilation environments, therefore Automake
2435 # will honor the 'STRIP' environment variable to overrule this program.
2436 if test "$cross_compiling" != no
; then
2437 if test -n "$ac_tool_prefix"; then
2438 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2439 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if ${ac_cv_prog_STRIP+:} false
; then :
2443 $as_echo_n "(cached) " >&6
2445 if test -n "$STRIP"; then
2446 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir
=.
2453 for ac_exec_ext
in '' $ac_executable_extensions; do
2454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2455 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 STRIP
=$ac_cv_prog_STRIP
2466 if test -n "$STRIP"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2468 $as_echo "$STRIP" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2476 if test -z "$ac_cv_prog_STRIP"; then
2478 # Extract the first word of "strip", so it can be a program name with args.
2479 set dummy strip
; ac_word
=$2
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2481 $as_echo_n "checking for $ac_word... " >&6; }
2482 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2483 $as_echo_n "(cached) " >&6
2485 if test -n "$ac_ct_STRIP"; then
2486 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir
=.
2493 for ac_exec_ext
in '' $ac_executable_extensions; do
2494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2495 ac_cv_prog_ac_ct_STRIP
="strip"
2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2506 if test -n "$ac_ct_STRIP"; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2508 $as_echo "$ac_ct_STRIP" >&6; }
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511 $as_echo "no" >&6; }
2514 if test "x$ac_ct_STRIP" = x
; then
2517 case $cross_compiling:$ac_tool_warned in
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2521 ac_tool_warned
=yes ;;
2526 STRIP
="$ac_cv_prog_STRIP"
2530 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2533 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2534 if test -z "$MKDIR_P"; then
2535 if ${ac_cv_path_mkdir+:} false
; then :
2536 $as_echo_n "(cached) " >&6
2538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2539 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2542 test -z "$as_dir" && as_dir
=.
2543 for ac_prog
in mkdir gmkdir
; do
2544 for ac_exec_ext
in '' $ac_executable_extensions; do
2545 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2546 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2547 'mkdir (GNU coreutils) '* | \
2548 'mkdir (coreutils) '* | \
2549 'mkdir (fileutils) '4.1*)
2550 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2560 test -d .
/--version && rmdir .
/--version
2561 if test "${ac_cv_path_mkdir+set}" = set; then
2562 MKDIR_P
="$ac_cv_path_mkdir -p"
2564 # As a last resort, use the slow shell script. Don't cache a
2565 # value for MKDIR_P within a source directory, because that will
2566 # break other packages using the cache if that directory is
2567 # removed, or if the value is a relative name.
2568 MKDIR_P
="$ac_install_sh -d"
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2572 $as_echo "$MKDIR_P" >&6; }
2574 for ac_prog
in gawk mawk nawk
awk
2576 # Extract the first word of "$ac_prog", so it can be a program name with args.
2577 set dummy
$ac_prog; ac_word
=$2
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2579 $as_echo_n "checking for $ac_word... " >&6; }
2580 if ${ac_cv_prog_AWK+:} false
; then :
2581 $as_echo_n "(cached) " >&6
2583 if test -n "$AWK"; then
2584 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir
=.
2591 for ac_exec_ext
in '' $ac_executable_extensions; do
2592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2593 ac_cv_prog_AWK
="$ac_prog"
2594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test -n "$AWK"; then
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2606 $as_echo "$AWK" >&6; }
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2609 $as_echo "no" >&6; }
2613 test -n "$AWK" && break
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2617 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2619 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2620 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2621 $as_echo_n "(cached) " >&6
2623 cat >conftest.
make <<\_ACEOF
2626 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2631 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2633 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2637 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2639 $as_echo "yes" >&6; }
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643 $as_echo "no" >&6; }
2644 SET_MAKE
="MAKE=${MAKE-make}"
2647 rm -rf .tst
2>/dev
/null
2648 mkdir .tst
2>/dev
/null
2649 if test -d .tst
; then
2654 rmdir .tst
2>/dev
/null
2656 # Check whether --enable-silent-rules was given.
2657 if test "${enable_silent_rules+set}" = set; then :
2658 enableval
=$enable_silent_rules;
2661 case $enable_silent_rules in # (((
2662 yes) AM_DEFAULT_VERBOSITY
=0;;
2663 no
) AM_DEFAULT_VERBOSITY
=1;;
2664 *) AM_DEFAULT_VERBOSITY
=1;;
2666 am_make
=${MAKE-make}
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2668 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2669 if ${am_cv_make_support_nested_variables+:} false
; then :
2670 $as_echo_n "(cached) " >&6
2672 if $as_echo 'TRUE=$(BAR$(V))
2678 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2679 am_cv_make_support_nested_variables
=yes
2681 am_cv_make_support_nested_variables
=no
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2685 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2686 if test $am_cv_make_support_nested_variables = yes; then
2688 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2690 AM_V
=$AM_DEFAULT_VERBOSITY
2691 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2695 DEPDIR="${am__leading_dot}deps"
2697 ac_config_commands="$ac_config_commands depfiles"
2700 am_make=${MAKE-make}
2701 cat > confinc << 'END
'
2703 @echo this is the am__doit target
2706 # If we don't
find an include directive
, just comment out the code.
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2708 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2712 # First try GNU make style include.
2713 echo "include confinc" > confmf
2714 # Ignore all kinds of additional output from 'make'.
2715 case `$am_make -s -f confmf 2> /dev/null` in #(
2716 *the\ am__doit\ target
*)
2722 # Now try BSD make style include.
2723 if test "$am__include" = "#"; then
2724 echo '.include "confinc"' > confmf
2725 case `$am_make -s -f confmf 2> /dev/null` in #(
2726 *the\ am__doit\ target
*)
2727 am__include
=.include
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2736 $as_echo "$_am_result" >&6; }
2737 rm -f confinc confmf
2739 # Check whether --enable-dependency-tracking was given.
2740 if test "${enable_dependency_tracking+set}" = set; then :
2741 enableval
=$enable_dependency_tracking;
2744 if test "x$enable_dependency_tracking" != xno
; then
2745 am_depcomp
="$ac_aux_dir/depcomp"
2749 if test "x$enable_dependency_tracking" != xno; then
2759 ac_cpp
='$CPP $CPPFLAGS'
2760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2765 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_CC+:} false
; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$CC"; then
2772 ac_cv_prog_CC
="$CC" # Let the user override the test.
2774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir
=.
2779 for ac_exec_ext
in '' $ac_executable_extensions; do
2780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$ac_cv_prog_CC"; then
2804 # Extract the first word of "gcc", so it can be a program name with args.
2805 set dummy gcc
; ac_word
=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$ac_ct_CC"; then
2812 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_exec_ext
in '' $ac_executable_extensions; do
2820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_ac_ct_CC
="gcc"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2832 if test -n "$ac_ct_CC"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2834 $as_echo "$ac_ct_CC" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2840 if test "x$ac_ct_CC" = x
; then
2843 case $cross_compiling:$ac_tool_warned in
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned
=yes ;;
2855 if test -z "$CC"; then
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2858 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if ${ac_cv_prog_CC+:} false
; then :
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC
="$CC" # Let the user override the test.
2867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir
=.
2872 for ac_exec_ext
in '' $ac_executable_extensions; do
2873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2874 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 if test -n "$CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887 $as_echo "$CC" >&6; }
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2896 if test -z "$CC"; then
2897 # Extract the first word of "cc", so it can be a program name with args.
2898 set dummy cc
; ac_word
=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if ${ac_cv_prog_CC+:} false
; then :
2902 $as_echo_n "(cached) " >&6
2904 if test -n "$CC"; then
2905 ac_cv_prog_CC
="$CC" # Let the user override the test.
2908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir
=.
2913 for ac_exec_ext
in '' $ac_executable_extensions; do
2914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2915 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2916 ac_prog_rejected
=yes
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2927 if test $ac_prog_rejected = yes; then
2928 # We found a bogon in the path, so make sure we never use it.
2929 set dummy
$ac_cv_prog_CC
2931 if test $# != 0; then
2932 # We chose a different compiler from the bogus one.
2933 # However, it has the same basename, so the bogon will be chosen
2934 # first if we set CC to just the basename; use the full file name.
2936 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2942 if test -n "$CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2944 $as_echo "$CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2952 if test -z "$CC"; then
2953 if test -n "$ac_tool_prefix"; then
2954 for ac_prog
in cl.exe
2956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2957 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_CC+:} false
; then :
2961 $as_echo_n "(cached) " >&6
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC
="$CC" # Let the user override the test.
2966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir
=.
2971 for ac_exec_ext
in '' $ac_executable_extensions; do
2972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 if test -n "$CC"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986 $as_echo "$CC" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2993 test -n "$CC" && break
2996 if test -z "$CC"; then
2998 for ac_prog
in cl.exe
3000 # Extract the first word of "$ac_prog", so it can be a program name with args.
3001 set dummy
$ac_prog; ac_word
=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir
=.
3015 for ac_exec_ext
in '' $ac_executable_extensions; do
3016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_ac_ct_CC
="$ac_prog"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030 $as_echo "$ac_ct_CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3037 test -n "$ac_ct_CC" && break
3040 if test "x$ac_ct_CC" = x
; then
3043 case $cross_compiling:$ac_tool_warned in
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned
=yes ;;
3056 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $?
"no acceptable C compiler found in \$PATH
3059 See \`config.log' for more details" "$LINENO" 5; }
3061 # Provide some information about the compiler.
3062 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3065 for ac_option
in --version -v -V -qversion; do
3066 { { ac_try
="$ac_compiler $ac_option >&5"
3068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072 $as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3075 if test -s conftest.err; then
3077 ... rest of stderr output deleted ...
3078 10q' conftest.err >conftest.er1
3079 cat conftest.er1 >&5
3081 rm -f conftest.er1 conftest.err
3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3083 test $ac_status = 0; }
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3097 ac_clean_files_save=$ac_clean_files
3098 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3099 # Try to create an executable without -o first, disregard a.out.
3100 # It will help us diagnose broken compilers, and finding out an intuition
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3103 $as_echo_n "checking whether the C compiler works... " >&6; }
3104 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3106 # The possible output files:
3107 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3110 for ac_file in $ac_files
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3114 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3119 if { { ac_try="$ac_link_default"
3121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3122 *) ac_try_echo
=$ac_try;;
3124 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_link_default") 2>&5
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; }; then :
3130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3133 # so that the user can short-circuit this test for compilers unknown to
3135 for ac_file
in $ac_files ''
3137 test -f "$ac_file" ||
continue
3139 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3142 # We found the default executable, but exeext='' is most
3146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3148 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150 # We set ac_cv_exeext here because the later test for it is not
3151 # safe: cross compilers may not add the suffix if given an `-o'
3152 # argument, so we may need to know it at that point already.
3153 # Even if this section looks crufty: it has the advantage of
3160 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3165 if test -z "$ac_file"; then :
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 $as_echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.
$ac_ext >&5
3171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 as_fn_error
77 "C compiler cannot create executables
3174 See \`config.log' for more details" "$LINENO" 5; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3177 $as_echo "yes" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3180 $as_echo_n "checking for C compiler default output file name... " >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3182 $as_echo "$ac_file" >&6; }
3183 ac_exeext
=$ac_cv_exeext
3185 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3186 ac_clean_files
=$ac_clean_files_save
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3188 $as_echo_n "checking for suffix of executables... " >&6; }
3189 if { { ac_try
="$ac_link"
3191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195 $as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_link") 2>&5
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; then :
3200 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3201 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3202 # work properly (i.e., refer to `conftest.exe'), while it won't with
3204 for ac_file
in conftest.exe conftest conftest.
*; do
3205 test -f "$ac_file" ||
continue
3207 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3208 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3217 See \`config.log' for more details" "$LINENO" 5; }
3219 rm -f conftest conftest
$ac_cv_exeext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3221 $as_echo "$ac_cv_exeext" >&6; }
3223 rm -f conftest.
$ac_ext
3224 EXEEXT
=$ac_cv_exeext
3226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3232 FILE *f = fopen ("conftest.out", "w");
3233 return ferror (f) || fclose (f) != 0;
3239 ac_clean_files
="$ac_clean_files conftest.out"
3240 # Check that the compiler produces executables we can run. If not, either
3241 # the compiler is broken, or we cross compile.
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3243 $as_echo_n "checking whether we are cross compiling... " >&6; }
3244 if test "$cross_compiling" != yes; then
3245 { { ac_try
="$ac_link"
3247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 $as_echo "$ac_try_echo"; } >&5
3252 (eval "$ac_link") 2>&5
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3256 if { ac_try='./conftest$ac_cv_exeext'
3257 { { case "(($ac_try" in
3258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3259 *) ac_try_echo
=$ac_try;;
3261 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_try") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; }; then
3269 if test "$cross_compiling" = maybe
; then
3272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $?
"cannot run C compiled programs.
3275 If you meant to cross compile, use \`--host'.
3276 See \`config.log' for more details" "$LINENO" 5; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3281 $as_echo "$cross_compiling" >&6; }
3283 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3284 ac_clean_files
=$ac_clean_files_save
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3286 $as_echo_n "checking for suffix of object files... " >&6; }
3287 if ${ac_cv_objext+:} false
; then :
3288 $as_echo_n "(cached) " >&6
3290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3301 rm -f conftest.o conftest.obj
3302 if { { ac_try
="$ac_compile"
3304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308 $as_echo "$ac_try_echo"; } >&5
3309 (eval "$ac_compile") 2>&5
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }; then :
3313 for ac_file in conftest.o conftest.obj conftest.*; do
3314 test -f "$ac_file" || continue;
3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3328 See \
`config.log' for more details" "$LINENO" 5; }
3330 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3333 $as_echo "$ac_cv_objext" >&6; }
3334 OBJEXT=$ac_cv_objext
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3337 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3338 if ${ac_cv_c_compiler_gnu+:} false; then :
3339 $as_echo_n "(cached) " >&6
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3355 if ac_fn_c_try_compile "$LINENO"; then :
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3365 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3366 if test $ac_compiler_gnu = yes; then
3371 ac_test_CFLAGS=${CFLAGS+set}
3372 ac_save_CFLAGS=$CFLAGS
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3374 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3375 if ${ac_cv_prog_cc_g+:} false; then :
3376 $as_echo_n "(cached) " >&6
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3393 if ac_fn_c_try_compile "$LINENO"; then :
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3408 if ac_fn_c_try_compile "$LINENO"; then :
3411 ac_c_werror_flag=$ac_save_c_werror_flag
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_c_werror_flag=$ac_save_c_werror_flag
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3435 $as_echo "$ac_cv_prog_cc_g" >&6; }
3436 if test "$ac_test_CFLAGS" = set; then
3437 CFLAGS=$ac_save_CFLAGS
3438 elif test $ac_cv_prog_cc_g = yes; then
3439 if test "$GCC" = yes; then
3445 if test "$GCC" = yes; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3453 if ${ac_cv_prog_cc_c89+:} false; then :
3454 $as_echo_n "(cached) " >&6
3456 ac_cv_prog_cc_c89=no
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3464 struct buf { int x; };
3465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3466 static char *e (p, i)
3472 static char *f (char * (*g) (char **, int), char **p, ...)
3477 s = g (p, va_arg (v,int));
3482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3483 function prototypes and stuff, but not '\xHH' hex character constants.
3484 These don't provoke an error unfortunately, instead are silently treated
3485 as 'x'. The following induces an error, until -std is added to get
3486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3487 array size at least. It's necessary to write '\x00'==0 to get something
3488 that's true only with -std. */
3489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3491 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3492 inside strings and character constants. */
3494 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3496 int test (int i, double x);
3497 struct s1 {int (*f) (int a);};
3498 struct s2 {int (*f) (double a);};
3499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3505 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3510 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3511 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3513 CC="$ac_save_CC $ac_arg"
3514 if ac_fn_c_try_compile "$LINENO"; then :
3515 ac_cv_prog_cc_c89=$ac_arg
3517 rm -f core conftest.err conftest.$ac_objext
3518 test "x$ac_cv_prog_cc_c89" != "xno" && break
3520 rm -f conftest.$ac_ext
3525 case "x$ac_cv_prog_cc_c89" in
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3528 $as_echo "none needed" >&6; } ;;
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3531 $as_echo "unsupported" >&6; } ;;
3533 CC="$CC $ac_cv_prog_cc_c89"
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3535 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3537 if test "x$ac_cv_prog_cc_c89" != xno; then :
3542 ac_cpp='$CPP $CPPFLAGS'
3543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 ac_cpp='$CPP $CPPFLAGS'
3549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3553 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3554 if ${am_cv_prog_cc_c_o+:} false; then :
3555 $as_echo_n "(cached) " >&6
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 # Make sure it works both with $CC and with simple cc.
3569 # Following AC_PROG_CC_C_O, we do the test twice because some
3570 # compilers refuse to overwrite an existing .o file with -o,
3571 # though they will create one.
3572 am_cv_prog_cc_c_o=yes
3574 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3575 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } \
3579 && test -f conftest2.$ac_objext; then
3582 am_cv_prog_cc_c_o=no
3586 rm -f core conftest*
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3590 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3591 if test "$am_cv_prog_cc_c_o" != yes; then
3592 # Losing compiler, so override with the script.
3593 # FIXME: It is wrong to rewrite CC.
3594 # But if we don't then we get into trouble of one sort or another.
3595 # A longer-term fix would be to have automake use am__CC in this case,
3596 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3597 CC="$am_aux_dir/compile $CC"
3600 ac_cpp='$CPP $CPPFLAGS'
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3606 depcc="$CC" am_compiler_list=
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3609 $as_echo_n "checking dependency style of $depcc... " >&6; }
3610 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3614 # We make a subdir and do the tests there. Otherwise we can end up
3615 # making bogus files that we don't know about and never remove. For
3616 # instance it was reported that on HP-UX the gcc test will end up
3617 # making a dummy file named 'D' -- because '-MD' means "put the output
3621 # Copy depcomp to subdir because otherwise we won't find it if we're
3622 # using a relative directory.
3623 cp "$am_depcomp" conftest.dir
3625 # We will build objects and dependencies in a subdirectory because
3626 # it helps to detect inapplicable dependency modes. For instance
3627 # both Tru64's cc and ICC support -MD to output dependencies as a
3628 # side effect of compilation, but ICC will put the dependencies in
3629 # the current directory while Tru64 will put them in the object
3633 am_cv_CC_dependencies_compiler_type=none
3634 if test "$am_compiler_list" = ""; then
3635 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3638 case " $depcc " in #(
3639 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3642 for depmode in $am_compiler_list; do
3643 # Setup a source with many dependencies, because some compilers
3644 # like to wrap large dependency lists on column 80 (with \), and
3645 # we should not choose a depcomp mode which is confused by this.
3647 # We need to recreate these files for each test, as the compiler may
3648 # overwrite some of them when testing with obscure command lines.
3649 # This happens at least with the AIX C compiler.
3651 for i in 1 2 3 4 5 6; do
3652 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3653 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3654 # Solaris 10 /bin/sh.
3655 echo '/* dummy */' > sub/conftst$i.h
3657 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3659 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3660 # mode. It turns out that the SunPro C++ compiler does not properly
3661 # handle '-M -o', and we need to detect this. Also, some Intel
3662 # versions had trouble with output in subdirs.
3663 am__obj=sub/conftest.${OBJEXT-o}
3664 am__minus_obj="-o $am__obj"
3667 # This depmode causes a compiler race in universal mode.
3668 test "$am__universal" = false || continue
3671 # After this tag, mechanisms are not by side-effect, so they'll
3672 # only be used when explicitly requested.
3673 if test "x$enable_dependency_tracking" = xyes; then
3679 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3680 # This compiler won't grok '-c -o', but also, the minuso test has
3681 # not run yet. These depmodes are late enough in the game, and
3682 # so weak that their functioning should not be impacted.
3683 am__obj=conftest.${OBJEXT-o}
3688 if depmode=$depmode \
3689 source=sub/conftest.c object=$am__obj \
3690 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3691 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3692 >/dev/null 2>conftest.err &&
3693 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3694 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3695 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3696 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3697 # icc doesn't choke on unknown options, it will just issue warnings
3698 # or remarks (even with -Werror). So we grep stderr for any message
3699 # that says an option was ignored or not supported.
3700 # When given -MP, icc 7.0 and 7.1 complain thusly:
3701 # icc: Command line warning: ignoring option '-M'; no argument required
3702 # The diagnosis changed in icc 8.0:
3703 # icc: Command line remark: option '-MP' not supported
3704 if (grep 'ignoring option' conftest.err ||
3705 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3706 am_cv_CC_dependencies_compiler_type=$depmode
3715 am_cv_CC_dependencies_compiler_type=none
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3720 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3721 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3724 test "x$enable_dependency_tracking" != xno \
3725 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3727 am__fastdepCC_FALSE='#'
3729 am__fastdepCC_TRUE='#'
3730 am__fastdepCC_FALSE=
3735 # Check whether --enable-compiler-warnings was given.
3736 if test "${enable_compiler_warnings+set}" = set; then :
3737 enableval=$enable_compiler_warnings;
3739 case $enable_compiler_warnings in #(
3740 no | min | yes | max | all) :
3743 if test "x$enable_maintainer_mode" = xyes; then :
3744 enable_compiler_warnings=yes
3746 enable_compiler_warnings=min
3751 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3752 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3753 # is not polluted with repeated "-I."
3754 am__isrc=' -I$(srcdir)'
3755 # test to see if srcdir already configured
3756 if test -f $srcdir/config.status; then
3757 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3761 # test whether we have cygpath
3762 if test -z "$CYGPATH_W"; then
3763 if (cygpath --version) >/dev/null 2>/dev/null; then
3764 CYGPATH_W='cygpath -w'
3771 # Define the identity of the package.
3772 PACKAGE='luajit-native'
3773 VERSION='2.1.0-beta1'
3776 cat >>confdefs.h <<_ACEOF
3777 #define PACKAGE "$PACKAGE"
3781 cat >>confdefs.h <<_ACEOF
3782 #define VERSION "$VERSION"
3785 # Some tools Automake needs.
3787 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3790 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3793 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3796 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3799 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3801 # For better backward compatibility. To be removed once Automake 1.9.x
3802 # dies out for good. For more background, see:
3803 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3804 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3805 mkdir_p='$(MKDIR_P)'
3807 # We need awk for the "check" target (and possibly the TAP driver). The
3808 # system "awk" is bad on some platforms.
3809 # Always define AMTAR for backward compatibility. Yes, it's still used
3810 # in the wild :-( We should find a proper way to deprecate it ...
3814 # We'll loop over all known methods to create a tar archive until one works.
3815 _am_tools='gnutar pax cpio none'
3817 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3824 # POSIX will say in a future version that running "rm -f" with no argument
3825 # is OK; and we want to be able to make that assumption in our Makefile
3826 # recipes. So use an aggressive probe to check that the usage we want is
3827 # actually supported "in the wild" to an acceptable degree.
3828 # See automake bug#10828.
3829 # To make any issue more visible, cause the running configure to be aborted
3830 # by default if the 'rm' program in use doesn't match our expectations; the
3831 # user can still override this though.
3832 if rm -f && rm -fr && rm -rf; then : OK; else
3836 Your 'rm' program seems unable to run without file operands specified
3837 on the command line, even when the '-f' option is present. This is contrary
3838 to the behaviour of most rm programs out there, and not conforming with
3839 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3841 Please tell bug-automake@gnu.org about your system, including the value
3842 of your $PATH and any error possibly output before this message. This
3843 can help us improve future automake versions.
3846 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3847 echo 'Configuration will proceed anyway, since you have set the' >&2
3848 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3852 Aborting the configuration process, to ensure you take notice of the issue.
3854 You can download and install GNU coreutils to get an 'rm' implementation
3855 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3857 If you want to complete the configuration process using your problematic
3858 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3859 to "yes", and re-run configure.
3862 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3868 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3869 # Check whether --enable-maintainer-mode was given.
3870 if test "${enable_maintainer_mode+set}" = set; then :
3871 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3873 USE_MAINTAINER_MODE=no
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3877 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3878 if test $USE_MAINTAINER_MODE = yes; then
3879 MAINTAINER_MODE_TRUE=
3880 MAINTAINER_MODE_FALSE='#'
3882 MAINTAINER_MODE_TRUE='#'
3883 MAINTAINER_MODE_FALSE=
3886 MAINT=$MAINTAINER_MODE_TRUE
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3890 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3891 if ${kb_cv_c_prototypes+:} false; then :
3892 $as_echo_n "(cached) " >&6
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3900 extern void foo(int i,...);
3905 if ac_fn_c_try_link "$LINENO"; then :
3906 kb_cv_c_prototypes=yes
3908 kb_cv_c_prototypes=no
3910 rm -f core conftest.err conftest.$ac_objext \
3911 conftest$ac_exeext conftest.$ac_ext
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
3914 $as_echo "$kb_cv_c_prototypes" >&6; }
3915 if test "x$kb_cv_c_prototypes" = xno; then
3916 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
3919 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
3920 if ${kpse_cv_warning_cflags+:} false; then :
3921 $as_echo_n "(cached) " >&6
3923 if test "x$GCC" = xyes; then
3924 kpse_cv_warning_cflags=
3925 if test "x$enable_compiler_warnings" != xno; then
3926 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
3927 case `$CC -dumpversion` in #(
3928 3.4.* | 4.* | 5.*) :
3929 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
3933 case `$CC -dumpversion` in #(
3934 3.[234].* | 4.* | 5.*) :
3935 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
3939 if test "x$enable_compiler_warnings" != xmin; then
3940 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
3941 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
3942 if test "x$enable_compiler_warnings" != xyes; then
3943 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
3944 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
3945 case `$CC -dumpversion` in #(
3946 3.4.* | 4.* | 5.*) :
3947 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
3951 if test "x$enable_compiler_warnings" != xmax; then
3952 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
3957 elif test "x$enable_compiler_warnings" = xno; then
3958 kpse_cv_warning_cflags=
3960 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
3964 $as_echo "$kpse_cv_warning_cflags" >&6; }
3965 WARNING_CFLAGS=$kpse_cv_warning_cflags
3975 ac_cpp='$CPP $CPPFLAGS'
3976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if ${ac_cv_prog_CC+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 if test -n "$CC"; then
3988 ac_cv_prog_CC="$CC" # Let the user override the test.
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 if test -n "$CC"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4010 $as_echo "$CC" >&6; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4018 if test -z "$ac_cv_prog_CC"; then
4020 # Extract the first word of "gcc", so it can be a program name with args.
4021 set dummy gcc; ac_word=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4025 $as_echo_n "(cached) " >&6
4027 if test -n "$ac_ct_CC"; then
4028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir=.
4035 for ac_exec_ext in '' $ac_executable_extensions; do
4036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_ac_ct_CC="gcc"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4048 if test -n "$ac_ct_CC"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4050 $as_echo "$ac_ct_CC" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4056 if test "x$ac_ct_CC" = x; then
4059 case $cross_compiling:$ac_tool_warned in
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4063 ac_tool_warned=yes ;;
4071 if test -z "$CC"; then
4072 if test -n "$ac_tool_prefix"; then
4073 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4074 set dummy ${ac_tool_prefix}cc; ac_word=$2
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076 $as_echo_n "checking for $ac_word... " >&6; }
4077 if ${ac_cv_prog_CC+:} false; then :
4078 $as_echo_n "(cached) " >&6
4080 if test -n "$CC"; then
4081 ac_cv_prog_CC="$CC" # Let the user override the test.
4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087 test -z "$as_dir" && as_dir=.
4088 for ac_exec_ext in '' $ac_executable_extensions; do
4089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4090 ac_cv_prog_CC="${ac_tool_prefix}cc"
4091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 if test -n "$CC"; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4103 $as_echo "$CC" >&6; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4112 if test -z "$CC"; then
4113 # Extract the first word of "cc", so it can be a program name with args.
4114 set dummy cc; ac_word=$2
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if ${ac_cv_prog_CC+:} false; then :
4118 $as_echo_n "(cached) " >&6
4120 if test -n "$CC"; then
4121 ac_cv_prog_CC="$CC" # Let the user override the test.
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir=.
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4131 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4132 ac_prog_rejected=yes
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 if test $ac_prog_rejected = yes; then
4144 # We found a bogon in the path, so make sure we never use it.
4145 set dummy $ac_cv_prog_CC
4147 if test $# != 0; then
4148 # We chose a different compiler from the bogus one.
4149 # However, it has the same basename, so the bogon will be chosen
4150 # first if we set CC to just the basename; use the full file name.
4152 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4158 if test -n "$CC"; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4160 $as_echo "$CC" >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4168 if test -z "$CC"; then
4169 if test -n "$ac_tool_prefix"; then
4170 for ac_prog in cl.exe
4172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4175 $as_echo_n "checking for $ac_word... " >&6; }
4176 if ${ac_cv_prog_CC+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -n "$CC"; then
4180 ac_cv_prog_CC="$CC" # Let the user override the test.
4182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186 test -z "$as_dir" && as_dir=.
4187 for ac_exec_ext in '' $ac_executable_extensions; do
4188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4189 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 if test -n "$CC"; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4202 $as_echo "$CC" >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }
4209 test -n "$CC" && break
4212 if test -z "$CC"; then
4214 for ac_prog in cl.exe
4216 # Extract the first word of "$ac_prog", so it can be a program name with args.
4217 set dummy $ac_prog; ac_word=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -n "$ac_ct_CC"; then
4224 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 test -z "$as_dir" && as_dir=.
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4233 ac_cv_prog_ac_ct_CC="$ac_prog"
4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4244 if test -n "$ac_ct_CC"; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4246 $as_echo "$ac_ct_CC" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4253 test -n "$ac_ct_CC" && break
4256 if test "x$ac_ct_CC" = x; then
4259 case $cross_compiling:$ac_tool_warned in
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4263 ac_tool_warned=yes ;;
4272 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4274 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4275 See \
`config.log' for more details" "$LINENO" 5; }
4277 # Provide some information about the compiler.
4278 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4281 for ac_option in --version -v -V -qversion; do
4282 { { ac_try="$ac_compiler $ac_option >&5"
4284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4285 *) ac_try_echo
=$ac_try;;
4287 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4288 $as_echo "$ac_try_echo"; } >&5
4289 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4291 if test -s conftest.err
; then
4293 ... rest of stderr output deleted ...
4294 10q' conftest.err
>conftest.er1
4295 cat conftest.er1
>&5
4297 rm -f conftest.er1 conftest.err
4298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4299 test $ac_status = 0; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4303 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4304 if ${ac_cv_c_compiler_gnu+:} false
; then :
4305 $as_echo_n "(cached) " >&6
4307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4321 if ac_fn_c_try_compile
"$LINENO"; then :
4326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4327 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4331 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4332 if test $ac_compiler_gnu = yes; then
4337 ac_test_CFLAGS
=${CFLAGS+set}
4338 ac_save_CFLAGS
=$CFLAGS
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4340 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4341 if ${ac_cv_prog_cc_g+:} false
; then :
4342 $as_echo_n "(cached) " >&6
4344 ac_save_c_werror_flag
=$ac_c_werror_flag
4345 ac_c_werror_flag
=yes
4348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 if ac_fn_c_try_compile
"$LINENO"; then :
4363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4374 if ac_fn_c_try_compile
"$LINENO"; then :
4377 ac_c_werror_flag
=$ac_save_c_werror_flag
4379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4390 if ac_fn_c_try_compile
"$LINENO"; then :
4393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4398 ac_c_werror_flag
=$ac_save_c_werror_flag
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4401 $as_echo "$ac_cv_prog_cc_g" >&6; }
4402 if test "$ac_test_CFLAGS" = set; then
4403 CFLAGS
=$ac_save_CFLAGS
4404 elif test $ac_cv_prog_cc_g = yes; then
4405 if test "$GCC" = yes; then
4411 if test "$GCC" = yes; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4418 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4419 if ${ac_cv_prog_cc_c89+:} false
; then :
4420 $as_echo_n "(cached) " >&6
4422 ac_cv_prog_cc_c89
=no
4424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4429 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4430 struct buf { int x; };
4431 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4432 static char *e (p, i)
4438 static char *f (char * (*g) (char **, int), char **p, ...)
4443 s = g (p, va_arg (v,int));
4448 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4449 function prototypes and stuff, but not '\xHH' hex character constants.
4450 These don't provoke an error unfortunately, instead are silently treated
4451 as 'x'. The following induces an error, until -std is added to get
4452 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4453 array size at least. It's necessary to write '\x00'==0 to get something
4454 that's true only with -std. */
4455 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4458 inside strings and character constants. */
4460 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4462 int test (int i, double x);
4463 struct s1 {int (*f) (int a);};
4464 struct s2 {int (*f) (double a);};
4465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4476 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4477 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4479 CC
="$ac_save_CC $ac_arg"
4480 if ac_fn_c_try_compile
"$LINENO"; then :
4481 ac_cv_prog_cc_c89
=$ac_arg
4483 rm -f core conftest.err conftest.
$ac_objext
4484 test "x$ac_cv_prog_cc_c89" != "xno" && break
4486 rm -f conftest.
$ac_ext
4491 case "x$ac_cv_prog_cc_c89" in
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4494 $as_echo "none needed" >&6; } ;;
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4497 $as_echo "unsupported" >&6; } ;;
4499 CC
="$CC $ac_cv_prog_cc_c89"
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4501 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4503 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4508 ac_cpp
='$CPP $CPPFLAGS'
4509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4514 ac_cpp
='$CPP $CPPFLAGS'
4515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4519 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4520 if ${am_cv_prog_cc_c_o+:} false
; then :
4521 $as_echo_n "(cached) " >&6
4523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 # Make sure it works both with $CC and with simple cc.
4535 # Following AC_PROG_CC_C_O, we do the test twice because some
4536 # compilers refuse to overwrite an existing .o file with -o,
4537 # though they will create one.
4538 am_cv_prog_cc_c_o
=yes
4540 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4541 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } \
4545 && test -f conftest2.
$ac_objext; then
4548 am_cv_prog_cc_c_o
=no
4552 rm -f core conftest
*
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4556 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4557 if test "$am_cv_prog_cc_c_o" != yes; then
4558 # Losing compiler, so override with the script.
4559 # FIXME: It is wrong to rewrite CC.
4560 # But if we don't then we get into trouble of one sort or another.
4561 # A longer-term fix would be to have automake use am__CC in this case,
4562 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4563 CC
="$am_aux_dir/compile $CC"
4566 ac_cpp
='$CPP $CPPFLAGS'
4567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4572 depcc
="$CC" am_compiler_list
=
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4575 $as_echo_n "checking dependency style of $depcc... " >&6; }
4576 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4577 $as_echo_n "(cached) " >&6
4579 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4580 # We make a subdir and do the tests there. Otherwise we can end up
4581 # making bogus files that we don't know about and never remove. For
4582 # instance it was reported that on HP-UX the gcc test will end up
4583 # making a dummy file named 'D' -- because '-MD' means "put the output
4587 # Copy depcomp to subdir because otherwise we won't find it if we're
4588 # using a relative directory.
4589 cp "$am_depcomp" conftest.dir
4591 # We will build objects and dependencies in a subdirectory because
4592 # it helps to detect inapplicable dependency modes. For instance
4593 # both Tru64's cc and ICC support -MD to output dependencies as a
4594 # side effect of compilation, but ICC will put the dependencies in
4595 # the current directory while Tru64 will put them in the object
4599 am_cv_CC_dependencies_compiler_type
=none
4600 if test "$am_compiler_list" = ""; then
4601 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4604 case " $depcc " in #(
4605 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4608 for depmode
in $am_compiler_list; do
4609 # Setup a source with many dependencies, because some compilers
4610 # like to wrap large dependency lists on column 80 (with \), and
4611 # we should not choose a depcomp mode which is confused by this.
4613 # We need to recreate these files for each test, as the compiler may
4614 # overwrite some of them when testing with obscure command lines.
4615 # This happens at least with the AIX C compiler.
4617 for i
in 1 2 3 4 5 6; do
4618 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4619 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4620 # Solaris 10 /bin/sh.
4621 echo '/* dummy */' > sub
/conftst
$i.h
4623 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4625 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4626 # mode. It turns out that the SunPro C++ compiler does not properly
4627 # handle '-M -o', and we need to detect this. Also, some Intel
4628 # versions had trouble with output in subdirs.
4629 am__obj
=sub
/conftest.
${OBJEXT-o}
4630 am__minus_obj
="-o $am__obj"
4633 # This depmode causes a compiler race in universal mode.
4634 test "$am__universal" = false ||
continue
4637 # After this tag, mechanisms are not by side-effect, so they'll
4638 # only be used when explicitly requested.
4639 if test "x$enable_dependency_tracking" = xyes
; then
4645 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4646 # This compiler won't grok '-c -o', but also, the minuso test has
4647 # not run yet. These depmodes are late enough in the game, and
4648 # so weak that their functioning should not be impacted.
4649 am__obj
=conftest.
${OBJEXT-o}
4654 if depmode
=$depmode \
4655 source=sub
/conftest.c object
=$am__obj \
4656 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4657 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4658 >/dev
/null
2>conftest.err
&&
4659 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4660 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4661 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4662 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4663 # icc doesn't choke on unknown options, it will just issue warnings
4664 # or remarks (even with -Werror). So we grep stderr for any message
4665 # that says an option was ignored or not supported.
4666 # When given -MP, icc 7.0 and 7.1 complain thusly:
4667 # icc: Command line warning: ignoring option '-M'; no argument required
4668 # The diagnosis changed in icc 8.0:
4669 # icc: Command line remark: option '-MP' not supported
4670 if (grep 'ignoring option' conftest.err ||
4671 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4672 am_cv_CC_dependencies_compiler_type
=$depmode
4681 am_cv_CC_dependencies_compiler_type
=none
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4686 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4687 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4690 test "x$enable_dependency_tracking" != xno \
4691 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4693 am__fastdepCC_FALSE
='#'
4695 am__fastdepCC_TRUE
='#'
4696 am__fastdepCC_FALSE
=
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4701 $as_echo_n "checking whether ln -s works... " >&6; }
4703 if test "$LN_S" = "ln -s"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4705 $as_echo "yes" >&6; }
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4708 $as_echo "no, using $LN_S" >&6; }
4713 ac_cpp
='$CPP $CPPFLAGS'
4714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4718 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4719 # On Suns, sometimes $CPP names a directory.
4720 if test -n "$CPP" && test -d "$CPP"; then
4723 if test -z "$CPP"; then
4724 if ${ac_cv_prog_CPP+:} false
; then :
4725 $as_echo_n "(cached) " >&6
4727 # Double quotes because CPP needs to be expanded
4728 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4731 for ac_c_preproc_warn_flag
in '' yes
4733 # Use a header file that comes with gcc, so configuring glibc
4734 # with a fresh cross-compiler works.
4735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4736 # <limits.h> exists even on freestanding compilers.
4737 # On the NeXT, cc -E runs the code through the compiler's parser,
4738 # not just through cpp. "Syntax error" is here to catch this case.
4739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4742 # include <limits.h>
4744 # include <assert.h>
4748 if ac_fn_c_try_cpp
"$LINENO"; then :
4751 # Broken: fails on valid input.
4754 rm -f conftest.err conftest.i conftest.
$ac_ext
4756 # OK, works on sane cases. Now check whether nonexistent headers
4757 # can be detected and how.
4758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4760 #include <ac_nonexistent.h>
4762 if ac_fn_c_try_cpp
"$LINENO"; then :
4763 # Broken: success on invalid input.
4766 # Passes both tests.
4770 rm -f conftest.err conftest.i conftest.
$ac_ext
4773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4774 rm -f conftest.i conftest.err conftest.
$ac_ext
4775 if $ac_preproc_ok; then :
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4788 $as_echo "$CPP" >&6; }
4790 for ac_c_preproc_warn_flag
in '' yes
4792 # Use a header file that comes with gcc, so configuring glibc
4793 # with a fresh cross-compiler works.
4794 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4795 # <limits.h> exists even on freestanding compilers.
4796 # On the NeXT, cc -E runs the code through the compiler's parser,
4797 # not just through cpp. "Syntax error" is here to catch this case.
4798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4801 # include <limits.h>
4803 # include <assert.h>
4807 if ac_fn_c_try_cpp
"$LINENO"; then :
4810 # Broken: fails on valid input.
4813 rm -f conftest.err conftest.i conftest.
$ac_ext
4815 # OK, works on sane cases. Now check whether nonexistent headers
4816 # can be detected and how.
4817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4819 #include <ac_nonexistent.h>
4821 if ac_fn_c_try_cpp
"$LINENO"; then :
4822 # Broken: success on invalid input.
4825 # Passes both tests.
4829 rm -f conftest.err conftest.i conftest.
$ac_ext
4832 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4833 rm -f conftest.i conftest.err conftest.
$ac_ext
4834 if $ac_preproc_ok; then :
4837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4839 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4840 See \`config.log' for more details" "$LINENO" 5; }
4844 ac_cpp
='$CPP $CPPFLAGS'
4845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4851 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4852 if ${ac_cv_path_GREP+:} false
; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -z "$GREP"; then
4856 ac_path_GREP_found
=false
4857 # Loop through the user's path and test for each of PROGNAME-LIST
4858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4859 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4862 test -z "$as_dir" && as_dir
=.
4863 for ac_prog
in grep ggrep
; do
4864 for ac_exec_ext
in '' $ac_executable_extensions; do
4865 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4866 as_fn_executable_p
"$ac_path_GREP" ||
continue
4867 # Check for GNU ac_path_GREP and select it if it is found.
4868 # Check for GNU $ac_path_GREP
4869 case `"$ac_path_GREP" --version 2>&1` in
4871 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4874 $as_echo_n 0123456789 >"conftest.in"
4877 cat "conftest.in" "conftest.in" >"conftest.tmp"
4878 mv "conftest.tmp" "conftest.in"
4879 cp "conftest.in" "conftest.nl"
4880 $as_echo 'GREP' >> "conftest.nl"
4881 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4882 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4883 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4884 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4885 # Best one so far, save it but keep looking for a better one
4886 ac_cv_path_GREP
="$ac_path_GREP"
4887 ac_path_GREP_max
=$ac_count
4889 # 10*(2^10) chars as input seems more than enough
4890 test $ac_count -gt 10 && break
4892 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4895 $ac_path_GREP_found && break 3
4900 if test -z "$ac_cv_path_GREP"; then
4901 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4904 ac_cv_path_GREP
=$GREP
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4909 $as_echo "$ac_cv_path_GREP" >&6; }
4910 GREP
="$ac_cv_path_GREP"
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4914 $as_echo_n "checking for egrep... " >&6; }
4915 if ${ac_cv_path_EGREP+:} false
; then :
4916 $as_echo_n "(cached) " >&6
4918 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4919 then ac_cv_path_EGREP
="$GREP -E"
4921 if test -z "$EGREP"; then
4922 ac_path_EGREP_found
=false
4923 # Loop through the user's path and test for each of PROGNAME-LIST
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4925 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_prog
in egrep; do
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4932 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4933 # Check for GNU ac_path_EGREP and select it if it is found.
4934 # Check for GNU $ac_path_EGREP
4935 case `"$ac_path_EGREP" --version 2>&1` in
4937 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4940 $as_echo_n 0123456789 >"conftest.in"
4943 cat "conftest.in" "conftest.in" >"conftest.tmp"
4944 mv "conftest.tmp" "conftest.in"
4945 cp "conftest.in" "conftest.nl"
4946 $as_echo 'EGREP' >> "conftest.nl"
4947 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4948 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4949 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4950 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4951 # Best one so far, save it but keep looking for a better one
4952 ac_cv_path_EGREP
="$ac_path_EGREP"
4953 ac_path_EGREP_max
=$ac_count
4955 # 10*(2^10) chars as input seems more than enough
4956 test $ac_count -gt 10 && break
4958 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4961 $ac_path_EGREP_found && break 3
4966 if test -z "$ac_cv_path_EGREP"; then
4967 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4970 ac_cv_path_EGREP
=$EGREP
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4976 $as_echo "$ac_cv_path_EGREP" >&6; }
4977 EGREP
="$ac_cv_path_EGREP"
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4981 $as_echo_n "checking for ANSI C header files... " >&6; }
4982 if ${ac_cv_header_stdc+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
5000 if ac_fn_c_try_compile
"$LINENO"; then :
5001 ac_cv_header_stdc
=yes
5003 ac_cv_header_stdc
=no
5005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5007 if test $ac_cv_header_stdc = yes; then
5008 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5015 $EGREP "memchr" >/dev
/null
2>&1; then :
5018 ac_cv_header_stdc
=no
5024 if test $ac_cv_header_stdc = yes; then
5025 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5032 $EGREP "free" >/dev
/null
2>&1; then :
5035 ac_cv_header_stdc
=no
5041 if test $ac_cv_header_stdc = yes; then
5042 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5043 if test "$cross_compiling" = yes; then :
5046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5050 #if ((' ' & 0x0FF) == 0x020)
5051 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5052 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5054 # define ISLOWER(c) \
5055 (('a' <= (c) && (c) <= 'i') \
5056 || ('j' <= (c) && (c) <= 'r') \
5057 || ('s' <= (c) && (c) <= 'z'))
5058 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5061 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5066 for (i = 0; i < 256; i++)
5067 if (XOR (islower (i), ISLOWER (i))
5068 || toupper (i) != TOUPPER (i))
5073 if ac_fn_c_try_run
"$LINENO"; then :
5076 ac_cv_header_stdc
=no
5078 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5079 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5085 $as_echo "$ac_cv_header_stdc" >&6; }
5086 if test $ac_cv_header_stdc = yes; then
5088 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5092 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5093 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5094 inttypes.h stdint.h unistd.h
5096 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5097 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5099 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5100 cat >>confdefs.h
<<_ACEOF
5101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5109 # The cast to long int works around a bug in the HP C Compiler
5110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5112 # This bug is HP SR number 8606223364.
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
5114 $as_echo_n "checking size of void *... " >&6; }
5115 if ${ac_cv_sizeof_void_p+:} false
; then :
5116 $as_echo_n "(cached) " >&6
5118 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
5121 if test "$ac_cv_type_void_p" = yes; then
5122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5124 as_fn_error
77 "cannot compute sizeof (void *)
5125 See \`config.log' for more details" "$LINENO" 5; }
5127 ac_cv_sizeof_void_p
=0
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
5133 $as_echo "$ac_cv_sizeof_void_p" >&6; }
5137 cat >>confdefs.h
<<_ACEOF
5138 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
5142 if test "x$ac_cv_sizeof_void_p" != "x$HOST_PTR_SIZE"; then :
5143 HOST_PTR_BITS
=`expr 8 \* $HOST_PTR_SIZE`
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pointer size mismatch in cross-build; use a ${HOST_PTR_BITS}bit compiler BULDCC." >&5
5145 $as_echo "$as_me: WARNING: pointer size mismatch in cross-build; use a ${HOST_PTR_BITS}bit compiler BULDCC." >&2;}
5146 case $HOST_PTR_BITS in #(
5148 CC
="$CC -m$HOST_PTR_BITS"; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying: $CC" >&5
5149 $as_echo "$as_me: WARNING: trying: $CC" >&2;} ;; #(
5155 # Make sure we can run config.sub.
5156 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5157 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5160 $as_echo_n "checking build system type... " >&6; }
5161 if ${ac_cv_build+:} false
; then :
5162 $as_echo_n "(cached) " >&6
5164 ac_build_alias
=$build_alias
5165 test "x$ac_build_alias" = x
&&
5166 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5167 test "x$ac_build_alias" = x
&&
5168 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5169 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5170 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5174 $as_echo "$ac_cv_build" >&6; }
5175 case $ac_cv_build in
5177 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5180 ac_save_IFS
=$IFS; IFS
='-'
5186 # Remember, the first character of IFS is used to create $*,
5187 # except with old shells:
5190 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5194 $as_echo_n "checking host system type... " >&6; }
5195 if ${ac_cv_host+:} false
; then :
5196 $as_echo_n "(cached) " >&6
5198 if test "x$host_alias" = x
; then
5199 ac_cv_host
=$ac_cv_build
5201 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5202 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5207 $as_echo "$ac_cv_host" >&6; }
5210 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5213 ac_save_IFS
=$IFS; IFS
='-'
5219 # Remember, the first character of IFS is used to create $*,
5220 # except with old shells:
5223 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5226 LUAJIT_DEFINES
='-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6'
5228 case $host_os:$host_cpu in #(
5230 LUAJIT_LDEXTRA
='-pagezero_size 10000 -image_base 100000000' ;; #(
5237 kpse_search_save_LIBS
=$LIBS
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
5239 $as_echo_n "checking for library containing pow... " >&6; }
5240 if ${ac_cv_search_pow+:} false
; then :
5241 $as_echo_n "(cached) " >&6
5243 ac_func_search_save_LIBS
=$LIBS
5244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5247 /* Override any GCC internal prototype to avoid an error.
5248 Use char because int might match the return type of a GCC
5249 builtin and then its argument prototype would still apply. */
5262 for ac_lib
in '' m
; do
5263 if test -z "$ac_lib"; then
5264 ac_res
="none required"
5267 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5269 if ac_fn_c_try_link
"$LINENO"; then :
5270 ac_cv_search_pow
=$ac_res
5272 rm -f core conftest.err conftest.
$ac_objext \
5274 if ${ac_cv_search_pow+:} false
; then :
5278 if ${ac_cv_search_pow+:} false
; then :
5284 LIBS
=$ac_func_search_save_LIBS
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
5287 $as_echo "$ac_cv_search_pow" >&6; }
5288 ac_res
=$ac_cv_search_pow
5289 if test "$ac_res" != no
; then :
5290 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5294 LIBS
=$kpse_search_save_LIBS
5295 case $ac_cv_search_pow in #(
5299 as_fn_error $?
"Sorry, did not find pow()" "$LINENO" 5 ;; #(
5301 MATH_LIB
=$ac_cv_search_pow ;;
5307 LUAJIT_TREE
=..
/LuaJIT-src
5310 ac_config_headers
="$ac_config_headers config.h"
5313 ac_config_files
="$ac_config_files Makefile"
5316 cat >confcache
<<\_ACEOF
5317 # This file is a shell script that caches the results of configure
5318 # tests run on this system so they can be shared between configure
5319 # scripts and configure runs, see configure's option --config-cache.
5320 # It is not useful on other systems. If it contains results you don't
5321 # want to keep, you may remove or edit it.
5323 # config.status only pays attention to the cache file if you give it
5324 # the --recheck option to rerun configure.
5326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5332 # The following way of writing the cache mishandles newlines in values,
5333 # but we know of no workaround that is simple, portable, and efficient.
5334 # So, we kill variables containing newlines.
5335 # Ultrix sh set writes to stderr and can't be redirected directly,
5336 # and sets the high bit in the cache file unless we assign to the vars.
5338 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5339 eval ac_val
=\$
$ac_var
5343 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5344 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5347 _ | IFS | as_nl
) ;; #(
5348 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5349 *) { eval $ac_var=; unset $ac_var;} ;;
5355 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5356 *${as_nl}ac_space
=\
*)
5357 # `set' does not quote correctly, so add quotes: double-quote
5358 # substitution turns \\\\ into \\, and sed turns \\ into \.
5361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5364 # `set' quotes correctly as required by POSIX, so do not add quotes.
5365 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5376 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5378 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5379 if test -w "$cache_file"; then
5380 if test "x$cache_file" != "x/dev/null"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5382 $as_echo "$as_me: updating cache $cache_file" >&6;}
5383 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5384 cat confcache
>"$cache_file"
5386 case $cache_file in #(
5388 mv -f confcache
"$cache_file"$$
&&
5389 mv -f "$cache_file"$$
"$cache_file" ;; #(
5391 mv -f confcache
"$cache_file" ;;
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5397 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5402 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5403 # Let make expand exec_prefix.
5404 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5406 DEFS
=-DHAVE_CONFIG_H
5411 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5412 # 1. Remove the extension, and $U if already installed.
5413 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5414 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5415 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5416 # will be set to the directory where LIBOBJS objects are built.
5417 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5418 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5422 LTLIBOBJS
=$ac_ltlibobjs
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5426 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5427 if test -n "$am_sleep_pid"; then
5428 # Hide warnings about reused PIDs.
5429 wait $am_sleep_pid 2>/dev
/null
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5432 $as_echo "done" >&6; }
5433 if test -n "$EXEEXT"; then
5435 am__EXEEXT_FALSE
='#'
5441 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5442 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5445 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5446 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5449 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5450 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5453 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5454 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5458 : "${CONFIG_STATUS=./config.status}"
5460 ac_clean_files_save
=$ac_clean_files
5461 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5463 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5465 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5467 # Generated by $as_me.
5468 # Run this file to recreate the current configuration.
5469 # Compiler output produced by configure, useful for debugging
5470 # configure, is in config.log if it exists.
5476 SHELL=\${CONFIG_SHELL-$SHELL}
5479 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5480 ## -------------------- ##
5481 ## M4sh Initialization. ##
5482 ## -------------------- ##
5484 # Be more Bourne compatible
5485 DUALCASE
=1; export DUALCASE
# for MKS sh
5486 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5489 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5490 # is contrary to our usage. Disable this feature.
5491 alias -g '${1+"$@"}'='"$@"'
5492 setopt NO_GLOB_SUBST
5494 case `(set -o) 2>/dev/null` in #(
5506 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5507 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5510 # Prefer a ksh shell builtin over an external printf program on Solaris,
5511 # but without wasting forks for bash or zsh.
5512 if test -z "$BASH_VERSION$ZSH_VERSION" \
5513 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5514 as_echo='print
-r --'
5515 as_echo_n='print
-rn --'
5516 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5517 as_echo='printf %s
\n'
5518 as_echo_n='printf %s
'
5520 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5521 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5522 as_echo_n='/usr
/ucb
/echo -n'
5524 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5525 as_echo_n_body='eval
5529 expr "X$arg" : "X\\(.*\\)$as_nl";
5530 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5532 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5534 export as_echo_n_body
5535 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5538 as_echo='sh
-c $as_echo_body as_echo
'
5541 # The user is always right.
5542 if test "${PATH_SEPARATOR+set}" != set; then
5544 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5545 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5552 # We need space, tab and new line, in precisely that order. Quoting is
5553 # there to prevent editors from complaining about space-tab.
5554 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5555 # splitting by setting IFS to empty value.)
5558 # Find who we are. Look in the path if we contain no directory separator.
5561 *[\\/]* ) as_myself=$0 ;;
5562 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 test -z "$as_dir" && as_dir=.
5567 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5573 # We did not find ourselves, most probably we were run as `sh COMMAND'
5574 # in which case we are not to be found in the path.
5575 if test "x$as_myself" = x
; then
5578 if test ! -f "$as_myself"; then
5579 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5583 # Unset variables that we do not need and which cause bugs (e.g. in
5584 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5585 # suppresses any "Segmentation fault" message there. '((' could
5586 # trigger a bug in pdksh 5.2.14.
5587 for as_var
in BASH_ENV ENV MAIL MAILPATH
5588 do eval test x\
${$as_var+set} = xset \
5589 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5602 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5605 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5606 # ----------------------------------------
5607 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5608 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5609 # script with STATUS, using 1 if that was 0.
5612 as_status
=$1; test $as_status -eq 0 && as_status
=1
5614 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5615 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5617 $as_echo "$as_me: error: $2" >&2
5618 as_fn_exit
$as_status
5622 # as_fn_set_status STATUS
5623 # -----------------------
5624 # Set $? to STATUS, without forking.
5628 } # as_fn_set_status
5632 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5642 # Portably unset VAR.
5645 { eval $1=; unset $1;}
5647 as_unset
=as_fn_unset
5648 # as_fn_append VAR VALUE
5649 # ----------------------
5650 # Append the text in VALUE to the end of the definition contained in VAR. Take
5651 # advantage of any shell optimizations that allow amortized linear growth over
5652 # repeated appends, instead of the typical quadratic growth present in naive
5654 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5655 eval 'as_fn_append ()
5666 # as_fn_arith ARG...
5667 # ------------------
5668 # Perform arithmetic evaluation on the ARGs, and store the result in the
5669 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5670 # must be portable across $(()) and expr.
5671 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5672 eval 'as_fn_arith ()
5679 as_val
=`expr "$@" || test $? -eq 1`
5684 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5685 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5691 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5692 as_basename
=basename
5697 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5703 as_me
=`$as_basename -- "$0" ||
5704 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5705 X"$0" : 'X\(//\)$' \| \
5706 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5708 sed '/^.*\/\([^/][^/]*\)\/*$/{
5722 # Avoid depending upon Character Ranges.
5723 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5724 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5725 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5726 as_cr_digits
='0123456789'
5727 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5729 ECHO_C
= ECHO_N
= ECHO_T
=
5730 case `echo -n x` in #(((((
5732 case `echo 'xy\c'` in
5733 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5735 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5742 rm -f conf$$ conf$$.exe conf$$.
file
5743 if test -d conf$$.dir
; then
5744 rm -f conf$$.dir
/conf$$.
file
5747 mkdir conf$$.dir
2>/dev
/null
5749 if (echo >conf$$.
file) 2>/dev
/null
; then
5750 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5752 # ... but there are two gotchas:
5753 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5754 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5755 # In both cases, we have to default to `cp -pR'.
5756 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5758 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5766 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5767 rmdir conf$$.dir
2>/dev
/null
5772 # Create "$as_dir" as a directory, including parents if necessary.
5777 -*) as_dir
=.
/$as_dir;;
5779 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5783 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5784 *) as_qdir
=$as_dir;;
5786 as_dirs
="'$as_qdir' $as_dirs"
5787 as_dir
=`$as_dirname -- "$as_dir" ||
5788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5789 X"$as_dir" : 'X\(//\)[^/]' \| \
5790 X"$as_dir" : 'X\(//\)$' \| \
5791 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5792 $as_echo X"$as_dir" |
5793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5810 test -d "$as_dir" && break
5812 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5813 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5817 if mkdir
-p .
2>/dev
/null
; then
5818 as_mkdir_p
='mkdir -p "$as_dir"'
5820 test -d .
/-p && rmdir .
/-p
5825 # as_fn_executable_p FILE
5826 # -----------------------
5827 # Test if FILE is an executable regular file.
5828 as_fn_executable_p
()
5830 test -f "$1" && test -x "$1"
5831 } # as_fn_executable_p
5833 as_executable_p
=as_fn_executable_p
5835 # Sed expression to map a string onto a valid CPP name.
5836 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5838 # Sed expression to map a string onto a valid variable name.
5839 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5843 ## ----------------------------------- ##
5844 ## Main body of $CONFIG_STATUS script. ##
5845 ## ----------------------------------- ##
5847 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5850 # Save the log message, to keep $0 and so on meaningful, and to
5851 # report actual input values of CONFIG_FILES etc. instead of their
5852 # values after options handling.
5854 This file was extended by luajit native $as_me 2.1.0-beta1, which was
5855 generated by GNU Autoconf 2.69. Invocation command line was
5857 CONFIG_FILES = $CONFIG_FILES
5858 CONFIG_HEADERS = $CONFIG_HEADERS
5859 CONFIG_LINKS = $CONFIG_LINKS
5860 CONFIG_COMMANDS = $CONFIG_COMMANDS
5863 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5868 case $ac_config_files in *"
5869 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5872 case $ac_config_headers in *"
5873 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5878 # Files that config.status was made for.
5879 config_files="$ac_config_files"
5880 config_headers="$ac_config_headers"
5881 config_commands="$ac_config_commands"
5885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5887 \`$as_me' instantiates files and other configuration actions
5888 from templates according to the current configuration. Unless the files
5889 and actions are specified as TAGs, all are instantiated by default.
5891 Usage: $0 [OPTION]... [TAG]...
5893 -h, --help print this help, then exit
5894 -V, --version print version number and configuration settings, then exit
5895 --config print configuration, then exit
5896 -q, --quiet, --silent
5897 do not print progress messages
5898 -d, --debug don't remove temporary files
5899 --recheck update $as_me by reconfiguring in the same conditions
5900 --file=FILE[:TEMPLATE]
5901 instantiate the configuration file FILE
5902 --header=FILE[:TEMPLATE]
5903 instantiate the configuration header FILE
5905 Configuration files:
5908 Configuration headers:
5911 Configuration commands:
5914 Report bugs to <tex-k@tug.org>."
5917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5918 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5920 luajit native config.status 2.1.0-beta1
5921 configured by $0, generated by GNU Autoconf 2.69,
5922 with options \\"\$ac_cs_config\\"
5924 Copyright (C) 2012 Free Software Foundation, Inc.
5925 This config.status script is free software; the Free Software Foundation
5926 gives unlimited permission to copy, distribute and modify it."
5933 test -n "\$AWK" || AWK=awk
5936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5937 # The default lists apply if the user does not specify any file.
5943 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5944 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5948 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5960 # Handling of the options.
5961 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5963 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5964 $as_echo "$ac_cs_version"; exit ;;
5965 --config |
--confi |
--conf |
--con |
--co |
--c )
5966 $as_echo "$ac_cs_config"; exit ;;
5967 --debug |
--debu |
--deb |
--de |
--d |
-d )
5969 --file |
--fil |
--fi |
--f )
5972 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5973 '') as_fn_error $?
"missing file argument" ;;
5975 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5976 ac_need_defaults
=false
;;
5977 --header |
--heade |
--head |
--hea )
5980 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5982 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5983 ac_need_defaults
=false
;;
5985 # Conflict between --help and --header
5986 as_fn_error $?
"ambiguous option: \`$1'
5987 Try \`$0 --help' for more information.";;
5988 --help |
--hel |
-h )
5989 $as_echo "$ac_cs_usage"; exit ;;
5990 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5991 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5995 -*) as_fn_error $?
"unrecognized option: \`$1'
5996 Try \`$0 --help' for more information." ;;
5998 *) as_fn_append ac_config_targets
" $1"
5999 ac_need_defaults
=false
;;
6005 ac_configure_extra_args
=
6007 if $ac_cs_silent; then
6009 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6014 if \$ac_cs_recheck; then
6015 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6017 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6018 CONFIG_SHELL='$SHELL'
6024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6028 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6029 ## Running $as_me. ##
6035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6039 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6045 # Handling of arguments.
6046 for ac_config_target
in $ac_config_targets
6048 case $ac_config_target in
6049 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6050 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6051 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6053 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6058 # If the user did not use the arguments to specify the items to instantiate,
6059 # then the envvar interface is used. Set only those that are not.
6060 # We use the long form for the default assignment because of an extremely
6061 # bizarre bug on SunOS 4.1.3.
6062 if $ac_need_defaults; then
6063 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6064 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6065 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6068 # Have a temporary directory for convenience. Make it in the build tree
6069 # simply because there is no reason against having it here, and in addition,
6070 # creating and moving files from /tmp can sometimes cause problems.
6071 # Hook for its removal unless debugging.
6072 # Note that there is a small window in which the directory will not be cleaned:
6073 # after its creation but before its name has been assigned to `$tmp'.
6077 trap 'exit_status=$?
6079 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6081 trap 'as_fn_exit 1' 1 2 13 15
6083 # Create a (secure) tmp directory for tmp files.
6086 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6090 tmp
=.
/conf$$
-$RANDOM
6091 (umask 077 && mkdir
"$tmp")
6092 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6095 # Set up the scripts for CONFIG_FILES section.
6096 # No need to generate them if there are no CONFIG_FILES.
6097 # This happens for instance with `./config.status config.h'.
6098 if test -n "$CONFIG_FILES"; then
6101 ac_cr
=`echo X | tr X '\015'`
6102 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6103 # But we know of no other shell where ac_cr would be empty at this
6104 # point, so we can use a bashism as a fallback.
6105 if test "x$ac_cr" = x
; then
6106 eval ac_cr
=\$
\'\\r
\'
6108 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6109 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6115 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6120 echo "cat >conf$$subs.awk <<_ACEOF" &&
6121 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6124 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6125 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6127 for ac_last_try in false false false false false :; do
6128 . ./conf$$subs.sh ||
6129 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6131 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6132 if test $ac_delim_n = $ac_delim_num; then
6134 elif $ac_last_try; then
6135 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6137 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6143 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6147 s/^/S["/; s
/!.
*/"]=/
6157 s/\(.\{148\}\)..*/\1/
6159 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6164 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6171 s/\(.\{148\}\)..*/\1/
6173 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6177 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6182 ' <conf$$subs.awk | sed '
6187 ' >>$CONFIG_STATUS || ac_write_fail=1
6188 rm -f conf$$subs.awk
6189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6191 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6192 for (key in S) S_is_set[key] = 1
6198 nfields = split(line, field, "@
")
6200 len = length(field[1])
6201 for (i = 2; i < nfields; i++) {
6203 keylen = length(key)
6204 if (S_is_set[key]) {
6206 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6207 len += length(value) + length(field[++i])
6218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6219 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6220 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6223 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6224 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6227 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6228 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6229 # trailing colons and then remove the whole line if VPATH becomes empty
6230 # (actually we leave an empty line to preserve line numbers).
6231 if test "x
$srcdir" = x.; then
6232 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6251 fi # test -n "$CONFIG_FILES"
6253 # Set up the scripts for CONFIG_HEADERS section.
6254 # No need to generate them if there are no CONFIG_HEADERS.
6255 # This happens for instance with `./config.status Makefile'.
6256 if test -n "$CONFIG_HEADERS"; then
6257 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6261 # Transform confdefs.h into an awk script `defines.awk', embedded as
6262 # here-document in config.status, that substitutes the proper values into
6263 # config.h.in to produce config.h.
6265 # Create a delimiter string that does not exist in confdefs.h, to ease
6266 # handling of long lines.
6268 for ac_last_try in false false :; do
6269 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6270 if test -z "$ac_tt"; then
6272 elif $ac_last_try; then
6273 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6275 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6279 # For the awk script, D is an array of macro values keyed by name,
6280 # likewise P contains macro parameters if any. Preserve backslash
6281 # newline sequences.
6283 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6285 s/.\{148\}/&'"$ac_delim"'/g
6288 s/^[ ]*#[ ]*define[ ][ ]*/ /
6295 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6297 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6301 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6302 D["\
1"]=" \
3\\\\\\n
"\\/p
6304 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6309 s/.\{148\}/&'"$ac_delim"'/g
6314 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6317 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6319 ' <confdefs.h | sed '
6320 s/'"$ac_delim"'/"\\\
6321 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6324 for (key in D) D_is_set[key] = 1
6327 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6329 split(line, arg, " ")
6330 if (arg[1] == "#") {
6334 defundef
= substr
(arg
[1], 2)
6337 split(mac1
, mac2
, "(") #)
6339 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6340 if (D_is_set
[macro
]) {
6341 # Preserve the white space surrounding the "#".
6342 print prefix
"define", macro P
[macro
] D
[macro
]
6345 # Replace #undef with comments. This is necessary, for example,
6346 # in the case of _POSIX_SOURCE, which is predefined and required
6347 # on some systems where configure will not decide to define it.
6348 if (defundef
== "undef") {
6349 print
"/*", prefix defundef
, macro
, "*/"
6357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6358 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6359 fi # test -n "$CONFIG_HEADERS"
6362 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6367 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6369 case $ac_mode$ac_tag in
6371 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6372 :[FH
]-) ac_tag
=-:-;;
6373 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6390 -) ac_f
="$ac_tmp/stdin";;
6391 *) # Look for the file first in the build tree, then in the source tree
6392 # (if the path is not absolute). The absolute path cannot be DOS-style,
6393 # because $ac_f cannot contain `:'.
6397 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6399 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6401 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6402 as_fn_append ac_file_inputs
" '$ac_f'"
6405 # Let's still pretend it is `configure' which instantiates (i.e., don't
6406 # use $as_me), people would be surprised to read:
6407 # /* config.h. Generated by config.status. */
6408 configure_input
='Generated from '`
6409 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6411 if test x
"$ac_file" != x-
; then
6412 configure_input
="$ac_file. $configure_input"
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6414 $as_echo "$as_me: creating $ac_file" >&6;}
6416 # Neutralize special characters interpreted by sed in replacement strings.
6417 case $configure_input in #(
6418 *\
&* |
*\|
* |
*\\* )
6419 ac_sed_conf_input
=`$as_echo "$configure_input" |
6420 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6421 *) ac_sed_conf_input
=$configure_input;;
6425 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6426 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6431 ac_dir
=`$as_dirname -- "$ac_file" ||
6432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6433 X"$ac_file" : 'X\(//\)[^/]' \| \
6434 X"$ac_file" : 'X\(//\)$' \| \
6435 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6436 $as_echo X"$ac_file" |
6437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6454 as_dir
="$ac_dir"; as_fn_mkdir_p
6458 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6460 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6461 # A ".." for each directory in $ac_dir_suffix.
6462 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6463 case $ac_top_builddir_sub in
6464 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6465 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6468 ac_abs_top_builddir
=$ac_pwd
6469 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6470 # for backward compatibility:
6471 ac_top_builddir
=$ac_top_build_prefix
6474 .
) # We are building in place.
6476 ac_top_srcdir
=$ac_top_builddir_sub
6477 ac_abs_top_srcdir
=$ac_pwd ;;
6478 [\\/]* | ?
:[\\/]* ) # Absolute name.
6479 ac_srcdir
=$srcdir$ac_dir_suffix;
6480 ac_top_srcdir
=$srcdir
6481 ac_abs_top_srcdir
=$srcdir ;;
6483 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6484 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6485 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6487 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6497 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6498 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6502 [\\/$
]* | ?
:[\\/]* ) ;;
6503 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
6507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6508 # If the template does not know about datarootdir, expand it.
6509 # FIXME: This hack should be removed a few years after 2.60.
6510 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6521 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6522 *datarootdir
*) ac_datarootdir_seen
=yes;;
6523 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6525 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6528 ac_datarootdir_hack='
6529 s&@datadir@&$datadir&g
6530 s&@docdir@&$docdir&g
6531 s&@infodir@&$infodir&g
6532 s&@localedir@&$localedir&g
6533 s&@mandir@&$mandir&g
6534 s&\\\${datarootdir}&$datarootdir&g' ;;
6538 # Neutralize VPATH when `$srcdir' = `.'.
6539 # Shell code in configure.ac might set extrasub.
6540 # FIXME: do we really want to maintain this feature?
6541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6542 ac_sed_extra="$ac_vpsub
6545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6547 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6548 s|@configure_input@|
$ac_sed_conf_input|
;t t
6549 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6550 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6551 s
&@srcdir@
&$ac_srcdir&;t t
6552 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6553 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6554 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6555 s
&@builddir@
&$ac_builddir&;t t
6556 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6557 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6558 s
&@INSTALL@
&$ac_INSTALL&;t t
6559 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6560 $ac_datarootdir_hack
6562 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6563 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6565 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6566 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6567 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6568 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6570 which seems to be undefined. Please make sure it is defined" >&5
6571 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6572 which seems to be undefined. Please make sure it is defined" >&2;}
6574 rm -f "$ac_tmp/stdin"
6576 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6577 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6579 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6585 if test x"$ac_file" != x-; then
6587 $as_echo "/* $configure_input */" \
6588 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6589 } >"$ac_tmp/config.h" \
6590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6591 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6593 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6596 mv "$ac_tmp/config.h" "$ac_file" \
6597 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6600 $as_echo "/* $configure_input */" \
6601 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6602 || as_fn_error $? "could not create -" "$LINENO" 5
6604 # Compute "$ac_file"'s index
in $config_headers.
6607 for _am_header
in $config_headers :; do
6609 $_am_arg |
$_am_arg:* )
6612 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6615 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6616 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6617 X"$_am_arg" : 'X\(//\)[^/]' \| \
6618 X"$_am_arg" : 'X\(//\)$' \| \
6619 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6620 $as_echo X"$_am_arg" |
6621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6637 s/.*/./; q'`/stamp-h
$_am_stamp_count
6640 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6641 $as_echo "$as_me: executing $ac_file commands" >&6;}
6646 case $ac_file$ac_mode in
6647 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
6648 # Older Autoconf quotes --file arguments for eval, but not when files
6649 # are listed without --file. Let's play safe and only enable the eval
6650 # if we detect the quoting.
6651 case $CONFIG_FILES in
6652 *\'*) eval set x
"$CONFIG_FILES" ;;
6653 *) set x
$CONFIG_FILES ;;
6658 # Strip MF so we end up with the name of the file.
6659 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6660 # Check whether this is an Automake generated Makefile or not.
6661 # We used to match only the files named 'Makefile.in', but
6662 # some people rename them; so instead we look at the file content.
6663 # Grep'ing the first line is not enough: some people post-process
6664 # each Makefile.in and add a new line on top of each file to say so.
6665 # Grep'ing the whole file is not good either: AIX grep has a line
6666 # limit of 2048, but all sed's we know have understand at least 4000.
6667 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6668 dirpart
=`$as_dirname -- "$mf" ||
6669 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6670 X"$mf" : 'X\(//\)[^/]' \| \
6671 X"$mf" : 'X\(//\)$' \| \
6672 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6694 # Extract the definition of DEPDIR, am__include, and am__quote
6695 # from the Makefile without running 'make'.
6696 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6697 test -z "$DEPDIR" && continue
6698 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6699 test -z "$am__include" && continue
6700 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6701 # Find all dependency output files, they are included files with
6702 # $(DEPDIR) in their names. We invoke sed twice because it is the
6703 # simplest approach to changing $(DEPDIR) to its actual value in the
6705 for file in `sed -n "
6706 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6707 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6708 # Make sure the directory exists.
6709 test -f "$dirpart/$file" && continue
6710 fdir
=`$as_dirname -- "$file" ||
6711 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6712 X"$file" : 'X\(//\)[^/]' \| \
6713 X"$file" : 'X\(//\)$' \| \
6714 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6733 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6734 # echo "creating $dirpart/$file"
6735 echo '# dummy' > "$dirpart/$file"
6747 ac_clean_files
=$ac_clean_files_save
6749 test $ac_write_fail = 0 ||
6750 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6753 # configure is writing to config.log, and then calls config.status.
6754 # config.status does its own redirection, appending to config.log.
6755 # Unfortunately, on DOS this fails, as config.log is still kept open
6756 # by configure, so config.status won't be able to write to it; its
6757 # output is simply discarded. So we exec the FD to /dev/null,
6758 # effectively closing config.log, so it can be properly (re)opened and
6759 # appended to by config.status. When coming back to configure, we
6760 # need to make the FD available again.
6761 if test "$no_create" != yes; then
6763 ac_config_status_args
=
6764 test "$silent" = yes &&
6765 ac_config_status_args
="$ac_config_status_args --quiet"
6767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6770 # would make configure fail if this is the last instruction.
6771 $ac_cs_success || as_fn_exit
1
6773 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6775 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}