Changeset a7dd995f4c336251841143f56ef14450ce04f491
- Timestamp:
- 11/20/00 04:31:45
(8 years ago)
- Author:
- Henri Fallon <henri@videolan.org>
- git-committer:
- Henri Fallon <henri@videolan.org> 974691105 +0000
- git-parent:
[884bfabe2789a8189f9cc8f1e4b537f559633e99]
- git-author:
- Henri Fallon <henri@videolan.org> 974691105 +0000
- Message:
Added : alsa support
Todo : - test it on several cards
- support more than Stereo s16
- make configure check for alsa
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf6268f6 |
ra7dd995 |
|
| 19 | 19 | St�ane Borel <stef@via.ecp.fr> |
|---|
| 20 | 20 | Renaud Dartus <reno@via.ecp.fr> |
|---|
| | 21 | Henri Fallon <henri@via.ecp.fr> |
|---|
| 21 | 22 | |
|---|
| r884bfab |
ra7dd995 |
|
| 18 | 18 | * Added --enable-debug, --enable-stats, and --disable-optims in the |
|---|
| 19 | 19 | GNU configure stuff. |
|---|
| | 20 | * Added alsa audio support (plugin) |
|---|
| 20 | 21 | |
|---|
| 21 | 22 | Mon, 28 Aug 2000 02:34:18 +0200 |
|---|
| r52d7937 |
ra7dd995 |
|
| 12 | 12 | |
|---|
| 13 | 13 | ./configure --prefix=/usr --enable-mmx --enable-gnome --enable-fb \ |
|---|
| 14 | | --enable-glide --enable-ggi --enable-mga --enable-esd |
|---|
| | 14 | --enable-glide --enable-ggi --enable-mga --enable-esd --enable-alsa |
|---|
| 15 | 15 | |
|---|
| 16 | 16 | See `./configure --help' for more information. |
|---|
| r884bfab |
ra7dd995 |
|
| 340 | 340 | plugins/yuvmmx/video_yuv32.o |
|---|
| 341 | 341 | |
|---|
| | 342 | PLUGIN_ALSA = plugins/alsa/alsa.o \ |
|---|
| | 343 | plugins/alsa/aout_alsa.o |
|---|
| | 344 | |
|---|
| 342 | 345 | PLUGIN_OBJ = $(PLUGIN_BEOS) $(PLUGIN_DSP) $(PLUGIN_DUMMY) $(PLUGIN_ESD) \ |
|---|
| 343 | 346 | $(PLUGIN_FB) $(PLUGIN_GGI) $(PLUGIN_GLIDE) $(PLUGIN_GNOME) \ |
|---|
| 344 | 347 | $(PLUGIN_MGA) $(PLUGIN_X11) $(PLUGIN_YUV) $(PLUGIN_YUVMMX) \ |
|---|
| 345 | | $(PLUGIN_SDL) |
|---|
| | 348 | $(PLUGIN_SDL) $(PLUGIN_ALSA) |
|---|
| 346 | 349 | # |
|---|
| 347 | 350 | # Other lists of files |
|---|
| … | … | |
| 476 | 479 | $(CC) $(CFLAGS) -c -o $@ $< |
|---|
| 477 | 480 | |
|---|
| | 481 | lib/alsa.so: $(PLUGIN_ALSA) |
|---|
| | 482 | ld -shared -o $@ $^ |
|---|
| | 483 | $(PLUGIN_ALSA): %.o: %.c |
|---|
| | 484 | $(CC) $(CFLAGS) -c -o $@ $< |
|---|
| | 485 | |
|---|
| 478 | 486 | lib/dummy.so: $(PLUGIN_DUMMY) |
|---|
| 479 | 487 | ld -shared -o $@ $^ |
|---|
| r884bfab |
ra7dd995 |
|
| 158 | 158 | ALSA is the Advanced Linux Sound Architecture and is believed to be |
|---|
| 159 | 159 | technically superior to the usual OSS support found in the Linux kernel. |
|---|
| 160 | | Status: Todo |
|---|
| | 160 | Status: Done ( henri ) |
|---|
| 161 | 161 | |
|---|
| 162 | 162 | Task: 0x28 |
|---|
| r884bfab |
ra7dd995 |
|
| 38 | 38 | ac_help="$ac_help |
|---|
| 39 | 39 | --enable-gnome Gnome support (default disabled)" |
|---|
| | 40 | ac_help="$ac_help |
|---|
| | 41 | --enable-alsa Alsa sound drivers supprt (default disabled)" |
|---|
| 40 | 42 | ac_help="$ac_help |
|---|
| 41 | 43 | --enable-x11 X11 support (default enabled)" |
|---|
| … | … | |
| 578 | 580 | |
|---|
| 579 | 581 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|---|
| 580 | | echo "configure:575: checking host system type" >&5 |
|---|
| | 582 | echo "configure:577: checking host system type" >&5 |
|---|
| 581 | 583 | |
|---|
| 582 | 584 | host_alias=$host |
|---|
| … | … | |
| 605 | 607 | |
|---|
| 606 | 608 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
|---|
| 607 | | echo "configure:602: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|---|
| | 609 | echo "configure:604: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|---|
| 608 | 610 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
|---|
| 609 | 611 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
|---|
| … | … | |
| 635 | 637 | set dummy gcc; ac_word=$2 |
|---|
| 636 | 638 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 637 | | echo "configure:632: checking for $ac_word" >&5 |
|---|
| | 639 | echo "configure:634: checking for $ac_word" >&5 |
|---|
| 638 | 640 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 639 | 641 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 665 | 667 | set dummy cc; ac_word=$2 |
|---|
| 666 | 668 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 667 | | echo "configure:662: checking for $ac_word" >&5 |
|---|
| | 669 | echo "configure:664: checking for $ac_word" >&5 |
|---|
| 668 | 670 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 669 | 671 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 716 | 718 | set dummy cl; ac_word=$2 |
|---|
| 717 | 719 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 718 | | echo "configure:713: checking for $ac_word" >&5 |
|---|
| | 720 | echo "configure:715: checking for $ac_word" >&5 |
|---|
| 719 | 721 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 720 | 722 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 748 | 750 | |
|---|
| 749 | 751 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|---|
| 750 | | echo "configure:745: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|---|
| | 752 | echo "configure:747: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|---|
| 751 | 753 | |
|---|
| 752 | 754 | ac_ext=c |
|---|
| … | … | |
| 759 | 761 | cat > conftest.$ac_ext << EOF |
|---|
| 760 | 762 | |
|---|
| 761 | | #line 756 "configure" |
|---|
| | 763 | #line 758 "configure" |
|---|
| 762 | 764 | #include "confdefs.h" |
|---|
| 763 | 765 | |
|---|
| 764 | 766 | main(){return(0);} |
|---|
| 765 | 767 | EOF |
|---|
| 766 | | if { (eval echo configure:761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 768 | if { (eval echo configure:763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 767 | 769 | ac_cv_prog_cc_works=yes |
|---|
| 768 | 770 | # If we can't run a trivial program, we are probably using a cross compiler. |
|---|
| … | … | |
| 790 | 792 | fi |
|---|
| 791 | 793 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|---|
| 792 | | echo "configure:787: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|---|
| | 794 | echo "configure:789: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|---|
| 793 | 795 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|---|
| 794 | 796 | cross_compiling=$ac_cv_prog_cc_cross |
|---|
| 795 | 797 | |
|---|
| 796 | 798 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|---|
| 797 | | echo "configure:792: checking whether we are using GNU C" >&5 |
|---|
| | 799 | echo "configure:794: checking whether we are using GNU C" >&5 |
|---|
| 798 | 800 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|---|
| 799 | 801 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 804 | 806 | #endif |
|---|
| 805 | 807 | EOF |
|---|
| 806 | | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|---|
| | 808 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|---|
| 807 | 809 | ac_cv_prog_gcc=yes |
|---|
| 808 | 810 | else |
|---|
| … | … | |
| 823 | 825 | CFLAGS= |
|---|
| 824 | 826 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|---|
| 825 | | echo "configure:820: checking whether ${CC-cc} accepts -g" >&5 |
|---|
| | 827 | echo "configure:822: checking whether ${CC-cc} accepts -g" >&5 |
|---|
| 826 | 828 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|---|
| 827 | 829 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 857 | 859 | if test -z "$CPP"; then |
|---|
| 858 | 860 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|---|
| 859 | | echo "configure:854: checking how to run the C preprocessor" >&5 |
|---|
| | 861 | echo "configure:856: checking how to run the C preprocessor" >&5 |
|---|
| 860 | 862 | # On Suns, sometimes $CPP names a directory. |
|---|
| 861 | 863 | if test -n "$CPP" && test -d "$CPP"; then |
|---|
| … | … | |
| 872 | 874 | # not just through cpp. |
|---|
| 873 | 875 | cat > conftest.$ac_ext <<EOF |
|---|
| 874 | | #line 869 "configure" |
|---|
| | 876 | #line 871 "configure" |
|---|
| 875 | 877 | #include "confdefs.h" |
|---|
| 876 | 878 | #include <assert.h> |
|---|
| … | … | |
| 878 | 880 | EOF |
|---|
| 879 | 881 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 880 | | { (eval echo configure:875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 882 | { (eval echo configure:877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 881 | 883 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 882 | 884 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 889 | 891 | CPP="${CC-cc} -E -traditional-cpp" |
|---|
| 890 | 892 | cat > conftest.$ac_ext <<EOF |
|---|
| 891 | | #line 886 "configure" |
|---|
| | 893 | #line 888 "configure" |
|---|
| 892 | 894 | #include "confdefs.h" |
|---|
| 893 | 895 | #include <assert.h> |
|---|
| … | … | |
| 895 | 897 | EOF |
|---|
| 896 | 898 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 897 | | { (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 899 | { (eval echo configure:894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 898 | 900 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 899 | 901 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 906 | 908 | CPP="${CC-cc} -nologo -E" |
|---|
| 907 | 909 | cat > conftest.$ac_ext <<EOF |
|---|
| 908 | | #line 903 "configure" |
|---|
| | 910 | #line 905 "configure" |
|---|
| 909 | 911 | #include "confdefs.h" |
|---|
| 910 | 912 | #include <assert.h> |
|---|
| … | … | |
| 912 | 914 | EOF |
|---|
| 913 | 915 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 914 | | { (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 916 | { (eval echo configure:911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 915 | 917 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 916 | 918 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 950 | 952 | # ./install, which can be erroneously created by make from ./install.sh. |
|---|
| 951 | 953 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
|---|
| 952 | | echo "configure:947: checking for a BSD compatible install" >&5 |
|---|
| | 954 | echo "configure:949: checking for a BSD compatible install" >&5 |
|---|
| 953 | 955 | if test -z "$INSTALL"; then |
|---|
| 954 | 956 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|---|
| … | … | |
| 1004 | 1006 | |
|---|
| 1005 | 1007 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
|---|
| 1006 | | echo "configure:1001: checking for working const" >&5 |
|---|
| | 1008 | echo "configure:1003: checking for working const" >&5 |
|---|
| 1007 | 1009 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
|---|
| 1008 | 1010 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1009 | 1011 | else |
|---|
| 1010 | 1012 | cat > conftest.$ac_ext <<EOF |
|---|
| 1011 | | #line 1006 "configure" |
|---|
| | 1013 | #line 1008 "configure" |
|---|
| 1012 | 1014 | #include "confdefs.h" |
|---|
| 1013 | 1015 | |
|---|
| … | … | |
| 1058 | 1060 | ; return 0; } |
|---|
| 1059 | 1061 | EOF |
|---|
| 1060 | | if { (eval echo configure:1055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1062 | if { (eval echo configure:1057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1061 | 1063 | rm -rf conftest* |
|---|
| 1062 | 1064 | ac_cv_c_const=yes |
|---|
| … | … | |
| 1079 | 1081 | |
|---|
| 1080 | 1082 | echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
|---|
| 1081 | | echo "configure:1076: checking whether byte ordering is bigendian" >&5 |
|---|
| | 1083 | echo "configure:1078: checking whether byte ordering is bigendian" >&5 |
|---|
| 1082 | 1084 | if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
|---|
| 1083 | 1085 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 1086 | 1088 | # See if sys/param.h defines the BYTE_ORDER macro. |
|---|
| 1087 | 1089 | cat > conftest.$ac_ext <<EOF |
|---|
| 1088 | | #line 1083 "configure" |
|---|
| | 1090 | #line 1085 "configure" |
|---|
| 1089 | 1091 | #include "confdefs.h" |
|---|
| 1090 | 1092 | #include <sys/types.h> |
|---|
| … | … | |
| 1097 | 1099 | ; return 0; } |
|---|
| 1098 | 1100 | EOF |
|---|
| 1099 | | if { (eval echo configure:1094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1101 | if { (eval echo configure:1096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1100 | 1102 | rm -rf conftest* |
|---|
| 1101 | 1103 | # It does; now see whether it defined to BIG_ENDIAN or not. |
|---|
| 1102 | 1104 | cat > conftest.$ac_ext <<EOF |
|---|
| 1103 | | #line 1098 "configure" |
|---|
| | 1105 | #line 1100 "configure" |
|---|
| 1104 | 1106 | #include "confdefs.h" |
|---|
| 1105 | 1107 | #include <sys/types.h> |
|---|
| … | … | |
| 1112 | 1114 | ; return 0; } |
|---|
| 1113 | 1115 | EOF |
|---|
| 1114 | | if { (eval echo configure:1109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1116 | if { (eval echo configure:1111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1115 | 1117 | rm -rf conftest* |
|---|
| 1116 | 1118 | ac_cv_c_bigendian=yes |
|---|
| … | … | |
| 1132 | 1134 | else |
|---|
| 1133 | 1135 | cat > conftest.$ac_ext <<EOF |
|---|
| 1134 | | #line 1129 "configure" |
|---|
| | 1136 | #line 1131 "configure" |
|---|
| 1135 | 1137 | #include "confdefs.h" |
|---|
| 1136 | 1138 | main () { |
|---|
| … | … | |
| 1145 | 1147 | } |
|---|
| 1146 | 1148 | EOF |
|---|
| 1147 | | if { (eval echo configure:1142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 1149 | if { (eval echo configure:1144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 1148 | 1150 | then |
|---|
| 1149 | 1151 | ac_cv_c_bigendian=no |
|---|
| … | … | |
| 1172 | 1174 | do |
|---|
| 1173 | 1175 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1174 | | echo "configure:1169: checking for $ac_func" >&5 |
|---|
| | 1176 | echo "configure:1171: checking for $ac_func" >&5 |
|---|
| 1175 | 1177 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1176 | 1178 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1177 | 1179 | else |
|---|
| 1178 | 1180 | cat > conftest.$ac_ext <<EOF |
|---|
| 1179 | | #line 1174 "configure" |
|---|
| | 1181 | #line 1176 "configure" |
|---|
| 1180 | 1182 | #include "confdefs.h" |
|---|
| 1181 | 1183 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1200 | 1202 | ; return 0; } |
|---|
| 1201 | 1203 | EOF |
|---|
| 1202 | | if { (eval echo configure:1197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1204 | if { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1203 | 1205 | rm -rf conftest* |
|---|
| 1204 | 1206 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1227 | 1229 | do |
|---|
| 1228 | 1230 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1229 | | echo "configure:1224: checking for $ac_func" >&5 |
|---|
| | 1231 | echo "configure:1226: checking for $ac_func" >&5 |
|---|
| 1230 | 1232 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1231 | 1233 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1232 | 1234 | else |
|---|
| 1233 | 1235 | cat > conftest.$ac_ext <<EOF |
|---|
| 1234 | | #line 1229 "configure" |
|---|
| | 1236 | #line 1231 "configure" |
|---|
| 1235 | 1237 | #include "confdefs.h" |
|---|
| 1236 | 1238 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1255 | 1257 | ; return 0; } |
|---|
| 1256 | 1258 | EOF |
|---|
| 1257 | | if { (eval echo configure:1252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1259 | if { (eval echo configure:1254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1258 | 1260 | rm -rf conftest* |
|---|
| 1259 | 1261 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1280 | 1282 | |
|---|
| 1281 | 1283 | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
|---|
| 1282 | | echo "configure:1277: checking for connect" >&5 |
|---|
| | 1284 | echo "configure:1279: checking for connect" >&5 |
|---|
| 1283 | 1285 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
|---|
| 1284 | 1286 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1285 | 1287 | else |
|---|
| 1286 | 1288 | cat > conftest.$ac_ext <<EOF |
|---|
| 1287 | | #line 1282 "configure" |
|---|
| | 1289 | #line 1284 "configure" |
|---|
| 1288 | 1290 | #include "confdefs.h" |
|---|
| 1289 | 1291 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1308 | 1310 | ; return 0; } |
|---|
| 1309 | 1311 | EOF |
|---|
| 1310 | | if { (eval echo configure:1305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1312 | if { (eval echo configure:1307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1311 | 1313 | rm -rf conftest* |
|---|
| 1312 | 1314 | eval "ac_cv_func_connect=yes" |
|---|
| … | … | |
| 1326 | 1328 | echo "$ac_t""no" 1>&6 |
|---|
| 1327 | 1329 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
|---|
| 1328 | | echo "configure:1323: checking for connect in -lsocket" >&5 |
|---|
| | 1330 | echo "configure:1325: checking for connect in -lsocket" >&5 |
|---|
| 1329 | 1331 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
|---|
| 1330 | 1332 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1334 | 1336 | LIBS="-lsocket $LIBS" |
|---|
| 1335 | 1337 | cat > conftest.$ac_ext <<EOF |
|---|
| 1336 | | #line 1331 "configure" |
|---|
| | 1338 | #line 1333 "configure" |
|---|
| 1337 | 1339 | #include "confdefs.h" |
|---|
| 1338 | 1340 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1345 | 1347 | ; return 0; } |
|---|
| 1346 | 1348 | EOF |
|---|
| 1347 | | if { (eval echo configure:1342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1349 | if { (eval echo configure:1344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1348 | 1350 | rm -rf conftest* |
|---|
| 1349 | 1351 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1375 | 1377 | |
|---|
| 1376 | 1378 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
|---|
| 1377 | | echo "configure:1372: checking for gethostbyname" >&5 |
|---|
| | 1379 | echo "configure:1374: checking for gethostbyname" >&5 |
|---|
| 1378 | 1380 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
|---|
| 1379 | 1381 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1380 | 1382 | else |
|---|
| 1381 | 1383 | cat > conftest.$ac_ext <<EOF |
|---|
| 1382 | | #line 1377 "configure" |
|---|
| | 1384 | #line 1379 "configure" |
|---|
| 1383 | 1385 | #include "confdefs.h" |
|---|
| 1384 | 1386 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1403 | 1405 | ; return 0; } |
|---|
| 1404 | 1406 | EOF |
|---|
| 1405 | | if { (eval echo configure:1400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1407 | if { (eval echo configure:1402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1406 | 1408 | rm -rf conftest* |
|---|
| 1407 | 1409 | eval "ac_cv_func_gethostbyname=yes" |
|---|
| … | … | |
| 1421 | 1423 | echo "$ac_t""no" 1>&6 |
|---|
| 1422 | 1424 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
|---|
| 1423 | | echo "configure:1418: checking for gethostbyname in -lnsl" >&5 |
|---|
| | 1425 | echo "configure:1420: checking for gethostbyname in -lnsl" >&5 |
|---|
| 1424 | 1426 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
|---|
| 1425 | 1427 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1429 | 1431 | LIBS="-lnsl $LIBS" |
|---|
| 1430 | 1432 | cat > conftest.$ac_ext <<EOF |
|---|
| 1431 | | #line 1426 "configure" |
|---|
| | 1433 | #line 1428 "configure" |
|---|
| 1432 | 1434 | #include "confdefs.h" |
|---|
| 1433 | 1435 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1440 | 1442 | ; return 0; } |
|---|
| 1441 | 1443 | EOF |
|---|
| 1442 | | if { (eval echo configure:1437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1444 | if { (eval echo configure:1439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1443 | 1445 | rm -rf conftest* |
|---|
| 1444 | 1446 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1470 | 1472 | |
|---|
| 1471 | 1473 | echo $ac_n "checking for nanosleep""... $ac_c" 1>&6 |
|---|
| 1472 | | echo "configure:1467: checking for nanosleep" >&5 |
|---|
| | 1474 | echo "configure:1469: checking for nanosleep" >&5 |
|---|
| 1473 | 1475 | if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then |
|---|
| 1474 | 1476 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1475 | 1477 | else |
|---|
| 1476 | 1478 | cat > conftest.$ac_ext <<EOF |
|---|
| 1477 | | #line 1472 "configure" |
|---|
| | 1479 | #line 1474 "configure" |
|---|
| 1478 | 1480 | #include "confdefs.h" |
|---|
| 1479 | 1481 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1498 | 1500 | ; return 0; } |
|---|
| 1499 | 1501 | EOF |
|---|
| 1500 | | if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1502 | if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1501 | 1503 | rm -rf conftest* |
|---|
| 1502 | 1504 | eval "ac_cv_func_nanosleep=yes" |
|---|
| … | … | |
| 1516 | 1518 | echo "$ac_t""no" 1>&6 |
|---|
| 1517 | 1519 | echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6 |
|---|
| 1518 | | echo "configure:1513: checking for nanosleep in -lrt" >&5 |
|---|
| | 1520 | echo "configure:1515: checking for nanosleep in -lrt" >&5 |
|---|
| 1519 | 1521 | ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 1520 | 1522 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1524 | 1526 | LIBS="-lrt $LIBS" |
|---|
| 1525 | 1527 | cat > conftest.$ac_ext <<EOF |
|---|
| 1526 | | #line 1521 "configure" |
|---|
| | 1528 | #line 1523 "configure" |
|---|
| 1527 | 1529 | #include "confdefs.h" |
|---|
| 1528 | 1530 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1535 | 1537 | ; return 0; } |
|---|
| 1536 | 1538 | EOF |
|---|
| 1537 | | if { (eval echo configure:1532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1539 | if { (eval echo configure:1534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1538 | 1540 | rm -rf conftest* |
|---|
| 1539 | 1541 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1561 | 1563 | echo "$ac_t""no" 1>&6 |
|---|
| 1562 | 1564 | echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 |
|---|
| 1563 | | echo "configure:1558: checking for nanosleep in -lposix4" >&5 |
|---|
| | 1565 | echo "configure:1560: checking for nanosleep in -lposix4" >&5 |
|---|
| 1564 | 1566 | ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 1565 | 1567 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1569 | 1571 | LIBS="-lposix4 $LIBS" |
|---|
| 1570 | 1572 | cat > conftest.$ac_ext <<EOF |
|---|
| 1571 | | #line 1566 "configure" |
|---|
| | 1573 | #line 1568 "configure" |
|---|
| 1572 | 1574 | #include "confdefs.h" |
|---|
| 1573 | 1575 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1580 | 1582 | ; return 0; } |
|---|
| 1581 | 1583 | EOF |
|---|
| 1582 | | if { (eval echo configure:1577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1584 | if { (eval echo configure:1579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1583 | 1585 | rm -rf conftest* |
|---|
| 1584 | 1586 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1614 | 1616 | do |
|---|
| 1615 | 1617 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1616 | | echo "configure:1611: checking for $ac_func" >&5 |
|---|
| | 1618 | echo "configure:1613: checking for $ac_func" >&5 |
|---|
| 1617 | 1619 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1618 | 1620 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1619 | 1621 | else |
|---|
| 1620 | 1622 | cat > conftest.$ac_ext <<EOF |
|---|
| 1621 | | #line 1616 "configure" |
|---|
| | 1623 | #line 1618 "configure" |
|---|
| 1622 | 1624 | #include "confdefs.h" |
|---|
| 1623 | 1625 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1642 | 1644 | ; return 0; } |
|---|
| 1643 | 1645 | EOF |
|---|
| 1644 | | if { (eval echo configure:1639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1646 | if { (eval echo configure:1641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1645 | 1647 | rm -rf conftest* |
|---|
| 1646 | 1648 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1667 | 1669 | |
|---|
| 1668 | 1670 | echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 |
|---|
| 1669 | | echo "configure:1664: checking for inet_aton" >&5 |
|---|
| | 1671 | echo "configure:1666: checking for inet_aton" >&5 |
|---|
| 1670 | 1672 | if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then |
|---|
| 1671 | 1673 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1672 | 1674 | else |
|---|
| 1673 | 1675 | cat > conftest.$ac_ext <<EOF |
|---|
| 1674 | | #line 1669 "configure" |
|---|
| | 1676 | #line 1671 "configure" |
|---|
| 1675 | 1677 | #include "confdefs.h" |
|---|
| 1676 | 1678 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1695 | 1697 | ; return 0; } |
|---|
| 1696 | 1698 | EOF |
|---|
| 1697 | | if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1699 | if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1698 | 1700 | rm -rf conftest* |
|---|
| 1699 | 1701 | eval "ac_cv_func_inet_aton=yes" |
|---|
| … | … | |
| 1713 | 1715 | echo "$ac_t""no" 1>&6 |
|---|
| 1714 | 1716 | echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 |
|---|
| 1715 | | echo "configure:1710: checking for inet_aton in -lresolv" >&5 |
|---|
| | 1717 | echo "configure:1712: checking for inet_aton in -lresolv" >&5 |
|---|
| 1716 | 1718 | ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` |
|---|
| 1717 | 1719 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1721 | 1723 | LIBS="-lresolv $LIBS" |
|---|
| 1722 | 1724 | cat > conftest.$ac_ext <<EOF |
|---|
| 1723 | | #line 1718 "configure" |
|---|
| | 1725 | #line 1720 "configure" |
|---|
| 1724 | 1726 | #include "confdefs.h" |
|---|
| 1725 | 1727 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1732 | 1734 | ; return 0; } |
|---|
| 1733 | 1735 | EOF |
|---|
| 1734 | | if { (eval echo configure:1729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1736 | if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1735 | 1737 | rm -rf conftest* |
|---|
| 1736 | 1738 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1765 | 1767 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 1766 | 1768 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 1767 | | echo "configure:1762: checking for $ac_hdr" >&5 |
|---|
| | 1769 | echo "configure:1764: checking for $ac_hdr" >&5 |
|---|
| 1768 | 1770 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 1769 | 1771 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1770 | 1772 | else |
|---|
| 1771 | 1773 | cat > conftest.$ac_ext <<EOF |
|---|
| 1772 | | #line 1767 "configure" |
|---|
| | 1774 | #line 1769 "configure" |
|---|
| 1773 | 1775 | #include "confdefs.h" |
|---|
| 1774 | 1776 | #include <$ac_hdr> |
|---|
| 1775 | 1777 | EOF |
|---|
| 1776 | 1778 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 1777 | | { (eval echo configure:1772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 1779 | { (eval echo configure:1774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 1778 | 1780 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 1779 | 1781 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 1804 | 1806 | do |
|---|
| 1805 | 1807 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1806 | | echo "configure:1801: checking for $ac_func" >&5 |
|---|
| | 1808 | echo "configure:1803: checking for $ac_func" >&5 |
|---|
| 1807 | 1809 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1808 | 1810 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1809 | 1811 | else |
|---|
| 1810 | 1812 | cat > conftest.$ac_ext <<EOF |
|---|
| 1811 | | #line 1806 "configure" |
|---|
| | 1813 | #line 1808 "configure" |
|---|
| 1812 | 1814 | #include "confdefs.h" |
|---|
| 1813 | 1815 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1832 | 1834 | ; return 0; } |
|---|
| 1833 | 1835 | EOF |
|---|
| 1834 | | if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1836 | if { (eval echo configure:1831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1835 | 1837 | rm -rf conftest* |
|---|
| 1836 | 1838 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1857 | 1859 | |
|---|
| 1858 | 1860 | echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
|---|
| 1859 | | echo "configure:1854: checking for working mmap" >&5 |
|---|
| | 1861 | echo "configure:1856: checking for working mmap" >&5 |
|---|
| 1860 | 1862 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
|---|
| 1861 | 1863 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 1865 | 1867 | else |
|---|
| 1866 | 1868 | cat > conftest.$ac_ext <<EOF |
|---|
| 1867 | | #line 1862 "configure" |
|---|
| | 1869 | #line 1864 "configure" |
|---|
| 1868 | 1870 | #include "confdefs.h" |
|---|
| 1869 | 1871 | |
|---|
| … | … | |
| 2008 | 2010 | |
|---|
| 2009 | 2011 | EOF |
|---|
| 2010 | | if { (eval echo configure:2005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 2012 | if { (eval echo configure:2007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 2011 | 2013 | then |
|---|
| 2012 | 2014 | ac_cv_func_mmap_fixed_mapped=yes |
|---|
| … | … | |
| 2031 | 2033 | |
|---|
| 2032 | 2034 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 |
|---|
| 2033 | | echo "configure:2028: checking for vprintf" >&5 |
|---|
| | 2035 | echo "configure:2030: checking for vprintf" >&5 |
|---|
| 2034 | 2036 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then |
|---|
| 2035 | 2037 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2036 | 2038 | else |
|---|
| 2037 | 2039 | cat > conftest.$ac_ext <<EOF |
|---|
| 2038 | | #line 2033 "configure" |
|---|
| | 2040 | #line 2035 "configure" |
|---|
| 2039 | 2041 | #include "confdefs.h" |
|---|
| 2040 | 2042 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 2059 | 2061 | ; return 0; } |
|---|
| 2060 | 2062 | EOF |
|---|
| 2061 | | if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2063 | if { (eval echo configure:2058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2062 | 2064 | rm -rf conftest* |
|---|
| 2063 | 2065 | eval "ac_cv_func_vprintf=yes" |
|---|
| … | … | |
| 2083 | 2085 | if test "$ac_cv_func_vprintf" != yes; then |
|---|
| 2084 | 2086 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 |
|---|
| 2085 | | echo "configure:2080: checking for _doprnt" >&5 |
|---|
| | 2087 | echo "configure:2082: checking for _doprnt" >&5 |
|---|
| 2086 | 2088 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then |
|---|
| 2087 | 2089 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2088 | 2090 | else |
|---|
| 2089 | 2091 | cat > conftest.$ac_ext <<EOF |
|---|
| 2090 | | #line 2085 "configure" |
|---|
| | 2092 | #line 2087 "configure" |
|---|
| 2091 | 2093 | #include "confdefs.h" |
|---|
| 2092 | 2094 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 2111 | 2113 | ; return 0; } |
|---|
| 2112 | 2114 | EOF |
|---|
| 2113 | | if { (eval echo configure:2108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2115 | if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2114 | 2116 | rm -rf conftest* |
|---|
| 2115 | 2117 | eval "ac_cv_func__doprnt=yes" |
|---|
| … | … | |
| 2136 | 2138 | |
|---|
| 2137 | 2139 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
|---|
| 2138 | | echo "configure:2133: checking return type of signal handlers" >&5 |
|---|
| | 2140 | echo "configure:2135: checking return type of signal handlers" >&5 |
|---|
| 2139 | 2141 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
|---|
| 2140 | 2142 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2141 | 2143 | else |
|---|
| 2142 | 2144 | cat > conftest.$ac_ext <<EOF |
|---|
| 2143 | | #line 2138 "configure" |
|---|
| | 2145 | #line 2140 "configure" |
|---|
| 2144 | 2146 | #include "confdefs.h" |
|---|
| 2145 | 2147 | #include <sys/types.h> |
|---|
| … | … | |
| 2158 | 2160 | ; return 0; } |
|---|
| 2159 | 2161 | EOF |
|---|
| 2160 | | if { (eval echo configure:2155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 2162 | if { (eval echo configure:2157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 2161 | 2163 | rm -rf conftest* |
|---|
| 2162 | 2164 | ac_cv_type_signal=void |
|---|
| … | … | |
| 2177 | 2179 | |
|---|
| 2178 | 2180 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
|---|
| 2179 | | echo "configure:2174: checking for dlopen in -ldl" >&5 |
|---|
| | 2181 | echo "configure:2176: checking for dlopen in -ldl" >&5 |
|---|
| 2180 | 2182 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
|---|
| 2181 | 2183 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2185 | 2187 | LIBS="-ldl $LIBS" |
|---|
| 2186 | 2188 | cat > conftest.$ac_ext <<EOF |
|---|
| 2187 | | #line 2182 "configure" |
|---|
| | 2189 | #line 2184 "configure" |
|---|
| 2188 | 2190 | #include "confdefs.h" |
|---|
| 2189 | 2191 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2196 | 2198 | ; return 0; } |
|---|
| 2197 | 2199 | EOF |
|---|
| 2198 | | if { (eval echo configure:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2200 | if { (eval echo configure:2195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2199 | 2201 | rm -rf conftest* |
|---|
| 2200 | 2202 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2224 | 2226 | |
|---|
| 2225 | 2227 | echo $ac_n "checking for optarg in -lgnugetopt""... $ac_c" 1>&6 |
|---|
| 2226 | | echo "configure:2221: checking for optarg in -lgnugetopt" >&5 |
|---|
| | 2228 | echo "configure:2223: checking for optarg in -lgnugetopt" >&5 |
|---|
| 2227 | 2229 | ac_lib_var=`echo gnugetopt'_'optarg | sed 'y%./+-%__p_%'` |
|---|
| 2228 | 2230 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2232 | 2234 | LIBS="-lgnugetopt $LIBS" |
|---|
| 2233 | 2235 | cat > conftest.$ac_ext <<EOF |
|---|
| 2234 | | #line 2229 "configure" |
|---|
| | 2236 | #line 2231 "configure" |
|---|
| 2235 | 2237 | #include "confdefs.h" |
|---|
| 2236 | 2238 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2243 | 2245 | ; return 0; } |
|---|
| 2244 | 2246 | EOF |
|---|
| 2245 | | if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2247 | if { (eval echo configure:2242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2246 | 2248 | rm -rf conftest* |
|---|
| 2247 | 2249 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2271 | 2273 | |
|---|
| 2272 | 2274 | echo $ac_n "checking for _ in -lbe""... $ac_c" 1>&6 |
|---|
| 2273 | | echo "configure:2268: checking for _ in -lbe" >&5 |
|---|
| | 2275 | echo "configure:2270: checking for _ in -lbe" >&5 |
|---|
| 2274 | 2276 | ac_lib_var=`echo be'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2275 | 2277 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2279 | 2281 | LIBS="-lbe $LIBS" |
|---|
| 2280 | 2282 | cat > conftest.$ac_ext <<EOF |
|---|
| 2281 | | #line 2276 "configure" |
|---|
| | 2283 | #line 2278 "configure" |
|---|
| 2282 | 2284 | #include "confdefs.h" |
|---|
| 2283 | 2285 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2290 | 2292 | ; return 0; } |
|---|
| 2291 | 2293 | EOF |
|---|
| 2292 | | if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2294 | if { (eval echo configure:2289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2293 | 2295 | rm -rf conftest* |
|---|
| 2294 | 2296 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2318 | 2320 | |
|---|
| 2319 | 2321 | echo $ac_n "checking for _ in -lgame""... $ac_c" 1>&6 |
|---|
| 2320 | | echo "configure:2315: checking for _ in -lgame" >&5 |
|---|
| | 2322 | echo "configure:2317: checking for _ in -lgame" >&5 |
|---|
| 2321 | 2323 | ac_lib_var=`echo game'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2322 | 2324 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2326 | 2328 | LIBS="-lgame $LIBS" |
|---|
| 2327 | 2329 | cat > conftest.$ac_ext <<EOF |
|---|
| 2328 | | #line 2323 "configure" |
|---|
| | 2330 | #line 2325 "configure" |
|---|
| 2329 | 2331 | #include "confdefs.h" |
|---|
| 2330 | 2332 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2337 | 2339 | ; return 0; } |
|---|
| 2338 | 2340 | EOF |
|---|
| 2339 | | if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2341 | if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2340 | 2342 | rm -rf conftest* |
|---|
| 2341 | 2343 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2365 | 2367 | |
|---|
| 2366 | 2368 | echo $ac_n "checking for _ in -lroot""... $ac_c" 1>&6 |
|---|
| 2367 | | echo "configure:2362: checking for _ in -lroot" >&5 |
|---|
| | 2369 | echo "configure:2364: checking for _ in -lroot" >&5 |
|---|
| 2368 | 2370 | ac_lib_var=`echo root'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2369 | 2371 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2373 | 2375 | LIBS="-lroot $LIBS" |
|---|
| 2374 | 2376 | cat > conftest.$ac_ext <<EOF |
|---|
| 2375 | | #line 2370 "configure" |
|---|
| | 2377 | #line 2372 "configure" |
|---|
| 2376 | 2378 | #include "confdefs.h" |
|---|
| 2377 | 2379 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2384 | 2386 | ; return 0; } |
|---|
| 2385 | 2387 | EOF |
|---|
| 2386 | | if { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2388 | if { (eval echo configure:2383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2387 | 2389 | rm -rf conftest* |
|---|
| 2388 | 2390 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2412 | 2414 | |
|---|
| 2413 | 2415 | echo $ac_n "checking for powl in -lm""... $ac_c" 1>&6 |
|---|
| 2414 | | echo "configure:2409: checking for powl in -lm" >&5 |
|---|
| | 2416 | echo "configure:2411: checking for powl in -lm" >&5 |
|---|
| 2415 | 2417 | ac_lib_var=`echo m'_'powl | sed 'y%./+-%__p_%'` |
|---|
| 2416 | 2418 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2420 | 2422 | LIBS="-lm $LIBS" |
|---|
| 2421 | 2423 | cat > conftest.$ac_ext <<EOF |
|---|
| 2422 | | #line 2417 "configure" |
|---|
| | 2424 | #line 2419 "configure" |
|---|
| 2423 | 2425 | #include "confdefs.h" |
|---|
| 2424 | 2426 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2431 | 2433 | ; return 0; } |
|---|
| 2432 | 2434 | EOF |
|---|
| 2433 | | if { (eval echo configure:2428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2435 | if { (eval echo configure:2430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2434 | 2436 | rm -rf conftest* |
|---|
| 2435 | 2437 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2459 | 2461 | |
|---|
| 2460 | 2462 | echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 |
|---|
| 2461 | | echo "configure:2456: checking for pthread_create in -lpthread" >&5 |
|---|
| | 2463 | echo "configure:2458: checking for pthread_create in -lpthread" >&5 |
|---|
| 2462 | 2464 | ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` |
|---|
| 2463 | 2465 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2467 | 2469 | LIBS="-lpthread $LIBS" |
|---|
| 2468 | 2470 | cat > conftest.$ac_ext <<EOF |
|---|
| 2469 | | #line 2464 "configure" |
|---|
| | 2471 | #line 2466 "configure" |
|---|
| 2470 | 2472 | #include "confdefs.h" |
|---|
| 2471 | 2473 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2478 | 2480 | ; return 0; } |
|---|
| 2479 | 2481 | EOF |
|---|
| 2480 | | if { (eval echo configure:2475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2482 | if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2481 | 2483 | rm -rf conftest* |
|---|
| 2482 | 2484 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2506 | 2508 | |
|---|
| 2507 | 2509 | echo $ac_n "checking for thread_create in -lthreads""... $ac_c" 1>&6 |
|---|
| 2508 | | echo "configure:2503: checking for thread_create in -lthreads" >&5 |
|---|
| | 2510 | echo "configure:2505: checking for thread_create in -lthreads" >&5 |
|---|
| 2509 | 2511 | ac_lib_var=`echo threads'_'thread_create | sed 'y%./+-%__p_%'` |
|---|
| 2510 | 2512 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2514 | 2516 | LIBS="-lthreads $LIBS" |
|---|
| 2515 | 2517 | cat > conftest.$ac_ext <<EOF |
|---|
| 2516 | | #line 2511 "configure" |
|---|
| | 2518 | #line 2513 "configure" |
|---|
| 2517 | 2519 | #include "confdefs.h" |
|---|
| 2518 | 2520 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2525 | 2527 | ; return 0; } |
|---|
| 2526 | 2528 | EOF |
|---|
| 2527 | | if { (eval echo configure:2522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2529 | if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2528 | 2530 | rm -rf conftest* |
|---|
| 2529 | 2531 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2554 | 2556 | |
|---|
| 2555 | 2557 | echo $ac_n "checking for getopt_long""... $ac_c" 1>&6 |
|---|
| 2556 | | echo "configure:2551: checking for getopt_long" >&5 |
|---|
| | 2558 | echo "configure:2553: checking for getopt_long" >&5 |
|---|
| 2557 | 2559 | if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then |
|---|
| 2558 | 2560 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2559 | 2561 | else |
|---|
| 2560 | 2562 | cat > conftest.$ac_ext <<EOF |
|---|
| 2561 | | #line 2556 "configure" |
|---|
| | 2563 | #line 2558 "configure" |
|---|
| 2562 | 2564 | #include "confdefs.h" |
|---|
| 2563 | 2565 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 2582 | 2584 | ; return 0; } |
|---|
| 2583 | 2585 | EOF |
|---|
| 2584 | | if { (eval echo configure:2579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2586 | if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2585 | 2587 | rm -rf conftest* |
|---|
| 2586 | 2588 | eval "ac_cv_func_getopt_long=yes" |
|---|
| … | … | |
| 2608 | 2610 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2609 | 2611 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2610 | | echo "configure:2605: checking for $ac_hdr" >&5 |
|---|
| | 2612 | echo "configure:2607: checking for $ac_hdr" >&5 |
|---|
| 2611 | 2613 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2612 | 2614 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2613 | 2615 | else |
|---|
| 2614 | 2616 | cat > conftest.$ac_ext <<EOF |
|---|
| 2615 | | #line 2610 "configure" |
|---|
| | 2617 | #line 2612 "configure" |
|---|
| 2616 | 2618 | #include "confdefs.h" |
|---|
| 2617 | 2619 | #include <$ac_hdr> |
|---|
| 2618 | 2620 | EOF |
|---|
| 2619 | 2621 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2620 | | { (eval echo configure:2615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2622 | { (eval echo configure:2617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2621 | 2623 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2622 | 2624 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2648 | 2650 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2649 | 2651 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2650 | | echo "configure:2645: checking for $ac_hdr" >&5 |
|---|
| | 2652 | echo "configure:2647: checking for $ac_hdr" >&5 |
|---|
| 2651 | 2653 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2652 | 2654 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2653 | 2655 | else |
|---|
| 2654 | 2656 | cat > conftest.$ac_ext <<EOF |
|---|
| 2655 | | #line 2650 "configure" |
|---|
| | 2657 | #line 2652 "configure" |
|---|
| 2656 | 2658 | #include "confdefs.h" |
|---|
| 2657 | 2659 | #include <$ac_hdr> |
|---|
| 2658 | 2660 | EOF |
|---|
| 2659 | 2661 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2660 | | { (eval echo configure:2655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2662 | { (eval echo configure:2657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2661 | 2663 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2662 | 2664 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2688 | 2690 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2689 | 2691 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2690 | | echo "configure:2685: checking for $ac_hdr" >&5 |
|---|
| | 2692 | echo "configure:2687: checking for $ac_hdr" >&5 |
|---|
| 2691 | 2693 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2692 | 2694 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2693 | 2695 | else |
|---|
| 2694 | 2696 | cat > conftest.$ac_ext <<EOF |
|---|
| 2695 | | #line 2690 "configure" |
|---|
| | 2697 | #line 2692 "configure" |
|---|
| 2696 | 2698 | #include "confdefs.h" |
|---|
| 2697 | 2699 | #include <$ac_hdr> |
|---|
| 2698 | 2700 | EOF |
|---|
| 2699 | 2701 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2700 | | { (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2702 | { (eval echo configure:2697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2701 | 2703 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2702 | 2704 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2728 | 2730 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2729 | 2731 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2730 | | echo "configure:2725: checking for $ac_hdr" >&5 |
|---|
| | 2732 | echo "configure:2727: checking for $ac_hdr" >&5 |
|---|
| 2731 | 2733 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2732 | 2734 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2733 | 2735 | else |
|---|
| 2734 | 2736 | cat > conftest.$ac_ext <<EOF |
|---|
| 2735 | | #line 2730 "configure" |
|---|
| | 2737 | #line 2732 "configure" |
|---|
| 2736 | 2738 | #include "confdefs.h" |
|---|
| 2737 | 2739 | #include <$ac_hdr> |
|---|
| 2738 | 2740 | EOF |
|---|
| 2739 | 2741 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2740 | | { (eval echo configure:2735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2742 | { (eval echo configure:2737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2741 | 2743 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2742 | 2744 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2769 | 2771 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2770 | 2772 | echo $ac_n "checking for $ac_hdr" |
|---|