2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for mpg123 1.9.1.
3
# Generated by GNU Autoconf 2.65 for mpg123 1.10.0.
5
5
# Report bugs to <mpg123-devel@lists.sourceforge.net>.
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11
13
# This configure script is free software; the Free Software Foundation
12
14
# gives unlimited permission to copy, distribute and modify it.
1765
1774
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1766
1775
nonstandard directory <lib dir>
1767
1776
LIBS libraries to pass to the linker, e.g. -l<library>
1768
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1777
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1769
1778
you have headers in a nonstandard directory <include dir>
1770
1779
CCAS assembler compiler command (defaults to CC)
1771
1780
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
2445
2454
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2455
as_fn_set_status $ac_retval
2448
2457
} # ac_fn_c_compute_int
2449
2458
cat >config.log <<_ACEOF
2450
2459
This file contains any messages produced by compilers while
2451
2460
running configure, to aid debugging if configure makes a mistake.
2453
It was created by mpg123 $as_me 1.9.1, which was
2454
generated by GNU Autoconf 2.64. Invocation command line was
2462
It was created by mpg123 $as_me 1.10.0, which was
2463
generated by GNU Autoconf 2.65. Invocation command line was
2715
2724
if test -r "$cache_file"; then
2716
# Some versions of bash will fail to source /dev/null (special
2717
# files actually), so we avoid doing that.
2718
if test -f "$cache_file"; then
2725
# Some versions of bash will fail to source /dev/null (special files
2726
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2727
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2719
2728
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2720
2729
$as_echo "$as_me: loading cache $cache_file" >&6;}
2721
2730
case $cache_file in
3814
3828
... rest of stderr output deleted ...
3815
3829
10q' conftest.err >conftest.er1
3816
3830
cat conftest.er1 >&5
3817
rm -f conftest.er1 conftest.err
3832
rm -f conftest.er1 conftest.err
3819
3833
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820
3834
test $ac_status = 0; }
3823
3837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824
3838
/* end confdefs.h. */
3829
FILE *f = fopen ("conftest.out", "w");
3830
return ferror (f) || fclose (f) != 0;
3836
3848
ac_clean_files_save=$ac_clean_files
3837
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3849
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3838
3850
# Try to create an executable without -o first, disregard a.out.
3839
3851
# It will help us diagnose broken compilers, and finding out an intuition
3841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3842
$as_echo_n "checking for C compiler default output file name... " >&6; }
3853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3854
$as_echo_n "checking whether the C compiler works... " >&6; }
3843
3855
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3845
3857
# The possible output files:
3916
if test -z "$ac_file"; then :
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918
$as_echo "no" >&6; }
3919
$as_echo "$as_me: failed program was:" >&5
3920
sed 's/^/| /' conftest.$ac_ext >&5
3922
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924
{ as_fn_set_status 77
3925
as_fn_error "C compiler cannot create executables
3926
See \`config.log' for more details." "$LINENO" 5; }; }
3928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3929
$as_echo "yes" >&6; }
3931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3932
$as_echo_n "checking for C compiler default output file name... " >&6; }
3904
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3905
3934
$as_echo "$ac_file" >&6; }
3906
if test -z "$ac_file"; then :
3907
$as_echo "$as_me: failed program was:" >&5
3908
sed 's/^/| /' conftest.$ac_ext >&5
3910
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912
{ as_fn_set_status 77
3913
as_fn_error "C compiler cannot create executables
3914
See \`config.log' for more details." "$LINENO" 5; }; }
3916
3935
ac_exeext=$ac_cv_exeext
3918
# Check that the compiler produces executables we can run. If not, either
3919
# the compiler is broken, or we cross compile.
3920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3921
$as_echo_n "checking whether the C compiler works... " >&6; }
3922
# If not cross compiling, check that we can run a simple program.
3923
if test "$cross_compiling" != yes; then
3924
if { ac_try='./$ac_file'
3925
{ { case "(($ac_try" in
3926
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927
*) ac_try_echo=$ac_try;;
3929
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930
$as_echo "$ac_try_echo"; } >&5
3931
(eval "$ac_try") 2>&5
3933
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934
test $ac_status = 0; }; }; then
3937
if test "$cross_compiling" = maybe; then
3940
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3941
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3942
as_fn_error "cannot run C compiled programs.
3943
If you meant to cross compile, use \`--host'.
3944
See \`config.log' for more details." "$LINENO" 5; }
3948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3949
$as_echo "yes" >&6; }
3951
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3937
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3952
3938
ac_clean_files=$ac_clean_files_save
3953
# Check that the compiler produces executables we can run. If not, either
3954
# the compiler is broken, or we cross compile.
3955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3956
$as_echo_n "checking whether we are cross compiling... " >&6; }
3957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3958
$as_echo "$cross_compiling" >&6; }
3960
3939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3961
3940
$as_echo_n "checking for suffix of executables... " >&6; }
3962
3941
if { { ac_try="$ac_link"
3989
3968
as_fn_error "cannot compute suffix of executables: cannot compile and link
3990
3969
See \`config.log' for more details." "$LINENO" 5; }
3992
rm -f conftest$ac_cv_exeext
3971
rm -f conftest conftest$ac_cv_exeext
3993
3972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3994
3973
$as_echo "$ac_cv_exeext" >&6; }
3996
3975
rm -f conftest.$ac_ext
3997
3976
EXEEXT=$ac_cv_exeext
3998
3977
ac_exeext=$EXEEXT
3978
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979
/* end confdefs.h. */
3984
FILE *f = fopen ("conftest.out", "w");
3985
return ferror (f) || fclose (f) != 0;
3991
ac_clean_files="$ac_clean_files conftest.out"
3992
# Check that the compiler produces executables we can run. If not, either
3993
# the compiler is broken, or we cross compile.
3994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3995
$as_echo_n "checking whether we are cross compiling... " >&6; }
3996
if test "$cross_compiling" != yes; then
3997
{ { ac_try="$ac_link"
3999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000
*) ac_try_echo=$ac_try;;
4002
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003
$as_echo "$ac_try_echo"; } >&5
4004
(eval "$ac_link") 2>&5
4006
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4007
test $ac_status = 0; }
4008
if { ac_try='./conftest$ac_cv_exeext'
4009
{ { case "(($ac_try" in
4010
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011
*) ac_try_echo=$ac_try;;
4013
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014
$as_echo "$ac_try_echo"; } >&5
4015
(eval "$ac_try") 2>&5
4017
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018
test $ac_status = 0; }; }; then
4021
if test "$cross_compiling" = maybe; then
4024
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026
as_fn_error "cannot run C compiled programs.
4027
If you meant to cross compile, use \`--host'.
4028
See \`config.log' for more details." "$LINENO" 5; }
4032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4033
$as_echo "$cross_compiling" >&6; }
4035
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4036
ac_clean_files=$ac_clean_files_save
3999
4037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4000
4038
$as_echo_n "checking for suffix of object files... " >&6; }
4001
4039
if test "${ac_cv_objext+set}" = set; then :
6680
6718
lt_cv_nm_interface="BSD nm"
6681
6719
echo "int some_variable = 0;" > conftest.$ac_ext
6682
(eval echo "\"\$as_me:6682: $ac_compile\"" >&5)
6720
(eval echo "\"\$as_me:6720: $ac_compile\"" >&5)
6683
6721
(eval "$ac_compile" 2>conftest.err)
6684
6722
cat conftest.err >&5
6685
(eval echo "\"\$as_me:6685: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6723
(eval echo "\"\$as_me:6723: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6686
6724
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6687
6725
cat conftest.err >&5
6688
(eval echo "\"\$as_me:6688: output\"" >&5)
6726
(eval echo "\"\$as_me:6726: output\"" >&5)
6689
6727
cat conftest.out >&5
6690
6728
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6691
6729
lt_cv_nm_interface="MS dumpbin"
9087
9125
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9088
9126
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9089
9127
-e 's:$: $lt_compiler_flag:'`
9090
(eval echo "\"\$as_me:9090: $lt_compile\"" >&5)
9128
(eval echo "\"\$as_me:9128: $lt_compile\"" >&5)
9091
9129
(eval "$lt_compile" 2>conftest.err)
9093
9131
cat conftest.err >&5
9094
echo "$as_me:9094: \$? = $ac_status" >&5
9132
echo "$as_me:9132: \$? = $ac_status" >&5
9095
9133
if (exit $ac_status) && test -s "$ac_outfile"; then
9096
9134
# The compiler can only warn and ignore the option if not recognized
9097
9135
# So say no if there are warnings other than the usual output.
9426
9464
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9427
9465
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9428
9466
-e 's:$: $lt_compiler_flag:'`
9429
(eval echo "\"\$as_me:9429: $lt_compile\"" >&5)
9467
(eval echo "\"\$as_me:9467: $lt_compile\"" >&5)
9430
9468
(eval "$lt_compile" 2>conftest.err)
9432
9470
cat conftest.err >&5
9433
echo "$as_me:9433: \$? = $ac_status" >&5
9471
echo "$as_me:9471: \$? = $ac_status" >&5
9434
9472
if (exit $ac_status) && test -s "$ac_outfile"; then
9435
9473
# The compiler can only warn and ignore the option if not recognized
9436
9474
# So say no if there are warnings other than the usual output.
9531
9569
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9532
9570
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9533
9571
-e 's:$: $lt_compiler_flag:'`
9534
(eval echo "\"\$as_me:9534: $lt_compile\"" >&5)
9572
(eval echo "\"\$as_me:9572: $lt_compile\"" >&5)
9535
9573
(eval "$lt_compile" 2>out/conftest.err)
9537
9575
cat out/conftest.err >&5
9538
echo "$as_me:9538: \$? = $ac_status" >&5
9576
echo "$as_me:9576: \$? = $ac_status" >&5
9539
9577
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9541
9579
# The compiler can only warn and ignore the option if not recognized
9586
9624
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9587
9625
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9588
9626
-e 's:$: $lt_compiler_flag:'`
9589
(eval echo "\"\$as_me:9589: $lt_compile\"" >&5)
9627
(eval echo "\"\$as_me:9627: $lt_compile\"" >&5)
9590
9628
(eval "$lt_compile" 2>out/conftest.err)
9592
9630
cat out/conftest.err >&5
9593
echo "$as_me:9593: \$? = $ac_status" >&5
9631
echo "$as_me:9631: \$? = $ac_status" >&5
9594
9632
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9596
9634
# The compiler can only warn and ignore the option if not recognized
13606
for ac_header in stdlib.h unistd.h
13686
for ac_header in $ac_header_list
13608
13688
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13609
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13689
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13610
13691
eval as_val=\$$as_ac_Header
13611
13692
if test "x$as_val" = x""yes; then :
13612
13693
cat >>confdefs.h <<_ACEOF
13727
13810
fd = creat ("conftest.mmap", 0600);
13730
13813
if (write (fd, data, pagesize) != pagesize)
13817
/* Next, check that the tail of a page is zero-filled. File must have
13818
non-zero length, otherwise we risk SIGBUS for entire page. */
13819
fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13823
if (write (fd2, data2, 1) != 1)
13825
data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13826
if (data2 == MAP_FAILED)
13828
for (i = 0; i < pagesize; ++i)
13832
if (munmap (data2, pagesize))
13734
13835
/* Next, try to mmap the file at a fixed address which already has
13735
13836
something else allocated at it. If we can, also make sure that
13736
13837
we see the same garbage. */
13737
13838
fd = open ("conftest.mmap", O_RDWR);
13740
data2 = (char *) malloc (2 * pagesize);
13743
data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
13744
13841
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13745
13842
MAP_PRIVATE | MAP_FIXED, fd, 0L))
13747
13844
for (i = 0; i < pagesize; ++i)
13748
13845
if (*(data + i) != *(data2 + i))
13751
13848
/* Finally, make sure that changes to the mapped area do not
13752
13849
percolate back to the file as seen by read(). (This is a bug on
13959
for ac_func in getaddrinfo
13961
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13962
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
13963
cat >>confdefs.h <<_ACEOF
13964
#define HAVE_GETADDRINFO 1
13972
if test x"$ipv6" = xauto; then
13973
if test x"$have_ipv6" = xyes; then
13979
if test x"$ipv6" = xenabled; then
13981
$as_echo "#define IPV6 1" >>confdefs.h
13983
if test x"$have_ipv6" = xno; then
13984
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You forced IPv6 code while I think there is no getaddrinfo() available! " >&5
13985
$as_echo "$as_me: WARNING: You forced IPv6 code while I think there is no getaddrinfo() available! " >&2;}
13990
14057
# locale headers
13991
14058
for ac_header in locale.h langinfo.h
14027
14094
have_network=no
14097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14098
$as_echo_n "checking for library containing gethostbyname... " >&6; }
14099
if test "${ac_cv_search_gethostbyname+set}" = set; then :
14100
$as_echo_n "(cached) " >&6
14102
ac_func_search_save_LIBS=$LIBS
14103
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104
/* end confdefs.h. */
14106
/* Override any GCC internal prototype to avoid an error.
14107
Use char because int might match the return type of a GCC
14108
builtin and then its argument prototype would still apply. */
14112
char gethostbyname ();
14116
return gethostbyname ();
14121
for ac_lib in '' nsl socket ws2_32 wsock32; do
14122
if test -z "$ac_lib"; then
14123
ac_res="none required"
14126
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14128
if ac_fn_c_try_link "$LINENO"; then :
14129
ac_cv_search_gethostbyname=$ac_res
14131
rm -f core conftest.err conftest.$ac_objext \
14133
if test "${ac_cv_search_gethostbyname+set}" = set; then :
14137
if test "${ac_cv_search_gethostbyname+set}" = set; then :
14140
ac_cv_search_gethostbyname=no
14142
rm conftest.$ac_ext
14143
LIBS=$ac_func_search_save_LIBS
14145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14146
$as_echo "$ac_cv_search_gethostbyname" >&6; }
14147
ac_res=$ac_cv_search_gethostbyname
14148
if test "$ac_res" != no; then :
14149
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14154
$as_echo_n "checking for library containing socket... " >&6; }
14155
if test "${ac_cv_search_socket+set}" = set; then :
14156
$as_echo_n "(cached) " >&6
14158
ac_func_search_save_LIBS=$LIBS
14159
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160
/* end confdefs.h. */
14162
/* Override any GCC internal prototype to avoid an error.
14163
Use char because int might match the return type of a GCC
14164
builtin and then its argument prototype would still apply. */
14177
for ac_lib in '' socket ws2_32 wsock32; do
14178
if test -z "$ac_lib"; then
14179
ac_res="none required"
14182
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14184
if ac_fn_c_try_link "$LINENO"; then :
14185
ac_cv_search_socket=$ac_res
14187
rm -f core conftest.err conftest.$ac_objext \
14189
if test "${ac_cv_search_socket+set}" = set; then :
14193
if test "${ac_cv_search_socket+set}" = set; then :
14196
ac_cv_search_socket=no
14198
rm conftest.$ac_ext
14199
LIBS=$ac_func_search_save_LIBS
14201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14202
$as_echo "$ac_cv_search_socket" >&6; }
14203
ac_res=$ac_cv_search_socket
14204
if test "$ac_res" != no; then :
14205
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14030
14211
if test x"$network" = xauto; then
14031
14212
if test x"$have_network" = xyes; then
14032
14213
network=enabled
14228
for ac_func in getaddrinfo
14230
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
14231
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
14232
cat >>confdefs.h <<_ACEOF
14233
#define HAVE_GETADDRINFO 1
14241
if test x"$ipv6" = xauto; then
14242
if test x"$have_ipv6" = xyes; then
14249
if test x"$ipv6" = xenabled; then
14251
$as_echo "#define IPV6 1" >>confdefs.h
14253
if test x"$have_ipv6" = xno; then
14254
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You forced IPv6 code while I think there is no getaddrinfo() available! " >&5
14255
$as_echo "$as_me: WARNING: You forced IPv6 code while I think there is no getaddrinfo() available! " >&2;}
14047
14259
# Substitutions for the installable mpg123.h header
14048
14260
if test "x$ac_cv_header_stdio_h" = "xyes"; then
14049
14261
INCLUDE_STDIO_H="#include <stdio.h>"
14206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14207
$as_echo_n "checking for library containing gethostbyname... " >&6; }
14208
if test "${ac_cv_search_gethostbyname+set}" = set; then :
14209
$as_echo_n "(cached) " >&6
14211
ac_func_search_save_LIBS=$LIBS
14212
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213
/* end confdefs.h. */
14215
/* Override any GCC internal prototype to avoid an error.
14216
Use char because int might match the return type of a GCC
14217
builtin and then its argument prototype would still apply. */
14221
char gethostbyname ();
14225
return gethostbyname ();
14230
for ac_lib in '' nsl socket ws2_32 wsock32; do
14231
if test -z "$ac_lib"; then
14232
ac_res="none required"
14235
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14237
if ac_fn_c_try_link "$LINENO"; then :
14238
ac_cv_search_gethostbyname=$ac_res
14240
rm -f core conftest.err conftest.$ac_objext \
14242
if test "${ac_cv_search_gethostbyname+set}" = set; then :
14246
if test "${ac_cv_search_gethostbyname+set}" = set; then :
14249
ac_cv_search_gethostbyname=no
14251
rm conftest.$ac_ext
14252
LIBS=$ac_func_search_save_LIBS
14254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14255
$as_echo "$ac_cv_search_gethostbyname" >&6; }
14256
ac_res=$ac_cv_search_gethostbyname
14257
if test "$ac_res" != no; then :
14258
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14263
$as_echo_n "checking for library containing socket... " >&6; }
14264
if test "${ac_cv_search_socket+set}" = set; then :
14265
$as_echo_n "(cached) " >&6
14267
ac_func_search_save_LIBS=$LIBS
14268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269
/* end confdefs.h. */
14271
/* Override any GCC internal prototype to avoid an error.
14272
Use char because int might match the return type of a GCC
14273
builtin and then its argument prototype would still apply. */
14286
for ac_lib in '' socket ws2_32 wsock32; do
14287
if test -z "$ac_lib"; then
14288
ac_res="none required"
14291
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14293
if ac_fn_c_try_link "$LINENO"; then :
14294
ac_cv_search_socket=$ac_res
14296
rm -f core conftest.err conftest.$ac_objext \
14298
if test "${ac_cv_search_socket+set}" = set; then :
14302
if test "${ac_cv_search_socket+set}" = set; then :
14305
ac_cv_search_socket=no
14307
rm conftest.$ac_ext
14308
LIBS=$ac_func_search_save_LIBS
14310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14311
$as_echo "$ac_cv_search_socket" >&6; }
14312
ac_res=$ac_cv_search_socket
14313
if test "$ac_res" != no; then :
14314
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14319
14418
s_altivec="synth_altivec dct64_altivec"
14320
14419
s_i386="dct64_i386"
14321
14420
s_i486="$s_i386 synth_i486 dct64_i486"
14580
# Check if we want feature report function.
14581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want feature report function" >&5
14582
$as_echo_n "checking if we want feature report function... " >&6; }
14583
feature_report=enabled
14584
# Check whether --enable-feature_report was given.
14585
if test "${enable_feature_report+set}" = set; then :
14586
enableval=$enable_feature_report;
14587
if test "x$enableval" = xno; then
14588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14589
$as_echo "no" >&6; }
14590
feature_report=disabled
14592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14593
$as_echo "yes" >&6; }
14597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14598
$as_echo "yes" >&6; }
14602
if test "x$feature_report" = xenabled; then
14603
more_sources="$more_sources feature"
14481
14606
for i in $more_sources
14483
14608
# Echo make sure every file is only once in the list.
14484
echo "$DECODER_OBJ" | grep -v -w "$i\.\$(OBJEXT)" && DECODER_OBJ="$DECODER_OBJ $i.\$(OBJEXT)"
14485
echo "$DECODER_LOBJ" | grep -v -w "$i\.lo" && DECODER_LOBJ="$DECODER_LOBJ $i.lo"
14609
echo "$DECODER_OBJ" | grep -v -w "$i\.\$(OBJEXT)" > /dev/null && DECODER_OBJ="$DECODER_OBJ $i.\$(OBJEXT)"
14610
echo "$DECODER_LOBJ" | grep -v -w "$i\.lo" > /dev/null && DECODER_LOBJ="$DECODER_LOBJ $i.lo"
15409
15534
check_failed=yes
15538
OS2_LIBS="-los2me -lmmpm2 -lsocket"
15539
for ac_header in os2.h
15541
ac_fn_c_check_header_mongrel "$LINENO" "os2.h" "ac_cv_header_os2_h" "$ac_includes_default"
15542
if test "x$ac_cv_header_os2_h" = x""yes; then :
15543
cat >>confdefs.h <<_ACEOF
15544
#define HAVE_OS2_H 1
15551
# os2me.h depends on os2.h
15552
# Yes, that way of coding it is ugly.
15553
if test "x${ac_cv_header_os2_h}" = xyes
15555
# We mimick exactly the way how the header will be used.
15556
# It seems to be picky...
15557
for ac_header in os2me.h
15559
ac_fn_c_check_header_compile "$LINENO" "os2me.h" "ac_cv_header_os2me_h" "#define INCL_OS2MM
15566
if test "x$ac_cv_header_os2me_h" = x""yes; then :
15567
cat >>confdefs.h <<_ACEOF
15568
#define HAVE_OS2ME_H 1
15576
if test "x${ac_cv_header_os2_h}" = xyes \
15577
-a "x${ac_cv_header_os2me_h}" = xyes
15579
output_modules="$output_modules os2"
15412
15585
# from here on only forced tests, untested code
15414
15587
# What's the deal with that and alib?
15491
UNSUPPORTED_AUDIO=yes
15492
OS2_LIBS="-los2me -lsocket"
15493
for ac_header in os2.h os2me.h
15495
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15496
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15497
eval as_val=\$$as_ac_Header
15498
if test "x$as_val" = x""yes; then :
15499
cat >>confdefs.h <<_ACEOF
15500
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15507
if test "x${ac_cv_header_os2_h}" = xyes \
15508
-a "x${ac_cv_header_os2me_h}" = xyes
15510
output_modules="$output_modules os2"
15517
15664
UNSUPPORTED_AUDIO=yes
15518
15665
SGI_LIBS=-laudio
16164
# Check if we want Unicode for Win32. Cygwin does not need _wopen
16165
win32_specific_codes=disabled
16166
win32_unicode=disabled
16167
for ac_header in windows.h
16169
ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
16170
if test "x$ac_cv_header_windows_h" = x""yes; then :
16171
cat >>confdefs.h <<_ACEOF
16172
#define HAVE_WINDOWS_H 1
16174
win32_specific_codes=enabled
16179
if test "x$win32_specific_codes" = xenabled; then
16180
ac_fn_c_check_func "$LINENO" "_wopen" "ac_cv_func__wopen"
16181
if test "x$ac_cv_func__wopen" = x""yes; then :
16182
win32_unicode=enabled
16184
win32_unicode=disabled
16187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want Unicode File Open for Win32" >&5
16188
$as_echo_n "checking if we want Unicode File Open for Win32... " >&6; }
16189
if test "x$win32_unicode" = xenabled; then
16191
$as_echo "#define WANT_WIN32_UNICODE 1" >>confdefs.h
16193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16194
$as_echo "yes" >&6; }
16196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16197
$as_echo "no" >&6; }
16200
# Use Win32 support codes
16201
if test "x$win32_specific_codes" = xenabled ; then
16203
WIN32_CODES_FALSE='#'
16205
WIN32_CODES_TRUE='#'
16018
16211
# Do that here to prevent the above tests usign -lltdl...
16019
16212
if test "x$modules" = xenabled; then
16020
16213
LIBS="-lltdl $LIBS"
16023
ac_config_files="$ac_config_files Makefile libmpg123.pc doc/Makefile src/Makefile src/output/Makefile src/libmpg123/Makefile src/libmpg123/mpg123.h src/libmpg123/libmpg123.sym"
16216
ac_config_files="$ac_config_files Makefile libmpg123.pc mpg123.spec doc/Makefile src/Makefile src/output/Makefile src/libmpg123/Makefile src/libmpg123/mpg123.h"
16026
16219
cat >confcache <<\_ACEOF
16640
16837
# report actual input values of CONFIG_FILES etc. instead of their
16641
16838
# values after options handling.
16643
This file was extended by mpg123 $as_me 1.9.1, which was
16644
generated by GNU Autoconf 2.64. Invocation command line was
16840
This file was extended by mpg123 $as_me 1.10.0, which was
16841
generated by GNU Autoconf 2.65. Invocation command line was
16646
16843
CONFIG_FILES = $CONFIG_FILES
16647
16844
CONFIG_HEADERS = $CONFIG_HEADERS
16682
16879
-h, --help print this help, then exit
16683
16880
-V, --version print version number and configuration settings, then exit
16881
--config print configuration, then exit
16684
16882
-q, --quiet, --silent
16685
16883
do not print progress messages
16686
16884
-d, --debug don't remove temporary files
16705
16903
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16904
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16706
16905
ac_cs_version="\\
16707
mpg123 config.status 1.9.1
16708
configured by $0, generated by GNU Autoconf 2.64,
16709
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16906
mpg123 config.status 1.10.0
16907
configured by $0, generated by GNU Autoconf 2.65,
16908
with options \\"\$ac_cs_config\\"
16711
16910
Copyright (C) 2009 Free Software Foundation, Inc.
16712
16911
This config.status script is free software; the Free Software Foundation
17086
17287
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17087
17288
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17088
17289
"libmpg123.pc") CONFIG_FILES="$CONFIG_FILES libmpg123.pc" ;;
17290
"mpg123.spec") CONFIG_FILES="$CONFIG_FILES mpg123.spec" ;;
17089
17291
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17090
17292
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17091
17293
"src/output/Makefile") CONFIG_FILES="$CONFIG_FILES src/output/Makefile" ;;
17092
17294
"src/libmpg123/Makefile") CONFIG_FILES="$CONFIG_FILES src/libmpg123/Makefile" ;;
17093
17295
"src/libmpg123/mpg123.h") CONFIG_FILES="$CONFIG_FILES src/libmpg123/mpg123.h" ;;
17094
"src/libmpg123/libmpg123.sym") CONFIG_FILES="$CONFIG_FILES src/libmpg123/libmpg123.sym" ;;
17096
17297
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18490
18691
String API .............. $string
18491
18692
ICY parsing/conversion .. $icy
18492
18693
Error/warning messages .. $messages
18694
Win32 Unicode File Open.. $win32_unicode
18695
Feature Report Function.. $feature_report
18493
18696
Output formats (nofpu will disable all but 16 or 8 bit!):
18494
18697
8 bit integer ........... $int8
18495
18698
16 bit integer .......... $int16