2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for haserl 0.9.31.
3
# Generated by GNU Autoconf 2.69 for haserl 0.9.32.
5
5
# Report bugs to <Nathan Angelacos - nangel@users.sourceforge.net>.
1289
1294
# Omit some internal or obsolete options to make the list less imposing.
1290
1295
# This message is too long to be a string in the A/UX 3.1 sh.
1292
\`configure' configures haserl 0.9.31 to adapt to many kinds of systems.
1297
\`configure' configures haserl 0.9.32 to adapt to many kinds of systems.
1294
1299
Usage: $0 [OPTION]... [VAR=VALUE]...
1363
1368
--disable-option-checking ignore unrecognized --enable/--with options
1364
1369
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1365
1370
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1366
--disable-dependency-tracking speeds up one-time build
1367
--enable-dependency-tracking do not reject slow dependency extractors
1371
--enable-silent-rules less verbose build output (undo: "make V=1")
1372
--disable-silent-rules verbose build output (undo: "make V=0")
1373
--enable-dependency-tracking
1374
do not reject slow dependency extractors
1375
--disable-dependency-tracking
1376
speeds up one-time build
1368
1377
--enable-luashell Includes the standard Lua shell - Haserl with
1369
1378
embedded Lua (default is yes if Lua's enabled)
1370
1379
--enable-luacshell Includes the compiled Lua shell - precompiled
1464
1473
test -n "$ac_init_help" && exit $ac_status
1465
1474
if $ac_init_version; then
1467
haserl configure 0.9.31
1476
haserl configure 0.9.32
1468
1477
generated by GNU Autoconf 2.69
1470
1479
Copyright (C) 2012 Free Software Foundation, Inc.
1887
1896
This file contains any messages produced by compilers while
1888
1897
running configure, to aid debugging if configure makes a mistake.
1890
It was created by haserl $as_me 0.9.31, which was
1899
It was created by haserl $as_me 0.9.32, which was
1891
1900
generated by GNU Autoconf 2.69. Invocation command line was
2362
2371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2363
2372
$as_echo_n "checking whether build environment is sane... " >&6; }
2366
echo timestamp > conftest.file
2367
2373
# Reject unsafe characters in $srcdir or the absolute working directory
2368
2374
# name. Accept space and tab only in the latter.
2375
2381
case $srcdir in
2376
2382
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2377
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2383
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2380
# Do `set' in a subshell so we don't clobber the current shell's
2386
# Do 'set' in a subshell so we don't clobber the current shell's
2381
2387
# arguments. Must try -L first in case configure is actually a
2382
2388
# symlink; some systems play weird games with the mod time of symlinks
2383
2389
# (eg FreeBSD returns the mod time of the symlink's containing
2386
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2387
if test "$*" = "X"; then
2389
set X `ls -t "$srcdir/configure" conftest.file`
2392
if test "$*" != "X $srcdir/configure conftest.file" \
2393
&& test "$*" != "X conftest.file $srcdir/configure"; then
2395
# If neither matched, then we have a broken ls. This can happen
2396
# if, for instance, CONFIG_SHELL is bash and it inherits a
2397
# broken ls alias from the environment. This has actually
2398
# happened. Such a system could not be considered "sane".
2399
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2400
alias in your environment" "$LINENO" 5
2393
for am_try in 1 2; do
2394
echo "timestamp, slept: $am_has_slept" > conftest.file
2395
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2396
if test "$*" = "X"; then
2398
set X `ls -t "$srcdir/configure" conftest.file`
2400
if test "$*" != "X $srcdir/configure conftest.file" \
2401
&& test "$*" != "X conftest.file $srcdir/configure"; then
2403
# If neither matched, then we have a broken ls. This can happen
2404
# if, for instance, CONFIG_SHELL is bash and it inherits a
2405
# broken ls alias from the environment. This has actually
2406
# happened. Such a system could not be considered "sane".
2407
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2408
alias in your environment" "$LINENO" 5
2410
if test "$2" = conftest.file || test $am_try -eq 2; then
2403
2417
test "$2" = conftest.file
2412
2426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2413
2427
$as_echo "yes" >&6; }
2428
# If we didn't sleep, we still need to ensure time stamps of config.status and
2429
# generated files are strictly newer.
2431
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2414
2438
test "$program_prefix" != NONE &&
2415
2439
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2416
2440
# Use a double $ so make ignores it.
2435
2459
# Use eval to expand $SHELL
2436
if eval "$MISSING --run true"; then
2437
am_missing_run="$MISSING --run "
2460
if eval "$MISSING --is-lightweight"; then
2461
am_missing_run="$MISSING "
2439
2463
am_missing_run=
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2441
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2464
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2465
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2444
2468
if test x"${install_sh}" != xset; then
2453
# Installed binaries are usually stripped using `strip' when the user
2454
# run `make install-strip'. However `strip' might not be the right
2477
# Installed binaries are usually stripped using 'strip' when the user
2478
# run "make install-strip". However 'strip' might not be the right
2455
2479
# tool to use in cross-compilation environments, therefore Automake
2456
# will honor the `STRIP' environment variable to overrule this program.
2480
# will honor the 'STRIP' environment variable to overrule this program.
2457
2481
if test "$cross_compiling" != no; then
2458
2482
if test -n "$ac_tool_prefix"; then
2459
2483
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2592
2616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2593
2617
$as_echo "$MKDIR_P" >&6; }
2597
[\\/$]* | ?:[\\/]*) ;;
2598
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2601
2619
for ac_prog in gawk mawk nawk awk
2603
2621
# Extract the first word of "$ac_prog", so it can be a program name with args.
2681
2699
rmdir .tst 2>/dev/null
2701
# Check whether --enable-silent-rules was given.
2702
if test "${enable_silent_rules+set}" = set; then :
2703
enableval=$enable_silent_rules;
2706
case $enable_silent_rules in # (((
2707
yes) AM_DEFAULT_VERBOSITY=0;;
2708
no) AM_DEFAULT_VERBOSITY=1;;
2709
*) AM_DEFAULT_VERBOSITY=1;;
2711
am_make=${MAKE-make}
2712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2713
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2714
if ${am_cv_make_support_nested_variables+:} false; then :
2715
$as_echo_n "(cached) " >&6
2717
if $as_echo 'TRUE=$(BAR$(V))
2723
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2724
am_cv_make_support_nested_variables=yes
2726
am_cv_make_support_nested_variables=no
2729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2730
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2731
if test $am_cv_make_support_nested_variables = yes; then
2733
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2735
AM_V=$AM_DEFAULT_VERBOSITY
2736
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2683
2740
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2684
2741
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2685
2742
# is not polluted with repeated "-I."
2731
2788
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2790
# For better backward compatibility. To be removed once Automake 1.9.x
2791
# dies out for good. For more background, see:
2792
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2793
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2794
mkdir_p='$(MKDIR_P)'
2733
2796
# We need awk for the "check" target. The system "awk" is bad on
2734
2797
# some platforms.
2735
2798
# Always define AMTAR for backward compatibility. Yes, it's still used
2736
2799
# in the wild :-( We should find a proper way to deprecate it ...
2737
2800
AMTAR='$${TAR-tar}'
2803
# We'll loop over all known methods to create a tar archive until one works.
2804
_am_tools='gnutar pax cpio none'
2739
2806
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2813
# POSIX will say in a future version that running "rm -f" with no argument
2814
# is OK; and we want to be able to make that assumption in our Makefile
2815
# recipes. So use an aggressive probe to check that the usage we want is
2816
# actually supported "in the wild" to an acceptable degree.
2817
# See automake bug#10828.
2818
# To make any issue more visible, cause the running configure to be aborted
2819
# by default if the 'rm' program in use doesn't match our expectations; the
2820
# user can still override this though.
2821
if rm -f && rm -fr && rm -rf; then : OK; else
2825
Your 'rm' program seems unable to run without file operands specified
2826
on the command line, even when the '-f' option is present. This is contrary
2827
to the behaviour of most rm programs out there, and not conforming with
2828
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2830
Please tell bug-automake@gnu.org about your system, including the value
2831
of your $PATH and any error possibly output before this message. This
2832
can help us improve future automake versions.
2835
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2836
echo 'Configuration will proceed anyway, since you have set the' >&2
2837
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2841
Aborting the configuration process, to ensure you take notice of the issue.
2843
You can download and install GNU coreutils to get an 'rm' implementation
2844
that behaves properly: <http://www.gnu.org/software/coreutils/>.
2846
If you want to complete the configuration process using your problematic
2847
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2848
to "yes", and re-run configure.
2851
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2746
2855
# Checks for programs.
2748
2857
ac_cpp='$CPP $CPPFLAGS'
3532
3641
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533
3642
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534
3643
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3646
ac_cpp='$CPP $CPPFLAGS'
3647
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3648
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3649
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3651
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3652
if ${am_cv_prog_cc_c_o+:} false; then :
3653
$as_echo_n "(cached) " >&6
3655
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656
/* end confdefs.h. */
3666
# Make sure it works both with $CC and with simple cc.
3667
# Following AC_PROG_CC_C_O, we do the test twice because some
3668
# compilers refuse to overwrite an existing .o file with -o,
3669
# though they will create one.
3670
am_cv_prog_cc_c_o=yes
3672
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3673
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676
(exit $ac_status); } \
3677
&& test -f conftest2.$ac_objext; then
3680
am_cv_prog_cc_c_o=no
3684
rm -f core conftest*
3687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3688
$as_echo "$am_cv_prog_cc_c_o" >&6; }
3689
if test "$am_cv_prog_cc_c_o" != yes; then
3690
# Losing compiler, so override with the script.
3691
# FIXME: It is wrong to rewrite CC.
3692
# But if we don't then we get into trouble of one sort or another.
3693
# A longer-term fix would be to have automake use am__CC in this case,
3694
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3695
CC="$am_aux_dir/compile $CC"
3698
ac_cpp='$CPP $CPPFLAGS'
3699
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3700
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3701
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535
3703
DEPDIR="${am__leading_dot}deps"
3537
3705
ac_config_commands="$ac_config_commands depfiles"
3551
3719
_am_result=none
3552
3720
# First try GNU make style include.
3553
3721
echo "include confinc" > confmf
3554
# Ignore all kinds of additional output from `make'.
3722
# Ignore all kinds of additional output from 'make'.
3555
3723
case `$am_make -s -f confmf 2> /dev/null` in #(
3556
3724
*the\ am__doit\ target*)
3557
3725
am__include=include
3607
3775
# We make a subdir and do the tests there. Otherwise we can end up
3608
3776
# making bogus files that we don't know about and never remove. For
3609
3777
# instance it was reported that on HP-UX the gcc test will end up
3610
# making a dummy file named `D' -- because `-MD' means `put the output
3778
# making a dummy file named 'D' -- because '-MD' means "put the output
3612
3780
rm -rf conftest.dir
3613
3781
mkdir conftest.dir
3614
3782
# Copy depcomp to subdir because otherwise we won't find it if we're
3643
3811
: > sub/conftest.c
3644
3812
for i in 1 2 3 4 5 6; do
3645
3813
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3646
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3647
# Solaris 8's {/usr,}/bin/sh.
3648
touch sub/conftst$i.h
3814
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3815
# Solaris 10 /bin/sh.
3816
echo '/* dummy */' > sub/conftst$i.h
3650
3818
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3652
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3820
# We check with '-c' and '-o' for the sake of the "dashmstdout"
3653
3821
# mode. It turns out that the SunPro C++ compiler does not properly
3654
# handle `-M -o', and we need to detect this. Also, some Intel
3655
# versions had trouble with output in subdirs
3822
# handle '-M -o', and we need to detect this. Also, some Intel
3823
# versions had trouble with output in subdirs.
3656
3824
am__obj=sub/conftest.${OBJEXT-o}
3657
3825
am__minus_obj="-o $am__obj"
3658
3826
case $depmode in
3661
3829
test "$am__universal" = false || continue
3664
# after this tag, mechanisms are not by side-effect, so they'll
3665
# only be used when explicitly requested
3832
# After this tag, mechanisms are not by side-effect, so they'll
3833
# only be used when explicitly requested.
3666
3834
if test "x$enable_dependency_tracking" = xyes; then
3672
3840
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3673
# This compiler won't grok `-c -o', but also, the minuso test has
3841
# This compiler won't grok '-c -o', but also, the minuso test has
3674
3842
# not run yet. These depmodes are late enough in the game, and
3675
3843
# so weak that their functioning should not be impacted.
3676
3844
am__obj=conftest.${OBJEXT-o}
4482
if test "x$with_lua" != "xno"; then :
4650
if test "x$with_lua" != "xno" -a "x$with_lua" != "x"; then :
4486
4654
ac_report_have_lua=enabled
4656
$as_echo "#define USE_LUA /**/" >>confdefs.h
4489
4660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
4490
4661
$as_echo_n "checking for LUA... " >&6; }
4854
5025
LTLIBOBJS=$ac_ltlibobjs
5028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5029
$as_echo_n "checking that generated files are newer than configure... " >&6; }
5030
if test -n "$am_sleep_pid"; then
5031
# Hide warnings about reused PIDs.
5032
wait $am_sleep_pid 2>/dev/null
5034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5035
$as_echo "done" >&6; }
4857
5036
if test -n "$EXEEXT"; then
4858
5037
am__EXEEXT_TRUE=
4859
5038
am__EXEEXT_FALSE='#'
5287
5466
# report actual input values of CONFIG_FILES etc. instead of their
5288
5467
# values after options handling.
5290
This file was extended by haserl $as_me 0.9.31, which was
5469
This file was extended by haserl $as_me 0.9.32, which was
5291
5470
generated by GNU Autoconf 2.69. Invocation command line was
5293
5472
CONFIG_FILES = $CONFIG_FILES
5353
5532
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5354
5533
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5355
5534
ac_cs_version="\\
5356
haserl config.status 0.9.31
5535
haserl config.status 0.9.32
5357
5536
configured by $0, generated by GNU Autoconf 2.69,
5358
5537
with options \\"\$ac_cs_config\\"
6084
6263
case $ac_file$ac_mode in
6085
6264
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6086
# Autoconf 2.62 quotes --file arguments for eval, but not when files
6265
# Older Autoconf quotes --file arguments for eval, but not when files
6087
6266
# are listed without --file. Let's play safe and only enable the eval
6088
6267
# if we detect the quoting.
6089
6268
case $CONFIG_FILES in
6096
6275
# Strip MF so we end up with the name of the file.
6097
6276
mf=`echo "$mf" | sed -e 's/:.*$//'`
6098
6277
# Check whether this is an Automake generated Makefile or not.
6099
# We used to match only the files named `Makefile.in', but
6278
# We used to match only the files named 'Makefile.in', but
6100
6279
# some people rename them; so instead we look at the file content.
6101
6280
# Grep'ing the first line is not enough: some people post-process
6102
6281
# each Makefile.in and add a new line on top of each file to say so.
6132
6311
# Extract the definition of DEPDIR, am__include, and am__quote
6133
# from the Makefile without running `make'.
6312
# from the Makefile without running 'make'.
6134
6313
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6135
6314
test -z "$DEPDIR" && continue
6136
6315
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6137
test -z "am__include" && continue
6316
test -z "$am__include" && continue
6138
6317
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6139
# When using ansi2knr, U may be empty or an underscore; expand it
6140
U=`sed -n 's/^U = //p' < "$mf"`
6141
6318
# Find all dependency output files, they are included files with
6142
6319
# $(DEPDIR) in their names. We invoke sed twice because it is the
6143
6320
# simplest approach to changing $(DEPDIR) to its actual value in the
6145
6322
for file in `sed -n "
6146
6323
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6147
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6324
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6148
6325
# Make sure the directory exists.
6149
6326
test -f "$dirpart/$file" && continue
6150
6327
fdir=`$as_dirname -- "$file" ||