ref: f2292afacba3a4eee3566d263cd15cccc950abc0
parent: 8d9152cdfaaed75294921205d8f8ffe21702ac96
author: cbagwell <cbagwell>
date: Sun Mar 24 20:21:40 EST 2002
Adding gsm lib install rule. Fix closing of files. Fix mp3 library variables in configure.
--- a/Changelog
+++ b/Changelog
@@ -6,6 +6,15 @@
sox-12.17.4
-----------
+ o Peter Nyhlen fixed a problem with reading Comments in Ogg Vorbis files.
+ o Added install target to allow installing libgsm from main Makefile
+ (Leigh Smith).
+ o Minor updates to sox.c to free unused memory and close all input
+ files during failures.
+ o Pieter Krul added a patch that makes play script look at AUDIODEV
+ environment variable if it exists to find which device to use.
+ This allows scripts to work with Solaris SunRays and is a good idea
+ in general.
o Updated config.sub to detect latest supported OS's.
o Fabrizio Gennari added support for reading and writing
MP3 files using the external libraries libmad and libmp3lame.
--- a/configure
+++ b/configure
@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.in 1.3.
# Guess values for system-dependent variables and create Makefiles.
-# Generated by Autoconf 2.52.
+# Generated by Autoconf 2.52d.
#
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
@@ -21,6 +21,10 @@
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
+
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
@@ -554,10 +558,10 @@
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
- { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
{ (exit 1); exit 1; }; }
else
- { echo "$as_me: error: cannot find sources in $srcdir" >&2
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
{ (exit 1); exit 1; }; }
fi
fi
@@ -601,7 +605,7 @@
if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
- cat <<EOF
+ cat <<_ACEOF
\`configure' configures this package to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -622,9 +626,9 @@
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or \`..']
-EOF
+_ACEOF
- cat <<EOF
+ cat <<_ACEOF
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[$ac_default_prefix]
@@ -651,20 +655,20 @@
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
-EOF
+_ACEOF
- cat <<\EOF
+ cat <<\_ACEOF
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
-EOF
+_ACEOF
fi
if test -n "$ac_init_help"; then
- cat <<\EOF
+ cat <<\_ACEOF
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
@@ -699,40 +703,51 @@
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-EOF
+_ACEOF
fi
if test "$ac_init_help" = "recursive"; then
# If there are subdirs, report their specific --help.
ac_popdir=`pwd`
- for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
- cd $ac_subdir
- # A "../" for each directory in /$ac_subdir.
- ac_dots=`echo $ac_subdir |
- sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ cd $ac_dir
+ if test "$ac_dir" != .; then
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
+ # A "../" for each directory in $ac_dir_suffix.
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
+else
+ ac_dir_suffix= ac_top_builddir=
+fi
- case $srcdir in
- .) # No --srcdir option. We are building in place.
- ac_sub_srcdir=$srcdir ;;
- [\\/]* | ?:[\\/]* ) # Absolute path.
- ac_sub_srcdir=$srcdir/$ac_subdir ;;
- *) # Relative path.
- ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
- esac
+case $srcdir in
+ .) # No --srcdir option. We are building in place.
+ ac_srcdir=.
+ if test -z "$ac_top_builddir"; then
+ ac_top_srcdir=.
+ else
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
+ fi ;;
+ [\\/]* | ?:[\\/]* ) # Absolute path.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir ;;
+ *) # Relative path.
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
+esac
# Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_sub_srcdir/configure.gnu; then
+ if test -f $ac_srcdir/configure.gnu; then
echo
- $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
- elif test -f $ac_sub_srcdir/configure; then
+ $SHELL $ac_srcdir/configure.gnu --help=recursive
+ elif test -f $ac_srcdir/configure; then
echo
- $SHELL $ac_sub_srcdir/configure --help=recursive
- elif test -f $ac_sub_srcdir/configure.ac ||
- test -f $ac_sub_srcdir/configure.in; then
+ $SHELL $ac_srcdir/configure --help=recursive
+ elif test -f $ac_srcdir/configure.ac ||
+ test -f $ac_srcdir/configure.in; then
echo
$ac_configure --help
else
- echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi
cd $ac_popdir
done
@@ -740,31 +755,31 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
- cat <<\EOF
+ cat <<\_ACEOF
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
-EOF
+_ACEOF
exit 0
fi
exec 5>config.log
-cat >&5 <<EOF
+cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by $as_me, which was
-generated by GNU Autoconf 2.52. Invocation command line was
+generated by GNU Autoconf 2.52d. Invocation command line was
$ $0 $@
-EOF
+_ACEOF
{
cat <<_ASUNAME
-## ---------- ##
-## Platform. ##
-## ---------- ##
+## --------- ##
+## Platform. ##
+## --------- ##
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
@@ -788,12 +803,12 @@
_ASUNAME
} >&5
-cat >&5 <<EOF
-## ------------ ##
-## Core tests. ##
-## ------------ ##
+cat >&5 <<_ACEOF
+## ----------- ##
+## Core tests. ##
+## ----------- ##
-EOF
+_ACEOF
# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
@@ -820,14 +835,19 @@
# When interrupted or exit'd, cleanup temporary files, and complete
# config.log. We remove comments because anyway the quotes in there
# would cause problems or look ugly.
+# WARNING: Be sure not to use single quotes in there, as some shells,
+# such as our DU 5.0 friend, will then `close' the trap.
trap 'exit_status=$?
# Save into config.log some information that might help in debugging.
- echo >&5
- echo "## ----------------- ##" >&5
- echo "## Cache variables. ##" >&5
- echo "## ----------------- ##" >&5
- echo >&5
- # The following way of writing the cache mishandles newlines in values,
+ {
+ echo
+ cat <<\_ASBOX
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+_ASBOX
+ echo
+ # The following way of writing the cache mishandles newlines in values,
{
(set) 2>&1 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
@@ -841,20 +861,22 @@
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
;;
esac;
-} >&5
- sed "/^$/d" confdefs.h >conftest.log
- if test -s conftest.log; then
- echo >&5
- echo "## ------------ ##" >&5
- echo "## confdefs.h. ##" >&5
- echo "## ------------ ##" >&5
- echo >&5
- cat conftest.log >&5
- fi
- (echo; echo) >&5
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal" >&5
- echo "$as_me: exit $exit_status" >&5
+}
+ echo
+ if test -s confdefs.h; then
+ cat <<\_ASBOX
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+_ASBOX
+ echo
+ sed "/^$/d" confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ echo "$as_me: caught signal $ac_signal"
+ echo "$as_me: exit $exit_status"
+ } >&5
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
exit $exit_status
' 0
@@ -879,9 +901,9 @@
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
- { echo "$as_me:882: loading site script $ac_site_file" >&5
+ { echo "$as_me:904: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
- cat "$ac_site_file" >&5
+ sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file"
fi
done
@@ -890,7 +912,7 @@
# Some versions of bash will fail to source /dev/null (special
# files actually), so we avoid doing that.
if test -f "$cache_file"; then
- { echo "$as_me:893: loading cache $cache_file" >&5
+ { echo "$as_me:915: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . $cache_file;;
@@ -898,7 +920,7 @@
esac
fi
else
- { echo "$as_me:901: creating cache $cache_file" >&5
+ { echo "$as_me:923: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
@@ -914,21 +936,21 @@
eval ac_new_val="\$ac_env_${ac_var}_value"
case $ac_old_set,$ac_new_set in
set,)
- { echo "$as_me:917: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+ { echo "$as_me:939: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
ac_cache_corrupted=: ;;
,set)
- { echo "$as_me:921: error: \`$ac_var' was not set in the previous run" >&5
+ { echo "$as_me:943: error: \`$ac_var' was not set in the previous run" >&5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
ac_cache_corrupted=: ;;
,);;
*)
if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:927: error: \`$ac_var' has changed since the previous run:" >&5
+ { echo "$as_me:949: error: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:929: former value: $ac_old_val" >&5
+ { echo "$as_me:951: former value: $ac_old_val" >&5
echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:931: current value: $ac_new_val" >&5
+ { echo "$as_me:953: current value: $ac_new_val" >&5
echo "$as_me: current value: $ac_new_val" >&2;}
ac_cache_corrupted=:
fi;;
@@ -947,9 +969,9 @@
fi
done
if $ac_cache_corrupted; then
- { echo "$as_me:950: error: changes in the environment can compromise the build" >&5
+ { echo "$as_me:972: error: changes in the environment can compromise the build" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:952: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+ { { echo "$as_me:974: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
{ (exit 1); exit 1; }; }
fi
@@ -969,10 +991,10 @@
echo "#! $SHELL" >conftest.sh
echo "exit 0" >>conftest.sh
chmod +x conftest.sh
-if { (echo "$as_me:972: PATH=\".;.\"; conftest.sh") >&5
+if { (echo "$as_me:994: PATH=\".;.\"; conftest.sh") >&5
(PATH=".;."; conftest.sh) 2>&5
ac_status=$?
- echo "$as_me:975: \$? = $ac_status" >&5
+ echo "$as_me:997: \$? = $ac_status" >&5
(exit $ac_status); }; then
ac_path_separator=';'
else
@@ -1091,7 +1113,7 @@
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
-echo "$as_me:1094: checking for $ac_word" >&5
+echo "$as_me:1116: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1106,7 +1128,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}gcc"
-echo "$as_me:1109: found $ac_dir/$ac_word" >&5
+echo "$as_me:1131: found $ac_dir/$ac_word" >&5
break
done
@@ -1114,10 +1136,10 @@
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$as_me:1117: result: $CC" >&5
+ echo "$as_me:1139: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
- echo "$as_me:1120: result: no" >&5
+ echo "$as_me:1142: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1126,7 +1148,7 @@
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
-echo "$as_me:1129: checking for $ac_word" >&5
+echo "$as_me:1151: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1141,7 +1163,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="gcc"
-echo "$as_me:1144: found $ac_dir/$ac_word" >&5
+echo "$as_me:1166: found $ac_dir/$ac_word" >&5
break
done
@@ -1149,10 +1171,10 @@
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- echo "$as_me:1152: result: $ac_ct_CC" >&5
+ echo "$as_me:1174: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
- echo "$as_me:1155: result: no" >&5
+ echo "$as_me:1177: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1165,7 +1187,7 @@
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
-echo "$as_me:1168: checking for $ac_word" >&5
+echo "$as_me:1190: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1180,7 +1202,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}cc"
-echo "$as_me:1183: found $ac_dir/$ac_word" >&5
+echo "$as_me:1205: found $ac_dir/$ac_word" >&5
break
done
@@ -1188,10 +1210,10 @@
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$as_me:1191: result: $CC" >&5
+ echo "$as_me:1213: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
- echo "$as_me:1194: result: no" >&5
+ echo "$as_me:1216: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1200,7 +1222,7 @@
ac_ct_CC=$CC
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
-echo "$as_me:1203: checking for $ac_word" >&5
+echo "$as_me:1225: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1215,7 +1237,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="cc"
-echo "$as_me:1218: found $ac_dir/$ac_word" >&5
+echo "$as_me:1240: found $ac_dir/$ac_word" >&5
break
done
@@ -1223,10 +1245,10 @@
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- echo "$as_me:1226: result: $ac_ct_CC" >&5
+ echo "$as_me:1248: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
- echo "$as_me:1229: result: no" >&5
+ echo "$as_me:1251: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1239,7 +1261,7 @@
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
-echo "$as_me:1242: checking for $ac_word" >&5
+echo "$as_me:1264: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1259,7 +1281,7 @@
continue
fi
ac_cv_prog_CC="cc"
-echo "$as_me:1262: found $ac_dir/$ac_word" >&5
+echo "$as_me:1284: found $ac_dir/$ac_word" >&5
break
done
@@ -1281,10 +1303,10 @@
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$as_me:1284: result: $CC" >&5
+ echo "$as_me:1306: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
- echo "$as_me:1287: result: no" >&5
+ echo "$as_me:1309: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1295,7 +1317,7 @@
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-echo "$as_me:1298: checking for $ac_word" >&5
+echo "$as_me:1320: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1310,7 +1332,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
-echo "$as_me:1313: found $ac_dir/$ac_word" >&5
+echo "$as_me:1335: found $ac_dir/$ac_word" >&5
break
done
@@ -1318,10 +1340,10 @@
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$as_me:1321: result: $CC" >&5
+ echo "$as_me:1343: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
- echo "$as_me:1324: result: no" >&5
+ echo "$as_me:1346: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1334,7 +1356,7 @@
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-echo "$as_me:1337: checking for $ac_word" >&5
+echo "$as_me:1359: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1349,7 +1371,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="$ac_prog"
-echo "$as_me:1352: found $ac_dir/$ac_word" >&5
+echo "$as_me:1374: found $ac_dir/$ac_word" >&5
break
done
@@ -1357,10 +1379,10 @@
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- echo "$as_me:1360: result: $ac_ct_CC" >&5
+ echo "$as_me:1382: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
- echo "$as_me:1363: result: no" >&5
+ echo "$as_me:1385: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1372,34 +1394,40 @@
fi
-test -z "$CC" && { { echo "$as_me:1375: error: no acceptable cc found in \$PATH" >&5
+test -z "$CC" && { { echo "$as_me:1397: error: no acceptable cc found in \$PATH" >&5
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
{ (exit 1); exit 1; }; }
# Provide some information about the compiler.
-echo "$as_me:1380:" \
+echo "$as_me:1402:" \
"checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
-{ (eval echo "$as_me:1383: \"$ac_compiler --version </dev/null >&5\"") >&5
+{ (eval echo "$as_me:1405: \"$ac_compiler --version </dev/null >&5\"") >&5
(eval $ac_compiler --version </dev/null >&5) 2>&5
ac_status=$?
- echo "$as_me:1386: \$? = $ac_status" >&5
+ echo "$as_me:1408: \$? = $ac_status" >&5
(exit $ac_status); }
-{ (eval echo "$as_me:1388: \"$ac_compiler -v </dev/null >&5\"") >&5
+{ (eval echo "$as_me:1410: \"$ac_compiler -v </dev/null >&5\"") >&5
(eval $ac_compiler -v </dev/null >&5) 2>&5
ac_status=$?
- echo "$as_me:1391: \$? = $ac_status" >&5
+ echo "$as_me:1413: \$? = $ac_status" >&5
(exit $ac_status); }
-{ (eval echo "$as_me:1393: \"$ac_compiler -V </dev/null >&5\"") >&5
+{ (eval echo "$as_me:1415: \"$ac_compiler -V </dev/null >&5\"") >&5
(eval $ac_compiler -V </dev/null >&5) 2>&5
ac_status=$?
- echo "$as_me:1396: \$? = $ac_status" >&5
+ echo "$as_me:1418: \$? = $ac_status" >&5
(exit $ac_status); }
cat >conftest.$ac_ext <<_ACEOF
-#line 1400 "configure"
+#line 1422 "configure"
#include "confdefs.h"
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -1413,13 +1441,13 @@
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
-echo "$as_me:1416: checking for C compiler default output" >&5
+echo "$as_me:1444: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-if { (eval echo "$as_me:1419: \"$ac_link_default\"") >&5
+if { (eval echo "$as_me:1447: \"$ac_link_default\"") >&5
(eval $ac_link_default) 2>&5
ac_status=$?
- echo "$as_me:1422: \$? = $ac_status" >&5
+ echo "$as_me:1450: \$? = $ac_status" >&5
(exit $ac_status); }; then
# Find the output, starting from the most likely. This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
@@ -1428,7 +1456,7 @@
ls a.out conftest 2>/dev/null;
ls a.* conftest.* 2>/dev/null`; do
case $ac_file in
- *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
+ *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
a.out ) # We found the default executable, but exeext='' is most
# certainly right.
break;;
@@ -1442,27 +1470,27 @@
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-{ { echo "$as_me:1445: error: C compiler cannot create executables" >&5
+{ { echo "$as_me:1473: error: C compiler cannot create executables" >&5
echo "$as_me: error: C compiler cannot create executables" >&2;}
{ (exit 77); exit 77; }; }
fi
ac_exeext=$ac_cv_exeext
-echo "$as_me:1451: result: $ac_file" >&5
+echo "$as_me:1479: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
-echo "$as_me:1456: checking whether the C compiler works" >&5
+echo "$as_me:1484: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then
if { ac_try='./$ac_file'
- { (eval echo "$as_me:1462: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1490: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1465: \$? = $ac_status" >&5
+ echo "$as_me:1493: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
cross_compiling=no
else
@@ -1469,7 +1497,7 @@
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
- { { echo "$as_me:1472: error: cannot run C compiled programs.
+ { { echo "$as_me:1500: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&2;}
@@ -1477,7 +1505,7 @@
fi
fi
fi
-echo "$as_me:1480: result: yes" >&5
+echo "$as_me:1508: result: yes" >&5
echo "${ECHO_T}yes" >&6
rm -f a.out a.exe conftest$ac_cv_exeext
@@ -1484,17 +1512,17 @@
ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
-echo "$as_me:1487: checking whether we are cross compiling" >&5
+echo "$as_me:1515: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
-echo "$as_me:1489: result: $cross_compiling" >&5
+echo "$as_me:1517: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6
-echo "$as_me:1492: checking for executable suffix" >&5
+echo "$as_me:1520: checking for executable suffix" >&5
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
-if { (eval echo "$as_me:1494: \"$ac_link\"") >&5
+if { (eval echo "$as_me:1522: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:1497: \$? = $ac_status" >&5
+ echo "$as_me:1525: \$? = $ac_status" >&5
(exit $ac_status); }; then
# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
@@ -1510,27 +1538,33 @@
esac
done
else
- { { echo "$as_me:1513: error: cannot compute EXEEXT: cannot compile and link" >&5
+ { { echo "$as_me:1541: error: cannot compute EXEEXT: cannot compile and link" >&5
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest$ac_cv_exeext
-echo "$as_me:1519: result: $ac_cv_exeext" >&5
+echo "$as_me:1547: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
-echo "$as_me:1525: checking for object suffix" >&5
+echo "$as_me:1553: checking for object suffix" >&5
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1531 "configure"
+#line 1559 "configure"
#include "confdefs.h"
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -1540,10 +1574,10 @@
}
_ACEOF
rm -f conftest.o conftest.obj
-if { (eval echo "$as_me:1543: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1577: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1546: \$? = $ac_status" >&5
+ echo "$as_me:1580: \$? = $ac_status" >&5
(exit $ac_status); }; then
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
case $ac_file in
@@ -1555,7 +1589,7 @@
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-{ { echo "$as_me:1558: error: cannot compute OBJEXT: cannot compile" >&5
+{ { echo "$as_me:1592: error: cannot compute OBJEXT: cannot compile" >&5
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
{ (exit 1); exit 1; }; }
fi
@@ -1562,19 +1596,25 @@
rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
-echo "$as_me:1565: result: $ac_cv_objext" >&5
+echo "$as_me:1599: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
-echo "$as_me:1569: checking whether we are using the GNU C compiler" >&5
+echo "$as_me:1603: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
if test "${ac_cv_c_compiler_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1575 "configure"
+#line 1609 "configure"
#include "confdefs.h"
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -1587,16 +1627,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1590: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1630: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1593: \$? = $ac_status" >&5
+ echo "$as_me:1633: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1596: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1636: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1599: \$? = $ac_status" >&5
+ echo "$as_me:1639: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_compiler_gnu=yes
else
@@ -1608,21 +1648,27 @@
ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi
-echo "$as_me:1611: result: $ac_cv_c_compiler_gnu" >&5
+echo "$as_me:1651: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
CFLAGS="-g"
-echo "$as_me:1617: checking whether $CC accepts -g" >&5
+echo "$as_me:1657: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cc_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1623 "configure"
+#line 1663 "configure"
#include "confdefs.h"
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -1632,16 +1678,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1635: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1681: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1638: \$? = $ac_status" >&5
+ echo "$as_me:1684: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1641: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1687: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1644: \$? = $ac_status" >&5
+ echo "$as_me:1690: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
@@ -1651,7 +1697,7 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:1654: result: $ac_cv_prog_cc_g" >&5
+echo "$as_me:1700: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
@@ -1678,16 +1724,16 @@
#endif
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1681: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1684: \$? = $ac_status" >&5
+ echo "$as_me:1730: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1687: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1733: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1690: \$? = $ac_status" >&5
+ echo "$as_me:1736: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
for ac_declaration in \
''\
@@ -1699,10 +1745,16 @@
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF
-#line 1702 "configure"
+#line 1748 "configure"
#include "confdefs.h"
#include <stdlib.h>
$ac_declaration
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -1712,16 +1764,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1715: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1767: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1718: \$? = $ac_status" >&5
+ echo "$as_me:1770: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1721: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1773: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1724: \$? = $ac_status" >&5
+ echo "$as_me:1776: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
@@ -1731,9 +1783,15 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
-#line 1734 "configure"
+#line 1786 "configure"
#include "confdefs.h"
$ac_declaration
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -1743,16 +1801,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1746: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1804: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1749: \$? = $ac_status" >&5
+ echo "$as_me:1807: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1752: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1810: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1755: \$? = $ac_status" >&5
+ echo "$as_me:1813: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
@@ -1782,7 +1840,7 @@
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-echo "$as_me:1785: checking for $ac_word" >&5
+echo "$as_me:1843: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1797,7 +1855,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
-echo "$as_me:1800: found $ac_dir/$ac_word" >&5
+echo "$as_me:1858: found $ac_dir/$ac_word" >&5
break
done
@@ -1805,10 +1863,10 @@
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
- echo "$as_me:1808: result: $RANLIB" >&5
+ echo "$as_me:1866: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
else
- echo "$as_me:1811: result: no" >&5
+ echo "$as_me:1869: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1817,7 +1875,7 @@
ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
-echo "$as_me:1820: checking for $ac_word" >&5
+echo "$as_me:1878: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1832,7 +1890,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_RANLIB="ranlib"
-echo "$as_me:1835: found $ac_dir/$ac_word" >&5
+echo "$as_me:1893: found $ac_dir/$ac_word" >&5
break
done
@@ -1841,10 +1899,10 @@
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
- echo "$as_me:1844: result: $ac_ct_RANLIB" >&5
+ echo "$as_me:1902: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
- echo "$as_me:1847: result: no" >&5
+ echo "$as_me:1905: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1870,7 +1928,7 @@
fi
done
if test -z "$ac_aux_dir"; then
- { { echo "$as_me:1873: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+ { { echo "$as_me:1931: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
{ (exit 1); exit 1; }; }
fi
@@ -1890,7 +1948,7 @@
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
-echo "$as_me:1893: checking for a BSD compatible install" >&5
+echo "$as_me:1951: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
@@ -1939,7 +1997,7 @@
INSTALL=$ac_install_sh
fi
fi
-echo "$as_me:1942: result: $INSTALL" >&5
+echo "$as_me:2000: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -1950,14 +2008,14 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-echo "$as_me:1953: checking whether ln -s works" >&5
+echo "$as_me:2011: checking whether ln -s works" >&5
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then
- echo "$as_me:1957: result: yes" >&5
+ echo "$as_me:2015: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
- echo "$as_me:1960: result: no, using $LN_S" >&5
+ echo "$as_me:2018: result: no, using $LN_S" >&5
echo "${ECHO_T}no, using $LN_S" >&6
fi
@@ -1966,7 +2024,7 @@
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:1969: checking how to run the C preprocessor" >&5
+echo "$as_me:2027: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
@@ -1987,18 +2045,18 @@
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
-#line 1990 "configure"
+#line 2048 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
-if { (eval echo "$as_me:1995: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2053: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2001: \$? = $ac_status" >&5
+ echo "$as_me:2059: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2021,17 +2079,17 @@
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
-#line 2024 "configure"
+#line 2082 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
-if { (eval echo "$as_me:2028: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2086: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2034: \$? = $ac_status" >&5
+ echo "$as_me:2092: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2068,7 +2126,7 @@
else
ac_cv_prog_CPP=$CPP
fi
-echo "$as_me:2071: result: $CPP" >&5
+echo "$as_me:2129: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
@@ -2078,18 +2136,18 @@
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
-#line 2081 "configure"
+#line 2139 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
-if { (eval echo "$as_me:2086: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2144: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2092: \$? = $ac_status" >&5
+ echo "$as_me:2150: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2112,17 +2170,17 @@
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
-#line 2115 "configure"
+#line 2173 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
-if { (eval echo "$as_me:2119: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2177: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2125: \$? = $ac_status" >&5
+ echo "$as_me:2183: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2150,7 +2208,7 @@
if $ac_preproc_ok; then
:
else
- { { echo "$as_me:2153: error: C preprocessor \"$CPP\" fails sanity check" >&5
+ { { echo "$as_me:2211: error: C preprocessor \"$CPP\" fails sanity check" >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
{ (exit 1); exit 1; }; }
fi
@@ -2165,7 +2223,7 @@
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-echo "$as_me:2168: checking for $ac_word" >&5
+echo "$as_me:2226: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_SED+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2180,7 +2238,7 @@
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_SED="$ac_prog"
-echo "$as_me:2183: found $ac_dir/$ac_word" >&5
+echo "$as_me:2241: found $ac_dir/$ac_word" >&5
break
done
@@ -2188,10 +2246,10 @@
fi
SED=$ac_cv_prog_SED
if test -n "$SED"; then
- echo "$as_me:2191: result: $SED" >&5
+ echo "$as_me:2249: result: $SED" >&5
echo "${ECHO_T}$SED" >&6
else
- echo "$as_me:2194: result: no" >&5
+ echo "$as_me:2252: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -2200,11 +2258,11 @@
# Make sure we can run config.sub.
$ac_config_sub sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:2203: error: cannot run $ac_config_sub" >&5
+ { { echo "$as_me:2261: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
{ (exit 1); exit 1; }; }
-echo "$as_me:2207: checking build system type" >&5
+echo "$as_me:2265: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6
if test "${ac_cv_build+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2213,16 +2271,16 @@
test -z "$ac_cv_build_alias" &&
ac_cv_build_alias=`$ac_config_guess`
test -z "$ac_cv_build_alias" &&
- { { echo "$as_me:2216: error: cannot guess build type; you must specify one" >&5
+ { { echo "$as_me:2274: error: cannot guess build type; you must specify one" >&5
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
{ (exit 1); exit 1; }; }
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
- { { echo "$as_me:2220: error: $ac_config_sub $ac_cv_build_alias failed." >&5
+ { { echo "$as_me:2278: error: $ac_config_sub $ac_cv_build_alias failed." >&5
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
{ (exit 1); exit 1; }; }
fi
-echo "$as_me:2225: result: $ac_cv_build" >&5
+echo "$as_me:2283: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6
build=$ac_cv_build
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
@@ -2229,7 +2287,7 @@
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-echo "$as_me:2232: checking host system type" >&5
+echo "$as_me:2290: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6
if test "${ac_cv_host+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2238,12 +2296,12 @@
test -z "$ac_cv_host_alias" &&
ac_cv_host_alias=$ac_cv_build_alias
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
- { { echo "$as_me:2241: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+ { { echo "$as_me:2299: error: $ac_config_sub $ac_cv_host_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
{ (exit 1); exit 1; }; }
fi
-echo "$as_me:2246: result: $ac_cv_host" >&5
+echo "$as_me:2304: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6
host=$ac_cv_host
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
@@ -2250,7 +2308,7 @@
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-echo "$as_me:2253: checking target system type" >&5
+echo "$as_me:2311: checking target system type" >&5
echo $ECHO_N "checking target system type... $ECHO_C" >&6
if test "${ac_cv_target+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2259,12 +2317,12 @@
test "x$ac_cv_target_alias" = "x" &&
ac_cv_target_alias=$ac_cv_host_alias
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
- { { echo "$as_me:2262: error: $ac_config_sub $ac_cv_target_alias failed" >&5
+ { { echo "$as_me:2320: error: $ac_config_sub $ac_cv_target_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
{ (exit 1); exit 1; }; }
fi
-echo "$as_me:2267: result: $ac_cv_target" >&5
+echo "$as_me:2325: result: $ac_cv_target" >&5
echo "${ECHO_T}$ac_cv_target" >&6
target=$ac_cv_target
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
@@ -2285,13 +2343,13 @@
LDFLAGS="$LDFLAGS -mno-cygwin"
esac
-echo "$as_me:2288: checking for ANSI C header files" >&5
+echo "$as_me:2346: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2294 "configure"
+#line 2352 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@@ -2299,13 +2357,13 @@
#include <float.h>
_ACEOF
-if { (eval echo "$as_me:2302: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2360: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2308: \$? = $ac_status" >&5
+ echo "$as_me:2366: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2327,7 +2385,7 @@
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<_ACEOF
-#line 2330 "configure"
+#line 2388 "configure"
#include "confdefs.h"
#include <string.h>
@@ -2345,7 +2403,7 @@
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<_ACEOF
-#line 2348 "configure"
+#line 2406 "configure"
#include "confdefs.h"
#include <stdlib.h>
@@ -2366,7 +2424,7 @@
:
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2369 "configure"
+#line 2427 "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
@@ -2392,15 +2450,15 @@
}
_ACEOF
rm -f conftest$ac_exeext
-if { (eval echo "$as_me:2395: \"$ac_link\"") >&5
+if { (eval echo "$as_me:2453: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:2398: \$? = $ac_status" >&5
+ echo "$as_me:2456: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (eval echo "$as_me:2400: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2458: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2403: \$? = $ac_status" >&5
+ echo "$as_me:2461: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
@@ -2413,36 +2471,123 @@
fi
fi
fi
-echo "$as_me:2416: result: $ac_cv_header_stdc" >&5
+echo "$as_me:2474: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then
-cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
#define STDC_HEADERS 1
-EOF
+_ACEOF
fi
-for ac_header in getopt.h fcntl.h limits.h malloc.h unistd.h byteswap.h errno.h
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:2429: checking for $ac_header" >&5
+echo "$as_me:2490: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2435 "configure"
+#line 2496 "configure"
#include "confdefs.h"
+$ac_includes_default
+
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:2439: \"$ac_cpp conftest.$ac_ext\"") >&5
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:2503: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:2506: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:2509: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:2512: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ eval "$as_ac_Header=yes"
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+eval "$as_ac_Header=no"
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:2522: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+for ac_header in getopt.h fcntl.h limits.h malloc.h unistd.h byteswap.h errno.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo "$as_me:2537: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:2542: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+ # Is the header compilable?
+echo "$as_me:2546: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 2549 "configure"
+#include "confdefs.h"
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:2555: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:2558: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:2561: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:2564: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:2573: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:2577: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 2580 "configure"
+#include "confdefs.h"
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:2584: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2445: \$? = $ac_status" >&5
+ echo "$as_me:2590: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2453,22 +2598,49 @@
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
- eval "$as_ac_Header=yes"
+ ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
- eval "$as_ac_Header=no"
+ ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+echo "$as_me:2608: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:2614: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:2616: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:2619: WARNING: $ac_header: present but cannot be compiled." >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
+ { echo "$as_me:2621: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:2623: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+esac
+echo "$as_me:2626: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=$ac_header_preproc"
fi
-echo "$as_me:2464: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:2633: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-EOF
+_ACEOF
fi
+
done
if test "$GCC" = yes
@@ -2476,19 +2648,24 @@
CFLAGS="$CFLAGS -Wall"
fi
-echo "$as_me:2479: checking whether byte ordering is bigendian" >&5
+echo "$as_me:2651: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
if test "${ac_cv_c_bigendian+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_cv_c_bigendian=unknown
-# See if sys/param.h defines the BYTE_ORDER macro.
+ # See if sys/param.h defines the BYTE_ORDER macro.
cat >conftest.$ac_ext <<_ACEOF
-#line 2487 "configure"
+#line 2658 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -2501,24 +2678,30 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2504: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2681: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2507: \$? = $ac_status" >&5
+ echo "$as_me:2684: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2510: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2687: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2513: \$? = $ac_status" >&5
+ echo "$as_me:2690: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
# It does; now see whether it defined to BIG_ENDIAN or not.
cat >conftest.$ac_ext <<_ACEOF
-#line 2517 "configure"
+#line 2694 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -2531,16 +2714,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2534: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2717: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2537: \$? = $ac_status" >&5
+ echo "$as_me:2720: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2540: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2723: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2543: \$? = $ac_status" >&5
+ echo "$as_me:2726: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_c_bigendian=yes
else
@@ -2552,16 +2735,64 @@
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
+# It does not; compile a test program.
+if test "$cross_compiling" = yes; then
+ # try to guess the endianess by grep'ing values into an object file
+ ac_cv_c_bigendian=unknown
+ cat >conftest.$ac_ext <<_ACEOF
+#line 2743 "configure"
+#include "confdefs.h"
+short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
+short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
+void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
+short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
+short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
+void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+ _ascii (); _ebcdic ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:2766: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:2769: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:2772: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:2775: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
+ ac_cv_c_bigendian=yes
fi
+if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
+ if test "$ac_cv_c_bigendian" = unknown; then
+ ac_cv_c_bigendian=no
+ else
+ # finding both strings is unlikely to happen, but who knows?
+ ac_cv_c_bigendian=unknown
+ fi
+fi
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+fi
rm -f conftest.$ac_objext conftest.$ac_ext
-if test $ac_cv_c_bigendian = unknown; then
-if test "$cross_compiling" = yes; then
- { { echo "$as_me:2559: error: cannot run test program while cross compiling" >&5
-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
- { (exit 1); exit 1; }; }
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2564 "configure"
+#line 2795 "configure"
#include "confdefs.h"
int
main ()
@@ -2577,15 +2808,15 @@
}
_ACEOF
rm -f conftest$ac_exeext
-if { (eval echo "$as_me:2580: \"$ac_link\"") >&5
+if { (eval echo "$as_me:2811: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:2583: \$? = $ac_status" >&5
+ echo "$as_me:2814: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (eval echo "$as_me:2585: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2816: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2588: \$? = $ac_status" >&5
+ echo "$as_me:2819: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_c_bigendian=no
else
@@ -2597,18 +2828,28 @@
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
+rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:2601: result: $ac_cv_c_bigendian" >&5
+echo "$as_me:2833: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
-if test $ac_cv_c_bigendian = yes; then
+case $ac_cv_c_bigendian in
+ yes)
-cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
#define WORDS_BIGENDIAN 1
-EOF
+_ACEOF
+ ;;
+ no)
+ ;;
+ *)
+ { { echo "$as_me:2845: error: unknown endianess
+presetting ac_cv_c_bigendian=no (or yes) will help" >&5
+echo "$as_me: error: unknown endianess
+presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
+ { (exit 1); exit 1; }; } ;;
+esac
-fi
-
-echo "$as_me:2611: checking for $CC option to accept ANSI C" >&5
+echo "$as_me:2852: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2616,7 +2857,7 @@
ac_cv_prog_cc_stdc=no
ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF
-#line 2619 "configure"
+#line 2860 "configure"
#include "confdefs.h"
#include <stdarg.h>
#include <stdio.h>
@@ -2646,6 +2887,12 @@
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -2665,16 +2912,16 @@
do
CC="$ac_save_CC $ac_arg"
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2668: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2915: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2671: \$? = $ac_status" >&5
+ echo "$as_me:2918: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2674: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2921: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2677: \$? = $ac_status" >&5
+ echo "$as_me:2924: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_stdc=$ac_arg
break
@@ -2691,23 +2938,29 @@
case "x$ac_cv_prog_cc_stdc" in
x|xno)
- echo "$as_me:2694: result: none needed" >&5
+ echo "$as_me:2941: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
*)
- echo "$as_me:2697: result: $ac_cv_prog_cc_stdc" >&5
+ echo "$as_me:2944: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
CC="$CC $ac_cv_prog_cc_stdc" ;;
esac
-echo "$as_me:2702: checking for an ANSI C-conforming const" >&5
+echo "$as_me:2949: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
if test "${ac_cv_c_const+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2708 "configure"
+#line 2955 "configure"
#include "confdefs.h"
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -2763,16 +3016,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2766: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3019: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2769: \$? = $ac_status" >&5
+ echo "$as_me:3022: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2772: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3025: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2775: \$? = $ac_status" >&5
+ echo "$as_me:3028: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_c_const=yes
else
@@ -2782,17 +3035,17 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:2785: result: $ac_cv_c_const" >&5
+echo "$as_me:3038: result: $ac_cv_c_const" >&5
echo "${ECHO_T}$ac_cv_c_const" >&6
if test $ac_cv_c_const = no; then
-cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
#define const
-EOF
+_ACEOF
fi
-echo "$as_me:2795: checking for inline" >&5
+echo "$as_me:3048: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6
if test "${ac_cv_c_inline+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2800,7 +3053,7 @@
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat >conftest.$ac_ext <<_ACEOF
-#line 2803 "configure"
+#line 3056 "configure"
#include "confdefs.h"
#ifndef __cplusplus
static $ac_kw int static_foo () {return 0; }
@@ -2809,16 +3062,16 @@
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2812: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3065: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2815: \$? = $ac_status" >&5
+ echo "$as_me:3068: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2818: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3071: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2821: \$? = $ac_status" >&5
+ echo "$as_me:3074: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_c_inline=$ac_kw; break
else
@@ -2829,77 +3082,36 @@
done
fi
-echo "$as_me:2832: result: $ac_cv_c_inline" >&5
+echo "$as_me:3085: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6
case $ac_cv_c_inline in
inline | yes) ;;
no)
-cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
#define inline
-EOF
+_ACEOF
;;
- *) cat >>confdefs.h <<EOF
+ *) cat >>confdefs.h <<_ACEOF
#define inline $ac_cv_c_inline
-EOF
+_ACEOF
;;
esac
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
- inttypes.h stdint.h unistd.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:2853: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-#line 2859 "configure"
-#include "confdefs.h"
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2865: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2868: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2871: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:2874: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- eval "$as_ac_Header=yes"
-else
- echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
-eval "$as_ac_Header=no"
-fi
-rm -f conftest.$ac_objext conftest.$ac_ext
-fi
-echo "$as_me:2884: result: `eval echo '${'$as_ac_Header'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-EOF
-
-fi
-done
-
-echo "$as_me:2894: checking for size_t" >&5
+echo "$as_me:3100: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2900 "configure"
+#line 3106 "configure"
#include "confdefs.h"
$ac_includes_default
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -2912,16 +3124,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2915: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3127: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2918: \$? = $ac_status" >&5
+ echo "$as_me:3130: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2921: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3133: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2924: \$? = $ac_status" >&5
+ echo "$as_me:3136: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_size_t=yes
else
@@ -2931,27 +3143,27 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:2934: result: $ac_cv_type_size_t" >&5
+echo "$as_me:3146: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
if test $ac_cv_type_size_t = yes; then
:
else
-cat >>confdefs.h <<EOF
+cat >>confdefs.h <<_ACEOF
#define size_t unsigned
-EOF
+_ACEOF
fi
-{ echo "$as_me:2946: checking if math library is required during link..." >&5
+{ echo "$as_me:3158: checking if math library is required during link..." >&5
echo "$as_me: checking if math library is required during link..." >&6;}
-echo "$as_me:2948: checking for pow" >&5
+echo "$as_me:3160: checking for pow" >&5
echo $ECHO_N "checking for pow... $ECHO_C" >&6
if test "${ac_cv_func_pow+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2954 "configure"
+#line 3166 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pow (); below. */
@@ -2965,6 +3177,12 @@
char pow ();
char (*f) ();
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -2982,16 +3200,16 @@
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:2985: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3203: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:2988: \$? = $ac_status" >&5
+ echo "$as_me:3206: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:2991: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3209: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2994: \$? = $ac_status" >&5
+ echo "$as_me:3212: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_pow=yes
else
@@ -3001,13 +3219,13 @@
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:3004: result: $ac_cv_func_pow" >&5
+echo "$as_me:3222: result: $ac_cv_func_pow" >&5
echo "${ECHO_T}$ac_cv_func_pow" >&6
if test "$ac_cv_func_pow" = no
then
-echo "$as_me:3010: checking for pow in -lm" >&5
+echo "$as_me:3228: checking for pow in -lm" >&5
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
if test "${ac_cv_lib_m_pow+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3015,7 +3233,7 @@
ac_check_lib_save_LIBS=$LIBS
LIBS="-lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
-#line 3018 "configure"
+#line 3236 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@@ -3025,6 +3243,12 @@
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pow ();
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3034,16 +3258,16 @@
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3037: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3261: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:3040: \$? = $ac_status" >&5
+ echo "$as_me:3264: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:3043: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3267: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3046: \$? = $ac_status" >&5
+ echo "$as_me:3270: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_m_pow=yes
else
@@ -3054,12 +3278,12 @@
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:3057: result: $ac_cv_lib_m_pow" >&5
+echo "$as_me:3281: result: $ac_cv_lib_m_pow" >&5
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
if test $ac_cv_lib_m_pow = yes; then
- cat >>confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define HAVE_LIBM 1
-EOF
+_ACEOF
LIBS="-lm $LIBS"
@@ -3089,23 +3313,61 @@
fi
fi
-echo "$as_me:3092: checking for vorbis/codec.h" >&5
+if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
+ echo "$as_me:3317: checking for vorbis/codec.h" >&5
echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6
if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:3322: result: $ac_cv_header_vorbis_codec_h" >&5
+echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6
else
- cat >conftest.$ac_ext <<_ACEOF
-#line 3098 "configure"
+ # Is the header compilable?
+echo "$as_me:3326: checking vorbis/codec.h usability" >&5
+echo $ECHO_N "checking vorbis/codec.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 3329 "configure"
#include "confdefs.h"
+$ac_includes_default
#include <vorbis/codec.h>
_ACEOF
-if { (eval echo "$as_me:3102: \"$ac_cpp conftest.$ac_ext\"") >&5
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:3335: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:3338: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:3341: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:3344: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:3353: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:3357: checking vorbis/codec.h presence" >&5
+echo $ECHO_N "checking vorbis/codec.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 3360 "configure"
+#include "confdefs.h"
+#include <vorbis/codec.h>
+_ACEOF
+if { (eval echo "$as_me:3364: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:3108: \$? = $ac_status" >&5
+ echo "$as_me:3370: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3116,16 +3378,42 @@
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
- ac_cv_header_vorbis_codec_h=yes
+ ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
- ac_cv_header_vorbis_codec_h=no
+ ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+echo "$as_me:3388: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:3394: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:3396: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:3399: WARNING: vorbis/codec.h: present but cannot be compiled." >&5
+echo "$as_me: WARNING: vorbis/codec.h: present but cannot be compiled." >&2;}
+ { echo "$as_me:3401: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:3403: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&2;};;
+esac
+echo "$as_me:3406: checking for vorbis/codec.h" >&5
+echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6
+if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_vorbis_codec_h=$ac_header_preproc
fi
-echo "$as_me:3127: result: $ac_cv_header_vorbis_codec_h" >&5
+echo "$as_me:3413: result: $ac_cv_header_vorbis_codec_h" >&5
echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6
+
+fi
if test $ac_cv_header_vorbis_codec_h = yes; then
ogg_vorbisinc=yes
else
@@ -3134,7 +3422,7 @@
if test "$ogg_vorbisinc" = yes
then
- echo "$as_me:3137: checking for vorbis_analysis_init in -lvorbis" >&5
+ echo "$as_me:3425: checking for vorbis_analysis_init in -lvorbis" >&5
echo $ECHO_N "checking for vorbis_analysis_init in -lvorbis... $ECHO_C" >&6
if test "${ac_cv_lib_vorbis_vorbis_analysis_init+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3142,7 +3430,7 @@
ac_check_lib_save_LIBS=$LIBS
LIBS="-lvorbis $LIBS"
cat >conftest.$ac_ext <<_ACEOF
-#line 3145 "configure"
+#line 3433 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@@ -3152,6 +3440,12 @@
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char vorbis_analysis_init ();
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3161,16 +3455,16 @@
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3164: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3458: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:3167: \$? = $ac_status" >&5
+ echo "$as_me:3461: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:3170: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3464: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3173: \$? = $ac_status" >&5
+ echo "$as_me:3467: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_vorbis_vorbis_analysis_init=yes
else
@@ -3181,14 +3475,14 @@
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:3184: result: $ac_cv_lib_vorbis_vorbis_analysis_init" >&5
+echo "$as_me:3478: result: $ac_cv_lib_vorbis_vorbis_analysis_init" >&5
echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_analysis_init" >&6
if test $ac_cv_lib_vorbis_vorbis_analysis_init = yes; then
LIBS="$LIBS -logg -lvorbis -lvorbisfile -lvorbisenc"
-cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBVORBIS 1
-EOF
+_ACEOF
fi
@@ -3195,7 +3489,7 @@
fi
CPPFLAGS="$ac_save_CPPFLAGS"
-if test "madlib" != auto && test "madlib" != no
+if test "$madlib" != auto && test "$madlib" != no
then
LIBS="$LIBS -L$madlib"
fi
@@ -3202,7 +3496,7 @@
ac_save_CPPFLAGS="$CPPFLAGS"
-if test "madinc" != auto && test "madinc" != no
+if test "$madinc" != auto && test "$madinc" != no
then
CFLAGS="$CFLAGS -I$madinc"
ac_save_CPPFLAGS="$CPPFLAGS"
@@ -3211,23 +3505,61 @@
fi
fi
-echo "$as_me:3214: checking for mad.h" >&5
+if test "${ac_cv_header_mad_h+set}" = set; then
+ echo "$as_me:3509: checking for mad.h" >&5
echo $ECHO_N "checking for mad.h... $ECHO_C" >&6
if test "${ac_cv_header_mad_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:3514: result: $ac_cv_header_mad_h" >&5
+echo "${ECHO_T}$ac_cv_header_mad_h" >&6
else
- cat >conftest.$ac_ext <<_ACEOF
-#line 3220 "configure"
+ # Is the header compilable?
+echo "$as_me:3518: checking mad.h usability" >&5
+echo $ECHO_N "checking mad.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 3521 "configure"
#include "confdefs.h"
+$ac_includes_default
#include <mad.h>
_ACEOF
-if { (eval echo "$as_me:3224: \"$ac_cpp conftest.$ac_ext\"") >&5
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:3527: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:3530: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:3533: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:3536: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:3545: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:3549: checking mad.h presence" >&5
+echo $ECHO_N "checking mad.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 3552 "configure"
+#include "confdefs.h"
+#include <mad.h>
+_ACEOF
+if { (eval echo "$as_me:3556: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:3230: \$? = $ac_status" >&5
+ echo "$as_me:3562: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3238,16 +3570,42 @@
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
- ac_cv_header_mad_h=yes
+ ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
- ac_cv_header_mad_h=no
+ ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+echo "$as_me:3580: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:3586: WARNING: mad.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: mad.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:3588: WARNING: mad.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: mad.h: proceeding with the preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:3591: WARNING: mad.h: present but cannot be compiled." >&5
+echo "$as_me: WARNING: mad.h: present but cannot be compiled." >&2;}
+ { echo "$as_me:3593: WARNING: mad.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: mad.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:3595: WARNING: mad.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: mad.h: proceeding with the preprocessor's result" >&2;};;
+esac
+echo "$as_me:3598: checking for mad.h" >&5
+echo $ECHO_N "checking for mad.h... $ECHO_C" >&6
+if test "${ac_cv_header_mad_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_mad_h=$ac_header_preproc
fi
-echo "$as_me:3249: result: $ac_cv_header_mad_h" >&5
+echo "$as_me:3605: result: $ac_cv_header_mad_h" >&5
echo "${ECHO_T}$ac_cv_header_mad_h" >&6
+
+fi
if test $ac_cv_header_mad_h = yes; then
madinc=yes
else
@@ -3256,7 +3614,7 @@
if test "$madinc" = yes
then
- echo "$as_me:3259: checking for mad_stream_buffer in -lmad" >&5
+ echo "$as_me:3617: checking for mad_stream_buffer in -lmad" >&5
echo $ECHO_N "checking for mad_stream_buffer in -lmad... $ECHO_C" >&6
if test "${ac_cv_lib_mad_mad_stream_buffer+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3264,7 +3622,7 @@
ac_check_lib_save_LIBS=$LIBS
LIBS="-lmad $LIBS"
cat >conftest.$ac_ext <<_ACEOF
-#line 3267 "configure"
+#line 3625 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@@ -3274,6 +3632,12 @@
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mad_stream_buffer ();
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3283,16 +3647,16 @@
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3286: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3650: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:3289: \$? = $ac_status" >&5
+ echo "$as_me:3653: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:3292: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3656: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3295: \$? = $ac_status" >&5
+ echo "$as_me:3659: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_mad_mad_stream_buffer=yes
else
@@ -3303,14 +3667,14 @@
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:3306: result: $ac_cv_lib_mad_mad_stream_buffer" >&5
+echo "$as_me:3670: result: $ac_cv_lib_mad_mad_stream_buffer" >&5
echo "${ECHO_T}$ac_cv_lib_mad_mad_stream_buffer" >&6
if test $ac_cv_lib_mad_mad_stream_buffer = yes; then
LIBS="$LIBS -lmad"
-cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBMAD 1
-EOF
+_ACEOF
fi
@@ -3317,7 +3681,7 @@
fi
CPPFLAGS="$ac_save_CPPFLAGS"
-if test "lamelib" != auto && test "lamelib" != no
+if test "$lamelib" != auto && test "$lamelib" != no
then
LIBS="$LIBS -L$lamelib"
fi
@@ -3324,32 +3688,70 @@
ac_save_CPPFLAGS="$CPPFLAGS"
-if test "lameinc" != auto && test "lameinc" != no
+if test "$lameinc" != auto && test "$lameinc" != no
then
CFLAGS="$CFLAGS -I$lameinc"
ac_save_CPPFLAGS="$CPPFLAGS"
if test \! -z "$lameinc" ; then
- CPPFLAGS="$CPPFLAGS -I$madinc"
+ CPPFLAGS="$CPPFLAGS -I$lameinc"
fi
fi
-echo "$as_me:3336: checking for lame/lame.h" >&5
+if test "${ac_cv_header_lame_lame_h+set}" = set; then
+ echo "$as_me:3701: checking for lame/lame.h" >&5
echo $ECHO_N "checking for lame/lame.h... $ECHO_C" >&6
if test "${ac_cv_header_lame_lame_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:3706: result: $ac_cv_header_lame_lame_h" >&5
+echo "${ECHO_T}$ac_cv_header_lame_lame_h" >&6
else
- cat >conftest.$ac_ext <<_ACEOF
-#line 3342 "configure"
+ # Is the header compilable?
+echo "$as_me:3710: checking lame/lame.h usability" >&5
+echo $ECHO_N "checking lame/lame.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 3713 "configure"
#include "confdefs.h"
+$ac_includes_default
#include <lame/lame.h>
_ACEOF
-if { (eval echo "$as_me:3346: \"$ac_cpp conftest.$ac_ext\"") >&5
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:3719: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:3722: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:3725: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:3728: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:3737: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:3741: checking lame/lame.h presence" >&5
+echo $ECHO_N "checking lame/lame.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 3744 "configure"
+#include "confdefs.h"
+#include <lame/lame.h>
+_ACEOF
+if { (eval echo "$as_me:3748: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:3352: \$? = $ac_status" >&5
+ echo "$as_me:3754: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3360,16 +3762,42 @@
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
- ac_cv_header_lame_lame_h=yes
+ ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
- ac_cv_header_lame_lame_h=no
+ ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+echo "$as_me:3772: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:3778: WARNING: lame/lame.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: lame/lame.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:3780: WARNING: lame/lame.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: lame/lame.h: proceeding with the preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:3783: WARNING: lame/lame.h: present but cannot be compiled." >&5
+echo "$as_me: WARNING: lame/lame.h: present but cannot be compiled." >&2;}
+ { echo "$as_me:3785: WARNING: lame/lame.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: lame/lame.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:3787: WARNING: lame/lame.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: lame/lame.h: proceeding with the preprocessor's result" >&2;};;
+esac
+echo "$as_me:3790: checking for lame/lame.h" >&5
+echo $ECHO_N "checking for lame/lame.h... $ECHO_C" >&6
+if test "${ac_cv_header_lame_lame_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_lame_lame_h=$ac_header_preproc
fi
-echo "$as_me:3371: result: $ac_cv_header_lame_lame_h" >&5
+echo "$as_me:3797: result: $ac_cv_header_lame_lame_h" >&5
echo "${ECHO_T}$ac_cv_header_lame_lame_h" >&6
+
+fi
if test $ac_cv_header_lame_lame_h = yes; then
lameinc=yes
else
@@ -3378,7 +3806,7 @@
if test "$lameinc" = yes
then
- echo "$as_me:3381: checking for lame_init in -lmp3lame" >&5
+ echo "$as_me:3809: checking for lame_init in -lmp3lame" >&5
echo $ECHO_N "checking for lame_init in -lmp3lame... $ECHO_C" >&6
if test "${ac_cv_lib_mp3lame_lame_init+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3386,7 +3814,7 @@
ac_check_lib_save_LIBS=$LIBS
LIBS="-lmp3lame $LIBS"
cat >conftest.$ac_ext <<_ACEOF
-#line 3389 "configure"
+#line 3817 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@@ -3396,6 +3824,12 @@
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char lame_init ();
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3405,16 +3839,16 @@
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3408: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3842: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:3411: \$? = $ac_status" >&5
+ echo "$as_me:3845: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:3414: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3848: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3417: \$? = $ac_status" >&5
+ echo "$as_me:3851: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_mp3lame_lame_init=yes
else
@@ -3425,14 +3859,14 @@
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:3428: result: $ac_cv_lib_mp3lame_lame_init" >&5
+echo "$as_me:3862: result: $ac_cv_lib_mp3lame_lame_init" >&5
echo "${ECHO_T}$ac_cv_lib_mp3lame_lame_init" >&6
if test $ac_cv_lib_mp3lame_lame_init = yes; then
LIBS="$LIBS -lmp3lame"
-cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LAME 1
-EOF
+_ACEOF
fi
@@ -3442,13 +3876,13 @@
for ac_func in getopt strerror memmove rand strcasecmp
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:3445: checking for $ac_func" >&5
+echo "$as_me:3879: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3451 "configure"
+#line 3885 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
@@ -3462,6 +3896,12 @@
char $ac_func ();
char (*f) ();
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3479,16 +3919,16 @@
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3482: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3922: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:3485: \$? = $ac_status" >&5
+ echo "$as_me:3925: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:3488: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3928: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3491: \$? = $ac_status" >&5
+ echo "$as_me:3931: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
@@ -3498,12 +3938,12 @@
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:3501: result: `eval echo '${'$as_ac_var'}'`" >&5
+echo "$as_me:3941: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
- cat >>confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
-EOF
+_ACEOF
fi
done
@@ -3514,23 +3954,61 @@
for ac_header in linux/asound.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:3517: checking for $ac_header" >&5
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo "$as_me:3958: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:3963: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
- cat >conftest.$ac_ext <<_ACEOF
-#line 3523 "configure"
+ # Is the header compilable?
+echo "$as_me:3967: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 3970 "configure"
#include "confdefs.h"
+$ac_includes_default
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:3527: \"$ac_cpp conftest.$ac_ext\"") >&5
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:3976: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:3979: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:3982: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:3985: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:3994: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:3998: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 4001 "configure"
+#include "confdefs.h"
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:4005: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:3533: \$? = $ac_status" >&5
+ echo "$as_me:4011: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3541,22 +4019,49 @@
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
- eval "$as_ac_Header=yes"
+ ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
- eval "$as_ac_Header=no"
+ ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+echo "$as_me:4029: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:4035: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:4037: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:4040: WARNING: $ac_header: present but cannot be compiled." >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
+ { echo "$as_me:4042: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:4044: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+esac
+echo "$as_me:4047: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=$ac_header_preproc"
fi
-echo "$as_me:3552: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:4054: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-EOF
+_ACEOF
alsa_dsp=yes
fi
+
done
fi
@@ -3563,14 +4068,20 @@
if test "$alsa_dsp" = yes
then
- echo "$as_me:3566: checking for ALSA ioctl API" >&5
+ echo "$as_me:4071: checking for ALSA ioctl API" >&5
echo $ECHO_N "checking for ALSA ioctl API... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3569 "configure"
+#line 4074 "configure"
#include "confdefs.h"
#include <linux/asound.h>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3582,16 +4093,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3585: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4096: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3588: \$? = $ac_status" >&5
+ echo "$as_me:4099: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3591: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4102: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3594: \$? = $ac_status" >&5
+ echo "$as_me:4105: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
alsa_api_ver=oldapi
else
@@ -3600,7 +4111,7 @@
alsa_api_ver=newapi
fi
rm -f conftest.$ac_objext conftest.$ac_ext
- echo "$as_me:3603: result: $alsa_api_ver" >&5
+ echo "$as_me:4114: result: $alsa_api_ver" >&5
echo "${ECHO_T}$alsa_api_ver" >&6
CFLAGS="$CFLAGS -DALSA_PLAYER"
if test "$alsa_api_ver" = oldapi; then CFLAGS="$CFLAGS -DUSE_OLD_API"; fi
@@ -3614,23 +4125,61 @@
for ac_header in sys/soundcard.h machine/soundcard.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:3617: checking for $ac_header" >&5
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo "$as_me:4129: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:4134: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
- cat >conftest.$ac_ext <<_ACEOF
-#line 3623 "configure"
+ # Is the header compilable?
+echo "$as_me:4138: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 4141 "configure"
#include "confdefs.h"
+$ac_includes_default
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:3627: \"$ac_cpp conftest.$ac_ext\"") >&5
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:4147: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:4150: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:4153: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:4156: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:4165: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:4169: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 4172 "configure"
+#include "confdefs.h"
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:4176: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:3633: \$? = $ac_status" >&5
+ echo "$as_me:4182: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3641,22 +4190,49 @@
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
- eval "$as_ac_Header=yes"
+ ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
- eval "$as_ac_Header=no"
+ ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+echo "$as_me:4200: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:4206: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:4208: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:4211: WARNING: $ac_header: present but cannot be compiled." >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
+ { echo "$as_me:4213: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:4215: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+esac
+echo "$as_me:4218: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=$ac_header_preproc"
fi
-echo "$as_me:3652: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:4225: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-EOF
+_ACEOF
oss_dsp=yes
fi
+
done
fi
@@ -3674,23 +4250,61 @@
for ac_header in sys/audioio.h sun/audioio.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:3677: checking for $ac_header" >&5
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo "$as_me:4254: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:4259: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
- cat >conftest.$ac_ext <<_ACEOF
-#line 3683 "configure"
+ # Is the header compilable?
+echo "$as_me:4263: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 4266 "configure"
#include "confdefs.h"
+$ac_includes_default
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:3687: \"$ac_cpp conftest.$ac_ext\"") >&5
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:4272: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:4275: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:4278: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:4281: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_header_compiler=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:4290: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:4294: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 4297 "configure"
+#include "confdefs.h"
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:4301: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:3693: \$? = $ac_status" >&5
+ echo "$as_me:4307: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3701,22 +4315,49 @@
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
- eval "$as_ac_Header=yes"
+ ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
- eval "$as_ac_Header=no"
+ ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+echo "$as_me:4325: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:4331: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:4333: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:4336: WARNING: $ac_header: present but cannot be compiled." >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
+ { echo "$as_me:4338: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:4340: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+esac
+echo "$as_me:4343: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=$ac_header_preproc"
fi
-echo "$as_me:3712: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "$as_me:4350: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-EOF
+_ACEOF
sun_audio=yes
fi
+
done
fi
@@ -3750,17 +4391,17 @@
ac_config_headers="$ac_config_headers stconfig.h"
# ------ AC CREATE STDINT H -------------------------------------
-echo "$as_me:3753: checking for stdint-types...." >&5
+echo "$as_me:4394: checking for stdint-types...." >&5
echo $ECHO_N "checking for stdint-types....... $ECHO_C" >&6
ac_stdint_h=`echo ststdint.h`
if test "$ac_stdint_h" = "stdint.h" ; then
- echo "$as_me:3757: result: \"(are you sure you want them in ./stdint.h?)\"" >&5
+ echo "$as_me:4398: result: \"(are you sure you want them in ./stdint.h?)\"" >&5
echo "${ECHO_T}\"(are you sure you want them in ./stdint.h?)\"" >&6
elif test "$ac_stdint_h" = "inttypes.h" ; then
- echo "$as_me:3760: result: \"(are you sure you want them in ./inttypes.h?)\"" >&5
+ echo "$as_me:4401: result: \"(are you sure you want them in ./inttypes.h?)\"" >&5
echo "${ECHO_T}\"(are you sure you want them in ./inttypes.h?)\"" >&6
else
- echo "$as_me:3763: result: \"(putting them into $ac_stdint_h)\"" >&5
+ echo "$as_me:4404: result: \"(putting them into $ac_stdint_h)\"" >&5
echo "${ECHO_T}\"(putting them into $ac_stdint_h)\"" >&6
fi
@@ -3773,16 +4414,22 @@
for i in stdint.h $inttype_headers ; do
unset ac_cv_type_uintptr_t
unset ac_cv_type_uint64_t
- echo "$as_me:3776: checking for uintptr_t" >&5
+ echo "$as_me:4417: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
if test "${ac_cv_type_uintptr_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3782 "configure"
+#line 4423 "configure"
#include "confdefs.h"
#include <$i>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3795,16 +4442,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3798: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4445: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3801: \$? = $ac_status" >&5
+ echo "$as_me:4448: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3804: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4451: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3807: \$? = $ac_status" >&5
+ echo "$as_me:4454: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_uintptr_t=yes
else
@@ -3814,7 +4461,7 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3817: result: $ac_cv_type_uintptr_t" >&5
+echo "$as_me:4464: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
if test $ac_cv_type_uintptr_t = yes; then
ac_cv_header_stdint_x=$i
@@ -3822,16 +4469,22 @@
continue
fi
- echo "$as_me:3825: checking for uint64_t" >&5
+ echo "$as_me:4472: checking for uint64_t" >&5
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
if test "${ac_cv_type_uint64_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3831 "configure"
+#line 4478 "configure"
#include "confdefs.h"
#include<$i>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3844,16 +4497,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3847: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4500: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3850: \$? = $ac_status" >&5
+ echo "$as_me:4503: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3853: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4506: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3856: \$? = $ac_status" >&5
+ echo "$as_me:4509: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_uint64_t=yes
else
@@ -3863,7 +4516,7 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3866: result: $ac_cv_type_uint64_t" >&5
+echo "$as_me:4519: result: $ac_cv_type_uint64_t" >&5
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
if test $ac_cv_type_uint64_t = yes; then
and64="(uint64_t too)"
@@ -3871,7 +4524,7 @@
and64=""
fi
- echo "$as_me:3874: result: ... seen our uintptr_t in $i $and64" >&5
+ echo "$as_me:4527: result: ... seen our uintptr_t in $i $and64" >&5
echo "${ECHO_T}... seen our uintptr_t in $i $and64" >&6
break;
done
@@ -3879,16 +4532,22 @@
for i in stdint.h $inttype_headers ; do
unset ac_cv_type_uint32_t
unset ac_cv_type_uint64_t
- echo "$as_me:3882: checking for uint32_t" >&5
+ echo "$as_me:4535: checking for uint32_t" >&5
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
if test "${ac_cv_type_uint32_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3888 "configure"
+#line 4541 "configure"
#include "confdefs.h"
#include <$i>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3901,16 +4560,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3904: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4563: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3907: \$? = $ac_status" >&5
+ echo "$as_me:4566: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3910: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4569: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3913: \$? = $ac_status" >&5
+ echo "$as_me:4572: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_uint32_t=yes
else
@@ -3920,7 +4579,7 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3923: result: $ac_cv_type_uint32_t" >&5
+echo "$as_me:4582: result: $ac_cv_type_uint32_t" >&5
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
if test $ac_cv_type_uint32_t = yes; then
ac_cv_header_stdint_o=$i
@@ -3928,16 +4587,22 @@
continue
fi
- echo "$as_me:3931: checking for uint64_t" >&5
+ echo "$as_me:4590: checking for uint64_t" >&5
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
if test "${ac_cv_type_uint64_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3937 "configure"
+#line 4596 "configure"
#include "confdefs.h"
#include<$i>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -3950,16 +4615,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3953: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4618: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3956: \$? = $ac_status" >&5
+ echo "$as_me:4621: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3959: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4624: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3962: \$? = $ac_status" >&5
+ echo "$as_me:4627: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_uint64_t=yes
else
@@ -3969,7 +4634,7 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3972: result: $ac_cv_type_uint64_t" >&5
+echo "$as_me:4637: result: $ac_cv_type_uint64_t" >&5
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
if test $ac_cv_type_uint64_t = yes; then
and64="(uint64_t too)"
@@ -3977,7 +4642,7 @@
and64=""
fi
- echo "$as_me:3980: result: ... seen our uint32_t in $i $and64" >&5
+ echo "$as_me:4645: result: ... seen our uint32_t in $i $and64" >&5
echo "${ECHO_T}... seen our uint32_t in $i $and64" >&6
break;
done
@@ -3985,16 +4650,22 @@
for i in sys/types.h $inttype_headers ; do
unset ac_cv_type_u_int32_t
unset ac_cv_type_u_int64_t
- echo "$as_me:3988: checking for u_int32_t" >&5
+ echo "$as_me:4653: checking for u_int32_t" >&5
echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
if test "${ac_cv_type_u_int32_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3994 "configure"
+#line 4659 "configure"
#include "confdefs.h"
#include <$i>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -4007,16 +4678,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4010: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4681: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4013: \$? = $ac_status" >&5
+ echo "$as_me:4684: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4016: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4687: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4019: \$? = $ac_status" >&5
+ echo "$as_me:4690: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_u_int32_t=yes
else
@@ -4026,7 +4697,7 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:4029: result: $ac_cv_type_u_int32_t" >&5
+echo "$as_me:4700: result: $ac_cv_type_u_int32_t" >&5
echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
if test $ac_cv_type_u_int32_t = yes; then
ac_cv_header_stdint_u=$i
@@ -4034,16 +4705,22 @@
continue
fi
- echo "$as_me:4037: checking for uint64_t" >&5
+ echo "$as_me:4708: checking for uint64_t" >&5
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
if test "${ac_cv_type_uint64_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 4043 "configure"
+#line 4714 "configure"
#include "confdefs.h"
#include<$i>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -4056,16 +4733,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4059: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4736: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4062: \$? = $ac_status" >&5
+ echo "$as_me:4739: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4065: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4742: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4068: \$? = $ac_status" >&5
+ echo "$as_me:4745: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_uint64_t=yes
else
@@ -4075,7 +4752,7 @@
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:4078: result: $ac_cv_type_uint64_t" >&5
+echo "$as_me:4755: result: $ac_cv_type_uint64_t" >&5
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
if test $ac_cv_type_uint64_t = yes; then
and64="(u_int64_t too)"
@@ -4083,7 +4760,7 @@
and64=""
fi
- echo "$as_me:4086: result: ... seen our u_int32_t in $i $and64" >&5
+ echo "$as_me:4763: result: ... seen our u_int32_t in $i $and64" >&5
echo "${ECHO_T}... seen our u_int32_t in $i $and64" >&6
break;
done
@@ -4093,7 +4770,7 @@
# ----------------- DONE inttypes.h checks MAYBE C basic types --------
if test "$ac_cv_header_stdint_x" = "no-file" ; then
- echo "$as_me:4096: checking size of char" >&5
+ echo "$as_me:4773: checking size of char" >&5
echo $ECHO_N "checking size of char... $ECHO_C" >&6
if test "${ac_cv_sizeof_char+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4100,11 +4777,17 @@
else
for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
cat >conftest.$ac_ext <<_ACEOF
-#line 4103 "configure"
+#line 4780 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -4114,16 +4797,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4117: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4800: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4120: \$? = $ac_status" >&5
+ echo "$as_me:4803: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4123: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4806: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4126: \$? = $ac_status" >&5
+ echo "$as_me:4809: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sizeof_char=$ac_size
else
@@ -4137,18 +4820,18 @@
fi
if test x$ac_cv_sizeof_char = x ; then
- { { echo "$as_me:4140: error: cannot determine a size for char" >&5
+ { { echo "$as_me:4823: error: cannot determine a size for char" >&5
echo "$as_me: error: cannot determine a size for char" >&2;}
{ (exit 1); exit 1; }; }
fi
-echo "$as_me:4144: result: $ac_cv_sizeof_char" >&5
+echo "$as_me:4827: result: $ac_cv_sizeof_char" >&5
echo "${ECHO_T}$ac_cv_sizeof_char" >&6
-cat >>confdefs.h <<EOF
+cat >>confdefs.h <<_ACEOF
#define SIZEOF_CHAR $ac_cv_sizeof_char
-EOF
+_ACEOF
- echo "$as_me:4151: checking size of short" >&5
+ echo "$as_me:4834: checking size of short" >&5
echo $ECHO_N "checking size of short... $ECHO_C" >&6
if test "${ac_cv_sizeof_short+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4155,11 +4838,17 @@
else
for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
cat >conftest.$ac_ext <<_ACEOF
-#line 4158 "configure"
+#line 4841 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -4169,16 +4858,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4172: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4861: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4175: \$? = $ac_status" >&5
+ echo "$as_me:4864: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4178: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4867: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4181: \$? = $ac_status" >&5
+ echo "$as_me:4870: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sizeof_short=$ac_size
else
@@ -4192,18 +4881,18 @@
fi
if test x$ac_cv_sizeof_short = x ; then
- { { echo "$as_me:4195: error: cannot determine a size for short" >&5
+ { { echo "$as_me:4884: error: cannot determine a size for short" >&5
echo "$as_me: error: cannot determine a size for short" >&2;}
{ (exit 1); exit 1; }; }
fi
-echo "$as_me:4199: result: $ac_cv_sizeof_short" >&5
+echo "$as_me:4888: result: $ac_cv_sizeof_short" >&5
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
-cat >>confdefs.h <<EOF
+cat >>confdefs.h <<_ACEOF
#define SIZEOF_SHORT $ac_cv_sizeof_short
-EOF
+_ACEOF
- echo "$as_me:4206: checking size of int" >&5
+ echo "$as_me:4895: checking size of int" >&5
echo $ECHO_N "checking size of int... $ECHO_C" >&6
if test "${ac_cv_sizeof_int+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4210,11 +4899,17 @@
else
for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
cat >conftest.$ac_ext <<_ACEOF
-#line 4213 "configure"
+#line 4902 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -4224,16 +4919,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4227: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4922: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4230: \$? = $ac_status" >&5
+ echo "$as_me:4925: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4233: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4928: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4236: \$? = $ac_status" >&5
+ echo "$as_me:4931: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sizeof_int=$ac_size
else
@@ -4247,18 +4942,18 @@
fi
if test x$ac_cv_sizeof_int = x ; then
- { { echo "$as_me:4250: error: cannot determine a size for int" >&5
+ { { echo "$as_me:4945: error: cannot determine a size for int" >&5
echo "$as_me: error: cannot determine a size for int" >&2;}
{ (exit 1); exit 1; }; }
fi
-echo "$as_me:4254: result: $ac_cv_sizeof_int" >&5
+echo "$as_me:4949: result: $ac_cv_sizeof_int" >&5
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
-cat >>confdefs.h <<EOF
+cat >>confdefs.h <<_ACEOF
#define SIZEOF_INT $ac_cv_sizeof_int
-EOF
+_ACEOF
- echo "$as_me:4261: checking size of long" >&5
+ echo "$as_me:4956: checking size of long" >&5
echo $ECHO_N "checking size of long... $ECHO_C" >&6
if test "${ac_cv_sizeof_long+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4265,11 +4960,17 @@
else
for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
cat >conftest.$ac_ext <<_ACEOF
-#line 4268 "configure"
+#line 4963 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -4279,16 +4980,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4282: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4983: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4285: \$? = $ac_status" >&5
+ echo "$as_me:4986: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4288: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4989: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4291: \$? = $ac_status" >&5
+ echo "$as_me:4992: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sizeof_long=$ac_size
else
@@ -4302,18 +5003,18 @@
fi
if test x$ac_cv_sizeof_long = x ; then
- { { echo "$as_me:4305: error: cannot determine a size for long" >&5
+ { { echo "$as_me:5006: error: cannot determine a size for long" >&5
echo "$as_me: error: cannot determine a size for long" >&2;}
{ (exit 1); exit 1; }; }
fi
-echo "$as_me:4309: result: $ac_cv_sizeof_long" >&5
+echo "$as_me:5010: result: $ac_cv_sizeof_long" >&5
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
-cat >>confdefs.h <<EOF
+cat >>confdefs.h <<_ACEOF
#define SIZEOF_LONG $ac_cv_sizeof_long
-EOF
+_ACEOF
- echo "$as_me:4316: checking size of void*" >&5
+ echo "$as_me:5017: checking size of void*" >&5
echo $ECHO_N "checking size of void*... $ECHO_C" >&6
if test "${ac_cv_sizeof_voidp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4320,11 +5021,17 @@
else
for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
cat >conftest.$ac_ext <<_ACEOF
-#line 4323 "configure"
+#line 5024 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
int
main ()
{
@@ -4334,16 +5041,16 @@
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4337: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:5044: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4340: \$? = $ac_status" >&5
+ echo "$as_me:5047: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4343: \"$ac_try\"") >&5
+ { (eval echo "$as_me:5050: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4346: \$? = $ac_status" >&5
+ echo "$as_me:5053: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sizeof_voidp=$ac_size
else
@@ -4357,16 +5064,16 @@
fi
if test x$ac_cv_sizeof_voidp = x ; then
- { { echo "$as_me:4360: error: cannot determine a size for void*" >&5
+ { { echo "$as_me:5067: error: cannot determine a size for void*" >&5
echo "$as_me: error: cannot determine a size for void*" >&2;}
{ (exit 1); exit 1; }; }
fi
-echo "$as_me:4364: result: $ac_cv_sizeof_voidp" >&5
+echo "$as_me:5071: result: $ac_cv_sizeof_voidp" >&5
echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
-cat >>confdefs.h <<EOF
+cat >>confdefs.h <<_ACEOF
#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
-EOF
+_ACEOF
ac_cv_header_stdint_test="yes"
else
@@ -4375,7 +5082,7 @@
# ----------------- DONE inttypes.h checks START header -------------
_ac_stdint_h=`echo "_$ac_stdint_h" | $as_tr_cpp`
-echo "$as_me:4378: result: creating $ac_stdint_h : $_ac_stdint_h" >&5
+echo "$as_me:5085: result: creating $ac_stdint_h : $_ac_stdint_h" >&5
echo "${ECHO_T}creating $ac_stdint_h : $_ac_stdint_h" >&6
echo "#ifndef" $_ac_stdint_h >$ac_stdint_h
echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h
@@ -4401,11 +5108,11 @@
if test "$ac_cv_header_stdint" != "stddef.h" ; then
if test "$ac_cv_header_stdint" != "stdint.h" ; then
-echo "$as_me:4404: result: ..adding include stddef.h" >&5
+echo "$as_me:5111: result: ..adding include stddef.h" >&5
echo "${ECHO_T}..adding include stddef.h" >&6
echo "#include <stddef.h>" >>$ac_stdint_h
fi ; fi
-echo "$as_me:4408: result: ..adding include $ac_cv_header_stdint" >&5
+echo "$as_me:5115: result: ..adding include $ac_cv_header_stdint" >&5
echo "${ECHO_T}..adding include $ac_cv_header_stdint" >&6
echo "#include <$ac_cv_header_stdint>" >>$ac_stdint_h
echo "" >>$ac_stdint_h
@@ -4412,15 +5119,15 @@
# ----------------- DONE header START basic int types -------------
if test "$ac_cv_header_stdint_x" = "no-file" ; then
- echo "$as_me:4415: result: ... need to look at C basic types" >&5
+ echo "$as_me:5122: result: ... need to look at C basic types" >&5
echo "${ECHO_T}... need to look at C basic types" >&6
else
- echo "$as_me:4418: result: ... seen good stdint.h inttypes" >&5
+ echo "$as_me:5125: result: ... seen good stdint.h inttypes" >&5
echo "${ECHO_T}... seen good stdint.h inttypes" >&6
fi
if test "$ac_cv_header_stdint_u" != "no-file" ; then
- echo "$as_me:4423: result: ... seen bsd/sysv typedefs" >&5
+ echo "$as_me:5130: result: ... seen bsd/sysv typedefs" >&5
echo "${ECHO_T}... seen bsd/sysv typedefs" >&6
cat >>$ac_stdint_h <<EOF
@@ -4449,7 +5156,7 @@
EOF
t="typedefs for a"
case "$ac_cv_sizeof_X" in
- 1:2:2:2:4) echo "$as_me:4452: result: ..adding $t normal 16-bit system" >&5
+ 1:2:2:2:4) echo "$as_me:5159: result: ..adding $t normal 16-bit system" >&5
echo "${ECHO_T}..adding $t normal 16-bit system" >&6
cat >>$ac_stdint_h <<EOF
/* a normal 16-bit system */
@@ -4464,7 +5171,7 @@
#endif
EOF
;;
- 1:2:2:4:4) echo "$as_me:4467: result: ..adding $t 32-bit system derived from a 16-bit" >&5
+ 1:2:2:4:4) echo "$as_me:5174: result: ..adding $t 32-bit system derived from a 16-bit" >&5
echo "${ECHO_T}..adding $t 32-bit system derived from a 16-bit" >&6
cat >>$ac_stdint_h <<EOF
/* a 32-bit system derived from a 16-bit */
@@ -4479,7 +5186,7 @@
#endif
EOF
;;
- 1:2:4:4:4) echo "$as_me:4482: result: ..adding $t normal 32-bit system" >&5
+ 1:2:4:4:4) echo "$as_me:5189: result: ..adding $t normal 32-bit system" >&5
echo "${ECHO_T}..adding $t normal 32-bit system" >&6
cat >>$ac_stdint_h <<EOF
/* a normal 32-bit system */
@@ -4494,7 +5201,7 @@
#endif
EOF
;;
- 1:2:4:4:8) echo "$as_me:4497: result: ..adding $t 32-bit system prepared for 64-bit" >&5
+ 1:2:4:4:8) echo "$as_me:5204: result: ..adding $t 32-bit system prepared for 64-bit" >&5
echo "${ECHO_T}..adding $t 32-bit system prepared for 64-bit" >&6
cat >>$ac_stdint_h <<EOF
@@ -4510,7 +5217,7 @@
#endif
EOF
;;
- 1:2:4:8:8) echo "$as_me:4513: result: ..adding $t normal 64-bit system" >&5
+ 1:2:4:8:8) echo "$as_me:5220: result: ..adding $t normal 64-bit system" >&5
echo "${ECHO_T}..adding $t normal 64-bit system" >&6
cat >>$ac_stdint_h <<EOF
@@ -4526,7 +5233,7 @@
#endif
EOF
;;
- 1:2:4:8:4) echo "$as_me:4529: result: ..adding $t 64-bit system derived from a 32-bit" >&5
+ 1:2:4:8:4) echo "$as_me:5236: result: ..adding $t 64-bit system derived from a 32-bit" >&5
echo "${ECHO_T}..adding $t 64-bit system derived from a 32-bit" >&6
cat >>$ac_stdint_h <<EOF
@@ -4543,7 +5250,7 @@
EOF
;;
*)
- { { echo "$as_me:4546: error: $ac_cv_sizeof_X what is that a system? contact the author, quick! http://ac-archive.sf.net" >&5
+ { { echo "$as_me:5253: error: $ac_cv_sizeof_X what is that a system? contact the author, quick! http://ac-archive.sf.net" >&5
echo "$as_me: error: $ac_cv_sizeof_X what is that a system? contact the author, quick! http://ac-archive.sf.net" >&2;}
{ (exit 1); exit 1; }; }
exit 1
@@ -4553,7 +5260,7 @@
# ------------- DONE basic int types START int64_t types ------------
if test "$ac_cv_type_uint64_t" = "yes"
-then echo "$as_me:4556: result: ... seen good uint64_t" >&5
+then echo "$as_me:5263: result: ... seen good uint64_t" >&5
echo "${ECHO_T}... seen good uint64_t" >&6
cat >>$ac_stdint_h <<EOF
@@ -4564,7 +5271,7 @@
EOF
elif test "$ac_cv_type_u_int64_t" = "yes"
-then echo "$as_me:4567: result: ..adding typedef u_int64_t uint64_t" >&5
+then echo "$as_me:5274: result: ..adding typedef u_int64_t uint64_t" >&5
echo "${ECHO_T}..adding typedef u_int64_t uint64_t" >&6
cat >>$ac_stdint_h <<EOF
@@ -4574,7 +5281,7 @@
typedef u_int64_t uint64_t;
#endif
EOF
-else echo "$as_me:4577: result: ..adding generic uint64_t runtime checks" >&5
+else echo "$as_me:5284: result: ..adding generic uint64_t runtime checks" >&5
echo "${ECHO_T}..adding generic uint64_t runtime checks" >&6
cat >>$ac_stdint_h <<EOF
@@ -4623,7 +5330,7 @@
# plus a default 64-bit for systems that are likely to be 64-bit ready
case "$ac_cv_sizeof_x:$ac_cv_sizeof_voidp:$ac_cv_sizeof_long" in
- 1:2:8:8) echo "$as_me:4626: result: ..adding uint64_t default" >&5
+ 1:2:8:8) echo "$as_me:5333: result: ..adding uint64_t default" >&5
echo "${ECHO_T}..adding uint64_t default" >&6
cat >>$ac_stdint_h <<EOF
/* DEFAULT: */
@@ -4635,7 +5342,7 @@
#endif
EOF
;;
- 1:2:4:8) echo "$as_me:4638: result: ..adding uint64_t default" >&5
+ 1:2:4:8) echo "$as_me:5345: result: ..adding uint64_t default" >&5
echo "${ECHO_T}..adding uint64_t default" >&6
cat >>$ac_stdint_h <<EOF
/* DEFAULT: */
@@ -4647,7 +5354,7 @@
#endif
EOF
;;
- 1:2:8:4) echo "$as_me:4650: result: ..adding uint64_t default" >&5
+ 1:2:8:4) echo "$as_me:5357: result: ..adding uint64_t default" >&5
echo "${ECHO_T}..adding uint64_t default" >&6
cat >>$ac_stdint_h <<EOF
/* DEFAULT: */
@@ -4708,13 +5415,13 @@
EOF
;;
esac
-echo "$as_me:4711: result: ..adding typedef $a intptr_t" >&5
+echo "$as_me:5418: result: ..adding typedef $a intptr_t" >&5
echo "${ECHO_T}..adding typedef $a intptr_t" >&6
fi
# ------------- DONE intptr types START int_least types ------------
if test "$ac_cv_header_stdint_x" = "no-file" ; then
-echo "$as_me:4717: result: ..adding generic int_least-types" >&5
+echo "$as_me:5424: result: ..adding generic int_least-types" >&5
echo "${ECHO_T}..adding generic int_least-types" >&6
cat >>$ac_stdint_h <<EOF
@@ -4738,7 +5445,7 @@
EOF
fi
-echo "$as_me:4741: result: ... DONE $ac_stdint_h" >&5
+echo "$as_me:5448: result: ... DONE $ac_stdint_h" >&5
echo "${ECHO_T}... DONE $ac_stdint_h" >&6
cat >>$ac_stdint_h <<EOF
@@ -4827,11 +5534,11 @@
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:4830: creating $CONFIG_STATUS" >&5
+{ echo "$as_me:5537: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
-# Generated automatically by configure.
+# Generated automatically by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
@@ -4838,11 +5545,14 @@
debug=false
SHELL=\${CONFIG_SHELL-$SHELL}
-ac_cs_invocation="\$0 \$@"
-
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
+
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
+
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
@@ -4908,6 +5618,30 @@
exec 6>&1
+# Open the log real soon, to keep \$[0] and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling. Logging --version etc. is OK.
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running \$as_me. ##
+_ASBOX
+} >&5
+cat >&5 <<_CSEOF
+
+This file was extended by $as_me, which was
+generated by GNU Autoconf 2.52d. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $@
+
+_CSEOF
+echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
+echo >&5
_ACEOF
# Files that config.status was made for.
@@ -4927,7 +5661,7 @@
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi
-cat >>$CONFIG_STATUS <<\EOF
+cat >>$CONFIG_STATUS <<\_ACEOF
ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
@@ -4951,12 +5685,12 @@
$config_headers
Report bugs to <bug-autoconf@gnu.org>."
-EOF
+_ACEOF
-cat >>$CONFIG_STATUS <<EOF
+cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
config.status
-configured by $0, generated by GNU Autoconf 2.52,
+configured by $0, generated by GNU Autoconf 2.52d,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
@@ -4965,9 +5699,9 @@
gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir
INSTALL="$INSTALL"
-EOF
+_ACEOF
-cat >>$CONFIG_STATUS <<\EOF
+cat >>$CONFIG_STATUS <<\_ACEOF
# If no file are specified by the user, then we need to provide default
# value. By we need to know if files were specified by the user.
ac_need_defaults=:
@@ -4989,18 +5723,18 @@
case $1 in
# Handling of the options.
-EOF
-cat >>$CONFIG_STATUS <<EOF
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
-EOF
-cat >>$CONFIG_STATUS <<\EOF
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
--version | --vers* | -V )
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
- { { echo "$as_me:5003: error: ambiguous option: $1
+ { { echo "$as_me:5737: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
@@ -5019,7 +5753,7 @@
ac_need_defaults=false;;
# This is an error.
- -*) { { echo "$as_me:5022: error: unrecognized option: $1
+ -*) { { echo "$as_me:5756: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
@@ -5031,25 +5765,9 @@
shift
done
-exec 5>>config.log
-cat >&5 << _ACEOF
-
-## ----------------------- ##
-## Running config.status. ##
-## ----------------------- ##
-
-This file was extended by $as_me 2.52, executed with
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- > $ac_cs_invocation
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-
_ACEOF
-EOF
-cat >>$CONFIG_STATUS <<\EOF
+cat >>$CONFIG_STATUS <<\_ACEOF
for ac_config_target in $ac_config_targets
do
case "$ac_config_target" in
@@ -5057,7 +5775,7 @@
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"gsm/Makefile" ) CONFIG_FILES="$CONFIG_FILES gsm/Makefile" ;;
"stconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS stconfig.h" ;;
- *) { { echo "$as_me:5060: error: invalid argument: $ac_config_target" >&5
+ *) { { echo "$as_me:5778: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
esac
@@ -5094,9 +5812,9 @@
{ (exit 1); exit 1; }
}
-EOF
+_ACEOF
-cat >>$CONFIG_STATUS <<EOF
+cat >>$CONFIG_STATUS <<_ACEOF
#
# CONFIG_FILES section.
@@ -5172,9 +5890,9 @@
s,@PLAY_SUPPORT@,$PLAY_SUPPORT,;t t
CEOF
-EOF
+_ACEOF
- cat >>$CONFIG_STATUS <<\EOF
+ cat >>$CONFIG_STATUS <<\_ACEOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_lines=48
@@ -5213,8 +5931,8 @@
fi
fi # test -n "$CONFIG_FILES"
-EOF
-cat >>$CONFIG_STATUS <<\EOF
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case $ac_file in
@@ -5239,8 +5957,7 @@
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- { case "$ac_dir" in
+ { case "$ac_dir" in
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
*) as_incr_dir=.;;
esac
@@ -5251,40 +5968,46 @@
?:) as_incr_dir=$as_mkdir_dir ;;
*)
as_incr_dir=$as_incr_dir/$as_mkdir_dir
- test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+ test -d "$as_incr_dir" ||
+ mkdir "$as_incr_dir" ||
+ { { echo "$as_me:5973: error: cannot create \"$ac_dir\"" >&5
+echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
+ { (exit 1); exit 1; }; }
;;
esac
done; }
- ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
- # A "../" for each directory in $ac_dir_suffix.
- ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
- else
- ac_dir_suffix= ac_dots=
- fi
+ if test "$ac_dir" != .; then
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
+ # A "../" for each directory in $ac_dir_suffix.
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
+else
+ ac_dir_suffix= ac_top_builddir=
+fi
- case $srcdir in
- .) ac_srcdir=.
- if test -z "$ac_dots"; then
- ac_top_srcdir=.
- else
- ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
- fi ;;
- [\\/]* | ?:[\\/]* )
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir ;;
+case $srcdir in
+ .) # No --srcdir option. We are building in place.
+ ac_srcdir=.
+ if test -z "$ac_top_builddir"; then
+ ac_top_srcdir=.
+ else
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
+ fi ;;
+ [\\/]* | ?:[\\/]* ) # Absolute path.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir ;;
*) # Relative path.
- ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_dots$srcdir ;;
- esac
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
+esac
case $INSTALL in
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_dots$INSTALL ;;
+ *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
esac
if test x"$ac_file" != x-; then
- { echo "$as_me:5287: creating $ac_file" >&5
+ { echo "$as_me:6010: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
@@ -5302,7 +6025,7 @@
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:5305: error: cannot find input file: $f" >&5
+ test -f "$f" || { { echo "$as_me:6028: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
@@ -5315,18 +6038,18 @@
echo $srcdir/$f
else
# /dev/null tree
- { { echo "$as_me:5318: error: cannot find input file: $f" >&5
+ { { echo "$as_me:6041: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
esac
done` || { (exit 1); exit 1; }
-EOF
-cat >>$CONFIG_STATUS <<EOF
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
sed "$ac_vpsub
$extrasub
-EOF
-cat >>$CONFIG_STATUS <<\EOF
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s,@configure_input@,$configure_input,;t t
@@ -5343,8 +6066,8 @@
fi
done
-EOF
-cat >>$CONFIG_STATUS <<\EOF
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
#
# CONFIG_HEADER section.
@@ -5376,7 +6099,7 @@
* ) ac_file_in=$ac_file.in ;;
esac
- test x"$ac_file" != x- && { echo "$as_me:5379: creating $ac_file" >&5
+ test x"$ac_file" != x- && { echo "$as_me:6102: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
# First look for the input files in the build tree, otherwise in the
@@ -5387,7 +6110,7 @@
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:5390: error: cannot find input file: $f" >&5
+ test -f "$f" || { { echo "$as_me:6113: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
@@ -5400,7 +6123,7 @@
echo $srcdir/$f
else
# /dev/null tree
- { { echo "$as_me:5403: error: cannot find input file: $f" >&5
+ { { echo "$as_me:6126: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
@@ -5409,7 +6132,7 @@
# Remove the trailing spaces.
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
-EOF
+_ACEOF
# Transform confdefs.h into two sed scripts, `conftest.defines' and
# `conftest.undefs', that substitutes the proper values into
@@ -5425,7 +6148,7 @@
# `end' is used to avoid that the second main sed command (meant for
# 0-ary CPP macros) applies to n-ary macro definitions.
# See the Autoconf documentation for `clear'.
-cat >confdef2sed.sed <<\EOF
+cat >confdef2sed.sed <<\_ACEOF
s/[\\&,]/\\&/g
s,[\\$`],\\&,g
t clear
@@ -5434,7 +6157,7 @@
t end
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
: end
-EOF
+_ACEOF
# If some macros were called several times there might be several times
# the same #defines, which is useless. Nevertheless, we may not want to
# sort them, since we want the *last* AC-DEFINE to be honored.
@@ -5445,9 +6168,9 @@
# This sed command replaces #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
-cat >>conftest.undefs <<\EOF
+cat >>conftest.undefs <<\_ACEOF
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
-EOF
+_ACEOF
# Break up conftest.defines because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
@@ -5504,7 +6227,7 @@
done
rm -f conftest.undefs
-cat >>$CONFIG_STATUS <<\EOF
+cat >>$CONFIG_STATUS <<\_ACEOF
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated automatically by config.status. */
@@ -5517,7 +6240,7 @@
rm -f $tmp/in
if test x"$ac_file" != x-; then
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
- { echo "$as_me:5520: $ac_file is unchanged" >&5
+ { echo "$as_me:6243: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
else
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
@@ -5531,8 +6254,7 @@
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- { case "$ac_dir" in
+ { case "$ac_dir" in
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
*) as_incr_dir=.;;
esac
@@ -5543,12 +6265,15 @@
?:) as_incr_dir=$as_mkdir_dir ;;
*)
as_incr_dir=$as_incr_dir/$as_mkdir_dir
- test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+ test -d "$as_incr_dir" ||
+ mkdir "$as_incr_dir" ||
+ { { echo "$as_me:6270: error: cannot create \"$ac_dir\"" >&5
+echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
+ { (exit 1); exit 1; }; }
;;
esac
done; }
- fi
rm -f $ac_file
mv $tmp/config.h $ac_file
fi
@@ -5557,12 +6282,12 @@
rm -f $tmp/config.h
fi
done
-EOF
+_ACEOF
-cat >>$CONFIG_STATUS <<\EOF
+cat >>$CONFIG_STATUS <<\_ACEOF
{ (exit 0); exit 0; }
-EOF
+_ACEOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save
@@ -5592,4 +6317,3 @@
echo
echo "Configure finished. Do 'make; make install' to compile and install SoX."
echo
-
--- a/configure.in
+++ b/configure.in
@@ -153,7 +153,7 @@
dnl Test for MAD libraries.
-if test "madlib" != auto && test "madlib" != no
+if test "$madlib" != auto && test "$madlib" != no
then
LIBS="$LIBS -L$madlib"
fi
@@ -163,7 +163,7 @@
dnl a backup copy of the CPPFLAGS.
ac_save_CPPFLAGS="$CPPFLAGS"
-if test "madinc" != auto && test "madinc" != no
+if test "$madinc" != auto && test "$madinc" != no
then
CFLAGS="$CFLAGS -I$madinc"
ac_save_CPPFLAGS="$CPPFLAGS"
@@ -183,7 +183,7 @@
dnl Test for LAME library.
-if test "lamelib" != auto && test "lamelib" != no
+if test "$lamelib" != auto && test "$lamelib" != no
then
LIBS="$LIBS -L$lamelib"
fi
@@ -193,12 +193,12 @@
dnl a backup copy of the CPPFLAGS.
ac_save_CPPFLAGS="$CPPFLAGS"
-if test "lameinc" != auto && test "lameinc" != no
+if test "$lameinc" != auto && test "$lameinc" != no
then
CFLAGS="$CFLAGS -I$lameinc"
ac_save_CPPFLAGS="$CPPFLAGS"
if test \! -z "$lameinc" ; then
- CPPFLAGS="$CPPFLAGS -I$madinc"
+ CPPFLAGS="$CPPFLAGS -I$lameinc"
fi
fi
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -78,7 +78,7 @@
$(CC) $(LDFLAGS) -o sox sox.o $(LIBS)
soxmix.o: sox.c
- $(CC) $(CFLAGS) -DSOXMIX -c -o soxmix.o $<
+ $(CC) $(CFLAGS) -DSOXMIX -c -o soxmix.o $(srcdir)/sox.c
soxmix: libst.a $(GSM_$(GSM_SUPPORT)) soxmix.o
$(CC) $(LDFLAGS) -o soxmix soxmix.o $(LIBS)
@@ -130,6 +130,9 @@
$(INSTALL) -c -m 644 $(srcdir)/libst.3 $(mandir)/man3
$(INSTALL) -c -m 644 $(srcdir)/st.h $(includedir)
$(INSTALL) -c -m 644 ststdint.h $(includedir)
+
+install-gsmlib: $(GSM_$(GSM_SUPPORT))
+ cd gsm && $(MAKE) install-lib
PLAY_UNINSTALL_0 =
PLAY_UNINSTALL_1 = uninstall-play
--- a/src/gsm/Makefile.in
+++ b/src/gsm/Makefile.in
@@ -18,6 +18,7 @@
CC = @CC@
RANLIB = @RANLIB@
+INSTALL = @INSTALL@
AR = ar r
RM = rm -f
--- a/src/play.in
+++ b/src/play.in
@@ -188,6 +188,12 @@
;;
esac
+# If user sets AUDIODEV environment variable then force output device
+# to by that. Solaris SunRay's make use of this for sure.
+if [ -n "$AUDIODEV" ]; then
+ device="$AUDIODEV"
+fi
+
# If name is "rec" then record else assume user is wanting to play
# a sound file.
if [ "$program_name" = "rec" ]; then
--- a/src/sox.c
+++ b/src/sox.c
@@ -93,10 +93,10 @@
#define REQUIRED_INPUT_FILES 1
#endif
-static ft_t informat[MAX_INPUT_FILES] = { 0 };
+static ft_t informat[MAX_INPUT_FILES];
static int input_count = 0;
-static ft_t outformat = 0;
+static ft_t outformat;
static int output_count = 0;
/* We parse effects into a temporary effects table and then place into
@@ -133,6 +133,7 @@
int argc_effect;
ft_t ft;
int parsing_output = 0;
+ int i;
myname = argv[0];
@@ -288,6 +289,14 @@
process();
statistics();
+
+ for (i = 0; i < input_count; i++)
+ {
+ if (informat[i])
+ free(informat[i]);
+ }
+ if (outformat)
+ free(outformat);
return(0);
}
@@ -733,6 +742,15 @@
} while (1); /* break; efftab[0].olen == 0 */
+#ifdef SOXMIX
+ /* Free input buffers now that they are not used */
+ for (f = 0; f < MAX_INPUT_FILES; f++)
+ {
+ free(ibuf[f]);
+ }
+#endif
+
+
/* Drain the effects out first to last,
* pushing residue through subsequent effects */
/* oh, what a tangled web we weave */
@@ -751,8 +769,15 @@
break;
}
}
+
+ /* Free output buffers now that they won't be used */
+ for(e = 0; e < neffects; e++)
+ {
+ free(efftab[e].obuf);
+ if (efftabR[e].obuf)
+ free(efftabR[e].obuf);
+ }
-
/* Very Important:
* Effect stop is called BEFORE files close.
* Effect may write out more data after.
@@ -1186,16 +1211,25 @@
}
-/* called from util.c:fail */
+/* called from util.c::st_fail() */
void cleanup(void) {
- /* Close the input file and outputfile before exiting*/
- if (informat[0] && informat[0]->fp)
- fclose(informat[0]->fp);
- if (outformat && outformat->fp) {
- fclose(outformat->fp);
- /* remove the output file because we failed, if it's ours. */
- /* Don't if its not a regular file. */
- if (filetype(fileno(outformat->fp)) == S_IFREG)
- unlink(outformat->filename);
- }
+ int i;
+
+ /* Close the input file and outputfile before exiting*/
+ for (i = 0; i < input_count; i++)
+ {
+ if (informat[i] && informat[i]->fp)
+ fclose(informat[i]->fp);
+ if (informat[i])
+ free(informat[i]);
+ }
+ if (outformat && outformat->fp) {
+ fclose(outformat->fp);
+ /* remove the output file because we failed, if it's ours. */
+ /* Don't if its not a regular file. */
+ if (filetype(fileno(outformat->fp)) == S_IFREG)
+ unlink(outformat->filename);
+ }
+ if (outformat)
+ free(outformat);
}
--- a/src/vorbis.c
+++ b/src/vorbis.c
@@ -133,6 +133,7 @@
else
{
comment_size = 0;
+
for (i = 0; i < vc->comments; i++)
comment_size += vc->comment_lengths[i] + 1;
@@ -150,13 +151,16 @@
offset = 0;
for (i = 0; i < vc->comments; i++)
{
- strncpy(ft->comment + i, vc->user_comments[i],
+ strncpy(ft->comment + offset, vc->user_comments[i],
vc->comment_lengths[i]);
offset += vc->comment_lengths[i];
ft->comment[offset] = '\n';
offset++;
}
- ft->comment[offset] = 0; // End comment
+ /* On last comment, end string by overwriting last \n */
+ if (offset > 0)
+ offset--;
+ ft->comment[offset] = 0;
}
/* Setup buffer */