567
1322
# SunOS /usr/etc/install
568
1323
# IRIX /sbin/install
569
1324
# AIX /bin/install
1325
# AmigaOS /C/install, which installs bootblocks on floppy discs
570
1326
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
571
1327
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
572
1328
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
573
1329
# ./install, which can be erroneously created by make from ./install.sh.
574
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
575
echo "configure:576: checking for a BSD compatible install" >&5
1330
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1331
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
576
1332
if test -z "$INSTALL"; then
577
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
578
echo $ac_n "(cached) $ac_c" 1>&6
1333
if test "${ac_cv_path_install+set}" = set; then
1334
echo $ECHO_N "(cached) $ECHO_C" >&6
580
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
581
for ac_dir in $PATH; do
582
# Account for people who put trailing slashes in PATH elements.
584
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
586
# OSF1 and SCO ODT 3.0 have their own names for install.
587
# Don't use installbsd from OSF since it installs stuff as root
589
for ac_prog in ginstall scoinst install; do
590
if test -f $ac_dir/$ac_prog; then
591
if test $ac_prog = install &&
592
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
593
# AIX install. It has an incompatible calling convention.
596
ac_cv_path_install="$ac_dir/$ac_prog -c"
1336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340
test -z "$as_dir" && as_dir=.
1341
# Account for people who put trailing slashes in PATH elements.
1343
./ | .// | /cC/* | \
1344
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1347
# OSF1 and SCO ODT 3.0 have their own names for install.
1348
# Don't use installbsd from OSF since it installs stuff as root
1350
for ac_prog in ginstall scoinst install; do
1351
for ac_exec_ext in '' $ac_executable_extensions; do
1352
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1353
if test $ac_prog = install &&
1354
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1355
# AIX install. It has an incompatible calling convention.
1357
elif test $ac_prog = install &&
1358
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1359
# program-specific install script used by HP pwplus--don't use.
1362
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
607
1374
if test "${ac_cv_path_install+set}" = set; then
608
INSTALL="$ac_cv_path_install"
1375
INSTALL=$ac_cv_path_install
610
1377
# As a last resort, use the slow shell script. We don't cache a
611
1378
# path for INSTALL within a source directory, because that will
612
1379
# break other packages using the cache if that directory is
613
1380
# removed, or if the path is relative.
614
INSTALL="$ac_install_sh"
1381
INSTALL=$ac_install_sh
617
echo "$ac_t""$INSTALL" 1>&6
1384
echo "$as_me:$LINENO: result: $INSTALL" >&5
1385
echo "${ECHO_T}$INSTALL" >&6
619
1387
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
620
1388
# It thinks the first close brace ends the variable substitution.
621
1389
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
623
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1391
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
625
1393
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
627
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
628
echo "configure:629: checking whether build environment is sane" >&5
1395
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1396
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
631
echo timestamp > conftestfile
1399
echo timestamp > conftest.file
632
1400
# Do `set' in a subshell so we don't clobber the current shell's
633
1401
# arguments. Must try -L first in case configure is actually a
634
1402
# symlink; some systems play weird games with the mod time of symlinks
635
1403
# (eg FreeBSD returns the mod time of the symlink's containing
638
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1406
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
639
1407
if test "$*" = "X"; then
640
1408
# -L didn't work.
641
set X `ls -t $srcdir/configure conftestfile`
1409
set X `ls -t $srcdir/configure conftest.file`
643
if test "$*" != "X $srcdir/configure conftestfile" \
644
&& test "$*" != "X conftestfile $srcdir/configure"; then
1412
if test "$*" != "X $srcdir/configure conftest.file" \
1413
&& test "$*" != "X conftest.file $srcdir/configure"; then
646
1415
# If neither matched, then we have a broken ls. This can happen
647
1416
# if, for instance, CONFIG_SHELL is bash and it inherits a
648
1417
# broken ls alias from the environment. This has actually
649
1418
# happened. Such a system could not be considered "sane".
650
{ echo "configure: error: ls -t appears to fail. Make sure there is not a broken
651
alias in your environment" 1>&2; exit 1; }
1419
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1420
alias in your environment" >&5
1421
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1422
alias in your environment" >&2;}
1423
{ (exit 1); exit 1; }; }
654
test "$2" = conftestfile
1426
test "$2" = conftest.file
660
{ echo "configure: error: newly created file is older than distributed files!
661
Check your system clock" 1>&2; exit 1; }
664
echo "$ac_t""yes" 1>&6
665
if test "$program_transform_name" = s,x,x,; then
666
program_transform_name=
668
# Double any \ or $. echo might interpret backslashes.
669
cat <<\EOF_SED > conftestsed
670
s,\\,\\\\,g; s,\$,$$,g
672
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1432
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1433
Check your system clock" >&5
1434
echo "$as_me: error: newly created file is older than distributed files!
1435
Check your system clock" >&2;}
1436
{ (exit 1); exit 1; }; }
1438
echo "$as_me:$LINENO: result: yes" >&5
1439
echo "${ECHO_T}yes" >&6
675
1440
test "$program_prefix" != NONE &&
676
program_transform_name="s,^,${program_prefix},; $program_transform_name"
1441
program_transform_name="s,^,$program_prefix,;$program_transform_name"
677
1442
# Use a double $ so make ignores it.
678
1443
test "$program_suffix" != NONE &&
679
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
681
# sed with no file args requires a program.
682
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
684
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
685
echo "configure:686: checking whether ${MAKE-make} sets \${MAKE}" >&5
686
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
687
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
688
echo $ac_n "(cached) $ac_c" 1>&6
690
cat > conftestmake <<\EOF
1444
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1445
# Double any \ or $. echo might interpret backslashes.
1446
# By default was `s,x,x', remove it if useless.
1447
cat <<\_ACEOF >conftest.sed
1448
s/[\\$]/&&/g;s/;s,x,x,$//
1450
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1454
# expand $ac_aux_dir to an absolute path
1455
am_aux_dir=`cd $ac_aux_dir && pwd`
1457
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1458
# Use eval to expand $SHELL
1459
if eval "$MISSING --run true"; then
1460
am_missing_run="$MISSING --run "
1463
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1464
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1467
for ac_prog in gawk mawk nawk awk
1469
# Extract the first word of "$ac_prog", so it can be a program name with args.
1470
set dummy $ac_prog; ac_word=$2
1471
echo "$as_me:$LINENO: checking for $ac_word" >&5
1472
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1473
if test "${ac_cv_prog_AWK+set}" = set; then
1474
echo $ECHO_N "(cached) $ECHO_C" >&6
1476
if test -n "$AWK"; then
1477
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1483
test -z "$as_dir" && as_dir=.
1484
for ac_exec_ext in '' $ac_executable_extensions; do
1485
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1486
ac_cv_prog_AWK="$ac_prog"
1487
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1496
if test -n "$AWK"; then
1497
echo "$as_me:$LINENO: result: $AWK" >&5
1498
echo "${ECHO_T}$AWK" >&6
1500
echo "$as_me:$LINENO: result: no" >&5
1501
echo "${ECHO_T}no" >&6
1504
test -n "$AWK" && break
1507
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1508
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1509
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1510
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1511
echo $ECHO_N "(cached) $ECHO_C" >&6
1513
cat >conftest.make <<\_ACEOF
692
@echo 'ac_maketemp="${MAKE}"'
1515
@echo 'ac_maketemp="$(MAKE)"'
694
1517
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
695
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1518
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
696
1519
if test -n "$ac_maketemp"; then
697
1520
eval ac_cv_prog_make_${ac_make}_set=yes
699
1522
eval ac_cv_prog_make_${ac_make}_set=no
703
1526
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
704
echo "$ac_t""yes" 1>&6
1527
echo "$as_me:$LINENO: result: yes" >&5
1528
echo "${ECHO_T}yes" >&6
707
echo "$ac_t""no" 1>&6
1531
echo "$as_me:$LINENO: result: no" >&5
1532
echo "${ECHO_T}no" >&6
708
1533
SET_MAKE="MAKE=${MAKE-make}"
716
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
717
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1536
# test to see if srcdir already configured
1537
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1538
test -f $srcdir/config.status; then
1539
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1540
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1541
{ (exit 1); exit 1; }; }
719
cat >> confdefs.h <<EOF
1544
# Define the identity of the package.
1549
cat >>confdefs.h <<_ACEOF
720
1550
#define PACKAGE "$PACKAGE"
723
cat >> confdefs.h <<EOF
1554
cat >>confdefs.h <<_ACEOF
724
1555
#define VERSION "$VERSION"
729
missing_dir=`cd $ac_aux_dir && pwd`
730
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
731
echo "configure:732: checking for working aclocal" >&5
732
# Run test in a subshell; some versions of sh will print an error if
733
# an executable is not found, even if stderr is redirected.
734
# Redirect stdin to placate older versions of autoconf. Sigh.
735
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
737
echo "$ac_t""found" 1>&6
739
ACLOCAL="$missing_dir/missing aclocal"
740
echo "$ac_t""missing" 1>&6
743
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
744
echo "configure:745: checking for working autoconf" >&5
745
# Run test in a subshell; some versions of sh will print an error if
746
# an executable is not found, even if stderr is redirected.
747
# Redirect stdin to placate older versions of autoconf. Sigh.
748
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
750
echo "$ac_t""found" 1>&6
752
AUTOCONF="$missing_dir/missing autoconf"
753
echo "$ac_t""missing" 1>&6
756
echo $ac_n "checking for working automake""... $ac_c" 1>&6
757
echo "configure:758: checking for working automake" >&5
758
# Run test in a subshell; some versions of sh will print an error if
759
# an executable is not found, even if stderr is redirected.
760
# Redirect stdin to placate older versions of autoconf. Sigh.
761
if (automake --version) < /dev/null > /dev/null 2>&1; then
763
echo "$ac_t""found" 1>&6
765
AUTOMAKE="$missing_dir/missing automake"
766
echo "$ac_t""missing" 1>&6
769
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
770
echo "configure:771: checking for working autoheader" >&5
771
# Run test in a subshell; some versions of sh will print an error if
772
# an executable is not found, even if stderr is redirected.
773
# Redirect stdin to placate older versions of autoconf. Sigh.
774
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
775
AUTOHEADER=autoheader
776
echo "$ac_t""found" 1>&6
778
AUTOHEADER="$missing_dir/missing autoheader"
779
echo "$ac_t""missing" 1>&6
782
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
783
echo "configure:784: checking for working makeinfo" >&5
784
# Run test in a subshell; some versions of sh will print an error if
785
# an executable is not found, even if stderr is redirected.
786
# Redirect stdin to placate older versions of autoconf. Sigh.
787
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
789
echo "$ac_t""found" 1>&6
791
MAKEINFO="$missing_dir/missing makeinfo"
792
echo "$ac_t""missing" 1>&6
1558
# Some tools Automake needs.
1560
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1563
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1566
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1569
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1572
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1575
AMTAR=${AMTAR-"${am_missing_run}tar"}
1577
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1579
# Installed binaries are usually stripped using `strip' when the user
1580
# run `make install-strip'. However `strip' might not be the right
1581
# tool to use in cross-compilation environments, therefore Automake
1582
# will honor the `STRIP' environment variable to overrule this program.
1583
if test "$cross_compiling" != no; then
1584
if test -n "$ac_tool_prefix"; then
1585
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1586
set dummy ${ac_tool_prefix}strip; ac_word=$2
1587
echo "$as_me:$LINENO: checking for $ac_word" >&5
1588
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1589
if test "${ac_cv_prog_STRIP+set}" = set; then
1590
echo $ECHO_N "(cached) $ECHO_C" >&6
1592
if test -n "$STRIP"; then
1593
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599
test -z "$as_dir" && as_dir=.
1600
for ac_exec_ext in '' $ac_executable_extensions; do
1601
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1602
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1603
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1611
STRIP=$ac_cv_prog_STRIP
1612
if test -n "$STRIP"; then
1613
echo "$as_me:$LINENO: result: $STRIP" >&5
1614
echo "${ECHO_T}$STRIP" >&6
1616
echo "$as_me:$LINENO: result: no" >&5
1617
echo "${ECHO_T}no" >&6
1621
if test -z "$ac_cv_prog_STRIP"; then
1623
# Extract the first word of "strip", so it can be a program name with args.
1624
set dummy strip; ac_word=$2
1625
echo "$as_me:$LINENO: checking for $ac_word" >&5
1626
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1628
echo $ECHO_N "(cached) $ECHO_C" >&6
1630
if test -n "$ac_ct_STRIP"; then
1631
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1633
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1637
test -z "$as_dir" && as_dir=.
1638
for ac_exec_ext in '' $ac_executable_extensions; do
1639
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640
ac_cv_prog_ac_ct_STRIP="strip"
1641
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1647
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1650
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1651
if test -n "$ac_ct_STRIP"; then
1652
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1653
echo "${ECHO_T}$ac_ct_STRIP" >&6
1655
echo "$as_me:$LINENO: result: no" >&5
1656
echo "${ECHO_T}no" >&6
1661
STRIP="$ac_cv_prog_STRIP"
1665
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1667
# We need awk for the "check" target. The system "awk" is bad on
797
1673
######## Detect the canonical host and target build environment
799
1674
# Make sure we can run config.sub.
800
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
801
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
804
echo $ac_n "checking host system type""... $ac_c" 1>&6
805
echo "configure:806: checking host system type" >&5
808
case "$host_alias" in
812
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
813
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
815
*) host_alias=$nonopt ;;
819
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
820
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
821
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
822
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
823
echo "$ac_t""$host" 1>&6
825
echo $ac_n "checking target system type""... $ac_c" 1>&6
826
echo "configure:827: checking target system type" >&5
829
case "$target_alias" in
832
NONE) target_alias=$host_alias ;;
833
*) target_alias=$nonopt ;;
837
target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
838
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
839
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
840
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
841
echo "$ac_t""$target" 1>&6
1675
$ac_config_sub sun4 >/dev/null 2>&1 ||
1676
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1677
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1678
{ (exit 1); exit 1; }; }
1680
echo "$as_me:$LINENO: checking build system type" >&5
1681
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1682
if test "${ac_cv_build+set}" = set; then
1683
echo $ECHO_N "(cached) $ECHO_C" >&6
1685
ac_cv_build_alias=$build_alias
1686
test -z "$ac_cv_build_alias" &&
1687
ac_cv_build_alias=`$ac_config_guess`
1688
test -z "$ac_cv_build_alias" &&
1689
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1690
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1691
{ (exit 1); exit 1; }; }
1692
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1693
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1694
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1695
{ (exit 1); exit 1; }; }
1698
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1699
echo "${ECHO_T}$ac_cv_build" >&6
1701
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1702
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1703
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1706
echo "$as_me:$LINENO: checking host system type" >&5
1707
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1708
if test "${ac_cv_host+set}" = set; then
1709
echo $ECHO_N "(cached) $ECHO_C" >&6
1711
ac_cv_host_alias=$host_alias
1712
test -z "$ac_cv_host_alias" &&
1713
ac_cv_host_alias=$ac_cv_build_alias
1714
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1715
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1716
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1717
{ (exit 1); exit 1; }; }
1720
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1721
echo "${ECHO_T}$ac_cv_host" >&6
1723
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1724
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1725
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1728
echo "$as_me:$LINENO: checking target system type" >&5
1729
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1730
if test "${ac_cv_target+set}" = set; then
1731
echo $ECHO_N "(cached) $ECHO_C" >&6
1733
ac_cv_target_alias=$target_alias
1734
test "x$ac_cv_target_alias" = "x" &&
1735
ac_cv_target_alias=$ac_cv_host_alias
1736
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1737
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1738
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1739
{ (exit 1); exit 1; }; }
1742
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1743
echo "${ECHO_T}$ac_cv_target" >&6
1744
target=$ac_cv_target
1745
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750
# The aliases save the names the user supplied, while $host etc.
1751
# will get canonicalized.
1752
test -n "$target_alias" &&
1753
test "$program_prefix$program_suffix$program_transform_name" = \
1755
program_prefix=${target_alias}-
844
1757
######## Check for tools
845
# Extract the first word of "gcc", so it can be a program name with args.
1759
ac_cpp='$CPP $CPPFLAGS'
1760
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1761
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1762
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1763
if test -n "$ac_tool_prefix"; then
1764
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1765
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1766
echo "$as_me:$LINENO: checking for $ac_word" >&5
1767
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768
if test "${ac_cv_prog_CC+set}" = set; then
1769
echo $ECHO_N "(cached) $ECHO_C" >&6
1771
if test -n "$CC"; then
1772
ac_cv_prog_CC="$CC" # Let the user override the test.
1774
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778
test -z "$as_dir" && as_dir=.
1779
for ac_exec_ext in '' $ac_executable_extensions; do
1780
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1782
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791
if test -n "$CC"; then
1792
echo "$as_me:$LINENO: result: $CC" >&5
1793
echo "${ECHO_T}$CC" >&6
1795
echo "$as_me:$LINENO: result: no" >&5
1796
echo "${ECHO_T}no" >&6
1800
if test -z "$ac_cv_prog_CC"; then
1802
# Extract the first word of "gcc", so it can be a program name with args.
846
1803
set dummy gcc; ac_word=$2
847
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
848
echo "configure:849: checking for $ac_word" >&5
849
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
850
echo $ac_n "(cached) $ac_c" 1>&6
1804
echo "$as_me:$LINENO: checking for $ac_word" >&5
1805
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1806
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1807
echo $ECHO_N "(cached) $ECHO_C" >&6
1809
if test -n "$ac_ct_CC"; then
1810
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816
test -z "$as_dir" && as_dir=.
1817
for ac_exec_ext in '' $ac_executable_extensions; do
1818
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1819
ac_cv_prog_ac_ct_CC="gcc"
1820
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1829
if test -n "$ac_ct_CC"; then
1830
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1831
echo "${ECHO_T}$ac_ct_CC" >&6
1833
echo "$as_me:$LINENO: result: no" >&5
1834
echo "${ECHO_T}no" >&6
1842
if test -z "$CC"; then
1843
if test -n "$ac_tool_prefix"; then
1844
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1845
set dummy ${ac_tool_prefix}cc; ac_word=$2
1846
echo "$as_me:$LINENO: checking for $ac_word" >&5
1847
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848
if test "${ac_cv_prog_CC+set}" = set; then
1849
echo $ECHO_N "(cached) $ECHO_C" >&6
852
1851
if test -n "$CC"; then
853
1852
ac_cv_prog_CC="$CC" # Let the user override the test.
855
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857
for ac_dir in $ac_dummy; do
858
test -z "$ac_dir" && ac_dir=.
859
if test -f $ac_dir/$ac_word; then
1854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858
test -z "$as_dir" && as_dir=.
1859
for ac_exec_ext in '' $ac_executable_extensions; do
1860
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1861
ac_cv_prog_CC="${ac_tool_prefix}cc"
1862
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
868
1871
if test -n "$CC"; then
869
echo "$ac_t""$CC" 1>&6
871
echo "$ac_t""no" 1>&6
1872
echo "$as_me:$LINENO: result: $CC" >&5
1873
echo "${ECHO_T}$CC" >&6
1875
echo "$as_me:$LINENO: result: no" >&5
1876
echo "${ECHO_T}no" >&6
1880
if test -z "$ac_cv_prog_CC"; then
1882
# Extract the first word of "cc", so it can be a program name with args.
1883
set dummy cc; ac_word=$2
1884
echo "$as_me:$LINENO: checking for $ac_word" >&5
1885
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1886
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1887
echo $ECHO_N "(cached) $ECHO_C" >&6
1889
if test -n "$ac_ct_CC"; then
1890
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1892
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896
test -z "$as_dir" && as_dir=.
1897
for ac_exec_ext in '' $ac_executable_extensions; do
1898
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899
ac_cv_prog_ac_ct_CC="cc"
1900
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1909
if test -n "$ac_ct_CC"; then
1910
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1911
echo "${ECHO_T}$ac_ct_CC" >&6
1913
echo "$as_me:$LINENO: result: no" >&5
1914
echo "${ECHO_T}no" >&6
874
1923
if test -z "$CC"; then
875
1924
# Extract the first word of "cc", so it can be a program name with args.
876
1925
set dummy cc; ac_word=$2
877
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
878
echo "configure:879: checking for $ac_word" >&5
879
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
880
echo $ac_n "(cached) $ac_c" 1>&6
1926
echo "$as_me:$LINENO: checking for $ac_word" >&5
1927
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928
if test "${ac_cv_prog_CC+set}" = set; then
1929
echo $ECHO_N "(cached) $ECHO_C" >&6
882
1931
if test -n "$CC"; then
883
1932
ac_cv_prog_CC="$CC" # Let the user override the test.
885
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
886
1934
ac_prog_rejected=no
888
for ac_dir in $ac_dummy; do
889
test -z "$ac_dir" && ac_dir=.
890
if test -f $ac_dir/$ac_word; then
891
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939
test -z "$as_dir" && as_dir=.
1940
for ac_exec_ext in '' $ac_executable_extensions; do
1941
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1943
ac_prog_rejected=yes
1947
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
900
1953
if test $ac_prog_rejected = yes; then
901
1954
# We found a bogon in the path, so make sure we never use it.
902
1955
set dummy $ac_cv_prog_CC
904
if test $# -gt 0; then
1957
if test $# != 0; then
905
1958
# We chose a different compiler from the bogus one.
906
1959
# However, it has the same basename, so the bogon will be chosen
907
1960
# first if we set CC to just the basename; use the full file name.
909
set dummy "$ac_dir/$ac_word" "$@"
1962
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
917
1968
if test -n "$CC"; then
918
echo "$ac_t""$CC" 1>&6
1969
echo "$as_me:$LINENO: result: $CC" >&5
1970
echo "${ECHO_T}$CC" >&6
920
echo "$ac_t""no" 1>&6
1972
echo "$as_me:$LINENO: result: no" >&5
1973
echo "${ECHO_T}no" >&6
923
if test -z "$CC"; then
926
# Extract the first word of "cl", so it can be a program name with args.
927
set dummy cl; ac_word=$2
928
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
929
echo "configure:930: checking for $ac_word" >&5
930
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
931
echo $ac_n "(cached) $ac_c" 1>&6
1977
if test -z "$CC"; then
1978
if test -n "$ac_tool_prefix"; then
1981
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1982
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1983
echo "$as_me:$LINENO: checking for $ac_word" >&5
1984
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1985
if test "${ac_cv_prog_CC+set}" = set; then
1986
echo $ECHO_N "(cached) $ECHO_C" >&6
933
1988
if test -n "$CC"; then
934
1989
ac_cv_prog_CC="$CC" # Let the user override the test.
936
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
938
for ac_dir in $ac_dummy; do
939
test -z "$ac_dir" && ac_dir=.
940
if test -f $ac_dir/$ac_word; then
1991
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995
test -z "$as_dir" && as_dir=.
1996
for ac_exec_ext in '' $ac_executable_extensions; do
1997
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1998
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1999
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2008
if test -n "$CC"; then
2009
echo "$as_me:$LINENO: result: $CC" >&5
2010
echo "${ECHO_T}$CC" >&6
2012
echo "$as_me:$LINENO: result: no" >&5
2013
echo "${ECHO_T}no" >&6
2016
test -n "$CC" && break
949
if test -n "$CC"; then
950
echo "$ac_t""$CC" 1>&6
952
echo "$ac_t""no" 1>&6
2019
if test -z "$CC"; then
2023
# Extract the first word of "$ac_prog", so it can be a program name with args.
2024
set dummy $ac_prog; ac_word=$2
2025
echo "$as_me:$LINENO: checking for $ac_word" >&5
2026
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2027
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2028
echo $ECHO_N "(cached) $ECHO_C" >&6
2030
if test -n "$ac_ct_CC"; then
2031
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037
test -z "$as_dir" && as_dir=.
2038
for ac_exec_ext in '' $ac_executable_extensions; do
2039
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040
ac_cv_prog_ac_ct_CC="$ac_prog"
2041
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
957
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
960
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
961
echo "configure:962: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
964
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
965
ac_cpp='$CPP $CPPFLAGS'
966
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
967
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
968
cross_compiling=$ac_cv_prog_cc_cross
970
cat > conftest.$ac_ext << EOF
972
#line 973 "configure"
973
#include "confdefs.h"
977
if { (eval echo configure:978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
978
ac_cv_prog_cc_works=yes
979
# If we can't run a trivial program, we are probably using a cross compiler.
980
if (./conftest; exit) 2>/dev/null; then
981
ac_cv_prog_cc_cross=no
2049
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2050
if test -n "$ac_ct_CC"; then
2051
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2052
echo "${ECHO_T}$ac_ct_CC" >&6
2054
echo "$as_me:$LINENO: result: no" >&5
2055
echo "${ECHO_T}no" >&6
2058
test -n "$ac_ct_CC" && break
2067
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2068
See \`config.log' for more details." >&5
2069
echo "$as_me: error: no acceptable C compiler found in \$PATH
2070
See \`config.log' for more details." >&2;}
2071
{ (exit 1); exit 1; }; }
2073
# Provide some information about the compiler.
2074
echo "$as_me:$LINENO:" \
2075
"checking for C compiler version" >&5
2076
ac_compiler=`set X $ac_compile; echo $2`
2077
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2078
(eval $ac_compiler --version </dev/null >&5) 2>&5
2080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081
(exit $ac_status); }
2082
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2083
(eval $ac_compiler -v </dev/null >&5) 2>&5
2085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086
(exit $ac_status); }
2087
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2088
(eval $ac_compiler -V </dev/null >&5) 2>&5
2090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091
(exit $ac_status); }
2093
cat >conftest.$ac_ext <<_ACEOF
2094
#line $LINENO "configure"
2097
cat confdefs.h >>conftest.$ac_ext
2098
cat >>conftest.$ac_ext <<_ACEOF
2099
/* end confdefs.h. */
2109
ac_clean_files_save=$ac_clean_files
2110
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2111
# Try to create an executable without -o first, disregard a.out.
2112
# It will help us diagnose broken compilers, and finding out an intuition
2114
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2115
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2116
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2117
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2118
(eval $ac_link_default) 2>&5
2120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121
(exit $ac_status); }; then
2122
# Find the output, starting from the most likely. This scheme is
2123
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2126
# Be careful to initialize this variable, since it used to be cached.
2127
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2129
# b.out is created by i960 compilers.
2130
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2132
test -f "$ac_file" || continue
2134
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2137
# This is the source file.
2140
# We found the default executable, but exeext='' is most
2144
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2145
# FIXME: I believe we export ac_cv_exeext for Libtool,
2146
# but it would be cool to find out if it's true. Does anybody
2147
# maintain Libtool? --akim.
2155
echo "$as_me: failed program was:" >&5
2156
sed 's/^/| /' conftest.$ac_ext >&5
2158
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2159
See \`config.log' for more details." >&5
2160
echo "$as_me: error: C compiler cannot create executables
2161
See \`config.log' for more details." >&2;}
2162
{ (exit 77); exit 77; }; }
2165
ac_exeext=$ac_cv_exeext
2166
echo "$as_me:$LINENO: result: $ac_file" >&5
2167
echo "${ECHO_T}$ac_file" >&6
2169
# Check the compiler produces executables we can run. If not, either
2170
# the compiler is broken, or we cross compile.
2171
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2172
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2173
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2174
# If not cross compiling, check that we can run a simple program.
2175
if test "$cross_compiling" != yes; then
2176
if { ac_try='./$ac_file'
2177
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181
(exit $ac_status); }; }; then
983
ac_cv_prog_cc_cross=yes
2184
if test "$cross_compiling" = maybe; then
2187
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2188
If you meant to cross compile, use \`--host'.
2189
See \`config.log' for more details." >&5
2190
echo "$as_me: error: cannot run C compiled programs.
2191
If you meant to cross compile, use \`--host'.
2192
See \`config.log' for more details." >&2;}
2193
{ (exit 1); exit 1; }; }
986
echo "configure: failed program was:" >&5
987
cat conftest.$ac_ext >&5
988
ac_cv_prog_cc_works=no
992
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
993
ac_cpp='$CPP $CPPFLAGS'
994
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
995
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
996
cross_compiling=$ac_cv_prog_cc_cross
998
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
999
if test $ac_cv_prog_cc_works = no; then
1000
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1002
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1003
echo "configure:1004: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1004
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1005
cross_compiling=$ac_cv_prog_cc_cross
1007
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1008
echo "configure:1009: checking whether we are using GNU C" >&5
1009
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1010
echo $ac_n "(cached) $ac_c" 1>&6
1012
cat > conftest.c <<EOF
2197
echo "$as_me:$LINENO: result: yes" >&5
2198
echo "${ECHO_T}yes" >&6
2200
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2201
ac_clean_files=$ac_clean_files_save
2202
# Check the compiler produces executables we can run. If not, either
2203
# the compiler is broken, or we cross compile.
2204
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2205
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2206
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2207
echo "${ECHO_T}$cross_compiling" >&6
2209
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2210
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2211
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2212
(eval $ac_link) 2>&5
2214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215
(exit $ac_status); }; then
2216
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2217
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2218
# work properly (i.e., refer to `conftest.exe'), while it won't with
2220
for ac_file in conftest.exe conftest conftest.*; do
2221
test -f "$ac_file" || continue
2223
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2224
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2231
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2232
See \`config.log' for more details." >&5
2233
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2234
See \`config.log' for more details." >&2;}
2235
{ (exit 1); exit 1; }; }
2238
rm -f conftest$ac_cv_exeext
2239
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2240
echo "${ECHO_T}$ac_cv_exeext" >&6
2242
rm -f conftest.$ac_ext
2243
EXEEXT=$ac_cv_exeext
2245
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2246
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2247
if test "${ac_cv_objext+set}" = set; then
2248
echo $ECHO_N "(cached) $ECHO_C" >&6
2250
cat >conftest.$ac_ext <<_ACEOF
2251
#line $LINENO "configure"
2254
cat confdefs.h >>conftest.$ac_ext
2255
cat >>conftest.$ac_ext <<_ACEOF
2256
/* end confdefs.h. */
2266
rm -f conftest.o conftest.obj
2267
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268
(eval $ac_compile) 2>&5
2270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271
(exit $ac_status); }; then
2272
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2274
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2275
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2280
echo "$as_me: failed program was:" >&5
2281
sed 's/^/| /' conftest.$ac_ext >&5
2283
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2284
See \`config.log' for more details." >&5
2285
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2286
See \`config.log' for more details." >&2;}
2287
{ (exit 1); exit 1; }; }
2290
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2292
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2293
echo "${ECHO_T}$ac_cv_objext" >&6
2294
OBJEXT=$ac_cv_objext
2296
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2297
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2298
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2299
echo $ECHO_N "(cached) $ECHO_C" >&6
2301
cat >conftest.$ac_ext <<_ACEOF
2302
#line $LINENO "configure"
2305
cat confdefs.h >>conftest.$ac_ext
2306
cat >>conftest.$ac_ext <<_ACEOF
2307
/* end confdefs.h. */
1017
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1024
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1026
if test $ac_cv_prog_gcc = yes; then
1032
ac_test_CFLAGS="${CFLAGS+set}"
1033
ac_save_CFLAGS="$CFLAGS"
1035
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1036
echo "configure:1037: checking whether ${CC-cc} accepts -g" >&5
1037
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1038
echo $ac_n "(cached) $ac_c" 1>&6
1040
echo 'void f(){}' > conftest.c
1041
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2320
rm -f conftest.$ac_objext
2321
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322
(eval $ac_compile) 2>&5
2324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325
(exit $ac_status); } &&
2326
{ ac_try='test -s conftest.$ac_objext'
2327
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331
(exit $ac_status); }; }; then
2334
echo "$as_me: failed program was:" >&5
2335
sed 's/^/| /' conftest.$ac_ext >&5
2339
rm -f conftest.$ac_objext conftest.$ac_ext
2340
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2343
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2344
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2345
GCC=`test $ac_compiler_gnu = yes && echo yes`
2346
ac_test_CFLAGS=${CFLAGS+set}
2347
ac_save_CFLAGS=$CFLAGS
2349
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2350
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2351
if test "${ac_cv_prog_cc_g+set}" = set; then
2352
echo $ECHO_N "(cached) $ECHO_C" >&6
2354
cat >conftest.$ac_ext <<_ACEOF
2355
#line $LINENO "configure"
2358
cat confdefs.h >>conftest.$ac_ext
2359
cat >>conftest.$ac_ext <<_ACEOF
2360
/* end confdefs.h. */
2370
rm -f conftest.$ac_objext
2371
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372
(eval $ac_compile) 2>&5
2374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375
(exit $ac_status); } &&
2376
{ ac_try='test -s conftest.$ac_objext'
2377
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381
(exit $ac_status); }; }; then
1042
2382
ac_cv_prog_cc_g=yes
1050
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2384
echo "$as_me: failed program was:" >&5
2385
sed 's/^/| /' conftest.$ac_ext >&5
2389
rm -f conftest.$ac_objext conftest.$ac_ext
2391
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2392
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1051
2393
if test "$ac_test_CFLAGS" = set; then
1052
CFLAGS="$ac_save_CFLAGS"
2394
CFLAGS=$ac_save_CFLAGS
1053
2395
elif test $ac_cv_prog_cc_g = yes; then
1054
2396
if test "$GCC" = yes; then
1055
2397
CFLAGS="-g -O2"
1632
3511
LIBS="$LIBS $SDL_LIBS -ljpeg -lpng $SOUND -lz -lSDL"
1634
3513
######## Check for headers
1635
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1636
echo "configure:1637: checking how to run the C preprocessor" >&5
3515
ac_cpp='$CPP $CPPFLAGS'
3516
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3519
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3520
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1637
3521
# On Suns, sometimes $CPP names a directory.
1638
3522
if test -n "$CPP" && test -d "$CPP"; then
1641
3525
if test -z "$CPP"; then
1642
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1643
echo $ac_n "(cached) $ac_c" 1>&6
1645
# This must be in double quotes, not single quotes, because CPP may get
1646
# substituted into the Makefile and "${CC-cc}" will confuse make.
1648
# On the NeXT, cc -E runs the code through the compiler's parser,
1649
# not just through cpp.
1650
cat > conftest.$ac_ext <<EOF
1651
#line 1652 "configure"
1652
#include "confdefs.h"
1656
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1657
{ (eval echo configure:1658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1658
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1659
if test -z "$ac_err"; then
1663
echo "configure: failed program was:" >&5
1664
cat conftest.$ac_ext >&5
1666
CPP="${CC-cc} -E -traditional-cpp"
1667
cat > conftest.$ac_ext <<EOF
1668
#line 1669 "configure"
1669
#include "confdefs.h"
1673
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1674
{ (eval echo configure:1675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1675
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1676
if test -z "$ac_err"; then
1680
echo "configure: failed program was:" >&5
1681
cat conftest.$ac_ext >&5
1683
CPP="${CC-cc} -nologo -E"
1684
cat > conftest.$ac_ext <<EOF
1685
#line 1686 "configure"
1686
#include "confdefs.h"
1690
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1691
{ (eval echo configure:1692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1692
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1693
if test -z "$ac_err"; then
1697
echo "configure: failed program was:" >&5
1698
cat conftest.$ac_ext >&5
1707
ac_cv_prog_CPP="$CPP"
1709
CPP="$ac_cv_prog_CPP"
1711
ac_cv_prog_CPP="$CPP"
1713
echo "$ac_t""$CPP" 1>&6
1717
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1718
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1719
echo "configure:1720: checking for $ac_hdr" >&5
1720
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1721
echo $ac_n "(cached) $ac_c" 1>&6
1723
cat > conftest.$ac_ext <<EOF
1724
#line 1725 "configure"
1725
#include "confdefs.h"
1728
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1729
{ (eval echo configure:1730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1730
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1731
if test -z "$ac_err"; then
1733
eval "ac_cv_header_$ac_safe=yes"
1736
echo "configure: failed program was:" >&5
1737
cat conftest.$ac_ext >&5
1739
eval "ac_cv_header_$ac_safe=no"
1743
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1744
echo "$ac_t""yes" 1>&6
1745
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1746
cat >> confdefs.h <<EOF
1747
#define $ac_tr_hdr 1
1751
echo "$ac_t""no" 1>&6
1752
{ echo "configure: error: Your system is missing png.h ! You will probably have to install the png-devel package" 1>&2; exit 1; }
1756
for ac_hdr in jpeglib.h
1758
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1759
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1760
echo "configure:1761: checking for $ac_hdr" >&5
1761
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1762
echo $ac_n "(cached) $ac_c" 1>&6
1764
cat > conftest.$ac_ext <<EOF
1765
#line 1766 "configure"
1766
#include "confdefs.h"
1769
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1770
{ (eval echo configure:1771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1771
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1772
if test -z "$ac_err"; then
1774
eval "ac_cv_header_$ac_safe=yes"
1777
echo "configure: failed program was:" >&5
1778
cat conftest.$ac_ext >&5
1780
eval "ac_cv_header_$ac_safe=no"
1784
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1785
echo "$ac_t""yes" 1>&6
1786
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1787
cat >> confdefs.h <<EOF
1788
#define $ac_tr_hdr 1
1792
echo "$ac_t""no" 1>&6
1793
{ echo "configure: error: Your system is missing jpeglib.h ! You will probably have to install the jpeg-devel package" 1>&2; exit 1; }
3526
if test "${ac_cv_prog_CPP+set}" = set; then
3527
echo $ECHO_N "(cached) $ECHO_C" >&6
3529
# Double quotes because CPP needs to be expanded
3530
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3533
for ac_c_preproc_warn_flag in '' yes
3535
# Use a header file that comes with gcc, so configuring glibc
3536
# with a fresh cross-compiler works.
3537
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3538
# <limits.h> exists even on freestanding compilers.
3539
# On the NeXT, cc -E runs the code through the compiler's parser,
3540
# not just through cpp. "Syntax error" is here to catch this case.
3541
cat >conftest.$ac_ext <<_ACEOF
3542
#line $LINENO "configure"
3545
cat confdefs.h >>conftest.$ac_ext
3546
cat >>conftest.$ac_ext <<_ACEOF
3547
/* end confdefs.h. */
3549
# include <limits.h>
3551
# include <assert.h>
3555
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3556
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3558
grep -v '^ *+' conftest.er1 >conftest.err
3560
cat conftest.err >&5
3561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562
(exit $ac_status); } >/dev/null; then
3563
if test -s conftest.err; then
3564
ac_cpp_err=$ac_c_preproc_warn_flag
3571
if test -z "$ac_cpp_err"; then
3574
echo "$as_me: failed program was:" >&5
3575
sed 's/^/| /' conftest.$ac_ext >&5
3577
# Broken: fails on valid input.
3580
rm -f conftest.err conftest.$ac_ext
3582
# OK, works on sane cases. Now check whether non-existent headers
3583
# can be detected and how.
3584
cat >conftest.$ac_ext <<_ACEOF
3585
#line $LINENO "configure"
3588
cat confdefs.h >>conftest.$ac_ext
3589
cat >>conftest.$ac_ext <<_ACEOF
3590
/* end confdefs.h. */
3591
#include <ac_nonexistent.h>
3593
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3594
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3596
grep -v '^ *+' conftest.er1 >conftest.err
3598
cat conftest.err >&5
3599
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
(exit $ac_status); } >/dev/null; then
3601
if test -s conftest.err; then
3602
ac_cpp_err=$ac_c_preproc_warn_flag
3609
if test -z "$ac_cpp_err"; then
3610
# Broken: success on invalid input.
3613
echo "$as_me: failed program was:" >&5
3614
sed 's/^/| /' conftest.$ac_ext >&5
3616
# Passes both tests.
3620
rm -f conftest.err conftest.$ac_ext
3623
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3624
rm -f conftest.err conftest.$ac_ext
3625
if $ac_preproc_ok; then
3637
echo "$as_me:$LINENO: result: $CPP" >&5
3638
echo "${ECHO_T}$CPP" >&6
3640
for ac_c_preproc_warn_flag in '' yes
3642
# Use a header file that comes with gcc, so configuring glibc
3643
# with a fresh cross-compiler works.
3644
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3645
# <limits.h> exists even on freestanding compilers.
3646
# On the NeXT, cc -E runs the code through the compiler's parser,
3647
# not just through cpp. "Syntax error" is here to catch this case.
3648
cat >conftest.$ac_ext <<_ACEOF
3649
#line $LINENO "configure"
3652
cat confdefs.h >>conftest.$ac_ext
3653
cat >>conftest.$ac_ext <<_ACEOF
3654
/* end confdefs.h. */
3656
# include <limits.h>
3658
# include <assert.h>
3662
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3663
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3665
grep -v '^ *+' conftest.er1 >conftest.err
3667
cat conftest.err >&5
3668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669
(exit $ac_status); } >/dev/null; then
3670
if test -s conftest.err; then
3671
ac_cpp_err=$ac_c_preproc_warn_flag
3678
if test -z "$ac_cpp_err"; then
3681
echo "$as_me: failed program was:" >&5
3682
sed 's/^/| /' conftest.$ac_ext >&5
3684
# Broken: fails on valid input.
3687
rm -f conftest.err conftest.$ac_ext
3689
# OK, works on sane cases. Now check whether non-existent headers
3690
# can be detected and how.
3691
cat >conftest.$ac_ext <<_ACEOF
3692
#line $LINENO "configure"
3695
cat confdefs.h >>conftest.$ac_ext
3696
cat >>conftest.$ac_ext <<_ACEOF
3697
/* end confdefs.h. */
3698
#include <ac_nonexistent.h>
3700
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3701
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3703
grep -v '^ *+' conftest.er1 >conftest.err
3705
cat conftest.err >&5
3706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707
(exit $ac_status); } >/dev/null; then
3708
if test -s conftest.err; then
3709
ac_cpp_err=$ac_c_preproc_warn_flag
3716
if test -z "$ac_cpp_err"; then
3717
# Broken: success on invalid input.
3720
echo "$as_me: failed program was:" >&5
3721
sed 's/^/| /' conftest.$ac_ext >&5
3723
# Passes both tests.
3727
rm -f conftest.err conftest.$ac_ext
3730
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3731
rm -f conftest.err conftest.$ac_ext
3732
if $ac_preproc_ok; then
3735
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3736
See \`config.log' for more details." >&5
3737
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3738
See \`config.log' for more details." >&2;}
3739
{ (exit 1); exit 1; }; }
3743
ac_cpp='$CPP $CPPFLAGS'
3744
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3745
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3746
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3749
echo "$as_me:$LINENO: checking for egrep" >&5
3750
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3751
if test "${ac_cv_prog_egrep+set}" = set; then
3752
echo $ECHO_N "(cached) $ECHO_C" >&6
3754
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3755
then ac_cv_prog_egrep='grep -E'
3756
else ac_cv_prog_egrep='egrep'
3759
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3760
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3761
EGREP=$ac_cv_prog_egrep
3764
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3765
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3766
if test "${ac_cv_header_stdc+set}" = set; then
3767
echo $ECHO_N "(cached) $ECHO_C" >&6
3769
cat >conftest.$ac_ext <<_ACEOF
3770
#line $LINENO "configure"
3773
cat confdefs.h >>conftest.$ac_ext
3774
cat >>conftest.$ac_ext <<_ACEOF
3775
/* end confdefs.h. */
3789
rm -f conftest.$ac_objext
3790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3791
(eval $ac_compile) 2>&5
3793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794
(exit $ac_status); } &&
3795
{ ac_try='test -s conftest.$ac_objext'
3796
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800
(exit $ac_status); }; }; then
3801
ac_cv_header_stdc=yes
3803
echo "$as_me: failed program was:" >&5
3804
sed 's/^/| /' conftest.$ac_ext >&5
3806
ac_cv_header_stdc=no
3808
rm -f conftest.$ac_objext conftest.$ac_ext
3810
if test $ac_cv_header_stdc = yes; then
3811
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3812
cat >conftest.$ac_ext <<_ACEOF
3813
#line $LINENO "configure"
3816
cat confdefs.h >>conftest.$ac_ext
3817
cat >>conftest.$ac_ext <<_ACEOF
3818
/* end confdefs.h. */
3822
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3823
$EGREP "memchr" >/dev/null 2>&1; then
3826
ac_cv_header_stdc=no
3832
if test $ac_cv_header_stdc = yes; then
3833
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3834
cat >conftest.$ac_ext <<_ACEOF
3835
#line $LINENO "configure"
3838
cat confdefs.h >>conftest.$ac_ext
3839
cat >>conftest.$ac_ext <<_ACEOF
3840
/* end confdefs.h. */
3844
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3845
$EGREP "free" >/dev/null 2>&1; then
3848
ac_cv_header_stdc=no
3854
if test $ac_cv_header_stdc = yes; then
3855
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3856
if test "$cross_compiling" = yes; then
3859
cat >conftest.$ac_ext <<_ACEOF
3860
#line $LINENO "configure"
3863
cat confdefs.h >>conftest.$ac_ext
3864
cat >>conftest.$ac_ext <<_ACEOF
3865
/* end confdefs.h. */
3867
#if ((' ' & 0x0FF) == 0x020)
3868
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3869
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3871
# define ISLOWER(c) \
3872
(('a' <= (c) && (c) <= 'i') \
3873
|| ('j' <= (c) && (c) <= 'r') \
3874
|| ('s' <= (c) && (c) <= 'z'))
3875
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3878
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3883
for (i = 0; i < 256; i++)
3884
if (XOR (islower (i), ISLOWER (i))
3885
|| toupper (i) != TOUPPER (i))
3890
rm -f conftest$ac_exeext
3891
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3892
(eval $ac_link) 2>&5
3894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3896
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900
(exit $ac_status); }; }; then
3903
echo "$as_me: program exited with status $ac_status" >&5
3904
echo "$as_me: failed program was:" >&5
3905
sed 's/^/| /' conftest.$ac_ext >&5
3908
ac_cv_header_stdc=no
3910
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3914
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3915
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3916
if test $ac_cv_header_stdc = yes; then
3918
cat >>confdefs.h <<\_ACEOF
3919
#define STDC_HEADERS 1
3924
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3934
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3935
inttypes.h stdint.h unistd.h
3937
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3938
echo "$as_me:$LINENO: checking for $ac_header" >&5
3939
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3940
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3941
echo $ECHO_N "(cached) $ECHO_C" >&6
3943
cat >conftest.$ac_ext <<_ACEOF
3944
#line $LINENO "configure"
3947
cat confdefs.h >>conftest.$ac_ext
3948
cat >>conftest.$ac_ext <<_ACEOF
3949
/* end confdefs.h. */
3950
$ac_includes_default
3952
#include <$ac_header>
3954
rm -f conftest.$ac_objext
3955
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3956
(eval $ac_compile) 2>&5
3958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959
(exit $ac_status); } &&
3960
{ ac_try='test -s conftest.$ac_objext'
3961
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965
(exit $ac_status); }; }; then
3966
eval "$as_ac_Header=yes"
3968
echo "$as_me: failed program was:" >&5
3969
sed 's/^/| /' conftest.$ac_ext >&5
3971
eval "$as_ac_Header=no"
3973
rm -f conftest.$ac_objext conftest.$ac_ext
3975
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3976
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3977
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3978
cat >>confdefs.h <<_ACEOF
3979
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3988
for ac_header in png.h
3990
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3991
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3992
echo "$as_me:$LINENO: checking for $ac_header" >&5
3993
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3994
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3995
echo $ECHO_N "(cached) $ECHO_C" >&6
3997
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3998
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4000
# Is the header compilable?
4001
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4002
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4003
cat >conftest.$ac_ext <<_ACEOF
4004
#line $LINENO "configure"
4007
cat confdefs.h >>conftest.$ac_ext
4008
cat >>conftest.$ac_ext <<_ACEOF
4009
/* end confdefs.h. */
4010
$ac_includes_default
4011
#include <$ac_header>
4013
rm -f conftest.$ac_objext
4014
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4015
(eval $ac_compile) 2>&5
4017
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018
(exit $ac_status); } &&
4019
{ ac_try='test -s conftest.$ac_objext'
4020
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024
(exit $ac_status); }; }; then
4025
ac_header_compiler=yes
4027
echo "$as_me: failed program was:" >&5
4028
sed 's/^/| /' conftest.$ac_ext >&5
4030
ac_header_compiler=no
4032
rm -f conftest.$ac_objext conftest.$ac_ext
4033
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4034
echo "${ECHO_T}$ac_header_compiler" >&6
4036
# Is the header present?
4037
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4038
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4039
cat >conftest.$ac_ext <<_ACEOF
4040
#line $LINENO "configure"
4043
cat confdefs.h >>conftest.$ac_ext
4044
cat >>conftest.$ac_ext <<_ACEOF
4045
/* end confdefs.h. */
4046
#include <$ac_header>
4048
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4049
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4051
grep -v '^ *+' conftest.er1 >conftest.err
4053
cat conftest.err >&5
4054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055
(exit $ac_status); } >/dev/null; then
4056
if test -s conftest.err; then
4057
ac_cpp_err=$ac_c_preproc_warn_flag
4064
if test -z "$ac_cpp_err"; then
4065
ac_header_preproc=yes
4067
echo "$as_me: failed program was:" >&5
4068
sed 's/^/| /' conftest.$ac_ext >&5
4070
ac_header_preproc=no
4072
rm -f conftest.err conftest.$ac_ext
4073
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4074
echo "${ECHO_T}$ac_header_preproc" >&6
4076
# So? What about this header?
4077
case $ac_header_compiler:$ac_header_preproc in
4079
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4080
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4081
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4082
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4085
## ------------------------------------ ##
4086
## Report this to bug-autoconf@gnu.org. ##
4087
## ------------------------------------ ##
4090
sed "s/^/$as_me: WARNING: /" >&2
4093
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4094
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4095
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4096
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4097
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4098
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4101
## ------------------------------------ ##
4102
## Report this to bug-autoconf@gnu.org. ##
4103
## ------------------------------------ ##
4106
sed "s/^/$as_me: WARNING: /" >&2
4109
echo "$as_me:$LINENO: checking for $ac_header" >&5
4110
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4111
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4112
echo $ECHO_N "(cached) $ECHO_C" >&6
4114
eval "$as_ac_Header=$ac_header_preproc"
4116
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4117
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4120
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4121
cat >>confdefs.h <<_ACEOF
4122
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4126
{ { echo "$as_me:$LINENO: error: Your system is missing png.h ! You will probably have to install the png-devel package" >&5
4127
echo "$as_me: error: Your system is missing png.h ! You will probably have to install the png-devel package" >&2;}
4128
{ (exit 1); exit 1; }; }
4134
for ac_header in jpeglib.h
4136
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4137
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4138
echo "$as_me:$LINENO: checking for $ac_header" >&5
4139
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4140
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4141
echo $ECHO_N "(cached) $ECHO_C" >&6
4143
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4144
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4146
# Is the header compilable?
4147
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4148
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4149
cat >conftest.$ac_ext <<_ACEOF
4150
#line $LINENO "configure"
4153
cat confdefs.h >>conftest.$ac_ext
4154
cat >>conftest.$ac_ext <<_ACEOF
4155
/* end confdefs.h. */
4156
$ac_includes_default
4157
#include <$ac_header>
4159
rm -f conftest.$ac_objext
4160
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4161
(eval $ac_compile) 2>&5
4163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164
(exit $ac_status); } &&
4165
{ ac_try='test -s conftest.$ac_objext'
4166
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170
(exit $ac_status); }; }; then
4171
ac_header_compiler=yes
4173
echo "$as_me: failed program was:" >&5
4174
sed 's/^/| /' conftest.$ac_ext >&5
4176
ac_header_compiler=no
4178
rm -f conftest.$ac_objext conftest.$ac_ext
4179
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4180
echo "${ECHO_T}$ac_header_compiler" >&6
4182
# Is the header present?
4183
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4184
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4185
cat >conftest.$ac_ext <<_ACEOF
4186
#line $LINENO "configure"
4189
cat confdefs.h >>conftest.$ac_ext
4190
cat >>conftest.$ac_ext <<_ACEOF
4191
/* end confdefs.h. */
4192
#include <$ac_header>
4194
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4195
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4197
grep -v '^ *+' conftest.er1 >conftest.err
4199
cat conftest.err >&5
4200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
(exit $ac_status); } >/dev/null; then
4202
if test -s conftest.err; then
4203
ac_cpp_err=$ac_c_preproc_warn_flag
4210
if test -z "$ac_cpp_err"; then
4211
ac_header_preproc=yes
4213
echo "$as_me: failed program was:" >&5
4214
sed 's/^/| /' conftest.$ac_ext >&5
4216
ac_header_preproc=no
4218
rm -f conftest.err conftest.$ac_ext
4219
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4220
echo "${ECHO_T}$ac_header_preproc" >&6
4222
# So? What about this header?
4223
case $ac_header_compiler:$ac_header_preproc in
4225
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4226
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4227
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4228
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4231
## ------------------------------------ ##
4232
## Report this to bug-autoconf@gnu.org. ##
4233
## ------------------------------------ ##
4236
sed "s/^/$as_me: WARNING: /" >&2
4239
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4240
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4241
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4242
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4243
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4244
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4247
## ------------------------------------ ##
4248
## Report this to bug-autoconf@gnu.org. ##
4249
## ------------------------------------ ##
4252
sed "s/^/$as_me: WARNING: /" >&2
4255
echo "$as_me:$LINENO: checking for $ac_header" >&5
4256
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4257
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4258
echo $ECHO_N "(cached) $ECHO_C" >&6
4260
eval "$as_ac_Header=$ac_header_preproc"
4262
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4263
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4266
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4267
cat >>confdefs.h <<_ACEOF
4268
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4272
{ { echo "$as_me:$LINENO: error: Your system is missing jpeglib.h ! You will probably have to install the jpeg-devel package" >&5
4273
echo "$as_me: error: Your system is missing jpeglib.h ! You will probably have to install the jpeg-devel package" >&2;}
4274
{ (exit 1); exit 1; }; }
1798
4280
######## Finally create all the generated files
1800
cat > confcache <<\EOF
4281
ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/gfx/Makefile data/sound/Makefile"
4282
cat >confcache <<\_ACEOF
1801
4283
# This file is a shell script that caches the results of configure
1802
4284
# tests run on this system so they can be shared between configure
1803
# scripts and configure runs. It is not useful on other systems.
1804
# If it contains results you don't want to keep, you may remove or edit it.
1806
# By default, configure uses ./config.cache as the cache file,
1807
# creating it if it does not exist already. You can give configure
1808
# the --cache-file=FILE option to use a different cache file; that is
1809
# what configure does when it calls configure scripts in
1810
# subdirectories, so they share the cache.
1811
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1812
# config.status only pays attention to the cache file if you give it the
1813
# --recheck option to rerun configure.
4285
# scripts and configure runs, see configure's option --config-cache.
4286
# It is not useful on other systems. If it contains results you don't
4287
# want to keep, you may remove or edit it.
4289
# config.status only pays attention to the cache file if you give it
4290
# the --recheck option to rerun configure.
4292
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4293
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1816
4298
# The following way of writing the cache mishandles newlines in values,
1817
4299
# but we know of no workaround that is simple, portable, and efficient.
1818
4300
# So, don't put newlines in cache variables' values.
1819
4301
# Ultrix sh set writes to stderr and can't be redirected directly,
1820
4302
# and sets the high bit in the cache file unless we assign to the vars.
1822
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1824
# `set' does not quote correctly, so add quotes (double-quote substitution
1825
# turns \\\\ into \\, and sed turns \\ into \).
1827
-e "s/'/'\\\\''/g" \
1828
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1831
# `set' quotes correctly as required by POSIX, so do not add quotes.
1832
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1835
if cmp -s $cache_file confcache; then
4305
case `(ac_space=' '; set | grep ac_space) 2>&1` in
4307
# `set' does not quote correctly, so add quotes (double-quote
4308
# substitution turns \\\\ into \\, and sed turns \\ into \).
4311
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4314
# `set' quotes correctly as required by POSIX, so do not add quotes.
4316
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4323
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4325
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4327
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1838
4328
if test -w $cache_file; then
1839
echo "updating cache $cache_file"
1840
cat confcache > $cache_file
4329
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4330
cat confcache >$cache_file
1842
4332
echo "not updating unwritable cache $cache_file"
1845
4335
rm -f confcache
1847
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1849
4337
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1850
4338
# Let make expand exec_prefix.
1851
4339
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1853
# Any assignment to VPATH causes Sun make to only execute
1854
# the first set of double-colon rules, so remove it if not needed.
1855
# If there is a colon in the path, we need to keep it.
4341
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4342
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4343
# trailing colons and then remove the whole line if VPATH becomes empty
4344
# (actually we leave an empty line to preserve line numbers).
1856
4345
if test "x$srcdir" = x.; then
1857
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
4346
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4347
s/:*\$(srcdir):*/:/;
4348
s/:*\${srcdir}:*/:/;
4350
s/^\([^=]*=[ ]*\):*/\1/;
1860
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1862
4356
# Transform confdefs.h into DEFS.
1863
4357
# Protect against shell expansion while executing Makefile rules.
1864
4358
# Protect against Makefile macro expansion.
1865
cat > conftest.defs <<\EOF
1866
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1867
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1872
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1876
# Without the "./", some shells look in PATH for config.status.
4360
# If the first sed substitution is executed (which looks for macros that
4361
# take arguments), then we branch to the quote section. Otherwise,
4362
# look for a macro that doesn't take arguments.
4363
cat >confdef2opt.sed <<\_ACEOF
4366
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4368
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4372
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4378
# We use echo to avoid assuming a particular line-breaking character.
4379
# The extra dot is to prevent the shell from consuming trailing
4380
# line-breaks from the sub-command output. A line-break within
4381
# single-quotes doesn't work because, if this script is created in a
4382
# platform that uses two characters for line-breaks (e.g., DOS), tr
4384
ac_LF_and_DOT=`echo; echo .`
4385
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4386
rm -f confdef2opt.sed
4391
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4392
# 1. Remove the extension, and $U if already installed.
4393
ac_i=`echo "$ac_i" |
4394
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4396
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4397
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4401
LTLIBOBJS=$ac_ltlibobjs
4404
if test -z "${MIXER_INCLUDED_TRUE}" && test -z "${MIXER_INCLUDED_FALSE}"; then
4405
{ { echo "$as_me:$LINENO: error: conditional \"MIXER_INCLUDED\" was never defined.
4406
Usually this means the macro was only invoked conditionally." >&5
4407
echo "$as_me: error: conditional \"MIXER_INCLUDED\" was never defined.
4408
Usually this means the macro was only invoked conditionally." >&2;}
4409
{ (exit 1); exit 1; }; }
4411
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4412
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4413
Usually this means the macro was only invoked conditionally." >&5
4414
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4415
Usually this means the macro was only invoked conditionally." >&2;}
4416
{ (exit 1); exit 1; }; }
1877
4419
: ${CONFIG_STATUS=./config.status}
1879
echo creating $CONFIG_STATUS
1880
rm -f $CONFIG_STATUS
1881
cat > $CONFIG_STATUS <<EOF
1883
# Generated automatically by configure.
4420
ac_clean_files_save=$ac_clean_files
4421
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4422
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4423
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4424
cat >$CONFIG_STATUS <<_ACEOF
4426
# Generated by $as_me.
1884
4427
# Run this file to recreate the current configuration.
1885
# This directory was configured as follows,
1886
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1888
# $0 $ac_configure_args
1890
4428
# Compiler output produced by configure, useful for debugging
1891
# configure, is in ./config.log if it exists.
1893
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1896
case "\$ac_option" in
4429
# configure, is in config.log if it exists.
4434
SHELL=\${CONFIG_SHELL-$SHELL}
4437
cat >>$CONFIG_STATUS <<\_ACEOF
4438
## --------------------- ##
4439
## M4sh Initialization. ##
4440
## --------------------- ##
4442
# Be Bourne compatible
4443
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4446
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4447
# is contrary to our usage. Disable this feature.
4448
alias -g '${1+"$@"}'='"$@"'
4449
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4453
# Support unset when possible.
4454
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4461
# Work around bugs in pre-3.0 UWIN ksh.
4462
$as_unset ENV MAIL MAILPATH
4469
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4470
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4471
LC_TELEPHONE LC_TIME
4473
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4474
eval $as_var=C; export $as_var
4480
# Required to use basename.
4481
if expr a : '\(a\)' >/dev/null 2>&1; then
4487
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4488
as_basename=basename
4494
# Name of the executable.
4495
as_me=`$as_basename "$0" ||
4496
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4497
X"$0" : 'X\(//\)$' \| \
4498
X"$0" : 'X\(/\)$' \| \
4499
. : '\(.\)' 2>/dev/null ||
4501
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4502
/^X\/\(\/\/\)$/{ s//\1/; q; }
4503
/^X\/\(\/\).*/{ s//\1/; q; }
4507
# PATH needs CR, and LINENO needs CR and PATH.
4508
# Avoid depending upon Character Ranges.
4509
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4510
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4511
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4512
as_cr_digits='0123456789'
4513
as_cr_alnum=$as_cr_Letters$as_cr_digits
4515
# The user is always right.
4516
if test "${PATH_SEPARATOR+set}" != set; then
4517
echo "#! /bin/sh" >conf$$.sh
4518
echo "exit 0" >>conf$$.sh
4520
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4531
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4532
test "x$as_lineno_1" != "x$as_lineno_2" &&
4533
test "x$as_lineno_3" = "x$as_lineno_2" || {
4534
# Find who we are. Look in the path if we contain no path at all
4537
*[\\/]* ) as_myself=$0 ;;
4538
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542
test -z "$as_dir" && as_dir=.
4543
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4548
# We did not find ourselves, most probably we were run as `sh COMMAND'
4549
# in which case we are not to be found in the path.
4550
if test "x$as_myself" = x; then
4553
if test ! -f "$as_myself"; then
4554
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4555
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4556
{ (exit 1); exit 1; }; }
4558
case $CONFIG_SHELL in
4560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4564
test -z "$as_dir" && as_dir=.
4565
for as_base in sh bash ksh sh5; do
4568
if ("$as_dir/$as_base" -c '
4571
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4572
test "x$as_lineno_1" != "x$as_lineno_2" &&
4573
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4574
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4575
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4576
CONFIG_SHELL=$as_dir/$as_base
4578
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4586
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4587
# uniformly replaced by the line number. The first 'sed' inserts a
4588
# line-number line before each line; the second 'sed' does the real
4589
# work. The second script uses 'N' to pair each line-number line
4590
# with the numbered line, and appends trailing '-' during
4591
# substitution so that $LINENO is not a special case at line end.
4592
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4593
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4594
sed '=' <$as_myself |
4599
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4602
s,^['$as_cr_digits']*\n,,
4604
chmod +x $as_me.lineno ||
4605
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4606
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4607
{ (exit 1); exit 1; }; }
4609
# Don't try to exec as it changes $[0], causing all sort of problems
4610
# (the dirname of $[0] is not the place where we might find the
4611
# original and so on. Autoconf is especially sensible to this).
4613
# Exit status is that of the last command.
4618
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4619
*c*,-n*) ECHO_N= ECHO_C='
4621
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4622
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4625
if expr a : '\(a\)' >/dev/null 2>&1; then
4631
rm -f conf$$ conf$$.exe conf$$.file
4633
if ln -s conf$$.file conf$$ 2>/dev/null; then
4634
# We could just check for DJGPP; but this test a) works b) is more generic
4635
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4636
if test -f conf$$.exe; then
4637
# Don't use ln at all; we don't have any links
4642
elif ln conf$$.file conf$$ 2>/dev/null; then
4647
rm -f conf$$ conf$$.exe conf$$.file
4649
if mkdir -p . 2>/dev/null; then
4655
as_executable_p="test -f"
4657
# Sed expression to map a string onto a valid CPP name.
4658
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4660
# Sed expression to map a string onto a valid variable name.
4661
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4665
# We need space, tab and new line, in precisely that order.
4675
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4676
# report actual input values of CONFIG_FILES etc. instead of their
4677
# values after options handling. Logging --version etc. is OK.
4681
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4682
## Running $as_me. ##
4687
This file was extended by $as_me, which was
4688
generated by GNU Autoconf 2.57. Invocation command line was
4690
CONFIG_FILES = $CONFIG_FILES
4691
CONFIG_HEADERS = $CONFIG_HEADERS
4692
CONFIG_LINKS = $CONFIG_LINKS
4693
CONFIG_COMMANDS = $CONFIG_COMMANDS
4697
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4701
# Files that config.status was made for.
4702
if test -n "$ac_config_files"; then
4703
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4706
if test -n "$ac_config_headers"; then
4707
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4710
if test -n "$ac_config_links"; then
4711
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4714
if test -n "$ac_config_commands"; then
4715
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4718
cat >>$CONFIG_STATUS <<\_ACEOF
4721
\`$as_me' instantiates files from templates according to the
4722
current configuration.
4724
Usage: $0 [OPTIONS] [FILE]...
4726
-h, --help print this help, then exit
4727
-V, --version print version number, then exit
4728
-q, --quiet do not print progress messages
4729
-d, --debug don't remove temporary files
4730
--recheck update $as_me by reconfiguring in the same conditions
4731
--file=FILE[:TEMPLATE]
4732
instantiate the configuration file FILE
4734
Configuration files:
4737
Configuration commands:
4740
Report bugs to <bug-autoconf@gnu.org>."
4743
cat >>$CONFIG_STATUS <<_ACEOF
4746
configured by $0, generated by GNU Autoconf 2.57,
4747
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4749
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4750
Free Software Foundation, Inc.
4751
This config.status script is free software; the Free Software Foundation
4752
gives unlimited permission to copy, distribute and modify it."
4757
cat >>$CONFIG_STATUS <<\_ACEOF
4758
# If no file are specified by the user, then we need to provide default
4759
# value. By we need to know if files were specified by the user.
4765
ac_option=`expr "x$1" : 'x\([^=]*\)='`
4766
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4774
*) # This is not an option, so the user has probably given explicit
4777
ac_need_defaults=false;;
4781
# Handling of the options.
4783
cat >>$CONFIG_STATUS <<\_ACEOF
1897
4784
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1898
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1899
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1900
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1901
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1903
-help | --help | --hel | --he | --h)
1904
echo "\$ac_cs_usage"; exit 0 ;;
1905
*) echo "\$ac_cs_usage"; exit 1 ;;
1909
ac_given_srcdir=$srcdir
1910
ac_given_INSTALL="$INSTALL"
1912
trap 'rm -fr `echo "
1918
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1920
cat >> $CONFIG_STATUS <<EOF
1922
# Protect against being on the right side of a sed subst in config.status.
1923
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1924
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1928
s%@CFLAGS@%$CFLAGS%g
1929
s%@CPPFLAGS@%$CPPFLAGS%g
1930
s%@CXXFLAGS@%$CXXFLAGS%g
1931
s%@FFLAGS@%$FFLAGS%g
1933
s%@LDFLAGS@%$LDFLAGS%g
1935
s%@exec_prefix@%$exec_prefix%g
1936
s%@prefix@%$prefix%g
1937
s%@program_transform_name@%$program_transform_name%g
1938
s%@bindir@%$bindir%g
1939
s%@sbindir@%$sbindir%g
1940
s%@libexecdir@%$libexecdir%g
1941
s%@datadir@%$datadir%g
1942
s%@sysconfdir@%$sysconfdir%g
1943
s%@sharedstatedir@%$sharedstatedir%g
1944
s%@localstatedir@%$localstatedir%g
1945
s%@libdir@%$libdir%g
1946
s%@includedir@%$includedir%g
1947
s%@oldincludedir@%$oldincludedir%g
1948
s%@infodir@%$infodir%g
1949
s%@mandir@%$mandir%g
1950
s%@MIXER_INCLUDED_TRUE@%$MIXER_INCLUDED_TRUE%g
1951
s%@MIXER_INCLUDED_FALSE@%$MIXER_INCLUDED_FALSE%g
1952
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1953
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1954
s%@INSTALL_DATA@%$INSTALL_DATA%g
1955
s%@PACKAGE@%$PACKAGE%g
1956
s%@VERSION@%$VERSION%g
1957
s%@ACLOCAL@%$ACLOCAL%g
1958
s%@AUTOCONF@%$AUTOCONF%g
1959
s%@AUTOMAKE@%$AUTOMAKE%g
1960
s%@AUTOHEADER@%$AUTOHEADER%g
1961
s%@MAKEINFO@%$MAKEINFO%g
1962
s%@SET_MAKE@%$SET_MAKE%g
1964
s%@host_alias@%$host_alias%g
1965
s%@host_cpu@%$host_cpu%g
1966
s%@host_vendor@%$host_vendor%g
1967
s%@host_os@%$host_os%g
1968
s%@target@%$target%g
1969
s%@target_alias@%$target_alias%g
1970
s%@target_cpu@%$target_cpu%g
1971
s%@target_vendor@%$target_vendor%g
1972
s%@target_os@%$target_os%g
1974
s%@RANLIB@%$RANLIB%g
1975
s%@MATHLIB@%$MATHLIB%g
1976
s%@SDL_CONFIG@%$SDL_CONFIG%g
1977
s%@SDL_CFLAGS@%$SDL_CFLAGS%g
1978
s%@SDL_LIBS@%$SDL_LIBS%g
4786
--version | --vers* | -V )
4787
echo "$ac_cs_version"; exit 0 ;;
4789
# Conflict between --help and --header
4790
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
4791
Try \`$0 --help' for more information." >&5
4792
echo "$as_me: error: ambiguous option: $1
4793
Try \`$0 --help' for more information." >&2;}
4794
{ (exit 1); exit 1; }; };;
4795
--help | --hel | -h )
4796
echo "$ac_cs_usage"; exit 0 ;;
4797
--debug | --d* | -d )
4799
--file | --fil | --fi | --f )
4801
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4802
ac_need_defaults=false;;
4803
--header | --heade | --head | --hea )
4805
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4806
ac_need_defaults=false;;
4807
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4808
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4812
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4813
Try \`$0 --help' for more information." >&5
4814
echo "$as_me: error: unrecognized option: $1
4815
Try \`$0 --help' for more information." >&2;}
4816
{ (exit 1); exit 1; }; } ;;
4818
*) ac_config_targets="$ac_config_targets $1" ;;
4824
ac_configure_extra_args=
4826
if $ac_cs_silent; then
4828
ac_configure_extra_args="$ac_configure_extra_args --silent"
4832
cat >>$CONFIG_STATUS <<_ACEOF
4833
if \$ac_cs_recheck; then
4834
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4835
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4840
cat >>$CONFIG_STATUS <<_ACEOF
4842
# INIT-COMMANDS section.
4845
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4851
cat >>$CONFIG_STATUS <<\_ACEOF
4852
for ac_config_target in $ac_config_targets
4854
case "$ac_config_target" in
4855
# Handling of arguments.
4856
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4857
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4858
"data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
4859
"data/gfx/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/gfx/Makefile" ;;
4860
"data/sound/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/sound/Makefile" ;;
4861
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4862
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4863
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4864
{ (exit 1); exit 1; }; };;
4868
# If the user did not use the arguments to specify the items to instantiate,
4869
# then the envvar interface is used. Set only those that are not.
4870
# We use the long form for the default assignment because of an extremely
4871
# bizarre bug on SunOS 4.1.3.
4872
if $ac_need_defaults; then
4873
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4874
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4877
# Have a temporary directory for convenience. Make it in the build tree
4878
# simply because there is no reason to put it here, and in addition,
4879
# creating and moving files from /tmp can sometimes cause problems.
4880
# Create a temporary directory, and hook for its removal unless debugging.
4883
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4884
trap '{ (exit 1); exit 1; }' 1 2 13 15
4887
# Create a (secure) tmp directory for tmp files.
4890
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4891
test -n "$tmp" && test -d "$tmp"
4894
tmp=./confstat$$-$RANDOM
4895
(umask 077 && mkdir $tmp)
4898
echo "$me: cannot create a temporary directory in ." >&2
4899
{ (exit 1); exit 1; }
4904
cat >>$CONFIG_STATUS <<_ACEOF
4907
# CONFIG_FILES section.
4910
# No need to generate the scripts if there are no CONFIG_FILES.
4911
# This happens for instance when ./config.status config.h
4912
if test -n "\$CONFIG_FILES"; then
4913
# Protect against being on the right side of a sed subst in config.status.
4914
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4915
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4916
s,@SHELL@,$SHELL,;t t
4917
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4918
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4919
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4920
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4921
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4922
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4923
s,@exec_prefix@,$exec_prefix,;t t
4924
s,@prefix@,$prefix,;t t
4925
s,@program_transform_name@,$program_transform_name,;t t
4926
s,@bindir@,$bindir,;t t
4927
s,@sbindir@,$sbindir,;t t
4928
s,@libexecdir@,$libexecdir,;t t
4929
s,@datadir@,$datadir,;t t
4930
s,@sysconfdir@,$sysconfdir,;t t
4931
s,@sharedstatedir@,$sharedstatedir,;t t
4932
s,@localstatedir@,$localstatedir,;t t
4933
s,@libdir@,$libdir,;t t
4934
s,@includedir@,$includedir,;t t
4935
s,@oldincludedir@,$oldincludedir,;t t
4936
s,@infodir@,$infodir,;t t
4937
s,@mandir@,$mandir,;t t
4938
s,@build_alias@,$build_alias,;t t
4939
s,@host_alias@,$host_alias,;t t
4940
s,@target_alias@,$target_alias,;t t
4942
s,@ECHO_C@,$ECHO_C,;t t
4943
s,@ECHO_N@,$ECHO_N,;t t
4944
s,@ECHO_T@,$ECHO_T,;t t
4946
s,@MIXER_INCLUDED_TRUE@,$MIXER_INCLUDED_TRUE,;t t
4947
s,@MIXER_INCLUDED_FALSE@,$MIXER_INCLUDED_FALSE,;t t
4948
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4949
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4950
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4951
s,@PACKAGE@,$PACKAGE,;t t
4952
s,@VERSION@,$VERSION,;t t
4953
s,@ACLOCAL@,$ACLOCAL,;t t
4954
s,@AUTOCONF@,$AUTOCONF,;t t
4955
s,@AUTOMAKE@,$AUTOMAKE,;t t
4956
s,@AUTOHEADER@,$AUTOHEADER,;t t
4957
s,@MAKEINFO@,$MAKEINFO,;t t
4958
s,@AMTAR@,$AMTAR,;t t
4959
s,@install_sh@,$install_sh,;t t
4960
s,@STRIP@,$STRIP,;t t
4961
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4962
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4964
s,@SET_MAKE@,$SET_MAKE,;t t
4965
s,@build@,$build,;t t
4966
s,@build_cpu@,$build_cpu,;t t
4967
s,@build_vendor@,$build_vendor,;t t
4968
s,@build_os@,$build_os,;t t
4970
s,@host_cpu@,$host_cpu,;t t
4971
s,@host_vendor@,$host_vendor,;t t
4972
s,@host_os@,$host_os,;t t
4973
s,@target@,$target,;t t
4974
s,@target_cpu@,$target_cpu,;t t
4975
s,@target_vendor@,$target_vendor,;t t
4976
s,@target_os@,$target_os,;t t
4978
s,@CFLAGS@,$CFLAGS,;t t
4979
s,@LDFLAGS@,$LDFLAGS,;t t
4980
s,@CPPFLAGS@,$CPPFLAGS,;t t
4981
s,@ac_ct_CC@,$ac_ct_CC,;t t
4982
s,@EXEEXT@,$EXEEXT,;t t
4983
s,@OBJEXT@,$OBJEXT,;t t
4984
s,@DEPDIR@,$DEPDIR,;t t
4985
s,@am__include@,$am__include,;t t
4986
s,@am__quote@,$am__quote,;t t
4987
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4988
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4989
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4990
s,@CCDEPMODE@,$CCDEPMODE,;t t
4991
s,@RANLIB@,$RANLIB,;t t
4992
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4993
s,@MATHLIB@,$MATHLIB,;t t
4994
s,@SDL_CONFIG@,$SDL_CONFIG,;t t
4995
s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
4996
s,@SDL_LIBS@,$SDL_LIBS,;t t
4998
s,@EGREP@,$EGREP,;t t
4999
s,@LIBOBJS@,$LIBOBJS,;t t
5000
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1984
cat >> $CONFIG_STATUS <<\EOF
1986
# Split the substitutions into bite-sized pieces for seds with
1987
# small command number limits, like on Digital OSF/1 and HP-UX.
1988
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1989
ac_file=1 # Number of current file.
1990
ac_beg=1 # First line for current file.
1991
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1994
while $ac_more_lines; do
1995
if test $ac_beg -gt 1; then
1996
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1998
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2000
if test ! -s conftest.s$ac_file; then
2002
rm -f conftest.s$ac_file
2004
if test -z "$ac_sed_cmds"; then
2005
ac_sed_cmds="sed -f conftest.s$ac_file"
2007
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2009
ac_file=`expr $ac_file + 1`
2011
ac_end=`expr $ac_end + $ac_max_sed_cmds`
2014
if test -z "$ac_sed_cmds"; then
2019
cat >> $CONFIG_STATUS <<EOF
2021
CONFIG_FILES=\${CONFIG_FILES-"Makefile
2028
cat >> $CONFIG_STATUS <<\EOF
2029
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
5005
cat >>$CONFIG_STATUS <<\_ACEOF
5006
# Split the substitutions into bite-sized pieces for seds with
5007
# small command number limits, like on Digital OSF/1 and HP-UX.
5009
ac_sed_frag=1 # Number of current file.
5010
ac_beg=1 # First line for current file.
5011
ac_end=$ac_max_sed_lines # Line after last line for current file.
5014
while $ac_more_lines; do
5015
if test $ac_beg -gt 1; then
5016
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5018
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5020
if test ! -s $tmp/subs.frag; then
5023
# The purpose of the label and of the branching condition is to
5024
# speed up the sed processing (if there are no `@' at all, there
5025
# is no need to browse any of the substitutions).
5026
# These are the two extra sed commands mentioned above.
5028
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5029
if test -z "$ac_sed_cmds"; then
5030
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5032
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5034
ac_sed_frag=`expr $ac_sed_frag + 1`
5036
ac_end=`expr $ac_end + $ac_max_sed_lines`
5039
if test -z "$ac_sed_cmds"; then
5042
fi # test -n "$CONFIG_FILES"
5045
cat >>$CONFIG_STATUS <<\_ACEOF
5046
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2030
5047
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2032
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2033
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2034
*) ac_file_in="${ac_file}.in" ;;
2037
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2039
# Remove last slash and all that follows it. Not all systems have dirname.
2040
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2041
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2042
# The file is in a subdirectory.
2043
test ! -d "$ac_dir" && mkdir "$ac_dir"
2044
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2045
# A "../" for each directory in $ac_dir_suffix.
2046
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2048
ac_dir_suffix= ac_dots=
2051
case "$ac_given_srcdir" in
2053
if test -z "$ac_dots"; then top_srcdir=.
2054
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2055
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2057
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2058
top_srcdir="$ac_dots$ac_given_srcdir" ;;
2061
case "$ac_given_INSTALL" in
2062
[/$]*) INSTALL="$ac_given_INSTALL" ;;
2063
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2066
echo creating "$ac_file"
2068
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2070
*Makefile*) ac_comsub="1i\\
2071
# $configure_input" ;;
2075
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2077
s%@configure_input@%$configure_input%g
2078
s%@srcdir@%$srcdir%g
2079
s%@top_srcdir@%$top_srcdir%g
2080
s%@INSTALL@%$INSTALL%g
2081
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2086
cat >> $CONFIG_STATUS <<EOF
2089
cat >> $CONFIG_STATUS <<\EOF
5049
- | *:- | *:-:* ) # input from stdin
5051
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5052
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5053
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5054
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5055
* ) ac_file_in=$ac_file.in ;;
5058
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5059
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5060
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5061
X"$ac_file" : 'X\(//\)[^/]' \| \
5062
X"$ac_file" : 'X\(//\)$' \| \
5063
X"$ac_file" : 'X\(/\)' \| \
5064
. : '\(.\)' 2>/dev/null ||
5066
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5067
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5068
/^X\(\/\/\)$/{ s//\1/; q; }
5069
/^X\(\/\).*/{ s//\1/; q; }
5071
{ if $as_mkdir_p; then
5076
while test ! -d "$as_dir"; do
5077
as_dirs="$as_dir $as_dirs"
5078
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5079
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5080
X"$as_dir" : 'X\(//\)[^/]' \| \
5081
X"$as_dir" : 'X\(//\)$' \| \
5082
X"$as_dir" : 'X\(/\)' \| \
5083
. : '\(.\)' 2>/dev/null ||
5085
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5086
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5087
/^X\(\/\/\)$/{ s//\1/; q; }
5088
/^X\(\/\).*/{ s//\1/; q; }
5091
test ! -n "$as_dirs" || mkdir $as_dirs
5092
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5093
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5094
{ (exit 1); exit 1; }; }; }
5098
if test "$ac_dir" != .; then
5099
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5100
# A "../" for each directory in $ac_dir_suffix.
5101
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5103
ac_dir_suffix= ac_top_builddir=
5107
.) # No --srcdir option. We are building in place.
5109
if test -z "$ac_top_builddir"; then
5112
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5114
[\\/]* | ?:[\\/]* ) # Absolute path.
5115
ac_srcdir=$srcdir$ac_dir_suffix;
5116
ac_top_srcdir=$srcdir ;;
5118
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5119
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5121
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5123
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5124
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5125
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5126
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5130
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5131
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5134
if test x"$ac_file" != x-; then
5135
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5136
echo "$as_me: creating $ac_file" >&6;}
5139
# Let's still pretend it is `configure' which instantiates (i.e., don't
5140
# use $as_me), people would be surprised to read:
5141
# /* config.h. Generated by config.status. */
5142
if test x"$ac_file" = x-; then
5145
configure_input="$ac_file. "
5147
configure_input=$configure_input"Generated from `echo $ac_file_in |
5148
sed 's,.*/,,'` by configure."
5150
# First look for the input files in the build tree, otherwise in the
5152
ac_file_inputs=`IFS=:
5153
for f in $ac_file_in; do
5155
-) echo $tmp/stdin ;;
5157
# Absolute (can't be DOS-style, as IFS=:)
5158
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5159
echo "$as_me: error: cannot find input file: $f" >&2;}
5160
{ (exit 1); exit 1; }; }
5163
if test -f "$f"; then
5166
elif test -f "$srcdir/$f"; then
5171
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5172
echo "$as_me: error: cannot find input file: $f" >&2;}
5173
{ (exit 1); exit 1; }; }
5176
done` || { (exit 1); exit 1; }
5178
cat >>$CONFIG_STATUS <<_ACEOF
5182
cat >>$CONFIG_STATUS <<\_ACEOF
5184
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5185
s,@configure_input@,$configure_input,;t t
5186
s,@srcdir@,$ac_srcdir,;t t
5187
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5188
s,@top_srcdir@,$ac_top_srcdir,;t t
5189
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5190
s,@builddir@,$ac_builddir,;t t
5191
s,@abs_builddir@,$ac_abs_builddir,;t t
5192
s,@top_builddir@,$ac_top_builddir,;t t
5193
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5194
s,@INSTALL@,$ac_INSTALL,;t t
5195
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5197
if test x"$ac_file" != x-; then
5198
mv $tmp/out $ac_file
5206
cat >>$CONFIG_STATUS <<\_ACEOF
5209
# CONFIG_COMMANDS section.
5211
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5212
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5213
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5214
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5215
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5216
X"$ac_dest" : 'X\(//\)[^/]' \| \
5217
X"$ac_dest" : 'X\(//\)$' \| \
5218
X"$ac_dest" : 'X\(/\)' \| \
5219
. : '\(.\)' 2>/dev/null ||
5221
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5222
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5223
/^X\(\/\/\)$/{ s//\1/; q; }
5224
/^X\(\/\).*/{ s//\1/; q; }
5228
if test "$ac_dir" != .; then
5229
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5230
# A "../" for each directory in $ac_dir_suffix.
5231
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5233
ac_dir_suffix= ac_top_builddir=
5237
.) # No --srcdir option. We are building in place.
5239
if test -z "$ac_top_builddir"; then
5242
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5244
[\\/]* | ?:[\\/]* ) # Absolute path.
5245
ac_srcdir=$srcdir$ac_dir_suffix;
5246
ac_top_srcdir=$srcdir ;;
5248
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5249
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5251
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5253
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5254
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5255
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5256
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5259
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5260
echo "$as_me: executing $ac_dest commands" >&6;}
5262
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5263
# Strip MF so we end up with the name of the file.
5264
mf=`echo "$mf" | sed -e 's/:.*$//'`
5265
# Check whether this is an Automake generated Makefile or not.
5266
# We used to match only the files named `Makefile.in', but
5267
# some people rename them; so instead we look at the file content.
5268
# Grep'ing the first line is not enough: some people post-process
5269
# each Makefile.in and add a new line on top of each file to say so.
5270
# So let's grep whole file.
5271
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5272
dirpart=`(dirname "$mf") 2>/dev/null ||
5273
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5274
X"$mf" : 'X\(//\)[^/]' \| \
5275
X"$mf" : 'X\(//\)$' \| \
5276
X"$mf" : 'X\(/\)' \| \
5277
. : '\(.\)' 2>/dev/null ||
5279
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5280
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5281
/^X\(\/\/\)$/{ s//\1/; q; }
5282
/^X\(\/\).*/{ s//\1/; q; }
5287
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5288
# Extract the definition of DEP_FILES from the Makefile without
5290
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5291
test -z "$DEPDIR" && continue
5292
# When using ansi2knr, U may be empty or an underscore; expand it
5293
U=`sed -n -e '/^U = / s///p' < "$mf"`
5294
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5295
# We invoke sed twice because it is the simplest approach to
5296
# changing $(DEPDIR) to its actual value in the expansion.
5297
for file in `sed -n -e '
5298
/^DEP_FILES = .*\\\\$/ {
5307
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5308
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5309
# Make sure the directory exists.
5310
test -f "$dirpart/$file" && continue
5311
fdir=`(dirname "$file") 2>/dev/null ||
5312
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5313
X"$file" : 'X\(//\)[^/]' \| \
5314
X"$file" : 'X\(//\)$' \| \
5315
X"$file" : 'X\(/\)' \| \
5316
. : '\(.\)' 2>/dev/null ||
5318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5319
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5320
/^X\(\/\/\)$/{ s//\1/; q; }
5321
/^X\(\/\).*/{ s//\1/; q; }
5323
{ if $as_mkdir_p; then
5324
mkdir -p $dirpart/$fdir
5326
as_dir=$dirpart/$fdir
5328
while test ! -d "$as_dir"; do
5329
as_dirs="$as_dir $as_dirs"
5330
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5331
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5332
X"$as_dir" : 'X\(//\)[^/]' \| \
5333
X"$as_dir" : 'X\(//\)$' \| \
5334
X"$as_dir" : 'X\(/\)' \| \
5335
. : '\(.\)' 2>/dev/null ||
5337
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5338
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5339
/^X\(\/\/\)$/{ s//\1/; q; }
5340
/^X\(\/\).*/{ s//\1/; q; }
5343
test ! -n "$as_dirs" || mkdir $as_dirs
5344
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5345
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5346
{ (exit 1); exit 1; }; }; }
5348
# echo "creating $dirpart/$file"
5349
echo '# dummy' > "$dirpart/$file"
5357
cat >>$CONFIG_STATUS <<\_ACEOF
5359
{ (exit 0); exit 0; }
2093
5361
chmod +x $CONFIG_STATUS
2094
rm -fr confdefs* $ac_clean_files
2095
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
5362
ac_clean_files=$ac_clean_files_save
5365
# configure is writing to config.log, and then calls config.status.
5366
# config.status does its own redirection, appending to config.log.
5367
# Unfortunately, on DOS this fails, as config.log is still kept open
5368
# by configure, so config.status won't be able to write to it; its
5369
# output is simply discarded. So we exec the FD to /dev/null,
5370
# effectively closing config.log, so it can be properly (re)opened and
5371
# appended to by config.status. When coming back to configure, we
5372
# need to make the FD available again.
5373
if test "$no_create" != yes; then
5375
ac_config_status_args=
5376
test "$silent" = yes &&
5377
ac_config_status_args="$ac_config_status_args --quiet"
5379
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5381
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5382
# would make configure fail if this is the last instruction.
5383
$ac_cs_success || { (exit 1); exit 1; }