710
656
if test ! -r $srcdir/$ac_unique_file; then
711
657
if test "$ac_srcdir_defaulted" = yes; then
712
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
713
{ (exit 1); exit 1; }; }
658
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
715
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
716
{ (exit 1); exit 1; }; }
719
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
720
ac_env_build_alias_set=${build_alias+set}
721
ac_env_build_alias_value=$build_alias
722
ac_cv_env_build_alias_set=${build_alias+set}
723
ac_cv_env_build_alias_value=$build_alias
724
ac_env_host_alias_set=${host_alias+set}
725
ac_env_host_alias_value=$host_alias
726
ac_cv_env_host_alias_set=${host_alias+set}
727
ac_cv_env_host_alias_value=$host_alias
728
ac_env_target_alias_set=${target_alias+set}
729
ac_env_target_alias_value=$target_alias
730
ac_cv_env_target_alias_set=${target_alias+set}
731
ac_cv_env_target_alias_value=$target_alias
732
ac_env_CC_set=${CC+set}
734
ac_cv_env_CC_set=${CC+set}
735
ac_cv_env_CC_value=$CC
736
ac_env_CFLAGS_set=${CFLAGS+set}
737
ac_env_CFLAGS_value=$CFLAGS
738
ac_cv_env_CFLAGS_set=${CFLAGS+set}
739
ac_cv_env_CFLAGS_value=$CFLAGS
740
ac_env_LDFLAGS_set=${LDFLAGS+set}
741
ac_env_LDFLAGS_value=$LDFLAGS
742
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
743
ac_cv_env_LDFLAGS_value=$LDFLAGS
744
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
745
ac_env_CPPFLAGS_value=$CPPFLAGS
746
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
747
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
748
ac_env_CPP_set=${CPP+set}
749
ac_env_CPP_value=$CPP
750
ac_cv_env_CPP_set=${CPP+set}
751
ac_cv_env_CPP_value=$CPP
754
# Report the --help message.
756
if test "$ac_init_help" = "long"; then
757
# Omit some internal or obsolete options to make the list less imposing.
758
# This message is too long to be a string in the A/UX 3.1 sh.
760
\`configure' configures this package to adapt to many kinds of systems.
762
Usage: $0 [OPTION]... [VAR=VALUE]...
764
To assign environment variables (e.g., CC, CFLAGS...), specify them as
765
VAR=VALUE. See below for descriptions of some of the useful variables.
767
Defaults for the options are specified in brackets.
770
-h, --help display this help and exit
771
--help=short display options specific to this package
772
--help=recursive display the short help of all the included packages
773
-V, --version display version information and exit
774
-q, --quiet, --silent do not print \`checking...' messages
775
--cache-file=FILE cache test results in FILE [disabled]
776
-C, --config-cache alias for \`--cache-file=config.cache'
777
-n, --no-create do not create output files
778
--srcdir=DIR find the sources in DIR [configure dir or \`..']
783
Installation directories:
784
--prefix=PREFIX install architecture-independent files in PREFIX
786
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
789
By default, \`make install' will install all the files in
790
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
791
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
792
for instance \`--prefix=\$HOME'.
794
For better control, use the options below.
796
Fine tuning of the installation directories:
797
--bindir=DIR user executables [EPREFIX/bin]
798
--sbindir=DIR system admin executables [EPREFIX/sbin]
799
--libexecdir=DIR program executables [EPREFIX/libexec]
800
--datadir=DIR read-only architecture-independent data [PREFIX/share]
801
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
802
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
803
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
804
--libdir=DIR object code libraries [EPREFIX/lib]
805
--includedir=DIR C header files [PREFIX/include]
806
--oldincludedir=DIR C header files for non-gcc [/usr/include]
807
--infodir=DIR info documentation [PREFIX/info]
808
--mandir=DIR man documentation [PREFIX/man]
814
--program-prefix=PREFIX prepend PREFIX to installed program names
815
--program-suffix=SUFFIX append SUFFIX to installed program names
816
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
819
--build=BUILD configure for building on BUILD [guessed]
820
--host=HOST build programs to run on HOST [BUILD]
824
if test -n "$ac_init_help"; then
829
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
830
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
831
--disable-dependency-tracking Speeds up one-time builds
832
--enable-dependency-tracking Do not reject slow dependency extractors
833
--enable-shared=PKGS build shared libraries default=yes
834
--enable-static=PKGS build static libraries default=yes
835
--enable-fast-install=PKGS optimize for fast installation default=yes
836
--disable-libtool-lock avoid locking (might break parallel builds)
837
--disable-asm-optimizations Don't use any assembly optimization routines
838
--enable-debug Turn on debugging
839
--enable-sse Enable SSE support by asserting that the OS supports SSE instructions
840
--enable-3dnow Enable 3DNOW! support
843
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
844
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
845
--with-gnu-ld assume the C compiler uses GNU ld default=no
846
--with-pic try to use only PIC/non-PIC objects default=use both
847
--with-xmms-prefix=PFX Prefix where XMMS is installed (optional)
848
--with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)
850
Some influential environment variables:
851
CC C compiler command
852
CFLAGS C compiler flags
853
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
854
nonstandard directory <lib dir>
855
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
856
headers in a nonstandard directory <include dir>
859
Use these variables to override the choices made by `configure' or to help
860
it to find libraries and programs with nonstandard names/locations.
865
if test "$ac_init_help" = "recursive"; then
866
# If there are subdirs, report their specific --help.
868
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
870
# A "../" for each directory in /$ac_subdir.
871
ac_dots=`echo $ac_subdir |
872
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
875
.) # No --srcdir option. We are building in place.
876
ac_sub_srcdir=$srcdir ;;
877
[\\/]* | ?:[\\/]* ) # Absolute path.
878
ac_sub_srcdir=$srcdir/$ac_subdir ;;
880
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
883
# Check for guested configure; otherwise get Cygnus style configure.
884
if test -f $ac_sub_srcdir/configure.gnu; then
886
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
887
elif test -f $ac_sub_srcdir/configure; then
889
$SHELL $ac_sub_srcdir/configure --help=recursive
890
elif test -f $ac_sub_srcdir/configure.ac ||
891
test -f $ac_sub_srcdir/configure.in; then
895
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
901
test -n "$ac_init_help" && exit 0
902
if $ac_init_version; then
905
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
906
Free Software Foundation, Inc.
907
This configure script is free software; the Free Software Foundation
908
gives unlimited permission to copy, distribute and modify it.
914
This file contains any messages produced by compilers while
915
running configure, to aid debugging if configure makes a mistake.
917
It was created by $as_me, which was
918
generated by GNU Autoconf 2.52. Invocation command line was
929
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
930
uname -m = `(uname -m) 2>/dev/null || echo unknown`
931
uname -r = `(uname -r) 2>/dev/null || echo unknown`
932
uname -s = `(uname -s) 2>/dev/null || echo unknown`
933
uname -v = `(uname -v) 2>/dev/null || echo unknown`
935
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
936
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
938
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
939
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
940
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
941
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
942
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
943
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
944
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
958
# Keep a trace of the command line.
959
# Strip out --no-create and --no-recursion so they do not pile up.
960
# Also quote any args containing shell meta-characters.
966
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
967
| --no-cr | --no-c) ;;
968
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
969
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
970
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
971
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
972
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
974
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
977
# Get rid of the leading space.
980
# When interrupted or exit'd, cleanup temporary files, and complete
981
# config.log. We remove comments because anyway the quotes in there
982
# would cause problems or look ugly.
984
# Save into config.log some information that might help in debugging.
986
echo "## ----------------- ##" >&5
987
echo "## Cache variables. ##" >&5
988
echo "## ----------------- ##" >&5
990
# The following way of writing the cache mishandles newlines in values,
993
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
996
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
997
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1001
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1005
sed "/^$/d" confdefs.h >conftest.log
1006
if test -s conftest.log; then
1008
echo "## ------------ ##" >&5
1009
echo "## confdefs.h. ##" >&5
1010
echo "## ------------ ##" >&5
1012
cat conftest.log >&5
1015
test "$ac_signal" != 0 &&
1016
echo "$as_me: caught signal $ac_signal" >&5
1017
echo "$as_me: exit $exit_status" >&5
1018
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1021
for ac_signal in 1 2 13 15; do
1022
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1026
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1027
rm -rf conftest* confdefs.h
1028
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1031
# Let the site file select an alternate cache file if it wants to.
660
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
663
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1032
665
# Prefer explicitly selected file to automatically selected ones.
1033
666
if test -z "$CONFIG_SITE"; then
1034
667
if test "x$prefix" != xNONE; then
1615
echo "$as_me:1615: result: $_am_result" >&5
1616
echo "${ECHO_T}$_am_result" >&6
1055
echo "$ac_t""$_am_result" 1>&6
1617
1056
rm -f confinc confmf
1620
ac_cpp='$CPP $CPPFLAGS'
1621
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1622
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1623
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1624
if test -n "$ac_tool_prefix"; then
1625
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1626
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1627
echo "$as_me:1627: checking for $ac_word" >&5
1628
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1629
if test "${ac_cv_prog_CC+set}" = set; then
1630
echo $ECHO_N "(cached) $ECHO_C" >&6
1632
if test -n "$CC"; then
1633
ac_cv_prog_CC="$CC" # Let the user override the test.
1635
ac_save_IFS=$IFS; IFS=$ac_path_separator
1637
for ac_dir in $ac_dummy; do
1639
test -z "$ac_dir" && ac_dir=.
1640
$as_executable_p "$ac_dir/$ac_word" || continue
1641
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1642
echo "$as_me:1642: found $ac_dir/$ac_word" >&5
1649
if test -n "$CC"; then
1650
echo "$as_me:1650: result: $CC" >&5
1651
echo "${ECHO_T}$CC" >&6
1653
echo "$as_me:1653: result: no" >&5
1654
echo "${ECHO_T}no" >&6
1658
if test -z "$ac_cv_prog_CC"; then
1660
# Extract the first word of "gcc", so it can be a program name with args.
1058
# Find the correct PATH separator. Usually this is `:', but
1059
# DJGPP uses `;' like DOS.
1060
if test "X${PATH_SEPARATOR+set}" != Xset; then
1061
UNAME=${UNAME-`uname 2>/dev/null`}
1063
*-DOS) lt_cv_sys_path_separator=';' ;;
1064
*) lt_cv_sys_path_separator=':' ;;
1066
PATH_SEPARATOR=$lt_cv_sys_path_separator
1069
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1070
echo "configure:1071: checking for Cygwin environment" >&5
1071
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1072
echo $ac_n "(cached) $ac_c" 1>&6
1074
cat > conftest.$ac_ext <<EOF
1075
#line 1076 "configure"
1076
#include "confdefs.h"
1081
#define __CYGWIN__ __CYGWIN32__
1086
if { (eval echo configure:1087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1090
echo "configure: failed program was:" >&5
1091
cat conftest.$ac_ext >&5
1099
echo "$ac_t""$ac_cv_cygwin" 1>&6
1101
test "$ac_cv_cygwin" = yes && CYGWIN=yes
1102
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1103
echo "configure:1104: checking for mingw32 environment" >&5
1104
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1105
echo $ac_n "(cached) $ac_c" 1>&6
1107
cat > conftest.$ac_ext <<EOF
1108
#line 1109 "configure"
1109
#include "confdefs.h"
1115
if { (eval echo configure:1116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1119
echo "configure: failed program was:" >&5
1120
cat conftest.$ac_ext >&5
1128
echo "$ac_t""$ac_cv_mingw32" 1>&6
1130
test "$ac_cv_mingw32" = yes && MINGW32=yes
1131
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1132
echo "configure:1133: checking how to run the C preprocessor" >&5
1133
# On Suns, sometimes $CPP names a directory.
1134
if test -n "$CPP" && test -d "$CPP"; then
1137
if test -z "$CPP"; then
1138
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1139
echo $ac_n "(cached) $ac_c" 1>&6
1141
# This must be in double quotes, not single quotes, because CPP may get
1142
# substituted into the Makefile and "${CC-cc}" will confuse make.
1144
# On the NeXT, cc -E runs the code through the compiler's parser,
1145
# not just through cpp.
1146
cat > conftest.$ac_ext <<EOF
1147
#line 1148 "configure"
1148
#include "confdefs.h"
1152
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1153
{ (eval echo configure:1154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1154
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1155
if test -z "$ac_err"; then
1159
echo "configure: failed program was:" >&5
1160
cat conftest.$ac_ext >&5
1162
CPP="${CC-cc} -E -traditional-cpp"
1163
cat > conftest.$ac_ext <<EOF
1164
#line 1165 "configure"
1165
#include "confdefs.h"
1169
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1170
{ (eval echo configure:1171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1171
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1172
if test -z "$ac_err"; then
1176
echo "configure: failed program was:" >&5
1177
cat conftest.$ac_ext >&5
1179
CPP="${CC-cc} -nologo -E"
1180
cat > conftest.$ac_ext <<EOF
1181
#line 1182 "configure"
1182
#include "confdefs.h"
1186
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1187
{ (eval echo configure:1188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1188
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1189
if test -z "$ac_err"; then
1193
echo "configure: failed program was:" >&5
1194
cat conftest.$ac_ext >&5
1203
ac_cv_prog_CPP="$CPP"
1205
CPP="$ac_cv_prog_CPP"
1207
ac_cv_prog_CPP="$CPP"
1209
echo "$ac_t""$CPP" 1>&6
1211
# Check whether --enable-shared or --disable-shared was given.
1212
if test "${enable_shared+set}" = set; then
1213
enableval="$enable_shared"
1214
p=${PACKAGE-default}
1216
yes) enable_shared=yes ;;
1217
no) enable_shared=no ;;
1220
# Look at the argument we got. We use all the common list separators.
1221
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1222
for pkg in $enableval; do
1223
if test "X$pkg" = "X$p"; then
1234
# Check whether --enable-static or --disable-static was given.
1235
if test "${enable_static+set}" = set; then
1236
enableval="$enable_static"
1237
p=${PACKAGE-default}
1239
yes) enable_static=yes ;;
1240
no) enable_static=no ;;
1243
# Look at the argument we got. We use all the common list separators.
1244
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1245
for pkg in $enableval; do
1246
if test "X$pkg" = "X$p"; then
1257
# Check whether --enable-fast-install or --disable-fast-install was given.
1258
if test "${enable_fast_install+set}" = set; then
1259
enableval="$enable_fast_install"
1260
p=${PACKAGE-default}
1262
yes) enable_fast_install=yes ;;
1263
no) enable_fast_install=no ;;
1265
enable_fast_install=no
1266
# Look at the argument we got. We use all the common list separators.
1267
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1268
for pkg in $enableval; do
1269
if test "X$pkg" = "X$p"; then
1270
enable_fast_install=yes
1277
enable_fast_install=yes
1281
# Make sure we can run config.sub.
1282
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1283
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1286
echo $ac_n "checking host system type""... $ac_c" 1>&6
1287
echo "configure:1288: checking host system type" >&5
1290
case "$host_alias" in
1294
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1295
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1297
*) host_alias=$nonopt ;;
1301
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1302
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1303
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1304
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1305
echo "$ac_t""$host" 1>&6
1307
echo $ac_n "checking build system type""... $ac_c" 1>&6
1308
echo "configure:1309: checking build system type" >&5
1311
case "$build_alias" in
1314
NONE) build_alias=$host_alias ;;
1315
*) build_alias=$nonopt ;;
1319
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1320
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1321
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1322
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1323
echo "$ac_t""$build" 1>&6
1325
# Extract the first word of "gcc", so it can be a program name with args.
1661
1326
set dummy gcc; ac_word=$2
1662
echo "$as_me:1662: checking for $ac_word" >&5
1663
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1664
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1665
echo $ECHO_N "(cached) $ECHO_C" >&6
1667
if test -n "$ac_ct_CC"; then
1668
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1670
ac_save_IFS=$IFS; IFS=$ac_path_separator
1672
for ac_dir in $ac_dummy; do
1674
test -z "$ac_dir" && ac_dir=.
1675
$as_executable_p "$ac_dir/$ac_word" || continue
1676
ac_cv_prog_ac_ct_CC="gcc"
1677
echo "$as_me:1677: found $ac_dir/$ac_word" >&5
1683
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1684
if test -n "$ac_ct_CC"; then
1685
echo "$as_me:1685: result: $ac_ct_CC" >&5
1686
echo "${ECHO_T}$ac_ct_CC" >&6
1688
echo "$as_me:1688: result: no" >&5
1689
echo "${ECHO_T}no" >&6
1697
if test -z "$CC"; then
1698
if test -n "$ac_tool_prefix"; then
1699
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1700
set dummy ${ac_tool_prefix}cc; ac_word=$2
1701
echo "$as_me:1701: checking for $ac_word" >&5
1702
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703
if test "${ac_cv_prog_CC+set}" = set; then
1704
echo $ECHO_N "(cached) $ECHO_C" >&6
1327
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1328
echo "configure:1329: checking for $ac_word" >&5
1329
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1330
echo $ac_n "(cached) $ac_c" 1>&6
1706
1332
if test -n "$CC"; then
1707
1333
ac_cv_prog_CC="$CC" # Let the user override the test.
1709
ac_save_IFS=$IFS; IFS=$ac_path_separator
1711
for ac_dir in $ac_dummy; do
1713
test -z "$ac_dir" && ac_dir=.
1714
$as_executable_p "$ac_dir/$ac_word" || continue
1715
ac_cv_prog_CC="${ac_tool_prefix}cc"
1716
echo "$as_me:1716: found $ac_dir/$ac_word" >&5
1335
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1337
for ac_dir in $ac_dummy; do
1338
test -z "$ac_dir" && ac_dir=.
1339
if test -f $ac_dir/$ac_word; then
1723
1348
if test -n "$CC"; then
1724
echo "$as_me:1724: result: $CC" >&5
1725
echo "${ECHO_T}$CC" >&6
1727
echo "$as_me:1727: result: no" >&5
1728
echo "${ECHO_T}no" >&6
1732
if test -z "$ac_cv_prog_CC"; then
1734
# Extract the first word of "cc", so it can be a program name with args.
1735
set dummy cc; ac_word=$2
1736
echo "$as_me:1736: checking for $ac_word" >&5
1737
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1738
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1739
echo $ECHO_N "(cached) $ECHO_C" >&6
1741
if test -n "$ac_ct_CC"; then
1742
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1744
ac_save_IFS=$IFS; IFS=$ac_path_separator
1746
for ac_dir in $ac_dummy; do
1748
test -z "$ac_dir" && ac_dir=.
1749
$as_executable_p "$ac_dir/$ac_word" || continue
1750
ac_cv_prog_ac_ct_CC="cc"
1751
echo "$as_me:1751: found $ac_dir/$ac_word" >&5
1757
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1758
if test -n "$ac_ct_CC"; then
1759
echo "$as_me:1759: result: $ac_ct_CC" >&5
1760
echo "${ECHO_T}$ac_ct_CC" >&6
1762
echo "$as_me:1762: result: no" >&5
1763
echo "${ECHO_T}no" >&6
1349
echo "$ac_t""$CC" 1>&6
1351
echo "$ac_t""no" 1>&6
1772
1354
if test -z "$CC"; then
1773
1355
# Extract the first word of "cc", so it can be a program name with args.
1774
1356
set dummy cc; ac_word=$2
1775
echo "$as_me:1775: checking for $ac_word" >&5
1776
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777
if test "${ac_cv_prog_CC+set}" = set; then
1778
echo $ECHO_N "(cached) $ECHO_C" >&6
1357
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1358
echo "configure:1359: checking for $ac_word" >&5
1359
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1360
echo $ac_n "(cached) $ac_c" 1>&6
1780
1362
if test -n "$CC"; then
1781
1363
ac_cv_prog_CC="$CC" # Let the user override the test.
1365
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1783
1366
ac_prog_rejected=no
1784
ac_save_IFS=$IFS; IFS=$ac_path_separator
1786
for ac_dir in $ac_dummy; do
1788
test -z "$ac_dir" && ac_dir=.
1789
$as_executable_p "$ac_dir/$ac_word" || continue
1790
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1791
ac_prog_rejected=yes
1795
echo "$as_me:1795: found $ac_dir/$ac_word" >&5
1368
for ac_dir in $ac_dummy; do
1369
test -z "$ac_dir" && ac_dir=.
1370
if test -f $ac_dir/$ac_word; then
1371
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1372
ac_prog_rejected=yes
1799
1380
if test $ac_prog_rejected = yes; then
1800
1381
# We found a bogon in the path, so make sure we never use it.
1801
1382
set dummy $ac_cv_prog_CC
1803
if test $# != 0; then
1384
if test $# -gt 0; then
1804
1385
# We chose a different compiler from the bogus one.
1805
1386
# However, it has the same basename, so the bogon will be chosen
1806
1387
# first if we set CC to just the basename; use the full file name.
1808
set dummy "$ac_dir/$ac_word" ${1+"$@"}
1389
set dummy "$ac_dir/$ac_word" "$@"
1810
1391
ac_cv_prog_CC="$@"
1816
1397
if test -n "$CC"; then
1817
echo "$as_me:1817: result: $CC" >&5
1818
echo "${ECHO_T}$CC" >&6
1398
echo "$ac_t""$CC" 1>&6
1820
echo "$as_me:1820: result: no" >&5
1821
echo "${ECHO_T}no" >&6
1400
echo "$ac_t""no" 1>&6
1825
if test -z "$CC"; then
1826
if test -n "$ac_tool_prefix"; then
1829
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1830
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1831
echo "$as_me:1831: checking for $ac_word" >&5
1832
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1833
if test "${ac_cv_prog_CC+set}" = set; then
1834
echo $ECHO_N "(cached) $ECHO_C" >&6
1403
if test -z "$CC"; then
1404
case "`uname -s`" in
1406
# Extract the first word of "cl", so it can be a program name with args.
1407
set dummy cl; ac_word=$2
1408
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1409
echo "configure:1410: checking for $ac_word" >&5
1410
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1411
echo $ac_n "(cached) $ac_c" 1>&6
1836
1413
if test -n "$CC"; then
1837
1414
ac_cv_prog_CC="$CC" # Let the user override the test.
1839
ac_save_IFS=$IFS; IFS=$ac_path_separator
1841
for ac_dir in $ac_dummy; do
1843
test -z "$ac_dir" && ac_dir=.
1844
$as_executable_p "$ac_dir/$ac_word" || continue
1845
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1846
echo "$as_me:1846: found $ac_dir/$ac_word" >&5
1853
if test -n "$CC"; then
1854
echo "$as_me:1854: result: $CC" >&5
1855
echo "${ECHO_T}$CC" >&6
1857
echo "$as_me:1857: result: no" >&5
1858
echo "${ECHO_T}no" >&6
1861
test -n "$CC" && break
1416
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1418
for ac_dir in $ac_dummy; do
1419
test -z "$ac_dir" && ac_dir=.
1420
if test -f $ac_dir/$ac_word; then
1864
if test -z "$CC"; then
1868
# Extract the first word of "$ac_prog", so it can be a program name with args.
1869
set dummy $ac_prog; ac_word=$2
1870
echo "$as_me:1870: checking for $ac_word" >&5
1871
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1873
echo $ECHO_N "(cached) $ECHO_C" >&6
1875
if test -n "$ac_ct_CC"; then
1876
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1878
ac_save_IFS=$IFS; IFS=$ac_path_separator
1880
for ac_dir in $ac_dummy; do
1882
test -z "$ac_dir" && ac_dir=.
1883
$as_executable_p "$ac_dir/$ac_word" || continue
1884
ac_cv_prog_ac_ct_CC="$ac_prog"
1885
echo "$as_me:1885: found $ac_dir/$ac_word" >&5
1891
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1892
if test -n "$ac_ct_CC"; then
1893
echo "$as_me:1893: result: $ac_ct_CC" >&5
1894
echo "${ECHO_T}$ac_ct_CC" >&6
1896
echo "$as_me:1896: result: no" >&5
1897
echo "${ECHO_T}no" >&6
1900
test -n "$ac_ct_CC" && break
1908
test -z "$CC" && { { echo "$as_me:1908: error: no acceptable cc found in \$PATH" >&5
1909
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1910
{ (exit 1); exit 1; }; }
1912
# Provide some information about the compiler.
1913
echo "$as_me:1913:" \
1914
"checking for C compiler version" >&5
1915
ac_compiler=`set X $ac_compile; echo $2`
1916
{ (eval echo "$as_me:1916: \"$ac_compiler --version </dev/null >&5\"") >&5
1917
(eval $ac_compiler --version </dev/null >&5) 2>&5
1919
echo "$as_me:1919: \$? = $ac_status" >&5
1920
(exit $ac_status); }
1921
{ (eval echo "$as_me:1921: \"$ac_compiler -v </dev/null >&5\"") >&5
1922
(eval $ac_compiler -v </dev/null >&5) 2>&5
1924
echo "$as_me:1924: \$? = $ac_status" >&5
1925
(exit $ac_status); }
1926
{ (eval echo "$as_me:1926: \"$ac_compiler -V </dev/null >&5\"") >&5
1927
(eval $ac_compiler -V </dev/null >&5) 2>&5
1929
echo "$as_me:1929: \$? = $ac_status" >&5
1930
(exit $ac_status); }
1932
cat >conftest.$ac_ext <<_ACEOF
1933
#line 1933 "configure"
1429
if test -n "$CC"; then
1430
echo "$ac_t""$CC" 1>&6
1432
echo "$ac_t""no" 1>&6
1437
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1440
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1441
echo "configure:1442: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1444
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1445
ac_cpp='$CPP $CPPFLAGS'
1446
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1447
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1448
cross_compiling=$ac_cv_prog_cc_cross
1450
cat > conftest.$ac_ext << EOF
1452
#line 1453 "configure"
1934
1453
#include "confdefs.h"
1944
ac_clean_files_save=$ac_clean_files
1945
ac_clean_files="$ac_clean_files a.out a.exe"
1946
# Try to create an executable without -o first, disregard a.out.
1947
# It will help us diagnose broken compilers, and finding out an intuition
1949
echo "$as_me:1949: checking for C compiler default output" >&5
1950
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1951
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1952
if { (eval echo "$as_me:1952: \"$ac_link_default\"") >&5
1953
(eval $ac_link_default) 2>&5
1955
echo "$as_me:1955: \$? = $ac_status" >&5
1956
(exit $ac_status); }; then
1957
# Find the output, starting from the most likely. This scheme is
1958
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1960
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1961
ls a.out conftest 2>/dev/null;
1962
ls a.* conftest.* 2>/dev/null`; do
1964
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1965
a.out ) # We found the default executable, but exeext='' is most
1968
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1969
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1976
echo "$as_me: failed program was:" >&5
1977
cat conftest.$ac_ext >&5
1978
{ { echo "$as_me:1978: error: C compiler cannot create executables" >&5
1979
echo "$as_me: error: C compiler cannot create executables" >&2;}
1980
{ (exit 77); exit 77; }; }
1983
ac_exeext=$ac_cv_exeext
1984
echo "$as_me:1984: result: $ac_file" >&5
1985
echo "${ECHO_T}$ac_file" >&6
1987
# Check the compiler produces executables we can run. If not, either
1988
# the compiler is broken, or we cross compile.
1989
echo "$as_me:1989: checking whether the C compiler works" >&5
1990
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1991
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1992
# If not cross compiling, check that we can run a simple program.
1993
if test "$cross_compiling" != yes; then
1994
if { ac_try='./$ac_file'
1995
{ (eval echo "$as_me:1995: \"$ac_try\"") >&5
1998
echo "$as_me:1998: \$? = $ac_status" >&5
1999
(exit $ac_status); }; }; then
1457
if { (eval echo configure:1458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1458
ac_cv_prog_cc_works=yes
1459
# If we can't run a trivial program, we are probably using a cross compiler.
1460
if (./conftest; exit) 2>/dev/null; then
1461
ac_cv_prog_cc_cross=no
2002
if test "$cross_compiling" = maybe; then
2005
{ { echo "$as_me:2005: error: cannot run C compiled programs.
2006
If you meant to cross compile, use \`--host'." >&5
2007
echo "$as_me: error: cannot run C compiled programs.
2008
If you meant to cross compile, use \`--host'." >&2;}
2009
{ (exit 1); exit 1; }; }
1463
ac_cv_prog_cc_cross=yes
2013
echo "$as_me:2013: result: yes" >&5
2014
echo "${ECHO_T}yes" >&6
2016
rm -f a.out a.exe conftest$ac_cv_exeext
2017
ac_clean_files=$ac_clean_files_save
2018
# Check the compiler produces executables we can run. If not, either
2019
# the compiler is broken, or we cross compile.
2020
echo "$as_me:2020: checking whether we are cross compiling" >&5
2021
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2022
echo "$as_me:2022: result: $cross_compiling" >&5
2023
echo "${ECHO_T}$cross_compiling" >&6
2025
echo "$as_me:2025: checking for executable suffix" >&5
2026
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2027
if { (eval echo "$as_me:2027: \"$ac_link\"") >&5
2028
(eval $ac_link) 2>&5
2030
echo "$as_me:2030: \$? = $ac_status" >&5
2031
(exit $ac_status); }; then
2032
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2033
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2034
# work properly (i.e., refer to `conftest.exe'), while it won't with
2036
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2038
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2039
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2046
{ { echo "$as_me:2046: error: cannot compute EXEEXT: cannot compile and link" >&5
2047
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2048
{ (exit 1); exit 1; }; }
2051
rm -f conftest$ac_cv_exeext
2052
echo "$as_me:2052: result: $ac_cv_exeext" >&5
2053
echo "${ECHO_T}$ac_cv_exeext" >&6
2055
rm -f conftest.$ac_ext
2056
EXEEXT=$ac_cv_exeext
2058
echo "$as_me:2058: checking for object suffix" >&5
2059
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2060
if test "${ac_cv_objext+set}" = set; then
2061
echo $ECHO_N "(cached) $ECHO_C" >&6
2063
cat >conftest.$ac_ext <<_ACEOF
2064
#line 2064 "configure"
2065
#include "confdefs.h"
2075
rm -f conftest.o conftest.obj
2076
if { (eval echo "$as_me:2076: \"$ac_compile\"") >&5
2077
(eval $ac_compile) 2>&5
2079
echo "$as_me:2079: \$? = $ac_status" >&5
2080
(exit $ac_status); }; then
2081
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2083
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2084
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2089
echo "$as_me: failed program was:" >&5
2090
cat conftest.$ac_ext >&5
2091
{ { echo "$as_me:2091: error: cannot compute OBJEXT: cannot compile" >&5
2092
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2093
{ (exit 1); exit 1; }; }
2096
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2098
echo "$as_me:2098: result: $ac_cv_objext" >&5
2099
echo "${ECHO_T}$ac_cv_objext" >&6
2100
OBJEXT=$ac_cv_objext
2102
echo "$as_me:2102: checking whether we are using the GNU C compiler" >&5
2103
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2104
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2105
echo $ECHO_N "(cached) $ECHO_C" >&6
2107
cat >conftest.$ac_ext <<_ACEOF
2108
#line 2108 "configure"
2109
#include "confdefs.h"
1466
echo "configure: failed program was:" >&5
1467
cat conftest.$ac_ext >&5
1468
ac_cv_prog_cc_works=no
1472
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1473
ac_cpp='$CPP $CPPFLAGS'
1474
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1475
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1476
cross_compiling=$ac_cv_prog_cc_cross
1478
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1479
if test $ac_cv_prog_cc_works = no; then
1480
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1482
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1483
echo "configure:1484: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1484
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1485
cross_compiling=$ac_cv_prog_cc_cross
1487
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1488
echo "configure:1489: checking whether we are using GNU C" >&5
1489
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1490
echo $ac_n "(cached) $ac_c" 1>&6
1492
cat > conftest.c <<EOF
2122
rm -f conftest.$ac_objext
2123
if { (eval echo "$as_me:2123: \"$ac_compile\"") >&5
2124
(eval $ac_compile) 2>&5
2126
echo "$as_me:2126: \$? = $ac_status" >&5
2127
(exit $ac_status); } &&
2128
{ ac_try='test -s conftest.$ac_objext'
2129
{ (eval echo "$as_me:2129: \"$ac_try\"") >&5
2132
echo "$as_me:2132: \$? = $ac_status" >&5
2133
(exit $ac_status); }; }; then
2136
echo "$as_me: failed program was:" >&5
2137
cat conftest.$ac_ext >&5
2140
rm -f conftest.$ac_objext conftest.$ac_ext
2141
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2144
echo "$as_me:2144: result: $ac_cv_c_compiler_gnu" >&5
2145
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2146
GCC=`test $ac_compiler_gnu = yes && echo yes`
2147
ac_test_CFLAGS=${CFLAGS+set}
2148
ac_save_CFLAGS=$CFLAGS
2150
echo "$as_me:2150: checking whether $CC accepts -g" >&5
2151
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2152
if test "${ac_cv_prog_cc_g+set}" = set; then
2153
echo $ECHO_N "(cached) $ECHO_C" >&6
2155
cat >conftest.$ac_ext <<_ACEOF
2156
#line 2156 "configure"
2157
#include "confdefs.h"
2167
rm -f conftest.$ac_objext
2168
if { (eval echo "$as_me:2168: \"$ac_compile\"") >&5
2169
(eval $ac_compile) 2>&5
2171
echo "$as_me:2171: \$? = $ac_status" >&5
2172
(exit $ac_status); } &&
2173
{ ac_try='test -s conftest.$ac_objext'
2174
{ (eval echo "$as_me:2174: \"$ac_try\"") >&5
2177
echo "$as_me:2177: \$? = $ac_status" >&5
2178
(exit $ac_status); }; }; then
1497
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1504
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1506
if test $ac_cv_prog_gcc = yes; then
1512
ac_test_CFLAGS="${CFLAGS+set}"
1513
ac_save_CFLAGS="$CFLAGS"
1515
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1516
echo "configure:1517: checking whether ${CC-cc} accepts -g" >&5
1517
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1518
echo $ac_n "(cached) $ac_c" 1>&6
1520
echo 'void f(){}' > conftest.c
1521
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2179
1522
ac_cv_prog_cc_g=yes
2181
echo "$as_me: failed program was:" >&5
2182
cat conftest.$ac_ext >&5
2185
rm -f conftest.$ac_objext conftest.$ac_ext
2187
echo "$as_me:2187: result: $ac_cv_prog_cc_g" >&5
2188
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1530
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2189
1531
if test "$ac_test_CFLAGS" = set; then
2190
CFLAGS=$ac_save_CFLAGS
1532
CFLAGS="$ac_save_CFLAGS"
2191
1533
elif test $ac_cv_prog_cc_g = yes; then
2192
1534
if test "$GCC" = yes; then
2193
1535
CFLAGS="-g -O2"
5361
echo "$as_me:5361: checking for shl_load" >&5
5362
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
5363
if test "${ac_cv_func_shl_load+set}" = set; then
5364
echo $ECHO_N "(cached) $ECHO_C" >&6
4342
echo $ac_n "checking for shl_load""... $ac_c" 1>&6
4343
echo "configure:4344: checking for shl_load" >&5
4344
if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
4345
echo $ac_n "(cached) $ac_c" 1>&6
5366
cat >conftest.$ac_ext <<_ACEOF
5367
#line 5367 "configure"
4347
cat > conftest.$ac_ext <<EOF
4348
#line 4349 "configure"
5368
4349
#include "confdefs.h"
5369
4350
/* System header to define __stub macros and hopefully few prototypes,
5370
which can conflict with char shl_load (); below. */
4351
which can conflict with char shl_load(); below. */
5371
4352
#include <assert.h>
5372
4353
/* Override any gcc2 internal prototype to avoid an error. */
5376
4354
/* We use char because int might match the return type of a gcc2
5377
builtin and then its argument prototype would still apply. */
4355
builtin and then its argument prototype would still apply. */
5384
4360
/* The GNU C library defines this for functions which it implements
5385
4361
to always fail with ENOSYS. Some functions are actually named
5386
4362
something starting with __ and the normal name is an alias. */
5387
4363
#if defined (__stub_shl_load) || defined (__stub___shl_load)
5397
rm -f conftest.$ac_objext conftest$ac_exeext
5398
if { (eval echo "$as_me:5398: \"$ac_link\"") >&5
5399
(eval $ac_link) 2>&5
5401
echo "$as_me:5401: \$? = $ac_status" >&5
5402
(exit $ac_status); } &&
5403
{ ac_try='test -s conftest$ac_exeext'
5404
{ (eval echo "$as_me:5404: \"$ac_try\"") >&5
5407
echo "$as_me:5407: \$? = $ac_status" >&5
5408
(exit $ac_status); }; }; then
5409
ac_cv_func_shl_load=yes
4371
if { (eval echo configure:4372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4373
eval "ac_cv_func_shl_load=yes"
5411
echo "$as_me: failed program was:" >&5
5412
cat conftest.$ac_ext >&5
5413
ac_cv_func_shl_load=no
5415
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5417
echo "$as_me:5417: result: $ac_cv_func_shl_load" >&5
5418
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
5419
if test $ac_cv_func_shl_load = yes; then
4375
echo "configure: failed program was:" >&5
4376
cat conftest.$ac_ext >&5
4378
eval "ac_cv_func_shl_load=no"
4383
if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
4384
echo "$ac_t""yes" 1>&6
5420
4385
lt_cv_dlopen="shl_load"
5422
echo "$as_me:5422: checking for shl_load in -ldld" >&5
5423
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
5424
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
5425
echo $ECHO_N "(cached) $ECHO_C" >&6
4387
echo "$ac_t""no" 1>&6
4388
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
4389
echo "configure:4390: checking for shl_load in -ldld" >&5
4390
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
4391
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4392
echo $ac_n "(cached) $ac_c" 1>&6
5427
ac_check_lib_save_LIBS=$LIBS
4394
ac_save_LIBS="$LIBS"
5428
4395
LIBS="-ldld $LIBS"
5429
cat >conftest.$ac_ext <<_ACEOF
5430
#line 5430 "configure"
4396
cat > conftest.$ac_ext <<EOF
4397
#line 4398 "configure"
5431
4398
#include "confdefs.h"
5433
4399
/* Override any gcc2 internal prototype to avoid an error. */
5437
4400
/* We use char because int might match the return type of a gcc2
5438
builtin and then its argument prototype would still apply. */
5448
rm -f conftest.$ac_objext conftest$ac_exeext
5449
if { (eval echo "$as_me:5449: \"$ac_link\"") >&5
5450
(eval $ac_link) 2>&5
5452
echo "$as_me:5452: \$? = $ac_status" >&5
5453
(exit $ac_status); } &&
5454
{ ac_try='test -s conftest$ac_exeext'
5455
{ (eval echo "$as_me:5455: \"$ac_try\"") >&5
5458
echo "$as_me:5458: \$? = $ac_status" >&5
5459
(exit $ac_status); }; }; then
5460
ac_cv_lib_dld_shl_load=yes
4401
builtin and then its argument prototype would still apply. */
4408
if { (eval echo configure:4409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4410
eval "ac_cv_lib_$ac_lib_var=yes"
5462
echo "$as_me: failed program was:" >&5
5463
cat conftest.$ac_ext >&5
5464
ac_cv_lib_dld_shl_load=no
5466
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5467
LIBS=$ac_check_lib_save_LIBS
5469
echo "$as_me:5469: result: $ac_cv_lib_dld_shl_load" >&5
5470
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
5471
if test $ac_cv_lib_dld_shl_load = yes; then
4412
echo "configure: failed program was:" >&5
4413
cat conftest.$ac_ext >&5
4415
eval "ac_cv_lib_$ac_lib_var=no"
4418
LIBS="$ac_save_LIBS"
4421
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4422
echo "$ac_t""yes" 1>&6
5472
4423
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
5474
echo "$as_me:5474: checking for dlopen" >&5
5475
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
5476
if test "${ac_cv_func_dlopen+set}" = set; then
5477
echo $ECHO_N "(cached) $ECHO_C" >&6
4425
echo "$ac_t""no" 1>&6
4426
echo $ac_n "checking for dlopen""... $ac_c" 1>&6
4427
echo "configure:4428: checking for dlopen" >&5
4428
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
4429
echo $ac_n "(cached) $ac_c" 1>&6
5479
cat >conftest.$ac_ext <<_ACEOF
5480
#line 5480 "configure"
4431
cat > conftest.$ac_ext <<EOF
4432
#line 4433 "configure"
5481
4433
#include "confdefs.h"
5482
4434
/* System header to define __stub macros and hopefully few prototypes,
5483
which can conflict with char dlopen (); below. */
4435
which can conflict with char dlopen(); below. */
5484
4436
#include <assert.h>
5485
4437
/* Override any gcc2 internal prototype to avoid an error. */
5489
4438
/* We use char because int might match the return type of a gcc2
5490
builtin and then its argument prototype would still apply. */
4439
builtin and then its argument prototype would still apply. */
5497
4444
/* The GNU C library defines this for functions which it implements
5498
4445
to always fail with ENOSYS. Some functions are actually named
5499
4446
something starting with __ and the normal name is an alias. */
5500
4447
#if defined (__stub_dlopen) || defined (__stub___dlopen)
5510
rm -f conftest.$ac_objext conftest$ac_exeext
5511
if { (eval echo "$as_me:5511: \"$ac_link\"") >&5
5512
(eval $ac_link) 2>&5
5514
echo "$as_me:5514: \$? = $ac_status" >&5
5515
(exit $ac_status); } &&
5516
{ ac_try='test -s conftest$ac_exeext'
5517
{ (eval echo "$as_me:5517: \"$ac_try\"") >&5
5520
echo "$as_me:5520: \$? = $ac_status" >&5
5521
(exit $ac_status); }; }; then
5522
ac_cv_func_dlopen=yes
4455
if { (eval echo configure:4456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4457
eval "ac_cv_func_dlopen=yes"
5524
echo "$as_me: failed program was:" >&5
5525
cat conftest.$ac_ext >&5
5526
ac_cv_func_dlopen=no
5528
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5530
echo "$as_me:5530: result: $ac_cv_func_dlopen" >&5
5531
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
5532
if test $ac_cv_func_dlopen = yes; then
4459
echo "configure: failed program was:" >&5
4460
cat conftest.$ac_ext >&5
4462
eval "ac_cv_func_dlopen=no"
4467
if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
4468
echo "$ac_t""yes" 1>&6
5533
4469
lt_cv_dlopen="dlopen"
5535
echo "$as_me:5535: checking for dlopen in -ldl" >&5
5536
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5537
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5538
echo $ECHO_N "(cached) $ECHO_C" >&6
4471
echo "$ac_t""no" 1>&6
4472
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4473
echo "configure:4474: checking for dlopen in -ldl" >&5
4474
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4475
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4476
echo $ac_n "(cached) $ac_c" 1>&6
5540
ac_check_lib_save_LIBS=$LIBS
4478
ac_save_LIBS="$LIBS"
5541
4479
LIBS="-ldl $LIBS"
5542
cat >conftest.$ac_ext <<_ACEOF
5543
#line 5543 "configure"
4480
cat > conftest.$ac_ext <<EOF
4481
#line 4482 "configure"
5544
4482
#include "confdefs.h"
5546
4483
/* Override any gcc2 internal prototype to avoid an error. */
5550
4484
/* We use char because int might match the return type of a gcc2
5551
builtin and then its argument prototype would still apply. */
5561
rm -f conftest.$ac_objext conftest$ac_exeext
5562
if { (eval echo "$as_me:5562: \"$ac_link\"") >&5
5563
(eval $ac_link) 2>&5
5565
echo "$as_me:5565: \$? = $ac_status" >&5
5566
(exit $ac_status); } &&
5567
{ ac_try='test -s conftest$ac_exeext'
5568
{ (eval echo "$as_me:5568: \"$ac_try\"") >&5
5571
echo "$as_me:5571: \$? = $ac_status" >&5
5572
(exit $ac_status); }; }; then
5573
ac_cv_lib_dl_dlopen=yes
4485
builtin and then its argument prototype would still apply. */
4492
if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4494
eval "ac_cv_lib_$ac_lib_var=yes"
5575
echo "$as_me: failed program was:" >&5
5576
cat conftest.$ac_ext >&5
5577
ac_cv_lib_dl_dlopen=no
5579
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5580
LIBS=$ac_check_lib_save_LIBS
5582
echo "$as_me:5582: result: $ac_cv_lib_dl_dlopen" >&5
5583
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5584
if test $ac_cv_lib_dl_dlopen = yes; then
4496
echo "configure: failed program was:" >&5
4497
cat conftest.$ac_ext >&5
4499
eval "ac_cv_lib_$ac_lib_var=no"
4502
LIBS="$ac_save_LIBS"
4505
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4506
echo "$ac_t""yes" 1>&6
5585
4507
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
5587
echo "$as_me:5587: checking for dlopen in -lsvld" >&5
5588
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
5589
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
5590
echo $ECHO_N "(cached) $ECHO_C" >&6
4509
echo "$ac_t""no" 1>&6
4510
echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
4511
echo "configure:4512: checking for dlopen in -lsvld" >&5
4512
ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
4513
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4514
echo $ac_n "(cached) $ac_c" 1>&6
5592
ac_check_lib_save_LIBS=$LIBS
4516
ac_save_LIBS="$LIBS"
5593
4517
LIBS="-lsvld $LIBS"
5594
cat >conftest.$ac_ext <<_ACEOF
5595
#line 5595 "configure"
4518
cat > conftest.$ac_ext <<EOF
4519
#line 4520 "configure"
5596
4520
#include "confdefs.h"
5598
4521
/* Override any gcc2 internal prototype to avoid an error. */
5602
4522
/* We use char because int might match the return type of a gcc2
5603
builtin and then its argument prototype would still apply. */
5613
rm -f conftest.$ac_objext conftest$ac_exeext
5614
if { (eval echo "$as_me:5614: \"$ac_link\"") >&5
5615
(eval $ac_link) 2>&5
5617
echo "$as_me:5617: \$? = $ac_status" >&5
5618
(exit $ac_status); } &&
5619
{ ac_try='test -s conftest$ac_exeext'
5620
{ (eval echo "$as_me:5620: \"$ac_try\"") >&5
5623
echo "$as_me:5623: \$? = $ac_status" >&5
5624
(exit $ac_status); }; }; then
5625
ac_cv_lib_svld_dlopen=yes
4523
builtin and then its argument prototype would still apply. */
4530
if { (eval echo configure:4531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4532
eval "ac_cv_lib_$ac_lib_var=yes"
5627
echo "$as_me: failed program was:" >&5
5628
cat conftest.$ac_ext >&5
5629
ac_cv_lib_svld_dlopen=no
5631
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5632
LIBS=$ac_check_lib_save_LIBS
5634
echo "$as_me:5634: result: $ac_cv_lib_svld_dlopen" >&5
5635
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
5636
if test $ac_cv_lib_svld_dlopen = yes; then
4534
echo "configure: failed program was:" >&5
4535
cat conftest.$ac_ext >&5
4537
eval "ac_cv_lib_$ac_lib_var=no"
4540
LIBS="$ac_save_LIBS"
4543
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4544
echo "$ac_t""yes" 1>&6
5637
4545
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
5639
echo "$as_me:5639: checking for dld_link in -ldld" >&5
5640
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
5641
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
5642
echo $ECHO_N "(cached) $ECHO_C" >&6
4547
echo "$ac_t""no" 1>&6
4548
echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
4549
echo "configure:4550: checking for dld_link in -ldld" >&5
4550
ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
4551
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4552
echo $ac_n "(cached) $ac_c" 1>&6
5644
ac_check_lib_save_LIBS=$LIBS
4554
ac_save_LIBS="$LIBS"
5645
4555
LIBS="-ldld $LIBS"
5646
cat >conftest.$ac_ext <<_ACEOF
5647
#line 5647 "configure"
4556
cat > conftest.$ac_ext <<EOF
4557
#line 4558 "configure"
5648
4558
#include "confdefs.h"
5650
4559
/* Override any gcc2 internal prototype to avoid an error. */
5654
4560
/* We use char because int might match the return type of a gcc2
5655
builtin and then its argument prototype would still apply. */
5665
rm -f conftest.$ac_objext conftest$ac_exeext
5666
if { (eval echo "$as_me:5666: \"$ac_link\"") >&5
5667
(eval $ac_link) 2>&5
5669
echo "$as_me:5669: \$? = $ac_status" >&5
5670
(exit $ac_status); } &&
5671
{ ac_try='test -s conftest$ac_exeext'
5672
{ (eval echo "$as_me:5672: \"$ac_try\"") >&5
5675
echo "$as_me:5675: \$? = $ac_status" >&5
5676
(exit $ac_status); }; }; then
5677
ac_cv_lib_dld_dld_link=yes
4561
builtin and then its argument prototype would still apply. */
4568
if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4570
eval "ac_cv_lib_$ac_lib_var=yes"
5679
echo "$as_me: failed program was:" >&5
5680
cat conftest.$ac_ext >&5
5681
ac_cv_lib_dld_dld_link=no
5683
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5684
LIBS=$ac_check_lib_save_LIBS
5686
echo "$as_me:5686: result: $ac_cv_lib_dld_dld_link" >&5
5687
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
5688
if test $ac_cv_lib_dld_dld_link = yes; then
4572
echo "configure: failed program was:" >&5
4573
cat conftest.$ac_ext >&5
4575
eval "ac_cv_lib_$ac_lib_var=no"
4578
LIBS="$ac_save_LIBS"
4581
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4582
echo "$ac_t""yes" 1>&6
5689
4583
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
4585
echo "$ac_t""no" 1>&6
7053
5971
FLaC__HAS_NASM_FALSE=
7055
5973
if test -n "$NASM" ; then
7056
cat >>confdefs.h <<\EOF
5974
cat >> confdefs.h <<\EOF
7057
5975
#define FLAC__HAS_NASM 1
7062
echo "$as_me:7062: checking for ANSI C header files" >&5
7063
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7064
if test "${ac_cv_header_stdc+set}" = set; then
7065
echo $ECHO_N "(cached) $ECHO_C" >&6
7067
cat >conftest.$ac_ext <<_ACEOF
7068
#line 7068 "configure"
5981
echo $ac_n "checking size of short""... $ac_c" 1>&6
5982
echo "configure:5983: checking size of short" >&5
5983
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
5984
echo $ac_n "(cached) $ac_c" 1>&6
5986
if test "$cross_compiling" = yes; then
5987
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
5989
cat > conftest.$ac_ext <<EOF
5990
#line 5991 "configure"
7069
5991
#include "confdefs.h"
7076
if { (eval echo "$as_me:7076: \"$ac_cpp conftest.$ac_ext\"") >&5
7077
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7079
egrep -v '^ *\+' conftest.er1 >conftest.err
7081
cat conftest.err >&5
7082
echo "$as_me:7082: \$? = $ac_status" >&5
7083
(exit $ac_status); } >/dev/null; then
7084
if test -s conftest.err; then
7085
ac_cpp_err=$ac_c_preproc_warn_flag
7092
if test -z "$ac_cpp_err"; then
7093
ac_cv_header_stdc=yes
7095
echo "$as_me: failed program was:" >&5
5993
#include <sys/types.h>
5996
FILE *f=fopen("conftestval", "w");
5998
fprintf(f, "%d\n", sizeof(short));
6002
if { (eval echo configure:6003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6004
ac_cv_sizeof_short=`cat conftestval`
6006
echo "configure: failed program was:" >&5
7096
6007
cat conftest.$ac_ext >&5
7097
ac_cv_header_stdc=no
7099
rm -f conftest.err conftest.$ac_ext
7101
if test $ac_cv_header_stdc = yes; then
7102
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7103
cat >conftest.$ac_ext <<_ACEOF
7104
#line 7104 "configure"
7105
#include "confdefs.h"
7109
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7110
egrep "memchr" >/dev/null 2>&1; then
7113
ac_cv_header_stdc=no
7119
if test $ac_cv_header_stdc = yes; then
7120
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7121
cat >conftest.$ac_ext <<_ACEOF
7122
#line 7122 "configure"
7123
#include "confdefs.h"
7127
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7128
egrep "free" >/dev/null 2>&1; then
7131
ac_cv_header_stdc=no
7137
if test $ac_cv_header_stdc = yes; then
7138
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7139
if test "$cross_compiling" = yes; then
7142
cat >conftest.$ac_ext <<_ACEOF
7143
#line 7143 "configure"
7144
#include "confdefs.h"
7146
#if ((' ' & 0x0FF) == 0x020)
7147
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7148
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7150
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
7151
|| ('j' <= (c) && (c) <= 'r') \
7152
|| ('s' <= (c) && (c) <= 'z'))
7153
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7156
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7161
for (i = 0; i < 256; i++)
7162
if (XOR (islower (i), ISLOWER (i))
7163
|| toupper (i) != TOUPPER (i))
7168
rm -f conftest$ac_exeext
7169
if { (eval echo "$as_me:7169: \"$ac_link\"") >&5
7170
(eval $ac_link) 2>&5
7172
echo "$as_me:7172: \$? = $ac_status" >&5
7173
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7174
{ (eval echo "$as_me:7174: \"$ac_try\"") >&5
7177
echo "$as_me:7177: \$? = $ac_status" >&5
7178
(exit $ac_status); }; }; then
7181
echo "$as_me: program exited with status $ac_status" >&5
7182
echo "$as_me: failed program was:" >&5
7183
cat conftest.$ac_ext >&5
7184
ac_cv_header_stdc=no
7186
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7190
echo "$as_me:7190: result: $ac_cv_header_stdc" >&5
7191
echo "${ECHO_T}$ac_cv_header_stdc" >&6
7192
if test $ac_cv_header_stdc = yes; then
7194
cat >>confdefs.h <<\EOF
7195
#define STDC_HEADERS 1
7200
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7202
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7203
inttypes.h stdint.h unistd.h
7205
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7206
echo "$as_me:7206: checking for $ac_header" >&5
7207
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7208
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7209
echo $ECHO_N "(cached) $ECHO_C" >&6
7211
cat >conftest.$ac_ext <<_ACEOF
7212
#line 7212 "configure"
7213
#include "confdefs.h"
7214
$ac_includes_default
7215
#include <$ac_header>
7217
rm -f conftest.$ac_objext
7218
if { (eval echo "$as_me:7218: \"$ac_compile\"") >&5
7219
(eval $ac_compile) 2>&5
7221
echo "$as_me:7221: \$? = $ac_status" >&5
7222
(exit $ac_status); } &&
7223
{ ac_try='test -s conftest.$ac_objext'
7224
{ (eval echo "$as_me:7224: \"$ac_try\"") >&5
7227
echo "$as_me:7227: \$? = $ac_status" >&5
7228
(exit $ac_status); }; }; then
7229
eval "$as_ac_Header=yes"
7231
echo "$as_me: failed program was:" >&5
7232
cat conftest.$ac_ext >&5
7233
eval "$as_ac_Header=no"
7235
rm -f conftest.$ac_objext conftest.$ac_ext
7237
echo "$as_me:7237: result: `eval echo '${'$as_ac_Header'}'`" >&5
7238
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7239
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7240
cat >>confdefs.h <<EOF
7241
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7247
echo "$as_me:7247: checking for short" >&5
7248
echo $ECHO_N "checking for short... $ECHO_C" >&6
7249
if test "${ac_cv_type_short+set}" = set; then
7250
echo $ECHO_N "(cached) $ECHO_C" >&6
7252
cat >conftest.$ac_ext <<_ACEOF
7253
#line 7253 "configure"
7254
#include "confdefs.h"
7255
$ac_includes_default
7267
rm -f conftest.$ac_objext
7268
if { (eval echo "$as_me:7268: \"$ac_compile\"") >&5
7269
(eval $ac_compile) 2>&5
7271
echo "$as_me:7271: \$? = $ac_status" >&5
7272
(exit $ac_status); } &&
7273
{ ac_try='test -s conftest.$ac_objext'
7274
{ (eval echo "$as_me:7274: \"$ac_try\"") >&5
7277
echo "$as_me:7277: \$? = $ac_status" >&5
7278
(exit $ac_status); }; }; then
7279
ac_cv_type_short=yes
7281
echo "$as_me: failed program was:" >&5
7282
cat conftest.$ac_ext >&5
7285
rm -f conftest.$ac_objext conftest.$ac_ext
7287
echo "$as_me:7287: result: $ac_cv_type_short" >&5
7288
echo "${ECHO_T}$ac_cv_type_short" >&6
7290
echo "$as_me:7290: checking size of short" >&5
7291
echo $ECHO_N "checking size of short... $ECHO_C" >&6
7292
if test "${ac_cv_sizeof_short+set}" = set; then
7293
echo $ECHO_N "(cached) $ECHO_C" >&6
7295
if test "$ac_cv_type_short" = yes; then
7296
if test "$cross_compiling" = yes; then
7297
# Depending upon the size, compute the lo and hi bounds.
7298
cat >conftest.$ac_ext <<_ACEOF
7299
#line 7299 "configure"
7300
#include "confdefs.h"
7301
$ac_includes_default
7305
int _array_ [1 - 2 * !((sizeof (short)) >= 0)]
7310
rm -f conftest.$ac_objext
7311
if { (eval echo "$as_me:7311: \"$ac_compile\"") >&5
7312
(eval $ac_compile) 2>&5
7314
echo "$as_me:7314: \$? = $ac_status" >&5
7315
(exit $ac_status); } &&
7316
{ ac_try='test -s conftest.$ac_objext'
7317
{ (eval echo "$as_me:7317: \"$ac_try\"") >&5
7320
echo "$as_me:7320: \$? = $ac_status" >&5
7321
(exit $ac_status); }; }; then
7324
cat >conftest.$ac_ext <<_ACEOF
7325
#line 7325 "configure"
7326
#include "confdefs.h"
7327
$ac_includes_default
7331
int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
7336
rm -f conftest.$ac_objext
7337
if { (eval echo "$as_me:7337: \"$ac_compile\"") >&5
7338
(eval $ac_compile) 2>&5
7340
echo "$as_me:7340: \$? = $ac_status" >&5
7341
(exit $ac_status); } &&
7342
{ ac_try='test -s conftest.$ac_objext'
7343
{ (eval echo "$as_me:7343: \"$ac_try\"") >&5
7346
echo "$as_me:7346: \$? = $ac_status" >&5
7347
(exit $ac_status); }; }; then
7348
ac_hi=$ac_mid; break
7350
echo "$as_me: failed program was:" >&5
7351
cat conftest.$ac_ext >&5
7352
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7354
rm -f conftest.$ac_objext conftest.$ac_ext
7357
echo "$as_me: failed program was:" >&5
7358
cat conftest.$ac_ext >&5
7361
cat >conftest.$ac_ext <<_ACEOF
7362
#line 7362 "configure"
7363
#include "confdefs.h"
7364
$ac_includes_default
7368
int _array_ [1 - 2 * !((sizeof (short)) >= $ac_mid)]
7373
rm -f conftest.$ac_objext
7374
if { (eval echo "$as_me:7374: \"$ac_compile\"") >&5
7375
(eval $ac_compile) 2>&5
7377
echo "$as_me:7377: \$? = $ac_status" >&5
7378
(exit $ac_status); } &&
7379
{ ac_try='test -s conftest.$ac_objext'
7380
{ (eval echo "$as_me:7380: \"$ac_try\"") >&5
7383
echo "$as_me:7383: \$? = $ac_status" >&5
7384
(exit $ac_status); }; }; then
7385
ac_lo=$ac_mid; break
7387
echo "$as_me: failed program was:" >&5
7388
cat conftest.$ac_ext >&5
7389
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7391
rm -f conftest.$ac_objext conftest.$ac_ext
7394
rm -f conftest.$ac_objext conftest.$ac_ext
7395
# Binary search between lo and hi bounds.
7396
while test "x$ac_lo" != "x$ac_hi"; do
7397
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7398
cat >conftest.$ac_ext <<_ACEOF
7399
#line 7399 "configure"
7400
#include "confdefs.h"
7401
$ac_includes_default
7405
int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
7410
rm -f conftest.$ac_objext
7411
if { (eval echo "$as_me:7411: \"$ac_compile\"") >&5
7412
(eval $ac_compile) 2>&5
7414
echo "$as_me:7414: \$? = $ac_status" >&5
7415
(exit $ac_status); } &&
7416
{ ac_try='test -s conftest.$ac_objext'
7417
{ (eval echo "$as_me:7417: \"$ac_try\"") >&5
7420
echo "$as_me:7420: \$? = $ac_status" >&5
7421
(exit $ac_status); }; }; then
7424
echo "$as_me: failed program was:" >&5
7425
cat conftest.$ac_ext >&5
7426
ac_lo=`expr $ac_mid + 1`
7428
rm -f conftest.$ac_objext conftest.$ac_ext
7430
ac_cv_sizeof_short=$ac_lo
7432
if test "$cross_compiling" = yes; then
7433
{ { echo "$as_me:7433: error: cannot run test program while cross compiling" >&5
7434
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7435
{ (exit 1); exit 1; }; }
7437
cat >conftest.$ac_ext <<_ACEOF
7438
#line 7438 "configure"
7439
#include "confdefs.h"
7440
$ac_includes_default
7444
FILE *f = fopen ("conftest.val", "w");
7447
fprintf (f, "%d", (sizeof (short)));
7453
rm -f conftest$ac_exeext
7454
if { (eval echo "$as_me:7454: \"$ac_link\"") >&5
7455
(eval $ac_link) 2>&5
7457
echo "$as_me:7457: \$? = $ac_status" >&5
7458
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7459
{ (eval echo "$as_me:7459: \"$ac_try\"") >&5
7462
echo "$as_me:7462: \$? = $ac_status" >&5
7463
(exit $ac_status); }; }; then
7464
ac_cv_sizeof_short=`cat conftest.val`
7466
echo "$as_me: program exited with status $ac_status" >&5
7467
echo "$as_me: failed program was:" >&5
7468
cat conftest.$ac_ext >&5
7470
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7475
6009
ac_cv_sizeof_short=0
7478
echo "$as_me:7478: result: $ac_cv_sizeof_short" >&5
7479
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
7480
cat >>confdefs.h <<EOF
6015
echo "$ac_t""$ac_cv_sizeof_short" 1>&6
6016
cat >> confdefs.h <<EOF
7481
6017
#define SIZEOF_SHORT $ac_cv_sizeof_short
7484
echo "$as_me:7484: checking for int" >&5
7485
echo $ECHO_N "checking for int... $ECHO_C" >&6
7486
if test "${ac_cv_type_int+set}" = set; then
7487
echo $ECHO_N "(cached) $ECHO_C" >&6
7489
cat >conftest.$ac_ext <<_ACEOF
7490
#line 7490 "configure"
7491
#include "confdefs.h"
7492
$ac_includes_default
7504
rm -f conftest.$ac_objext
7505
if { (eval echo "$as_me:7505: \"$ac_compile\"") >&5
7506
(eval $ac_compile) 2>&5
7508
echo "$as_me:7508: \$? = $ac_status" >&5
7509
(exit $ac_status); } &&
7510
{ ac_try='test -s conftest.$ac_objext'
7511
{ (eval echo "$as_me:7511: \"$ac_try\"") >&5
7514
echo "$as_me:7514: \$? = $ac_status" >&5
7515
(exit $ac_status); }; }; then
7518
echo "$as_me: failed program was:" >&5
7519
cat conftest.$ac_ext >&5
7522
rm -f conftest.$ac_objext conftest.$ac_ext
7524
echo "$as_me:7524: result: $ac_cv_type_int" >&5
7525
echo "${ECHO_T}$ac_cv_type_int" >&6
7527
echo "$as_me:7527: checking size of int" >&5
7528
echo $ECHO_N "checking size of int... $ECHO_C" >&6
7529
if test "${ac_cv_sizeof_int+set}" = set; then
7530
echo $ECHO_N "(cached) $ECHO_C" >&6
7532
if test "$ac_cv_type_int" = yes; then
7533
if test "$cross_compiling" = yes; then
7534
# Depending upon the size, compute the lo and hi bounds.
7535
cat >conftest.$ac_ext <<_ACEOF
7536
#line 7536 "configure"
7537
#include "confdefs.h"
7538
$ac_includes_default
7542
int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
7547
rm -f conftest.$ac_objext
7548
if { (eval echo "$as_me:7548: \"$ac_compile\"") >&5
7549
(eval $ac_compile) 2>&5
7551
echo "$as_me:7551: \$? = $ac_status" >&5
7552
(exit $ac_status); } &&
7553
{ ac_try='test -s conftest.$ac_objext'
7554
{ (eval echo "$as_me:7554: \"$ac_try\"") >&5
7557
echo "$as_me:7557: \$? = $ac_status" >&5
7558
(exit $ac_status); }; }; then
7561
cat >conftest.$ac_ext <<_ACEOF
7562
#line 7562 "configure"
7563
#include "confdefs.h"
7564
$ac_includes_default
7568
int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7573
rm -f conftest.$ac_objext
7574
if { (eval echo "$as_me:7574: \"$ac_compile\"") >&5
7575
(eval $ac_compile) 2>&5
7577
echo "$as_me:7577: \$? = $ac_status" >&5
7578
(exit $ac_status); } &&
7579
{ ac_try='test -s conftest.$ac_objext'
7580
{ (eval echo "$as_me:7580: \"$ac_try\"") >&5
7583
echo "$as_me:7583: \$? = $ac_status" >&5
7584
(exit $ac_status); }; }; then
7585
ac_hi=$ac_mid; break
7587
echo "$as_me: failed program was:" >&5
7588
cat conftest.$ac_ext >&5
7589
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7591
rm -f conftest.$ac_objext conftest.$ac_ext
7594
echo "$as_me: failed program was:" >&5
7595
cat conftest.$ac_ext >&5
7598
cat >conftest.$ac_ext <<_ACEOF
7599
#line 7599 "configure"
7600
#include "confdefs.h"
7601
$ac_includes_default
7605
int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
7610
rm -f conftest.$ac_objext
7611
if { (eval echo "$as_me:7611: \"$ac_compile\"") >&5
7612
(eval $ac_compile) 2>&5
7614
echo "$as_me:7614: \$? = $ac_status" >&5
7615
(exit $ac_status); } &&
7616
{ ac_try='test -s conftest.$ac_objext'
7617
{ (eval echo "$as_me:7617: \"$ac_try\"") >&5
7620
echo "$as_me:7620: \$? = $ac_status" >&5
7621
(exit $ac_status); }; }; then
7622
ac_lo=$ac_mid; break
7624
echo "$as_me: failed program was:" >&5
7625
cat conftest.$ac_ext >&5
7626
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7628
rm -f conftest.$ac_objext conftest.$ac_ext
7631
rm -f conftest.$ac_objext conftest.$ac_ext
7632
# Binary search between lo and hi bounds.
7633
while test "x$ac_lo" != "x$ac_hi"; do
7634
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7635
cat >conftest.$ac_ext <<_ACEOF
7636
#line 7636 "configure"
7637
#include "confdefs.h"
7638
$ac_includes_default
7642
int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7647
rm -f conftest.$ac_objext
7648
if { (eval echo "$as_me:7648: \"$ac_compile\"") >&5
7649
(eval $ac_compile) 2>&5
7651
echo "$as_me:7651: \$? = $ac_status" >&5
7652
(exit $ac_status); } &&
7653
{ ac_try='test -s conftest.$ac_objext'
7654
{ (eval echo "$as_me:7654: \"$ac_try\"") >&5
7657
echo "$as_me:7657: \$? = $ac_status" >&5
7658
(exit $ac_status); }; }; then
7661
echo "$as_me: failed program was:" >&5
7662
cat conftest.$ac_ext >&5
7663
ac_lo=`expr $ac_mid + 1`
7665
rm -f conftest.$ac_objext conftest.$ac_ext
7667
ac_cv_sizeof_int=$ac_lo
7669
if test "$cross_compiling" = yes; then
7670
{ { echo "$as_me:7670: error: cannot run test program while cross compiling" >&5
7671
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7672
{ (exit 1); exit 1; }; }
7674
cat >conftest.$ac_ext <<_ACEOF
7675
#line 7675 "configure"
7676
#include "confdefs.h"
7677
$ac_includes_default
7681
FILE *f = fopen ("conftest.val", "w");
7684
fprintf (f, "%d", (sizeof (int)));
7690
rm -f conftest$ac_exeext
7691
if { (eval echo "$as_me:7691: \"$ac_link\"") >&5
7692
(eval $ac_link) 2>&5
7694
echo "$as_me:7694: \$? = $ac_status" >&5
7695
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7696
{ (eval echo "$as_me:7696: \"$ac_try\"") >&5
7699
echo "$as_me:7699: \$? = $ac_status" >&5
7700
(exit $ac_status); }; }; then
7701
ac_cv_sizeof_int=`cat conftest.val`
7703
echo "$as_me: program exited with status $ac_status" >&5
7704
echo "$as_me: failed program was:" >&5
7705
cat conftest.$ac_ext >&5
7707
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6021
echo $ac_n "checking size of int""... $ac_c" 1>&6
6022
echo "configure:6023: checking size of int" >&5
6023
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
6024
echo $ac_n "(cached) $ac_c" 1>&6
6026
if test "$cross_compiling" = yes; then
6027
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
6029
cat > conftest.$ac_ext <<EOF
6030
#line 6031 "configure"
6031
#include "confdefs.h"
6033
#include <sys/types.h>
6036
FILE *f=fopen("conftestval", "w");
6038
fprintf(f, "%d\n", sizeof(int));
6042
if { (eval echo configure:6043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6044
ac_cv_sizeof_int=`cat conftestval`
6046
echo "configure: failed program was:" >&5
6047
cat conftest.$ac_ext >&5
7712
6049
ac_cv_sizeof_int=0
7715
echo "$as_me:7715: result: $ac_cv_sizeof_int" >&5
7716
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
7717
cat >>confdefs.h <<EOF
6055
echo "$ac_t""$ac_cv_sizeof_int" 1>&6
6056
cat >> confdefs.h <<EOF
7718
6057
#define SIZEOF_INT $ac_cv_sizeof_int
7721
echo "$as_me:7721: checking for long" >&5
7722
echo $ECHO_N "checking for long... $ECHO_C" >&6
7723
if test "${ac_cv_type_long+set}" = set; then
7724
echo $ECHO_N "(cached) $ECHO_C" >&6
7726
cat >conftest.$ac_ext <<_ACEOF
7727
#line 7727 "configure"
7728
#include "confdefs.h"
7729
$ac_includes_default
7741
rm -f conftest.$ac_objext
7742
if { (eval echo "$as_me:7742: \"$ac_compile\"") >&5
7743
(eval $ac_compile) 2>&5
7745
echo "$as_me:7745: \$? = $ac_status" >&5
7746
(exit $ac_status); } &&
7747
{ ac_try='test -s conftest.$ac_objext'
7748
{ (eval echo "$as_me:7748: \"$ac_try\"") >&5
7751
echo "$as_me:7751: \$? = $ac_status" >&5
7752
(exit $ac_status); }; }; then
7755
echo "$as_me: failed program was:" >&5
7756
cat conftest.$ac_ext >&5
7759
rm -f conftest.$ac_objext conftest.$ac_ext
7761
echo "$as_me:7761: result: $ac_cv_type_long" >&5
7762
echo "${ECHO_T}$ac_cv_type_long" >&6
7764
echo "$as_me:7764: checking size of long" >&5
7765
echo $ECHO_N "checking size of long... $ECHO_C" >&6
7766
if test "${ac_cv_sizeof_long+set}" = set; then
7767
echo $ECHO_N "(cached) $ECHO_C" >&6
7769
if test "$ac_cv_type_long" = yes; then
7770
if test "$cross_compiling" = yes; then
7771
# Depending upon the size, compute the lo and hi bounds.
7772
cat >conftest.$ac_ext <<_ACEOF
7773
#line 7773 "configure"
7774
#include "confdefs.h"
7775
$ac_includes_default
7779
int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
7784
rm -f conftest.$ac_objext
7785
if { (eval echo "$as_me:7785: \"$ac_compile\"") >&5
7786
(eval $ac_compile) 2>&5
7788
echo "$as_me:7788: \$? = $ac_status" >&5
7789
(exit $ac_status); } &&
7790
{ ac_try='test -s conftest.$ac_objext'
7791
{ (eval echo "$as_me:7791: \"$ac_try\"") >&5
7794
echo "$as_me:7794: \$? = $ac_status" >&5
7795
(exit $ac_status); }; }; then
7798
cat >conftest.$ac_ext <<_ACEOF
7799
#line 7799 "configure"
7800
#include "confdefs.h"
7801
$ac_includes_default
7805
int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
7810
rm -f conftest.$ac_objext
7811
if { (eval echo "$as_me:7811: \"$ac_compile\"") >&5
7812
(eval $ac_compile) 2>&5
7814
echo "$as_me:7814: \$? = $ac_status" >&5
7815
(exit $ac_status); } &&
7816
{ ac_try='test -s conftest.$ac_objext'
7817
{ (eval echo "$as_me:7817: \"$ac_try\"") >&5
7820
echo "$as_me:7820: \$? = $ac_status" >&5
7821
(exit $ac_status); }; }; then
7822
ac_hi=$ac_mid; break
7824
echo "$as_me: failed program was:" >&5
7825
cat conftest.$ac_ext >&5
7826
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7828
rm -f conftest.$ac_objext conftest.$ac_ext
7831
echo "$as_me: failed program was:" >&5
7832
cat conftest.$ac_ext >&5
7835
cat >conftest.$ac_ext <<_ACEOF
7836
#line 7836 "configure"
7837
#include "confdefs.h"
7838
$ac_includes_default
7842
int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
7847
rm -f conftest.$ac_objext
7848
if { (eval echo "$as_me:7848: \"$ac_compile\"") >&5
7849
(eval $ac_compile) 2>&5
7851
echo "$as_me:7851: \$? = $ac_status" >&5
7852
(exit $ac_status); } &&
7853
{ ac_try='test -s conftest.$ac_objext'
7854
{ (eval echo "$as_me:7854: \"$ac_try\"") >&5
7857
echo "$as_me:7857: \$? = $ac_status" >&5
7858
(exit $ac_status); }; }; then
7859
ac_lo=$ac_mid; break
7861
echo "$as_me: failed program was:" >&5
7862
cat conftest.$ac_ext >&5
7863
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7865
rm -f conftest.$ac_objext conftest.$ac_ext
7868
rm -f conftest.$ac_objext conftest.$ac_ext
7869
# Binary search between lo and hi bounds.
7870
while test "x$ac_lo" != "x$ac_hi"; do
7871
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7872
cat >conftest.$ac_ext <<_ACEOF
7873
#line 7873 "configure"
7874
#include "confdefs.h"
7875
$ac_includes_default
7879
int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
7884
rm -f conftest.$ac_objext
7885
if { (eval echo "$as_me:7885: \"$ac_compile\"") >&5
7886
(eval $ac_compile) 2>&5
7888
echo "$as_me:7888: \$? = $ac_status" >&5
7889
(exit $ac_status); } &&
7890
{ ac_try='test -s conftest.$ac_objext'
7891
{ (eval echo "$as_me:7891: \"$ac_try\"") >&5
7894
echo "$as_me:7894: \$? = $ac_status" >&5
7895
(exit $ac_status); }; }; then
7898
echo "$as_me: failed program was:" >&5
7899
cat conftest.$ac_ext >&5
7900
ac_lo=`expr $ac_mid + 1`
7902
rm -f conftest.$ac_objext conftest.$ac_ext
7904
ac_cv_sizeof_long=$ac_lo
7906
if test "$cross_compiling" = yes; then
7907
{ { echo "$as_me:7907: error: cannot run test program while cross compiling" >&5
7908
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7909
{ (exit 1); exit 1; }; }
7911
cat >conftest.$ac_ext <<_ACEOF
7912
#line 7912 "configure"
7913
#include "confdefs.h"
7914
$ac_includes_default
7918
FILE *f = fopen ("conftest.val", "w");
7921
fprintf (f, "%d", (sizeof (long)));
7927
rm -f conftest$ac_exeext
7928
if { (eval echo "$as_me:7928: \"$ac_link\"") >&5
7929
(eval $ac_link) 2>&5
7931
echo "$as_me:7931: \$? = $ac_status" >&5
7932
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7933
{ (eval echo "$as_me:7933: \"$ac_try\"") >&5
7936
echo "$as_me:7936: \$? = $ac_status" >&5
7937
(exit $ac_status); }; }; then
7938
ac_cv_sizeof_long=`cat conftest.val`
7940
echo "$as_me: program exited with status $ac_status" >&5
7941
echo "$as_me: failed program was:" >&5
7942
cat conftest.$ac_ext >&5
7944
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6061
echo $ac_n "checking size of long""... $ac_c" 1>&6
6062
echo "configure:6063: checking size of long" >&5
6063
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
6064
echo $ac_n "(cached) $ac_c" 1>&6
6066
if test "$cross_compiling" = yes; then
6067
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
6069
cat > conftest.$ac_ext <<EOF
6070
#line 6071 "configure"
6071
#include "confdefs.h"
6073
#include <sys/types.h>
6076
FILE *f=fopen("conftestval", "w");
6078
fprintf(f, "%d\n", sizeof(long));
6082
if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6084
ac_cv_sizeof_long=`cat conftestval`
6086
echo "configure: failed program was:" >&5
6087
cat conftest.$ac_ext >&5
7949
6089
ac_cv_sizeof_long=0
7952
echo "$as_me:7952: result: $ac_cv_sizeof_long" >&5
7953
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7954
cat >>confdefs.h <<EOF
6095
echo "$ac_t""$ac_cv_sizeof_long" 1>&6
6096
cat >> confdefs.h <<EOF
7955
6097
#define SIZEOF_LONG $ac_cv_sizeof_long
7958
echo "$as_me:7958: checking for long long" >&5
7959
echo $ECHO_N "checking for long long... $ECHO_C" >&6
7960
if test "${ac_cv_type_long_long+set}" = set; then
7961
echo $ECHO_N "(cached) $ECHO_C" >&6
7963
cat >conftest.$ac_ext <<_ACEOF
7964
#line 7964 "configure"
7965
#include "confdefs.h"
7966
$ac_includes_default
7970
if ((long long *) 0)
7972
if (sizeof (long long))
7978
rm -f conftest.$ac_objext
7979
if { (eval echo "$as_me:7979: \"$ac_compile\"") >&5
7980
(eval $ac_compile) 2>&5
7982
echo "$as_me:7982: \$? = $ac_status" >&5
7983
(exit $ac_status); } &&
7984
{ ac_try='test -s conftest.$ac_objext'
7985
{ (eval echo "$as_me:7985: \"$ac_try\"") >&5
7988
echo "$as_me:7988: \$? = $ac_status" >&5
7989
(exit $ac_status); }; }; then
7990
ac_cv_type_long_long=yes
7992
echo "$as_me: failed program was:" >&5
7993
cat conftest.$ac_ext >&5
7994
ac_cv_type_long_long=no
7996
rm -f conftest.$ac_objext conftest.$ac_ext
7998
echo "$as_me:7998: result: $ac_cv_type_long_long" >&5
7999
echo "${ECHO_T}$ac_cv_type_long_long" >&6
8001
echo "$as_me:8001: checking size of long long" >&5
8002
echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8003
if test "${ac_cv_sizeof_long_long+set}" = set; then
8004
echo $ECHO_N "(cached) $ECHO_C" >&6
8006
if test "$ac_cv_type_long_long" = yes; then
8007
if test "$cross_compiling" = yes; then
8008
# Depending upon the size, compute the lo and hi bounds.
8009
cat >conftest.$ac_ext <<_ACEOF
8010
#line 8010 "configure"
8011
#include "confdefs.h"
8012
$ac_includes_default
8016
int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
8021
rm -f conftest.$ac_objext
8022
if { (eval echo "$as_me:8022: \"$ac_compile\"") >&5
8023
(eval $ac_compile) 2>&5
8025
echo "$as_me:8025: \$? = $ac_status" >&5
8026
(exit $ac_status); } &&
8027
{ ac_try='test -s conftest.$ac_objext'
8028
{ (eval echo "$as_me:8028: \"$ac_try\"") >&5
8031
echo "$as_me:8031: \$? = $ac_status" >&5
8032
(exit $ac_status); }; }; then
8035
cat >conftest.$ac_ext <<_ACEOF
8036
#line 8036 "configure"
8037
#include "confdefs.h"
8038
$ac_includes_default
8042
int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
8047
rm -f conftest.$ac_objext
8048
if { (eval echo "$as_me:8048: \"$ac_compile\"") >&5
8049
(eval $ac_compile) 2>&5
8051
echo "$as_me:8051: \$? = $ac_status" >&5
8052
(exit $ac_status); } &&
8053
{ ac_try='test -s conftest.$ac_objext'
8054
{ (eval echo "$as_me:8054: \"$ac_try\"") >&5
8057
echo "$as_me:8057: \$? = $ac_status" >&5
8058
(exit $ac_status); }; }; then
8059
ac_hi=$ac_mid; break
8061
echo "$as_me: failed program was:" >&5
8062
cat conftest.$ac_ext >&5
8063
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
8065
rm -f conftest.$ac_objext conftest.$ac_ext
8068
echo "$as_me: failed program was:" >&5
8069
cat conftest.$ac_ext >&5
8072
cat >conftest.$ac_ext <<_ACEOF
8073
#line 8073 "configure"
8074
#include "confdefs.h"
8075
$ac_includes_default
8079
int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
8084
rm -f conftest.$ac_objext
8085
if { (eval echo "$as_me:8085: \"$ac_compile\"") >&5
8086
(eval $ac_compile) 2>&5
8088
echo "$as_me:8088: \$? = $ac_status" >&5
8089
(exit $ac_status); } &&
8090
{ ac_try='test -s conftest.$ac_objext'
8091
{ (eval echo "$as_me:8091: \"$ac_try\"") >&5
8094
echo "$as_me:8094: \$? = $ac_status" >&5
8095
(exit $ac_status); }; }; then
8096
ac_lo=$ac_mid; break
8098
echo "$as_me: failed program was:" >&5
8099
cat conftest.$ac_ext >&5
8100
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
8102
rm -f conftest.$ac_objext conftest.$ac_ext
8105
rm -f conftest.$ac_objext conftest.$ac_ext
8106
# Binary search between lo and hi bounds.
8107
while test "x$ac_lo" != "x$ac_hi"; do
8108
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8109
cat >conftest.$ac_ext <<_ACEOF
8110
#line 8110 "configure"
8111
#include "confdefs.h"
8112
$ac_includes_default
8116
int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
8121
rm -f conftest.$ac_objext
8122
if { (eval echo "$as_me:8122: \"$ac_compile\"") >&5
8123
(eval $ac_compile) 2>&5
8125
echo "$as_me:8125: \$? = $ac_status" >&5
8126
(exit $ac_status); } &&
8127
{ ac_try='test -s conftest.$ac_objext'
8128
{ (eval echo "$as_me:8128: \"$ac_try\"") >&5
8131
echo "$as_me:8131: \$? = $ac_status" >&5
8132
(exit $ac_status); }; }; then
8135
echo "$as_me: failed program was:" >&5
8136
cat conftest.$ac_ext >&5
8137
ac_lo=`expr $ac_mid + 1`
8139
rm -f conftest.$ac_objext conftest.$ac_ext
8141
ac_cv_sizeof_long_long=$ac_lo
8143
if test "$cross_compiling" = yes; then
8144
{ { echo "$as_me:8144: error: cannot run test program while cross compiling" >&5
8145
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8146
{ (exit 1); exit 1; }; }
8148
cat >conftest.$ac_ext <<_ACEOF
8149
#line 8149 "configure"
8150
#include "confdefs.h"
8151
$ac_includes_default
8155
FILE *f = fopen ("conftest.val", "w");
8158
fprintf (f, "%d", (sizeof (long long)));
8164
rm -f conftest$ac_exeext
8165
if { (eval echo "$as_me:8165: \"$ac_link\"") >&5
8166
(eval $ac_link) 2>&5
8168
echo "$as_me:8168: \$? = $ac_status" >&5
8169
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8170
{ (eval echo "$as_me:8170: \"$ac_try\"") >&5
8173
echo "$as_me:8173: \$? = $ac_status" >&5
8174
(exit $ac_status); }; }; then
8175
ac_cv_sizeof_long_long=`cat conftest.val`
8177
echo "$as_me: program exited with status $ac_status" >&5
8178
echo "$as_me: failed program was:" >&5
8179
cat conftest.$ac_ext >&5
8181
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6101
echo $ac_n "checking size of long long""... $ac_c" 1>&6
6102
echo "configure:6103: checking size of long long" >&5
6103
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
6104
echo $ac_n "(cached) $ac_c" 1>&6
6106
if test "$cross_compiling" = yes; then
6107
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
6109
cat > conftest.$ac_ext <<EOF
6110
#line 6111 "configure"
6111
#include "confdefs.h"
6113
#include <sys/types.h>
6116
FILE *f=fopen("conftestval", "w");
6118
fprintf(f, "%d\n", sizeof(long long));
6122
if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6124
ac_cv_sizeof_long_long=`cat conftestval`
6126
echo "configure: failed program was:" >&5
6127
cat conftest.$ac_ext >&5
8186
6129
ac_cv_sizeof_long_long=0
8189
echo "$as_me:8189: result: $ac_cv_sizeof_long_long" >&5
8190
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8191
cat >>confdefs.h <<EOF
6135
echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
6136
cat >> confdefs.h <<EOF
8192
6137
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8196
6143
$ac_cv_sizeof_short) FLaC__SIZE16="short" ; FLaC__USIZE16="unsigned short";;
8197
6144
$ac_cv_sizeof_int) FLaC__SIZE16="int" ; FLaC__USIZE16="unsigned int";;
8252
6195
CFLAGS="$CFLAGS $SAVE_CFLAGS"
8254
ac_config_files="$ac_config_files Makefile src/Makefile src/libFLAC/Makefile src/libFLAC/ia32/Makefile src/libFLAC/include/Makefile src/libFLAC/include/private/Makefile src/libFLAC/include/protected/Makefile src/flac/Makefile src/metaflac/Makefile src/plugin_xmms/Makefile src/test_streams/Makefile src/test_unit/Makefile include/Makefile include/FLAC/Makefile include/FLAC/ordinals.h doc/Makefile doc/images/Makefile doc/ru/Makefile man/Makefile test/Makefile"
8255
cat >confcache <<\_ACEOF
6198
cat > confcache <<\EOF
8256
6199
# This file is a shell script that caches the results of configure
8257
6200
# tests run on this system so they can be shared between configure
8258
# scripts and configure runs, see configure's option --config-cache.
8259
# It is not useful on other systems. If it contains results you don't
8260
# want to keep, you may remove or edit it.
8262
# config.status only pays attention to the cache file if you give it
8263
# the --recheck option to rerun configure.
8265
# `ac_cv_env_foo' variables (set or unset) will be overriden when
8266
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6201
# scripts and configure runs. It is not useful on other systems.
6202
# If it contains results you don't want to keep, you may remove or edit it.
6204
# By default, configure uses ./config.cache as the cache file,
6205
# creating it if it does not exist already. You can give configure
6206
# the --cache-file=FILE option to use a different cache file; that is
6207
# what configure does when it calls configure scripts in
6208
# subdirectories, so they share the cache.
6209
# Giving --cache-file=/dev/null disables caching, for debugging configure.
6210
# config.status only pays attention to the cache file if you give it the
6211
# --recheck option to rerun configure.
8271
6214
# The following way of writing the cache mishandles newlines in values,
8272
6215
# but we know of no workaround that is simple, portable, and efficient.
8273
6216
# So, don't put newlines in cache variables' values.
8274
6217
# Ultrix sh set writes to stderr and can't be redirected directly,
8275
6218
# and sets the high bit in the cache file unless we assign to the vars.
8278
case `(ac_space=' '; set | grep ac_space) 2>&1` in
8280
# `set' does not quote correctly, so add quotes (double-quote
8281
# substitution turns \\\\ into \\, and sed turns \\ into \).
8284
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8287
# `set' quotes correctly as required by POSIX, so do not add quotes.
8289
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8296
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8298
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8300
if cmp -s $cache_file confcache; then :; else
6220
case `(ac_space=' '; set | grep ac_space) 2>&1` in
6222
# `set' does not quote correctly, so add quotes (double-quote substitution
6223
# turns \\\\ into \\, and sed turns \\ into \).
6225
-e "s/'/'\\\\''/g" \
6226
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6229
# `set' quotes correctly as required by POSIX, so do not add quotes.
6230
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6233
if cmp -s $cache_file confcache; then
8301
6236
if test -w $cache_file; then
8302
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8303
cat confcache >$cache_file
6237
echo "updating cache $cache_file"
6238
cat confcache > $cache_file
8305
6240
echo "not updating unwritable cache $cache_file"
8308
6243
rm -f confcache
6245
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
8310
6247
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8311
6248
# Let make expand exec_prefix.
8312
6249
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8314
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8315
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8316
# trailing colons and then remove the whole line if VPATH becomes empty
8317
# (actually we leave an empty line to preserve line numbers).
6251
# Any assignment to VPATH causes Sun make to only execute
6252
# the first set of double-colon rules, so remove it if not needed.
6253
# If there is a colon in the path, we need to keep it.
8318
6254
if test "x$srcdir" = x.; then
8319
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8320
s/:*\$(srcdir):*/:/;
8321
s/:*\${srcdir}:*/:/;
8323
s/^\([^=]*=[ ]*\):*/\1/;
6255
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
6258
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
8329
6260
# Transform confdefs.h into DEFS.
8330
6261
# Protect against shell expansion while executing Makefile rules.
8331
6262
# Protect against Makefile macro expansion.
8333
# If the first sed substitution is executed (which looks for macros that
8334
# take arguments), then we branch to the quote section. Otherwise,
8335
# look for a macro that doesn't take arguments.
8336
cat >confdef2opt.sed <<\EOF
8339
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
8341
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
8345
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6263
cat > conftest.defs <<\EOF
6264
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
6265
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
8351
# We use echo to avoid assuming a particular line-breaking character.
8352
# The extra dot is to prevent the shell from consuming trailing
8353
# line-breaks from the sub-command output. A line-break within
8354
# single-quotes doesn't work because, if this script is created in a
8355
# platform that uses two characters for line-breaks (e.g., DOS), tr
8357
ac_LF_and_DOT=`echo; echo .`
8358
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
8359
rm -f confdef2opt.sed
6270
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
6274
# Without the "./", some shells look in PATH for config.status.
8361
6275
: ${CONFIG_STATUS=./config.status}
8362
ac_clean_files_save=$ac_clean_files
8363
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8364
{ echo "$as_me:8364: creating $CONFIG_STATUS" >&5
8365
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8366
cat >$CONFIG_STATUS <<_ACEOF
6277
echo creating $CONFIG_STATUS
6278
rm -f $CONFIG_STATUS
6279
cat > $CONFIG_STATUS <<EOF
8368
6281
# Generated automatically by configure.
8369
6282
# Run this file to recreate the current configuration.
6283
# This directory was configured as follows,
6284
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6286
# $0 $ac_configure_args
8370
6288
# Compiler output produced by configure, useful for debugging
8371
# configure, is in config.log if it exists.
8374
SHELL=\${CONFIG_SHELL-$SHELL}
8375
ac_cs_invocation="\$0 \$@"
8379
cat >>$CONFIG_STATUS <<\_ACEOF
8380
# Be Bourne compatible
8381
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8384
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8388
# Name of the executable.
8389
as_me=`echo "$0" |sed 's,.*[\\/],,'`
8391
if expr a : '\(a\)' >/dev/null 2>&1; then
8397
rm -f conf$$ conf$$.exe conf$$.file
8399
if ln -s conf$$.file conf$$ 2>/dev/null; then
8400
# We could just check for DJGPP; but this test a) works b) is more generic
8401
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8402
if test -f conf$$.exe; then
8403
# Don't use ln at all; we don't have any links
8408
elif ln conf$$.file conf$$ 2>/dev/null; then
8413
rm -f conf$$ conf$$.exe conf$$.file
8415
as_executable_p="test -f"
8417
# Support unset when possible.
8418
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8425
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
8426
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
8427
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
8428
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
8429
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
8430
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
8431
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
8432
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
8435
# We need space, tab and new line, in precisely that order.
8441
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
8447
# Files that config.status was made for.
8448
if test -n "$ac_config_files"; then
8449
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8452
if test -n "$ac_config_headers"; then
8453
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8456
if test -n "$ac_config_links"; then
8457
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8460
if test -n "$ac_config_commands"; then
8461
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8464
cat >>$CONFIG_STATUS <<\EOF
8467
\`$as_me' instantiates files from templates according to the
8468
current configuration.
8470
Usage: $0 [OPTIONS] [FILE]...
8472
-h, --help print this help, then exit
8473
-V, --version print version number, then exit
8474
-d, --debug don't remove temporary files
8475
--recheck update $as_me by reconfiguring in the same conditions
8476
--file=FILE[:TEMPLATE]
8477
instantiate the configuration file FILE
8479
Configuration files:
8482
Configuration commands:
8485
Report bugs to <bug-autoconf@gnu.org>."
8488
cat >>$CONFIG_STATUS <<EOF
8491
configured by $0, generated by GNU Autoconf 2.52,
8492
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8494
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8495
Free Software Foundation, Inc.
8496
This config.status script is free software; the Free Software Foundation
8497
gives unlimited permission to copy, distribute and modify it."
8502
cat >>$CONFIG_STATUS <<\EOF
8503
# If no file are specified by the user, then we need to provide default
8504
# value. By we need to know if files were specified by the user.
6289
# configure, is in ./config.log if it exists.
6291
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
8510
ac_option=`expr "x$1" : 'x\([^=]*\)='`
8511
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8513
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
8517
*) # This is not an option, so the user has probably given explicit
8519
ac_need_defaults=false;;
8523
# Handling of the options.
8525
cat >>$CONFIG_STATUS <<EOF
6294
case "\$ac_option" in
8526
6295
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8527
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
8528
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
8530
cat >>$CONFIG_STATUS <<\EOF
8531
--version | --vers* | -V )
8532
echo "$ac_cs_version"; exit 0 ;;
8534
# Conflict between --help and --header
8535
{ { echo "$as_me:8535: error: ambiguous option: $1
8536
Try \`$0 --help' for more information." >&5
8537
echo "$as_me: error: ambiguous option: $1
8538
Try \`$0 --help' for more information." >&2;}
8539
{ (exit 1); exit 1; }; };;
8540
--help | --hel | -h )
8541
echo "$ac_cs_usage"; exit 0 ;;
8542
--debug | --d* | -d )
8544
--file | --fil | --fi | --f )
8546
CONFIG_FILES="$CONFIG_FILES $1"
8547
ac_need_defaults=false;;
8548
--header | --heade | --head | --hea )
8550
CONFIG_HEADERS="$CONFIG_HEADERS $1"
8551
ac_need_defaults=false;;
8554
-*) { { echo "$as_me:8554: error: unrecognized option: $1
8555
Try \`$0 --help' for more information." >&5
8556
echo "$as_me: error: unrecognized option: $1
8557
Try \`$0 --help' for more information." >&2;}
8558
{ (exit 1); exit 1; }; } ;;
8560
*) ac_config_targets="$ac_config_targets $1" ;;
8569
## ----------------------- ##
8570
## Running config.status. ##
8571
## ----------------------- ##
8573
This file was extended by $as_me 2.52, executed with
8574
CONFIG_FILES = $CONFIG_FILES
8575
CONFIG_HEADERS = $CONFIG_HEADERS
8576
CONFIG_LINKS = $CONFIG_LINKS
8577
CONFIG_COMMANDS = $CONFIG_COMMANDS
8579
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8584
cat >>$CONFIG_STATUS <<EOF
8586
# INIT-COMMANDS section.
8589
AMDEP_TRUE="$AMDEP_TRUE"
8590
ac_aux_dir="$ac_aux_dir"
8594
cat >>$CONFIG_STATUS <<\EOF
8595
for ac_config_target in $ac_config_targets
8597
case "$ac_config_target" in
8598
# Handling of arguments.
8599
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8600
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8601
"src/libFLAC/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/Makefile" ;;
8602
"src/libFLAC/ia32/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/ia32/Makefile" ;;
8603
"src/libFLAC/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/Makefile" ;;
8604
"src/libFLAC/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/private/Makefile" ;;
8605
"src/libFLAC/include/protected/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/protected/Makefile" ;;
8606
"src/flac/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/flac/Makefile" ;;
8607
"src/metaflac/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/metaflac/Makefile" ;;
8608
"src/plugin_xmms/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/plugin_xmms/Makefile" ;;
8609
"src/test_streams/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test_streams/Makefile" ;;
8610
"src/test_unit/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test_unit/Makefile" ;;
8611
"include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
8612
"include/FLAC/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/FLAC/Makefile" ;;
8613
"include/FLAC/ordinals.h" ) CONFIG_FILES="$CONFIG_FILES include/FLAC/ordinals.h" ;;
8614
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8615
"doc/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/images/Makefile" ;;
8616
"doc/ru/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ru/Makefile" ;;
8617
"man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
8618
"test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
8619
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8620
*) { { echo "$as_me:8620: error: invalid argument: $ac_config_target" >&5
8621
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8622
{ (exit 1); exit 1; }; };;
8626
# If the user did not use the arguments to specify the items to instantiate,
8627
# then the envvar interface is used. Set only those that are not.
8628
# We use the long form for the default assignment because of an extremely
8629
# bizarre bug on SunOS 4.1.3.
8630
if $ac_need_defaults; then
8631
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8632
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8635
# Create a temporary directory, and hook for its removal unless debugging.
8638
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8639
trap '{ (exit 1); exit 1; }' 1 2 13 15
8642
# Create a (secure) tmp directory for tmp files.
8645
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
8646
test -n "$tmp" && test -d "$tmp"
8649
tmp=$TMPDIR/cs$$-$RANDOM
8650
(umask 077 && mkdir $tmp)
8653
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
8654
{ (exit 1); exit 1; }
8659
cat >>$CONFIG_STATUS <<EOF
8662
# CONFIG_FILES section.
8665
# No need to generate the scripts if there are no CONFIG_FILES.
8666
# This happens for instance when ./config.status config.h
8667
if test -n "\$CONFIG_FILES"; then
8668
# Protect against being on the right side of a sed subst in config.status.
8669
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8670
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8671
s,@SHELL@,$SHELL,;t t
8672
s,@exec_prefix@,$exec_prefix,;t t
8673
s,@prefix@,$prefix,;t t
8674
s,@program_transform_name@,$program_transform_name,;t t
8675
s,@bindir@,$bindir,;t t
8676
s,@sbindir@,$sbindir,;t t
8677
s,@libexecdir@,$libexecdir,;t t
8678
s,@datadir@,$datadir,;t t
8679
s,@sysconfdir@,$sysconfdir,;t t
8680
s,@sharedstatedir@,$sharedstatedir,;t t
8681
s,@localstatedir@,$localstatedir,;t t
8682
s,@libdir@,$libdir,;t t
8683
s,@includedir@,$includedir,;t t
8684
s,@oldincludedir@,$oldincludedir,;t t
8685
s,@infodir@,$infodir,;t t
8686
s,@mandir@,$mandir,;t t
8687
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8688
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8689
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8690
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8691
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8692
s,@build_alias@,$build_alias,;t t
8693
s,@host_alias@,$host_alias,;t t
8694
s,@target_alias@,$target_alias,;t t
8695
s,@ECHO_C@,$ECHO_C,;t t
8696
s,@ECHO_N@,$ECHO_N,;t t
8697
s,@ECHO_T@,$ECHO_T,;t t
8698
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8701
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8702
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8703
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8704
s,@PACKAGE@,$PACKAGE,;t t
8705
s,@VERSION@,$VERSION,;t t
8706
s,@EXEEXT@,$EXEEXT,;t t
8707
s,@OBJEXT@,$OBJEXT,;t t
8708
s,@ACLOCAL@,$ACLOCAL,;t t
8709
s,@AUTOCONF@,$AUTOCONF,;t t
8710
s,@AUTOMAKE@,$AUTOMAKE,;t t
8711
s,@AUTOHEADER@,$AUTOHEADER,;t t
8712
s,@MAKEINFO@,$MAKEINFO,;t t
8713
s,@AMTAR@,$AMTAR,;t t
8714
s,@install_sh@,$install_sh,;t t
8715
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8717
s,@SET_MAKE@,$SET_MAKE,;t t
8718
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8719
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8720
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8721
s,@DEPDIR@,$DEPDIR,;t t
8722
s,@build@,$build,;t t
8723
s,@build_cpu@,$build_cpu,;t t
8724
s,@build_vendor@,$build_vendor,;t t
8725
s,@build_os@,$build_os,;t t
8727
s,@host_cpu@,$host_cpu,;t t
8728
s,@host_vendor@,$host_vendor,;t t
8729
s,@host_os@,$host_os,;t t
8731
s,@CFLAGS@,$CFLAGS,;t t
8732
s,@LDFLAGS@,$LDFLAGS,;t t
8733
s,@CPPFLAGS@,$CPPFLAGS,;t t
8734
s,@ac_ct_CC@,$ac_ct_CC,;t t
8735
s,@am__include@,$am__include,;t t
8736
s,@am__quote@,$am__quote,;t t
8737
s,@CCDEPMODE@,$CCDEPMODE,;t t
8740
s,@RANLIB@,$RANLIB,;t t
8741
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8742
s,@STRIP@,$STRIP,;t t
8743
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8745
s,@LIBTOOL@,$LIBTOOL,;t t
8746
s,@FLaC__CPU_IA32_TRUE@,$FLaC__CPU_IA32_TRUE,;t t
8747
s,@FLaC__CPU_IA32_FALSE@,$FLaC__CPU_IA32_FALSE,;t t
8748
s,@FLaC__CPU_PPC_TRUE@,$FLaC__CPU_PPC_TRUE,;t t
8749
s,@FLaC__CPU_PPC_FALSE@,$FLaC__CPU_PPC_FALSE,;t t
8750
s,@FLaC__CPU_SPARC_TRUE@,$FLaC__CPU_SPARC_TRUE,;t t
8751
s,@FLaC__CPU_SPARC_FALSE@,$FLaC__CPU_SPARC_FALSE,;t t
8752
s,@OBJ_FORMAT@,$OBJ_FORMAT,;t t
8753
s,@FLaC__NO_ASM_TRUE@,$FLaC__NO_ASM_TRUE,;t t
8754
s,@FLaC__NO_ASM_FALSE@,$FLaC__NO_ASM_FALSE,;t t
8755
s,@DEBUG_TRUE@,$DEBUG_TRUE,;t t
8756
s,@DEBUG_FALSE@,$DEBUG_FALSE,;t t
8757
s,@FLaC__SSE_OS_TRUE@,$FLaC__SSE_OS_TRUE,;t t
8758
s,@FLaC__SSE_OS_FALSE@,$FLaC__SSE_OS_FALSE,;t t
8759
s,@FLaC__USE_3DNOW_TRUE@,$FLaC__USE_3DNOW_TRUE,;t t
8760
s,@FLaC__USE_3DNOW_FALSE@,$FLaC__USE_3DNOW_FALSE,;t t
8761
s,@FLaC__HAS_OGG_TRUE@,$FLaC__HAS_OGG_TRUE,;t t
8762
s,@FLaC__HAS_OGG_FALSE@,$FLaC__HAS_OGG_FALSE,;t t
8763
s,@XMMS_CONFIG@,$XMMS_CONFIG,;t t
8764
s,@XMMS_CFLAGS@,$XMMS_CFLAGS,;t t
8765
s,@XMMS_LIBS@,$XMMS_LIBS,;t t
8766
s,@XMMS_VERSION@,$XMMS_VERSION,;t t
8767
s,@XMMS_DATA_DIR@,$XMMS_DATA_DIR,;t t
8768
s,@XMMS_PLUGIN_DIR@,$XMMS_PLUGIN_DIR,;t t
8769
s,@XMMS_VISUALIZATION_PLUGIN_DIR@,$XMMS_VISUALIZATION_PLUGIN_DIR,;t t
8770
s,@XMMS_INPUT_PLUGIN_DIR@,$XMMS_INPUT_PLUGIN_DIR,;t t
8771
s,@XMMS_OUTPUT_PLUGIN_DIR@,$XMMS_OUTPUT_PLUGIN_DIR,;t t
8772
s,@XMMS_GENERAL_PLUGIN_DIR@,$XMMS_GENERAL_PLUGIN_DIR,;t t
8773
s,@XMMS_EFFECT_PLUGIN_DIR@,$XMMS_EFFECT_PLUGIN_DIR,;t t
8774
s,@FLaC__HAS_XMMS_TRUE@,$FLaC__HAS_XMMS_TRUE,;t t
8775
s,@FLaC__HAS_XMMS_FALSE@,$FLaC__HAS_XMMS_FALSE,;t t
8777
s,@FLaC__HAS_NASM_TRUE@,$FLaC__HAS_NASM_TRUE,;t t
8778
s,@FLaC__HAS_NASM_FALSE@,$FLaC__HAS_NASM_FALSE,;t t
8779
s,@FLaC__SIZE16@,$FLaC__SIZE16,;t t
8780
s,@FLaC__USIZE16@,$FLaC__USIZE16,;t t
8781
s,@FLaC__SIZE32@,$FLaC__SIZE32,;t t
8782
s,@FLaC__USIZE32@,$FLaC__USIZE32,;t t
8783
s,@FLaC__SIZE64@,$FLaC__SIZE64,;t t
8784
s,@FLaC__USIZE64@,$FLaC__USIZE64,;t t
6296
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
6297
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
6298
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
6299
echo "$CONFIG_STATUS generated by autoconf version 2.13"
6301
-help | --help | --hel | --he | --h)
6302
echo "\$ac_cs_usage"; exit 0 ;;
6303
*) echo "\$ac_cs_usage"; exit 1 ;;
6307
ac_given_srcdir=$srcdir
6308
ac_given_INSTALL="$INSTALL"
6310
trap 'rm -fr `echo "Makefile \
6312
src/libFLAC/Makefile \
6313
src/libFLAC/ia32/Makefile \
6314
src/libFLAC/include/Makefile \
6315
src/libFLAC/include/private/Makefile \
6316
src/libFLAC/include/protected/Makefile \
6318
src/metaflac/Makefile \
6319
src/plugin_xmms/Makefile \
6320
src/test_streams/Makefile \
6321
src/test_unit/Makefile \
6323
include/FLAC/Makefile \
6324
include/FLAC/ordinals.h \
6326
doc/images/Makefile \
6330
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
6332
cat >> $CONFIG_STATUS <<EOF
6334
# Protect against being on the right side of a sed subst in config.status.
6335
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6336
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6340
s%@CFLAGS@%$CFLAGS%g
6341
s%@CPPFLAGS@%$CPPFLAGS%g
6342
s%@CXXFLAGS@%$CXXFLAGS%g
6343
s%@FFLAGS@%$FFLAGS%g
6345
s%@LDFLAGS@%$LDFLAGS%g
6347
s%@exec_prefix@%$exec_prefix%g
6348
s%@prefix@%$prefix%g
6349
s%@program_transform_name@%$program_transform_name%g
6350
s%@bindir@%$bindir%g
6351
s%@sbindir@%$sbindir%g
6352
s%@libexecdir@%$libexecdir%g
6353
s%@datadir@%$datadir%g
6354
s%@sysconfdir@%$sysconfdir%g
6355
s%@sharedstatedir@%$sharedstatedir%g
6356
s%@localstatedir@%$localstatedir%g
6357
s%@libdir@%$libdir%g
6358
s%@includedir@%$includedir%g
6359
s%@oldincludedir@%$oldincludedir%g
6360
s%@infodir@%$infodir%g
6361
s%@mandir@%$mandir%g
6362
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6363
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
6364
s%@INSTALL_DATA@%$INSTALL_DATA%g
6365
s%@PACKAGE@%$PACKAGE%g
6366
s%@VERSION@%$VERSION%g
6367
s%@EXEEXT@%$EXEEXT%g
6368
s%@OBJEXT@%$OBJEXT%g
6369
s%@ACLOCAL@%$ACLOCAL%g
6370
s%@AUTOCONF@%$AUTOCONF%g
6371
s%@AUTOMAKE@%$AUTOMAKE%g
6372
s%@AUTOHEADER@%$AUTOHEADER%g
6373
s%@MAKEINFO@%$MAKEINFO%g
6375
s%@install_sh@%$install_sh%g
6376
s%@INSTALL_STRIP_PROGRAM@%$INSTALL_STRIP_PROGRAM%g
6378
s%@SET_MAKE@%$SET_MAKE%g
6379
s%@AMDEP_TRUE@%$AMDEP_TRUE%g
6380
s%@AMDEP_FALSE@%$AMDEP_FALSE%g
6381
s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%g
6382
s%@DEPDIR@%$DEPDIR%g
6384
s%@host_alias@%$host_alias%g
6385
s%@host_cpu@%$host_cpu%g
6386
s%@host_vendor@%$host_vendor%g
6387
s%@host_os@%$host_os%g
6389
s%@build_alias@%$build_alias%g
6390
s%@build_cpu@%$build_cpu%g
6391
s%@build_vendor@%$build_vendor%g
6392
s%@build_os@%$build_os%g
6394
s%@am__include@%$am__include%g
6395
s%@am__quote@%$am__quote%g
6396
s%@CCDEPMODE@%$CCDEPMODE%g
6399
s%@RANLIB@%$RANLIB%g
6402
s%@LIBTOOL@%$LIBTOOL%g
6403
s%@FLaC__CPU_IA32_TRUE@%$FLaC__CPU_IA32_TRUE%g
6404
s%@FLaC__CPU_IA32_FALSE@%$FLaC__CPU_IA32_FALSE%g
6405
s%@FLaC__CPU_PPC_TRUE@%$FLaC__CPU_PPC_TRUE%g
6406
s%@FLaC__CPU_PPC_FALSE@%$FLaC__CPU_PPC_FALSE%g
6407
s%@FLaC__CPU_SPARC_TRUE@%$FLaC__CPU_SPARC_TRUE%g
6408
s%@FLaC__CPU_SPARC_FALSE@%$FLaC__CPU_SPARC_FALSE%g
6409
s%@OBJ_FORMAT@%$OBJ_FORMAT%g
6410
s%@FLaC__NO_ASM_TRUE@%$FLaC__NO_ASM_TRUE%g
6411
s%@FLaC__NO_ASM_FALSE@%$FLaC__NO_ASM_FALSE%g
6412
s%@DEBUG_TRUE@%$DEBUG_TRUE%g
6413
s%@DEBUG_FALSE@%$DEBUG_FALSE%g
6414
s%@FLaC__SSE_OS_TRUE@%$FLaC__SSE_OS_TRUE%g
6415
s%@FLaC__SSE_OS_FALSE@%$FLaC__SSE_OS_FALSE%g
6416
s%@FLaC__USE_3DNOW_TRUE@%$FLaC__USE_3DNOW_TRUE%g
6417
s%@FLaC__USE_3DNOW_FALSE@%$FLaC__USE_3DNOW_FALSE%g
6418
s%@FLaC__HAS_OGG_TRUE@%$FLaC__HAS_OGG_TRUE%g
6419
s%@FLaC__HAS_OGG_FALSE@%$FLaC__HAS_OGG_FALSE%g
6420
s%@XMMS_CONFIG@%$XMMS_CONFIG%g
6421
s%@XMMS_CFLAGS@%$XMMS_CFLAGS%g
6422
s%@XMMS_LIBS@%$XMMS_LIBS%g
6423
s%@XMMS_VERSION@%$XMMS_VERSION%g
6424
s%@XMMS_DATA_DIR@%$XMMS_DATA_DIR%g
6425
s%@XMMS_PLUGIN_DIR@%$XMMS_PLUGIN_DIR%g
6426
s%@XMMS_VISUALIZATION_PLUGIN_DIR@%$XMMS_VISUALIZATION_PLUGIN_DIR%g
6427
s%@XMMS_INPUT_PLUGIN_DIR@%$XMMS_INPUT_PLUGIN_DIR%g
6428
s%@XMMS_OUTPUT_PLUGIN_DIR@%$XMMS_OUTPUT_PLUGIN_DIR%g
6429
s%@XMMS_GENERAL_PLUGIN_DIR@%$XMMS_GENERAL_PLUGIN_DIR%g
6430
s%@XMMS_EFFECT_PLUGIN_DIR@%$XMMS_EFFECT_PLUGIN_DIR%g
6431
s%@FLaC__HAS_XMMS_TRUE@%$FLaC__HAS_XMMS_TRUE%g
6432
s%@FLaC__HAS_XMMS_FALSE@%$FLaC__HAS_XMMS_FALSE%g
6434
s%@FLaC__HAS_NASM_TRUE@%$FLaC__HAS_NASM_TRUE%g
6435
s%@FLaC__HAS_NASM_FALSE@%$FLaC__HAS_NASM_FALSE%g
6436
s%@FLaC__SIZE16@%$FLaC__SIZE16%g
6437
s%@FLaC__USIZE16@%$FLaC__USIZE16%g
6438
s%@FLaC__SIZE32@%$FLaC__SIZE32%g
6439
s%@FLaC__USIZE32@%$FLaC__USIZE32%g
6440
s%@FLaC__SIZE64@%$FLaC__SIZE64%g
6441
s%@FLaC__USIZE64@%$FLaC__USIZE64%g
8789
cat >>$CONFIG_STATUS <<\EOF
8790
# Split the substitutions into bite-sized pieces for seds with
8791
# small command number limits, like on Digital OSF/1 and HP-UX.
8793
ac_sed_frag=1 # Number of current file.
8794
ac_beg=1 # First line for current file.
8795
ac_end=$ac_max_sed_lines # Line after last line for current file.
8798
while $ac_more_lines; do
8799
if test $ac_beg -gt 1; then
8800
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8802
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8804
if test ! -s $tmp/subs.frag; then
8807
# The purpose of the label and of the branching condition is to
8808
# speed up the sed processing (if there are no `@' at all, there
8809
# is no need to browse any of the substitutions).
8810
# These are the two extra sed commands mentioned above.
8812
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8813
if test -z "$ac_sed_cmds"; then
8814
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8816
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8818
ac_sed_frag=`expr $ac_sed_frag + 1`
8820
ac_end=`expr $ac_end + $ac_max_sed_lines`
8823
if test -z "$ac_sed_cmds"; then
8826
fi # test -n "$CONFIG_FILES"
8829
cat >>$CONFIG_STATUS <<\EOF
8830
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6446
cat >> $CONFIG_STATUS <<\EOF
6448
# Split the substitutions into bite-sized pieces for seds with
6449
# small command number limits, like on Digital OSF/1 and HP-UX.
6450
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
6451
ac_file=1 # Number of current file.
6452
ac_beg=1 # First line for current file.
6453
ac_end=$ac_max_sed_cmds # Line after last line for current file.
6456
while $ac_more_lines; do
6457
if test $ac_beg -gt 1; then
6458
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
6460
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
6462
if test ! -s conftest.s$ac_file; then
6464
rm -f conftest.s$ac_file
6466
if test -z "$ac_sed_cmds"; then
6467
ac_sed_cmds="sed -f conftest.s$ac_file"
6469
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
6471
ac_file=`expr $ac_file + 1`
6473
ac_end=`expr $ac_end + $ac_max_sed_cmds`
6476
if test -z "$ac_sed_cmds"; then
6481
cat >> $CONFIG_STATUS <<EOF
6483
CONFIG_FILES=\${CONFIG_FILES-"Makefile \
6485
src/libFLAC/Makefile \
6486
src/libFLAC/ia32/Makefile \
6487
src/libFLAC/include/Makefile \
6488
src/libFLAC/include/private/Makefile \
6489
src/libFLAC/include/protected/Makefile \
6491
src/metaflac/Makefile \
6492
src/plugin_xmms/Makefile \
6493
src/test_streams/Makefile \
6494
src/test_unit/Makefile \
6496
include/FLAC/Makefile \
6497
include/FLAC/ordinals.h \
6499
doc/images/Makefile \
6505
cat >> $CONFIG_STATUS <<\EOF
6506
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
8831
6507
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8833
- | *:- | *:-:* ) # input from stdin
8835
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8836
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8837
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8838
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8839
* ) ac_file_in=$ac_file.in ;;
6509
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
6510
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
6511
*) ac_file_in="${ac_file}.in" ;;
8842
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8843
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8844
X"$ac_file" : 'X\(//\)[^/]' \| \
8845
X"$ac_file" : 'X\(//\)$' \| \
8846
X"$ac_file" : 'X\(/\)' \| \
8847
. : '\(.\)' 2>/dev/null ||
8849
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8850
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8851
/^X\(\/\/\)$/{ s//\1/; q; }
8852
/^X\(\/\).*/{ s//\1/; q; }
6514
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
6516
# Remove last slash and all that follows it. Not all systems have dirname.
6517
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
8854
6518
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
8856
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
8860
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8861
case $as_mkdir_dir in
8862
# Skip DOS drivespec
8863
?:) as_incr_dir=$as_mkdir_dir ;;
8865
as_incr_dir=$as_incr_dir/$as_mkdir_dir
8866
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
8871
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
6519
# The file is in a subdirectory.
6520
test ! -d "$ac_dir" && mkdir "$ac_dir"
6521
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
8872
6522
# A "../" for each directory in $ac_dir_suffix.
8873
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
6523
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
8875
6525
ac_dir_suffix= ac_dots=
8880
if test -z "$ac_dots"; then
8883
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
8886
ac_srcdir=$srcdir$ac_dir_suffix;
8887
ac_top_srcdir=$srcdir ;;
6528
case "$ac_given_srcdir" in
6530
if test -z "$ac_dots"; then top_srcdir=.
6531
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
6532
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
8888
6533
*) # Relative path.
8889
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
8890
ac_top_srcdir=$ac_dots$srcdir ;;
8894
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8895
*) ac_INSTALL=$ac_dots$INSTALL ;;
8898
if test x"$ac_file" != x-; then
8899
{ echo "$as_me:8899: creating $ac_file" >&5
8900
echo "$as_me: creating $ac_file" >&6;}
8903
# Let's still pretend it is `configure' which instantiates (i.e., don't
8904
# use $as_me), people would be surprised to read:
8905
# /* config.h. Generated automatically by config.status. */
8906
configure_input="Generated automatically from `echo $ac_file_in |
8907
sed 's,.*/,,'` by configure."
8909
# First look for the input files in the build tree, otherwise in the
8911
ac_file_inputs=`IFS=:
8912
for f in $ac_file_in; do
8914
-) echo $tmp/stdin ;;
8916
# Absolute (can't be DOS-style, as IFS=:)
8917
test -f "$f" || { { echo "$as_me:8917: error: cannot find input file: $f" >&5
8918
echo "$as_me: error: cannot find input file: $f" >&2;}
8919
{ (exit 1); exit 1; }; }
8922
if test -f "$f"; then
8925
elif test -f "$srcdir/$f"; then
8930
{ { echo "$as_me:8930: error: cannot find input file: $f" >&5
8931
echo "$as_me: error: cannot find input file: $f" >&2;}
8932
{ (exit 1); exit 1; }; }
8935
done` || { (exit 1); exit 1; }
8937
cat >>$CONFIG_STATUS <<EOF
8941
cat >>$CONFIG_STATUS <<\EOF
8943
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8944
s,@configure_input@,$configure_input,;t t
8945
s,@srcdir@,$ac_srcdir,;t t
8946
s,@top_srcdir@,$ac_top_srcdir,;t t
8947
s,@INSTALL@,$ac_INSTALL,;t t
8948
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8950
if test x"$ac_file" != x-; then
8951
mv $tmp/out $ac_file
8959
cat >>$CONFIG_STATUS <<\EOF
8962
# CONFIG_COMMANDS section.
8964
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8965
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8966
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6534
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
6535
top_srcdir="$ac_dots$ac_given_srcdir" ;;
6538
case "$ac_given_INSTALL" in
6539
[/$]*) INSTALL="$ac_given_INSTALL" ;;
6540
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
6543
echo creating "$ac_file"
6545
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
6547
*Makefile*) ac_comsub="1i\\
6548
# $configure_input" ;;
6552
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6554
s%@configure_input@%$configure_input%g
6555
s%@srcdir@%$srcdir%g
6556
s%@top_srcdir@%$top_srcdir%g
6557
s%@INSTALL@%$INSTALL%g
6558
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
6563
cat >> $CONFIG_STATUS <<EOF
6564
AMDEP_TRUE="$AMDEP_TRUE"
6565
ac_aux_dir="$ac_aux_dir"
6568
cat >> $CONFIG_STATUS <<\EOF
8970
6570
test x"$AMDEP_TRUE" != x"" ||
8971
6571
for mf in $CONFIG_FILES; do