Changeset bec589af3d0359470566d1013d119dd079d81374
- Timestamp:
- 02/21/01 12:49:18
(7 years ago)
- Author:
- Sam Hocevar <sam@videolan.org>
- git-committer:
- Sam Hocevar <sam@videolan.org> 982756158 +0000
- git-parent:
[910f40f93c543d78c5c9f3da3f5a5706be98b453]
- git-author:
- Sam Hocevar <sam@videolan.org> 982756158 +0000
- Message:
(note: empty CVS mails mean that a new directory has been created,
don't forget to use the -p option if you cvs update)
- Added a plain Gtk+ port of the Gnome interface, for the gnome-impaired
people. Gtk+ is now compiled by default, while Gnome isn't (you will
have to add --enable-gnome when running configure)
- Replaced -lcurses with -lncurses in configure.in.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r583c655 |
rbec589a |
|
| 33 | 33 | make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \ |
|---|
| 34 | 34 | --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ |
|---|
| 35 | | --enable-alsa --enable-mga && make |
|---|
| | 35 | --enable-alsa --enable-mga --enable-gtk && make |
|---|
| 36 | 36 | |
|---|
| 37 | 37 | |
|---|
| r9584da5 |
rbec589a |
|
| 317 | 317 | PLUGIN_GLIDE = plugins/glide/glide.o \ |
|---|
| 318 | 318 | plugins/glide/vout_glide.o |
|---|
| | 319 | |
|---|
| | 320 | PLUGIN_GTK = plugins/gtk/gtk.o \ |
|---|
| | 321 | plugins/gtk/intf_gtk.o \ |
|---|
| | 322 | plugins/gtk/gtk_callbacks.o \ |
|---|
| | 323 | plugins/gtk/gtk_interface.o \ |
|---|
| | 324 | plugins/gtk/gtk_support.o |
|---|
| 319 | 325 | |
|---|
| 320 | 326 | PLUGIN_GNOME = plugins/gnome/gnome.o \ |
|---|
| … | … | |
| 416 | 422 | NONSTD_PLUGIN_OBJ = \ |
|---|
| 417 | 423 | $(PLUGIN_GLIDE) \ |
|---|
| | 424 | $(PLUGIN_GTK) \ |
|---|
| 418 | 425 | $(PLUGIN_GNOME) |
|---|
| 419 | 426 | |
|---|
| … | … | |
| 543 | 550 | |
|---|
| 544 | 551 | # |
|---|
| 545 | | # Gnome and Framebuffer aliases - don't add new aliases which could bloat |
|---|
| | 552 | # GTK/Gnome and Framebuffer aliases - don't add new aliases which could bloat |
|---|
| 546 | 553 | # the namespace |
|---|
| 547 | 554 | # |
|---|
| 548 | | gvlc fbvlc: vlc |
|---|
| | 555 | gvlc kvlc: vlc |
|---|
| 549 | 556 | rm -f $@ && ln -s vlc $@ |
|---|
| 550 | 557 | |
|---|
| … | … | |
| 577 | 584 | $(STD_PLUGIN_OBJ): %.o: %.c |
|---|
| 578 | 585 | $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $< |
|---|
| | 586 | |
|---|
| | 587 | $(PLUGIN_GTK): %.o: Makefile.dep |
|---|
| | 588 | $(PLUGIN_GTK): %.o: .dep/%.d |
|---|
| | 589 | $(PLUGIN_GTK): %.o: %.c |
|---|
| | 590 | $(CC) $(CFLAGS) $(PCFLAGS) `gtk-config --cflags gtk` -c -o $@ $< |
|---|
| 579 | 591 | |
|---|
| 580 | 592 | $(PLUGIN_GNOME): %.o: Makefile.dep |
|---|
| … | … | |
| 643 | 655 | $(CC) $(PCFLAGS) -shared -o $@ $^ -L/usr/X11R6/lib -lX11 -lXext |
|---|
| 644 | 656 | |
|---|
| | 657 | lib/gtk.so: $(PLUGIN_GTK) |
|---|
| | 658 | $(CC) $(PCFLAGS) -shared -o $@ $^ `gtk-config --libs gtk | sed 's,-rdynamic,,'` |
|---|
| | 659 | |
|---|
| 645 | 660 | lib/gnome.so: $(PLUGIN_GNOME) |
|---|
| 646 | 661 | $(CC) $(PCFLAGS) -shared -o $@ $^ `gnome-config --libs gnomeui | sed 's,-rdynamic,,'` |
|---|
| … | … | |
| 656 | 671 | |
|---|
| 657 | 672 | lib/ncurses.so: $(PLUGIN_NCURSES) |
|---|
| 658 | | $(CC) $(PCFLAGS) -shared -o $@ $^ -lcurses |
|---|
| | 673 | $(CC) $(PCFLAGS) -shared -o $@ $^ -lncurses |
|---|
| 659 | 674 | |
|---|
| 660 | 675 | ifeq ($(SYS),beos) |
|---|
| rba61d25 |
rbec589a |
|
| 43 | 43 | --enable-kde KDE interface support (default disabled)" |
|---|
| 44 | 44 | ac_help="$ac_help |
|---|
| 45 | | --disable-gnome Gnome support (default enabled)" |
|---|
| | 45 | --enable-gnome Gnome interface support (default disabled)" |
|---|
| | 46 | ac_help="$ac_help |
|---|
| | 47 | --disable-gtk Gtk+ support (default enabled)" |
|---|
| 46 | 48 | ac_help="$ac_help |
|---|
| 47 | 49 | --disable-x11 X11 support (default enabled)" |
|---|
| … | … | |
| 586 | 588 | |
|---|
| 587 | 589 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|---|
| 588 | | echo "configure:589: checking host system type" >&5 |
|---|
| | 590 | echo "configure:591: checking host system type" >&5 |
|---|
| 589 | 591 | |
|---|
| 590 | 592 | host_alias=$host |
|---|
| … | … | |
| 613 | 615 | |
|---|
| 614 | 616 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
|---|
| 615 | | echo "configure:616: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|---|
| | 617 | echo "configure:618: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|---|
| 616 | 618 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
|---|
| 617 | 619 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
|---|
| … | … | |
| 643 | 645 | set dummy gcc; ac_word=$2 |
|---|
| 644 | 646 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 645 | | echo "configure:646: checking for $ac_word" >&5 |
|---|
| | 647 | echo "configure:648: checking for $ac_word" >&5 |
|---|
| 646 | 648 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 647 | 649 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 673 | 675 | set dummy cc; ac_word=$2 |
|---|
| 674 | 676 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 675 | | echo "configure:676: checking for $ac_word" >&5 |
|---|
| | 677 | echo "configure:678: checking for $ac_word" >&5 |
|---|
| 676 | 678 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 677 | 679 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 724 | 726 | set dummy cl; ac_word=$2 |
|---|
| 725 | 727 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 726 | | echo "configure:727: checking for $ac_word" >&5 |
|---|
| | 728 | echo "configure:729: checking for $ac_word" >&5 |
|---|
| 727 | 729 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 728 | 730 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 756 | 758 | |
|---|
| 757 | 759 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|---|
| 758 | | echo "configure:759: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|---|
| | 760 | echo "configure:761: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|---|
| 759 | 761 | |
|---|
| 760 | 762 | ac_ext=c |
|---|
| … | … | |
| 767 | 769 | cat > conftest.$ac_ext << EOF |
|---|
| 768 | 770 | |
|---|
| 769 | | #line 770 "configure" |
|---|
| | 771 | #line 772 "configure" |
|---|
| 770 | 772 | #include "confdefs.h" |
|---|
| 771 | 773 | |
|---|
| 772 | 774 | main(){return(0);} |
|---|
| 773 | 775 | EOF |
|---|
| 774 | | if { (eval echo configure:775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 776 | if { (eval echo configure:777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 775 | 777 | ac_cv_prog_cc_works=yes |
|---|
| 776 | 778 | # If we can't run a trivial program, we are probably using a cross compiler. |
|---|
| … | … | |
| 798 | 800 | fi |
|---|
| 799 | 801 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|---|
| 800 | | echo "configure:801: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|---|
| | 802 | echo "configure:803: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|---|
| 801 | 803 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|---|
| 802 | 804 | cross_compiling=$ac_cv_prog_cc_cross |
|---|
| 803 | 805 | |
|---|
| 804 | 806 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|---|
| 805 | | echo "configure:806: checking whether we are using GNU C" >&5 |
|---|
| | 807 | echo "configure:808: checking whether we are using GNU C" >&5 |
|---|
| 806 | 808 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|---|
| 807 | 809 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 812 | 814 | #endif |
|---|
| 813 | 815 | EOF |
|---|
| 814 | | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|---|
| | 816 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|---|
| 815 | 817 | ac_cv_prog_gcc=yes |
|---|
| 816 | 818 | else |
|---|
| … | … | |
| 831 | 833 | CFLAGS= |
|---|
| 832 | 834 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|---|
| 833 | | echo "configure:834: checking whether ${CC-cc} accepts -g" >&5 |
|---|
| | 835 | echo "configure:836: checking whether ${CC-cc} accepts -g" >&5 |
|---|
| 834 | 836 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|---|
| 835 | 837 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 865 | 867 | if test -z "$CPP"; then |
|---|
| 866 | 868 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|---|
| 867 | | echo "configure:868: checking how to run the C preprocessor" >&5 |
|---|
| | 869 | echo "configure:870: checking how to run the C preprocessor" >&5 |
|---|
| 868 | 870 | # On Suns, sometimes $CPP names a directory. |
|---|
| 869 | 871 | if test -n "$CPP" && test -d "$CPP"; then |
|---|
| … | … | |
| 880 | 882 | # not just through cpp. |
|---|
| 881 | 883 | cat > conftest.$ac_ext <<EOF |
|---|
| 882 | | #line 883 "configure" |
|---|
| | 884 | #line 885 "configure" |
|---|
| 883 | 885 | #include "confdefs.h" |
|---|
| 884 | 886 | #include <assert.h> |
|---|
| … | … | |
| 886 | 888 | EOF |
|---|
| 887 | 889 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 888 | | { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 890 | { (eval echo configure:891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 889 | 891 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 890 | 892 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 897 | 899 | CPP="${CC-cc} -E -traditional-cpp" |
|---|
| 898 | 900 | cat > conftest.$ac_ext <<EOF |
|---|
| 899 | | #line 900 "configure" |
|---|
| | 901 | #line 902 "configure" |
|---|
| 900 | 902 | #include "confdefs.h" |
|---|
| 901 | 903 | #include <assert.h> |
|---|
| … | … | |
| 903 | 905 | EOF |
|---|
| 904 | 906 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 905 | | { (eval echo configure:906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 907 | { (eval echo configure:908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 906 | 908 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 907 | 909 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 914 | 916 | CPP="${CC-cc} -nologo -E" |
|---|
| 915 | 917 | cat > conftest.$ac_ext <<EOF |
|---|
| 916 | | #line 917 "configure" |
|---|
| | 918 | #line 919 "configure" |
|---|
| 917 | 919 | #include "confdefs.h" |
|---|
| 918 | 920 | #include <assert.h> |
|---|
| … | … | |
| 920 | 922 | EOF |
|---|
| 921 | 923 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 922 | | { (eval echo configure:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 924 | { (eval echo configure:925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 923 | 925 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 924 | 926 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 958 | 960 | # ./install, which can be erroneously created by make from ./install.sh. |
|---|
| 959 | 961 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
|---|
| 960 | | echo "configure:961: checking for a BSD compatible install" >&5 |
|---|
| | 962 | echo "configure:963: checking for a BSD compatible install" >&5 |
|---|
| 961 | 963 | if test -z "$INSTALL"; then |
|---|
| 962 | 964 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|---|
| … | … | |
| 1012 | 1014 | |
|---|
| 1013 | 1015 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
|---|
| 1014 | | echo "configure:1015: checking for working const" >&5 |
|---|
| | 1016 | echo "configure:1017: checking for working const" >&5 |
|---|
| 1015 | 1017 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
|---|
| 1016 | 1018 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1017 | 1019 | else |
|---|
| 1018 | 1020 | cat > conftest.$ac_ext <<EOF |
|---|
| 1019 | | #line 1020 "configure" |
|---|
| | 1021 | #line 1022 "configure" |
|---|
| 1020 | 1022 | #include "confdefs.h" |
|---|
| 1021 | 1023 | |
|---|
| … | … | |
| 1066 | 1068 | ; return 0; } |
|---|
| 1067 | 1069 | EOF |
|---|
| 1068 | | if { (eval echo configure:1069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1070 | if { (eval echo configure:1071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1069 | 1071 | rm -rf conftest* |
|---|
| 1070 | 1072 | ac_cv_c_const=yes |
|---|
| … | … | |
| 1087 | 1089 | |
|---|
| 1088 | 1090 | echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
|---|
| 1089 | | echo "configure:1090: checking whether byte ordering is bigendian" >&5 |
|---|
| | 1091 | echo "configure:1092: checking whether byte ordering is bigendian" >&5 |
|---|
| 1090 | 1092 | if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
|---|
| 1091 | 1093 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 1094 | 1096 | # See if sys/param.h defines the BYTE_ORDER macro. |
|---|
| 1095 | 1097 | cat > conftest.$ac_ext <<EOF |
|---|
| 1096 | | #line 1097 "configure" |
|---|
| | 1098 | #line 1099 "configure" |
|---|
| 1097 | 1099 | #include "confdefs.h" |
|---|
| 1098 | 1100 | #include <sys/types.h> |
|---|
| … | … | |
| 1105 | 1107 | ; return 0; } |
|---|
| 1106 | 1108 | EOF |
|---|
| 1107 | | if { (eval echo configure:1108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1109 | if { (eval echo configure:1110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1108 | 1110 | rm -rf conftest* |
|---|
| 1109 | 1111 | # It does; now see whether it defined to BIG_ENDIAN or not. |
|---|
| 1110 | 1112 | cat > conftest.$ac_ext <<EOF |
|---|
| 1111 | | #line 1112 "configure" |
|---|
| | 1113 | #line 1114 "configure" |
|---|
| 1112 | 1114 | #include "confdefs.h" |
|---|
| 1113 | 1115 | #include <sys/types.h> |
|---|
| … | … | |
| 1120 | 1122 | ; return 0; } |
|---|
| 1121 | 1123 | EOF |
|---|
| 1122 | | if { (eval echo configure:1123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1124 | if { (eval echo configure:1125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1123 | 1125 | rm -rf conftest* |
|---|
| 1124 | 1126 | ac_cv_c_bigendian=yes |
|---|
| … | … | |
| 1140 | 1142 | else |
|---|
| 1141 | 1143 | cat > conftest.$ac_ext <<EOF |
|---|
| 1142 | | #line 1143 "configure" |
|---|
| | 1144 | #line 1145 "configure" |
|---|
| 1143 | 1145 | #include "confdefs.h" |
|---|
| 1144 | 1146 | main () { |
|---|
| … | … | |
| 1153 | 1155 | } |
|---|
| 1154 | 1156 | EOF |
|---|
| 1155 | | if { (eval echo configure:1156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 1157 | if { (eval echo configure:1158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 1156 | 1158 | then |
|---|
| 1157 | 1159 | ac_cv_c_bigendian=no |
|---|
| … | … | |
| 1178 | 1180 | |
|---|
| 1179 | 1181 | echo $ac_n "checking whether compiler accepts bswap x86 instruction""... $ac_c" 1>&6 |
|---|
| 1180 | | echo "configure:1181: checking whether compiler accepts bswap x86 instruction" >&5 |
|---|
| | 1182 | echo "configure:1183: checking whether compiler accepts bswap x86 instruction" >&5 |
|---|
| 1181 | 1183 | cat > conftest.$ac_ext <<EOF |
|---|
| 1182 | | #line 1183 "configure" |
|---|
| | 1184 | #line 1185 "configure" |
|---|
| 1183 | 1185 | #include "confdefs.h" |
|---|
| 1184 | 1186 | unsigned int foo( unsigned int x ) |
|---|
| … | … | |
| 1188 | 1190 | ; return 0; } |
|---|
| 1189 | 1191 | EOF |
|---|
| 1190 | | if { (eval echo configure:1191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1192 | if { (eval echo configure:1193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1191 | 1193 | rm -rf conftest* |
|---|
| 1192 | 1194 | cat >> confdefs.h <<\EOF |
|---|
| … | … | |
| 1205 | 1207 | do |
|---|
| 1206 | 1208 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1207 | | echo "configure:1208: checking for $ac_func" >&5 |
|---|
| | 1209 | echo "configure:1210: checking for $ac_func" >&5 |
|---|
| 1208 | 1210 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1209 | 1211 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1210 | 1212 | else |
|---|
| 1211 | 1213 | cat > conftest.$ac_ext <<EOF |
|---|
| 1212 | | #line 1213 "configure" |
|---|
| | 1214 | #line 1215 "configure" |
|---|
| 1213 | 1215 | #include "confdefs.h" |
|---|
| 1214 | 1216 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1233 | 1235 | ; return 0; } |
|---|
| 1234 | 1236 | EOF |
|---|
| 1235 | | if { (eval echo configure:1236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1237 | if { (eval echo configure:1238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1236 | 1238 | rm -rf conftest* |
|---|
| 1237 | 1239 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1260 | 1262 | do |
|---|
| 1261 | 1263 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1262 | | echo "configure:1263: checking for $ac_func" >&5 |
|---|
| | 1264 | echo "configure:1265: checking for $ac_func" >&5 |
|---|
| 1263 | 1265 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1264 | 1266 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1265 | 1267 | else |
|---|
| 1266 | 1268 | cat > conftest.$ac_ext <<EOF |
|---|
| 1267 | | #line 1268 "configure" |
|---|
| | 1269 | #line 1270 "configure" |
|---|
| 1268 | 1270 | #include "confdefs.h" |
|---|
| 1269 | 1271 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1288 | 1290 | ; return 0; } |
|---|
| 1289 | 1291 | EOF |
|---|
| 1290 | | if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1292 | if { (eval echo configure:1293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1291 | 1293 | rm -rf conftest* |
|---|
| 1292 | 1294 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1313 | 1315 | |
|---|
| 1314 | 1316 | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
|---|
| 1315 | | echo "configure:1316: checking for connect" >&5 |
|---|
| | 1317 | echo "configure:1318: checking for connect" >&5 |
|---|
| 1316 | 1318 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
|---|
| 1317 | 1319 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1318 | 1320 | else |
|---|
| 1319 | 1321 | cat > conftest.$ac_ext <<EOF |
|---|
| 1320 | | #line 1321 "configure" |
|---|
| | 1322 | #line 1323 "configure" |
|---|
| 1321 | 1323 | #include "confdefs.h" |
|---|
| 1322 | 1324 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1341 | 1343 | ; return 0; } |
|---|
| 1342 | 1344 | EOF |
|---|
| 1343 | | if { (eval echo configure:1344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1345 | if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1344 | 1346 | rm -rf conftest* |
|---|
| 1345 | 1347 | eval "ac_cv_func_connect=yes" |
|---|
| … | … | |
| 1359 | 1361 | echo "$ac_t""no" 1>&6 |
|---|
| 1360 | 1362 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
|---|
| 1361 | | echo "configure:1362: checking for connect in -lsocket" >&5 |
|---|
| | 1363 | echo "configure:1364: checking for connect in -lsocket" >&5 |
|---|
| 1362 | 1364 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
|---|
| 1363 | 1365 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1367 | 1369 | LIBS="-lsocket $LIBS" |
|---|
| 1368 | 1370 | cat > conftest.$ac_ext <<EOF |
|---|
| 1369 | | #line 1370 "configure" |
|---|
| | 1371 | #line 1372 "configure" |
|---|
| 1370 | 1372 | #include "confdefs.h" |
|---|
| 1371 | 1373 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1378 | 1380 | ; return 0; } |
|---|
| 1379 | 1381 | EOF |
|---|
| 1380 | | if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1382 | if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1381 | 1383 | rm -rf conftest* |
|---|
| 1382 | 1384 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1408 | 1410 | |
|---|
| 1409 | 1411 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
|---|
| 1410 | | echo "configure:1411: checking for gethostbyname" >&5 |
|---|
| | 1412 | echo "configure:1413: checking for gethostbyname" >&5 |
|---|
| 1411 | 1413 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
|---|
| 1412 | 1414 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1413 | 1415 | else |
|---|
| 1414 | 1416 | cat > conftest.$ac_ext <<EOF |
|---|
| 1415 | | #line 1416 "configure" |
|---|
| | 1417 | #line 1418 "configure" |
|---|
| 1416 | 1418 | #include "confdefs.h" |
|---|
| 1417 | 1419 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1436 | 1438 | ; return 0; } |
|---|
| 1437 | 1439 | EOF |
|---|
| 1438 | | if { (eval echo configure:1439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1440 | if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1439 | 1441 | rm -rf conftest* |
|---|
| 1440 | 1442 | eval "ac_cv_func_gethostbyname=yes" |
|---|
| … | … | |
| 1454 | 1456 | echo "$ac_t""no" 1>&6 |
|---|
| 1455 | 1457 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
|---|
| 1456 | | echo "configure:1457: checking for gethostbyname in -lnsl" >&5 |
|---|
| | 1458 | echo "configure:1459: checking for gethostbyname in -lnsl" >&5 |
|---|
| 1457 | 1459 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
|---|
| 1458 | 1460 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1462 | 1464 | LIBS="-lnsl $LIBS" |
|---|
| 1463 | 1465 | cat > conftest.$ac_ext <<EOF |
|---|
| 1464 | | #line 1465 "configure" |
|---|
| | 1466 | #line 1467 "configure" |
|---|
| 1465 | 1467 | #include "confdefs.h" |
|---|
| 1466 | 1468 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1473 | 1475 | ; return 0; } |
|---|
| 1474 | 1476 | EOF |
|---|
| 1475 | | if { (eval echo configure:1476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1477 | if { (eval echo configure:1478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1476 | 1478 | rm -rf conftest* |
|---|
| 1477 | 1479 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1503 | 1505 | |
|---|
| 1504 | 1506 | echo $ac_n "checking for nanosleep""... $ac_c" 1>&6 |
|---|
| 1505 | | echo "configure:1506: checking for nanosleep" >&5 |
|---|
| | 1507 | echo "configure:1508: checking for nanosleep" >&5 |
|---|
| 1506 | 1508 | if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then |
|---|
| 1507 | 1509 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1508 | 1510 | else |
|---|
| 1509 | 1511 | cat > conftest.$ac_ext <<EOF |
|---|
| 1510 | | #line 1511 "configure" |
|---|
| | 1512 | #line 1513 "configure" |
|---|
| 1511 | 1513 | #include "confdefs.h" |
|---|
| 1512 | 1514 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1531 | 1533 | ; return 0; } |
|---|
| 1532 | 1534 | EOF |
|---|
| 1533 | | if { (eval echo configure:1534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1535 | if { (eval echo configure:1536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1534 | 1536 | rm -rf conftest* |
|---|
| 1535 | 1537 | eval "ac_cv_func_nanosleep=yes" |
|---|
| … | … | |
| 1549 | 1551 | echo "$ac_t""no" 1>&6 |
|---|
| 1550 | 1552 | echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6 |
|---|
| 1551 | | echo "configure:1552: checking for nanosleep in -lrt" >&5 |
|---|
| | 1553 | echo "configure:1554: checking for nanosleep in -lrt" >&5 |
|---|
| 1552 | 1554 | ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 1553 | 1555 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1557 | 1559 | LIBS="-lrt $LIBS" |
|---|
| 1558 | 1560 | cat > conftest.$ac_ext <<EOF |
|---|
| 1559 | | #line 1560 "configure" |
|---|
| | 1561 | #line 1562 "configure" |
|---|
| 1560 | 1562 | #include "confdefs.h" |
|---|
| 1561 | 1563 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1568 | 1570 | ; return 0; } |
|---|
| 1569 | 1571 | EOF |
|---|
| 1570 | | if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1572 | if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1571 | 1573 | rm -rf conftest* |
|---|
| 1572 | 1574 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1594 | 1596 | echo "$ac_t""no" 1>&6 |
|---|
| 1595 | 1597 | echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 |
|---|
| 1596 | | echo "configure:1597: checking for nanosleep in -lposix4" >&5 |
|---|
| | 1598 | echo "configure:1599: checking for nanosleep in -lposix4" >&5 |
|---|
| 1597 | 1599 | ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 1598 | 1600 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1602 | 1604 | LIBS="-lposix4 $LIBS" |
|---|
| 1603 | 1605 | cat > conftest.$ac_ext <<EOF |
|---|
| 1604 | | #line 1605 "configure" |
|---|
| | 1606 | #line 1607 "configure" |
|---|
| 1605 | 1607 | #include "confdefs.h" |
|---|
| 1606 | 1608 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1613 | 1615 | ; return 0; } |
|---|
| 1614 | 1616 | EOF |
|---|
| 1615 | | if { (eval echo configure:1616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1617 | if { (eval echo configure:1618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1616 | 1618 | rm -rf conftest* |
|---|
| 1617 | 1619 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1647 | 1649 | do |
|---|
| 1648 | 1650 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1649 | | echo "configure:1650: checking for $ac_func" >&5 |
|---|
| | 1651 | echo "configure:1652: checking for $ac_func" >&5 |
|---|
| 1650 | 1652 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1651 | 1653 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1652 | 1654 | else |
|---|
| 1653 | 1655 | cat > conftest.$ac_ext <<EOF |
|---|
| 1654 | | #line 1655 "configure" |
|---|
| | 1656 | #line 1657 "configure" |
|---|
| 1655 | 1657 | #include "confdefs.h" |
|---|
| 1656 | 1658 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1675 | 1677 | ; return 0; } |
|---|
| 1676 | 1678 | EOF |
|---|
| 1677 | | if { (eval echo configure:1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1679 | if { (eval echo configure:1680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1678 | 1680 | rm -rf conftest* |
|---|
| 1679 | 1681 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1700 | 1702 | |
|---|
| 1701 | 1703 | echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 |
|---|
| 1702 | | echo "configure:1703: checking for inet_aton" >&5 |
|---|
| | 1704 | echo "configure:1705: checking for inet_aton" >&5 |
|---|
| 1703 | 1705 | if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then |
|---|
| 1704 | 1706 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1705 | 1707 | else |
|---|
| 1706 | 1708 | cat > conftest.$ac_ext <<EOF |
|---|
| 1707 | | #line 1708 "configure" |
|---|
| | 1709 | #line 1710 "configure" |
|---|
| 1708 | 1710 | #include "confdefs.h" |
|---|
| 1709 | 1711 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1728 | 1730 | ; return 0; } |
|---|
| 1729 | 1731 | EOF |
|---|
| 1730 | | if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1732 | if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1731 | 1733 | rm -rf conftest* |
|---|
| 1732 | 1734 | eval "ac_cv_func_inet_aton=yes" |
|---|
| … | … | |
| 1746 | 1748 | echo "$ac_t""no" 1>&6 |
|---|
| 1747 | 1749 | echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 |
|---|
| 1748 | | echo "configure:1749: checking for inet_aton in -lresolv" >&5 |
|---|
| | 1750 | echo "configure:1751: checking for inet_aton in -lresolv" >&5 |
|---|
| 1749 | 1751 | ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` |
|---|
| 1750 | 1752 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1754 | 1756 | LIBS="-lresolv $LIBS" |
|---|
| 1755 | 1757 | cat > conftest.$ac_ext <<EOF |
|---|
| 1756 | | #line 1757 "configure" |
|---|
| | 1758 | #line 1759 "configure" |
|---|
| 1757 | 1759 | #include "confdefs.h" |
|---|
| 1758 | 1760 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1765 | 1767 | ; return 0; } |
|---|
| 1766 | 1768 | EOF |
|---|
| 1767 | | if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1769 | if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1768 | 1770 | rm -rf conftest* |
|---|
| 1769 | 1771 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1797 | 1799 | do |
|---|
| 1798 | 1800 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1799 | | echo "configure:1800: checking for $ac_func" >&5 |
|---|
| | 1801 | echo "configure:1802: checking for $ac_func" >&5 |
|---|
| 1800 | 1802 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1801 | 1803 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1802 | 1804 | else |
|---|
| 1803 | 1805 | cat > conftest.$ac_ext <<EOF |
|---|
| 1804 | | #line 1805 "configure" |
|---|
| | 1806 | #line 1807 "configure" |
|---|
| 1805 | 1807 | #include "confdefs.h" |
|---|
| 1806 | 1808 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1825 | 1827 | ; return 0; } |
|---|
| 1826 | 1828 | EOF |
|---|
| 1827 | | if { (eval echo configure:1828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1829 | if { (eval echo configure:1830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1828 | 1830 | rm -rf conftest* |
|---|
| 1829 | 1831 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1853 | 1855 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 1854 | 1856 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 1855 | | echo "configure:1856: checking for $ac_hdr" >&5 |
|---|
| | 1857 | echo "configure:1858: checking for $ac_hdr" >&5 |
|---|
| 1856 | 1858 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 1857 | 1859 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1858 | 1860 | else |
|---|
| 1859 | 1861 | cat > conftest.$ac_ext <<EOF |
|---|
| 1860 | | #line 1861 "configure" |
|---|
| | 1862 | #line 1863 "configure" |
|---|
| 1861 | 1863 | #include "confdefs.h" |
|---|
| 1862 | 1864 | #include <$ac_hdr> |
|---|
| 1863 | 1865 | EOF |
|---|
| 1864 | 1866 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 1865 | | { (eval echo configure:1866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 1867 | { (eval echo configure:1868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 1866 | 1868 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 1867 | 1869 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 1892 | 1894 | do |
|---|
| 1893 | 1895 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1894 | | echo "configure:1895: checking for $ac_func" >&5 |
|---|
| | 1896 | echo "configure:1897: checking for $ac_func" >&5 |
|---|
| 1895 | 1897 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1896 | 1898 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1897 | 1899 | else |
|---|
| 1898 | 1900 | cat > conftest.$ac_ext <<EOF |
|---|
| 1899 | | #line 1900 "configure" |
|---|
| | 1901 | #line 1902 "configure" |
|---|
| 1900 | 1902 | #include "confdefs.h" |
|---|
| 1901 | 1903 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1920 | 1922 | ; return 0; } |
|---|
| 1921 | 1923 | EOF |
|---|
| 1922 | | if { (eval echo configure:1923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1924 | if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1923 | 1925 | rm -rf conftest* |
|---|
| 1924 | 1926 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1945 | 1947 | |
|---|
| 1946 | 1948 | echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
|---|
| 1947 | | echo "configure:1948: checking for working mmap" >&5 |
|---|
| | 1949 | echo "configure:1950: checking for working mmap" >&5 |
|---|
| 1948 | 1950 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
|---|
| 1949 | 1951 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 1953 | 1955 | else |
|---|
| 1954 | 1956 | cat > conftest.$ac_ext <<EOF |
|---|
| 1955 | | #line 1956 "configure" |
|---|
| | 1957 | #line 1958 "configure" |
|---|
| 1956 | 1958 | #include "confdefs.h" |
|---|
| 1957 | 1959 | |
|---|
| … | … | |
| 2093 | 2095 | |
|---|
| 2094 | 2096 | EOF |
|---|
| 2095 | | if { (eval echo configure:2096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 2097 | if { (eval echo configure:2098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 2096 | 2098 | then |
|---|
| 2097 | 2099 | ac_cv_func_mmap_fixed_mapped=yes |
|---|
| … | … | |
| 2116 | 2118 | |
|---|
| 2117 | 2119 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
|---|
| 2118 | | echo "configure:2119: checking return type of signal handlers" >&5 |
|---|
| | 2120 | echo "configure:2121: checking return type of signal handlers" >&5 |
|---|
| 2119 | 2121 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
|---|
| 2120 | 2122 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2121 | 2123 | else |
|---|
| 2122 | 2124 | cat > conftest.$ac_ext <<EOF |
|---|
| 2123 | | #line 2124 "configure" |
|---|
| | 2125 | #line 2126 "configure" |
|---|
| 2124 | 2126 | #include "confdefs.h" |
|---|
| 2125 | 2127 | #include <sys/types.h> |
|---|
| … | … | |
| 2138 | 2140 | ; return 0; } |
|---|
| 2139 | 2141 | EOF |
|---|
| 2140 | | if { (eval echo configure:2141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 2142 | if { (eval echo configure:2143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 2141 | 2143 | rm -rf conftest* |
|---|
| 2142 | 2144 | ac_cv_type_signal=void |
|---|
| … | … | |
| 2157 | 2159 | |
|---|
| 2158 | 2160 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
|---|
| 2159 | | echo "configure:2160: checking for dlopen in -ldl" >&5 |
|---|
| | 2161 | echo "configure:2162: checking for dlopen in -ldl" >&5 |
|---|
| 2160 | 2162 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
|---|
| 2161 | 2163 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2165 | 2167 | LIBS="-ldl $LIBS" |
|---|
| 2166 | 2168 | cat > conftest.$ac_ext <<EOF |
|---|
| 2167 | | #line 2168 "configure" |
|---|
| | 2169 | #line 2170 "configure" |
|---|
| 2168 | 2170 | #include "confdefs.h" |
|---|
| 2169 | 2171 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2176 | 2178 | ; return 0; } |
|---|
| 2177 | 2179 | EOF |
|---|
| 2178 | | if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2180 | if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2179 | 2181 | rm -rf conftest* |
|---|
| 2180 | 2182 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2204 | 2206 | |
|---|
| 2205 | 2207 | echo $ac_n "checking for optarg in -lgnugetopt""... $ac_c" 1>&6 |
|---|
| 2206 | | echo "configure:2207: checking for optarg in -lgnugetopt" >&5 |
|---|
| | 2208 | echo "configure:2209: checking for optarg in -lgnugetopt" >&5 |
|---|
| 2207 | 2209 | ac_lib_var=`echo gnugetopt'_'optarg | sed 'y%./+-%__p_%'` |
|---|
| 2208 | 2210 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2212 | 2214 | LIBS="-lgnugetopt $LIBS" |
|---|
| 2213 | 2215 | cat > conftest.$ac_ext <<EOF |
|---|
| 2214 | | #line 2215 "configure" |
|---|
| | 2216 | #line 2217 "configure" |
|---|
| 2215 | 2217 | #include "confdefs.h" |
|---|
| 2216 | 2218 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2223 | 2225 | ; return 0; } |
|---|
| 2224 | 2226 | EOF |
|---|
| 2225 | | if { (eval echo configure:2226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2227 | if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2226 | 2228 | rm -rf conftest* |
|---|
| 2227 | 2229 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2251 | 2253 | |
|---|
| 2252 | 2254 | echo $ac_n "checking for _ in -lbe""... $ac_c" 1>&6 |
|---|
| 2253 | | echo "configure:2254: checking for _ in -lbe" >&5 |
|---|
| | 2255 | echo "configure:2256: checking for _ in -lbe" >&5 |
|---|
| 2254 | 2256 | ac_lib_var=`echo be'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2255 | 2257 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2259 | 2261 | LIBS="-lbe $LIBS" |
|---|
| 2260 | 2262 | cat > conftest.$ac_ext <<EOF |
|---|
| 2261 | | #line 2262 "configure" |
|---|
| | 2263 | #line 2264 "configure" |
|---|
| 2262 | 2264 | #include "confdefs.h" |
|---|
| 2263 | 2265 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2270 | 2272 | ; return 0; } |
|---|
| 2271 | 2273 | EOF |
|---|
| 2272 | | if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2274 | if { (eval echo configure:2275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2273 | 2275 | rm -rf conftest* |
|---|
| 2274 | 2276 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2298 | 2300 | |
|---|
| 2299 | 2301 | echo $ac_n "checking for _ in -lgame""... $ac_c" 1>&6 |
|---|
| 2300 | | echo "configure:2301: checking for _ in -lgame" >&5 |
|---|
| | 2302 | echo "configure:2303: checking for _ in -lgame" >&5 |
|---|
| 2301 | 2303 | ac_lib_var=`echo game'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2302 | 2304 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2306 | 2308 | LIBS="-lgame $LIBS" |
|---|
| 2307 | 2309 | cat > conftest.$ac_ext <<EOF |
|---|
| 2308 | | #line 2309 "configure" |
|---|
| | 2310 | #line 2311 "configure" |
|---|
| 2309 | 2311 | #include "confdefs.h" |
|---|
| 2310 | 2312 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2317 | 2319 | ; return 0; } |
|---|
| 2318 | 2320 | EOF |
|---|
| 2319 | | if { (eval echo configure:2320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2321 | if { (eval echo configure:2322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2320 | 2322 | rm -rf conftest* |
|---|
| 2321 | 2323 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2345 | 2347 | |
|---|
| 2346 | 2348 | echo $ac_n "checking for _ in -lroot""... $ac_c" 1>&6 |
|---|
| 2347 | | echo "configure:2348: checking for _ in -lroot" >&5 |
|---|
| | 2349 | echo "configure:2350: checking for _ in -lroot" >&5 |
|---|
| 2348 | 2350 | ac_lib_var=`echo root'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2349 | 2351 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2353 | 2355 | LIBS="-lroot $LIBS" |
|---|
| 2354 | 2356 | cat > conftest.$ac_ext <<EOF |
|---|
| 2355 | | #line 2356 "configure" |
|---|
| | 2357 | #line 2358 "configure" |
|---|
| 2356 | 2358 | #include "confdefs.h" |
|---|
| 2357 | 2359 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2364 | 2366 | ; return 0; } |
|---|
| 2365 | 2367 | EOF |
|---|
| 2366 | | if { (eval echo configure:2367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2368 | if { (eval echo configure:2369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2367 | 2369 | rm -rf conftest* |
|---|
| 2368 | 2370 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2392 | 2394 | |
|---|
| 2393 | 2395 | echo $ac_n "checking for powl in -lm""... $ac_c" 1>&6 |
|---|
| 2394 | | echo "configure:2395: checking for powl in -lm" >&5 |
|---|
| | 2396 | echo "configure:2397: checking for powl in -lm" >&5 |
|---|
| 2395 | 2397 | ac_lib_var=`echo m'_'powl | sed 'y%./+-%__p_%'` |
|---|
| 2396 | 2398 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2400 | 2402 | LIBS="-lm $LIBS" |
|---|
| 2401 | 2403 | cat > conftest.$ac_ext <<EOF |
|---|
| 2402 | | #line 2403 "configure" |
|---|
| | 2404 | #line 2405 "configure" |
|---|
| 2403 | 2405 | #include "confdefs.h" |
|---|
| 2404 | 2406 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2411 | 2413 | ; return 0; } |
|---|
| 2412 | 2414 | EOF |
|---|
| 2413 | | if { (eval echo configure:2414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2415 | if { (eval echo configure:2416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2414 | 2416 | rm -rf conftest* |
|---|
| 2415 | 2417 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2439 | 2441 | |
|---|
| 2440 | 2442 | echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 |
|---|
| 2441 | | echo "configure:2442: checking for pthread_create in -lpthread" >&5 |
|---|
| | 2443 | echo "configure:2444: checking for pthread_create in -lpthread" >&5 |
|---|
| 2442 | 2444 | ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` |
|---|
| 2443 | 2445 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2447 | 2449 | LIBS="-lpthread $LIBS" |
|---|
| 2448 | 2450 | cat > conftest.$ac_ext <<EOF |
|---|
| 2449 | | #line 2450 "configure" |
|---|
| | 2451 | #line 2452 "configure" |
|---|
| 2450 | 2452 | #include "confdefs.h" |
|---|
| 2451 | 2453 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2458 | 2460 | ; return 0; } |
|---|
| 2459 | 2461 | EOF |
|---|
| 2460 | | if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2462 | if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2461 | 2463 | rm -rf conftest* |
|---|
| 2462 | 2464 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2486 | 2488 | |
|---|
| 2487 | 2489 | echo $ac_n "checking for thread_create in -lthreads""... $ac_c" 1>&6 |
|---|
| 2488 | | echo "configure:2489: checking for thread_create in -lthreads" >&5 |
|---|
| | 2490 | echo "configure:2491: checking for thread_create in -lthreads" >&5 |
|---|
| 2489 | 2491 | ac_lib_var=`echo threads'_'thread_create | sed 'y%./+-%__p_%'` |
|---|
| 2490 | 2492 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2494 | 2496 | LIBS="-lthreads $LIBS" |
|---|
| 2495 | 2497 | cat > conftest.$ac_ext <<EOF |
|---|
| 2496 | | #line 2497 "configure" |
|---|
| | 2498 | #line 2499 "configure" |
|---|
| 2497 | 2499 | #include "confdefs.h" |
|---|
| 2498 | 2500 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2505 | 2507 | ; return 0; } |
|---|
| 2506 | 2508 | EOF |
|---|
| 2507 | | if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2509 | if { (eval echo configure:2510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2508 | 2510 | rm -rf conftest* |
|---|
| 2509 | 2511 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2534 | 2536 | |
|---|
| 2535 | 2537 | echo $ac_n "checking for getopt_long""... $ac_c" 1>&6 |
|---|
| 2536 | | echo "configure:2537: checking for getopt_long" >&5 |
|---|
| | 2538 | echo "configure:2539: checking for getopt_long" >&5 |
|---|
| 2537 | 2539 | if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then |
|---|
| 2538 | 2540 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2539 | 2541 | else |
|---|
| 2540 | 2542 | cat > conftest.$ac_ext <<EOF |
|---|
| 2541 | | #line 2542 "configure" |
|---|
| | 2543 | #line 2544 "configure" |
|---|
| 2542 | 2544 | #include "confdefs.h" |
|---|
| 2543 | 2545 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 2562 | 2564 | ; return 0; } |
|---|
| 2563 | 2565 | EOF |
|---|
| 2564 | | if { (eval echo configure:2565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2566 | if { (eval echo configure:2567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2565 | 2567 | rm -rf conftest* |
|---|
| 2566 | 2568 | eval "ac_cv_func_getopt_long=yes" |
|---|
| … | … | |
| 2589 | 2591 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2590 | 2592 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2591 | | echo "configure:2592: checking for $ac_hdr" >&5 |
|---|
| | 2593 | echo "configure:2594: checking for $ac_hdr" >&5 |
|---|
| 2592 | 2594 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2593 | 2595 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2594 | 2596 | else |
|---|
| 2595 | 2597 | cat > conftest.$ac_ext <<EOF |
|---|
| 2596 | | #line 2597 "configure" |
|---|
| | 2598 | #line 2599 "configure" |
|---|
| 2597 | 2599 | #include "confdefs.h" |
|---|
| 2598 | 2600 | #include <$ac_hdr> |
|---|
| 2599 | 2601 | EOF |
|---|
| 2600 | 2602 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2601 | | { (eval echo configure:2602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2603 | { (eval echo configure:2604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2602 | 2604 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2603 | 2605 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2629 | 2631 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2630 | 2632 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2631 | | echo "configure:2632: checking for $ac_hdr" >&5 |
|---|
| | 2633 | echo "configure:2634: checking for $ac_hdr" >&5 |
|---|
| 2632 | 2634 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2633 | 2635 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2634 | 2636 | else |
|---|
| 2635 | 2637 | cat > conftest.$ac_ext <<EOF |
|---|
| 2636 | | #line 2637 "configure" |
|---|
| | 2638 | #line 2639 "configure" |
|---|
| 2637 | 2639 | #include "confdefs.h" |
|---|
| 2638 | 2640 | #include <$ac_hdr> |
|---|
| 2639 | 2641 | EOF |
|---|
| 2640 | 2642 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2641 | | { (eval echo configure:2642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2643 | { (eval echo configure:2644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2642 | 2644 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2643 | 2645 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2669 | 2671 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2670 | 2672 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2671 | | echo "configure:2672: checking for $ac_hdr" >&5 |
|---|
| | 2673 | echo "configure:2674: checking for $ac_hdr" >&5 |
|---|
| 2672 | 2674 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2673 | 2675 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2674 | 2676 | else |
|---|
| 2675 | 2677 | cat > conftest.$ac_ext <<EOF |
|---|
| 2676 | | #line 2677 "configure" |
|---|
| | 2678 | #line 2679 "configure" |
|---|
| 2677 | 2679 | #include "confdefs.h" |
|---|
| 2678 | 2680 | #include <$ac_hdr> |
|---|
| 2679 | 2681 | EOF |
|---|
| 2680 | 2682 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2681 | | { (eval echo configure:2682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2683 | { (eval echo configure:2684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2682 | 2684 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2683 | 2685 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2709 | 2711 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2710 | 2712 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2711 | | echo "configure:2712: checking for $ac_hdr" >&5& |
|---|