Changeset a0c1805bd992c0ae1fa018156358d831fbaf8f93
- Timestamp:
- 03/15/01 02:42:20
(7 years ago)
- Author:
- Sam Hocevar <sam@videolan.org>
- git-committer:
- Sam Hocevar <sam@videolan.org> 984620540 +0000
- git-parent:
[93ca3031ee75338ae1eb922b74cbfe7ee0dc66b8]
- git-author:
- Sam Hocevar <sam@videolan.org> 984620540 +0000
- Message:
- Bug fixes and enhancements in the Gtk+/Gnome interfaces.
o the slider should behave correctly and stop jumping here and
there (this bug is _not_ related to Stef's similar bug)
o added an "open network" menu (useless since the input doesn't
handle it properly yet)
o tried to reorganize gnome_callbacks.c and gtk_callbacks.c
o stream date is now displayed instead of percentage
o renamed gnome_sys.h to intf_gnome.h, and gtk_sys.h to intf_gtk.h
- Changed documentation and package creation files.
o added versioned conflicts/replaces to vlc-gtk (Closes Debian bug #88796)
o removed useless or outdated documentation from doc/*
o moved vlc.1 manpage from debian/vlc.1 to doc/vlc.1
- Added basic Qt interface.
o working features: slide bar, open file, toolbar, popup menu
o added "qvlc" alias, equivalent to "vlc -I qt"
o known issues : no "open disc" or "open network" menus yet
the IntfWindow? class is never cleaned on destruction
the popup menu always pop at the middle of the screen
o renamed netutils.h functions from input_* to network_*
o renamed *plst* files and functions to *playlist* (it was stupid
from me to name them "plst")
o made a few input error messages more meaningful
o added -I, -A and -V short flags, corresponding to --intf, --audio
and --video
I got a lot of conflicts on this commit, lart me if I forgot a
file or made old bugs reappear.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2afb724 |
ra0c1805 |
|
| 13 | 13 | Then, run `make' to build vlc. |
|---|
| 14 | 14 | |
|---|
| 15 | | Here is a shortcut to copy-paste for a clean build: |
|---|
| | 15 | Here is a shortcut to copy-paste for a complete build: |
|---|
| 16 | 16 | |
|---|
| 17 | 17 | make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \ |
|---|
| 18 | 18 | --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ |
|---|
| 19 | | --enable-alsa --enable-mga --enable-gtk && make |
|---|
| | 19 | --enable-alsa --enable-mga --enable-gtk --enable-qt && make |
|---|
| | 20 | |
|---|
| | 21 | If you intend to debug stuff, you may want to disable optimizations: |
|---|
| | 22 | |
|---|
| | 23 | make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \ |
|---|
| | 24 | --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ |
|---|
| | 25 | --enable-alsa --enable-mga --enable-gtk --enable-qt \ |
|---|
| | 26 | --disable-optimizatons && make |
|---|
| 20 | 27 | |
|---|
| 21 | 28 | |
|---|
| r585b6ad |
ra0c1805 |
|
| 191 | 191 | src/interface/intf_cmd.o \ |
|---|
| 192 | 192 | src/interface/intf_ctrl.o \ |
|---|
| 193 | | src/interface/intf_plst.o \ |
|---|
| | 193 | src/interface/intf_playlist.o \ |
|---|
| 194 | 194 | src/interface/intf_channels.o \ |
|---|
| 195 | 195 | src/interface/intf_console.o \ |
|---|
| … | … | |
| 335 | 335 | plugins/gnome/gnome_support.o |
|---|
| 336 | 336 | |
|---|
| | 337 | PLUGIN_QT = plugins/qt/qt.o \ |
|---|
| | 338 | plugins/qt/intf_qt.o |
|---|
| | 339 | |
|---|
| 337 | 340 | PLUGIN_KDE = plugins/kde/kde.o \ |
|---|
| 338 | | plugins/kde/intf_kde.o \ |
|---|
| 339 | | plugins/kde/kvlc.o |
|---|
| | 341 | plugins/kde/intf_kde.o |
|---|
| 340 | 342 | |
|---|
| 341 | 343 | PLUGIN_IDCT = plugins/idct/idct.o \ |
|---|
| … | … | |
| 432 | 434 | NONSTD_CPP_PLUGIN_OBJ = \ |
|---|
| 433 | 435 | $(PLUGIN_BEOS) \ |
|---|
| | 436 | $(PLUGIN_QT) \ |
|---|
| 434 | 437 | $(PLUGIN_KDE) |
|---|
| 435 | 438 | |
|---|
| … | … | |
| 457 | 460 | rm -f $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ) $(STD_PLUGIN_OBJ) |
|---|
| 458 | 461 | rm -f plugins/*/*.o src/*/*.o lib/*.so |
|---|
| 459 | | rm -f vlc kvlc gvlc |
|---|
| | 462 | rm -f vlc gvlc kvlc qvlc |
|---|
| 460 | 463 | |
|---|
| 461 | 464 | distclean: clean |
|---|
| … | … | |
| 495 | 498 | rm -rf /tmp/vlc-@VLC_VERSION@* /tmp/vlc-@VLC_VERSION@nocss* |
|---|
| 496 | 499 | # copy archive in /tmp |
|---|
| 497 | | find -type d | grep -v CVS | grep -v '^\.dep' | while read i ; \ |
|---|
| | 500 | find -type d | grep -v CVS | grep -v '\.dep' | while read i ; \ |
|---|
| 498 | 501 | do mkdir -p /tmp/vlc-@VLC_VERSION@/$$i ; \ |
|---|
| 499 | 502 | done |
|---|
| … | … | |
| 535 | 538 | # the namespace |
|---|
| 536 | 539 | # |
|---|
| 537 | | gvlc kvlc: vlc |
|---|
| | 540 | gvlc kvlc qvlc: vlc |
|---|
| 538 | 541 | rm -f $@ && ln -s vlc $@ |
|---|
| 539 | 542 | |
|---|
| … | … | |
| 570 | 573 | $(PLUGIN_GTK): %.o: .dep/%.d |
|---|
| 571 | 574 | $(PLUGIN_GTK): %.o: %.c |
|---|
| 572 | | $(CC) $(CFLAGS) $(PCFLAGS) `glib-config --cflags glib` `gtk-config --cflags gtk` -c -o $@ $< |
|---|
| | 575 | $(CC) $(CFLAGS) $(PCFLAGS) `gtk-config --cflags gtk` -c -o $@ $< |
|---|
| 573 | 576 | |
|---|
| 574 | 577 | $(PLUGIN_GNOME): %.o: Makefile.dep |
|---|
| 575 | 578 | $(PLUGIN_GNOME): %.o: .dep/%.d |
|---|
| 576 | 579 | $(PLUGIN_GNOME): %.o: %.c |
|---|
| 577 | | $(CC) $(CFLAGS) $(PCFLAGS) `glib-config --cflags glib` `gnome-config --cflags gnomeui` -c -o $@ $< |
|---|
| | 580 | $(CC) $(CFLAGS) $(PCFLAGS) `gnome-config --cflags gtk gnomeui` -c -o $@ $< |
|---|
| 578 | 581 | |
|---|
| 579 | 582 | $(PLUGIN_GLIDE): %.o: Makefile.dep |
|---|
| … | … | |
| 581 | 584 | $(PLUGIN_GLIDE): %.o: %.c |
|---|
| 582 | 585 | $(CC) $(CFLAGS) $(PCFLAGS) -I/usr/include/glide -c -o $@ $< |
|---|
| | 586 | |
|---|
| | 587 | $(PLUGIN_QT): %.o: Makefile.dep |
|---|
| | 588 | $(PLUGIN_QT): %.o: .dep/%.dpp |
|---|
| | 589 | $(PLUGIN_QT): %.o: %.moc |
|---|
| | 590 | $(CC) $(CFLAGS) $(PCFLAGS) -I/usr/include/qt -c -o $@ $(<:%.moc=%.cpp) |
|---|
| | 591 | $(PLUGIN_QT:%.o=%.moc): %.moc: %.cpp |
|---|
| | 592 | moc -i $< -o $@ |
|---|
| 583 | 593 | |
|---|
| 584 | 594 | $(PLUGIN_KDE): %.o: Makefile.dep |
|---|
| … | … | |
| 622 | 632 | $(CC) $(PCFLAGS) -shared -o $@ $^ |
|---|
| 623 | 633 | |
|---|
| | 634 | lib/qt.so: $(PLUGIN_QT) |
|---|
| | 635 | $(CC) $(PCFLAGS) -shared -o $@ $^ -lqt |
|---|
| | 636 | |
|---|
| 624 | 637 | lib/kde.so: $(PLUGIN_KDE) |
|---|
| 625 | 638 | $(CC) $(PCFLAGS) -shared -o $@ $^ -lkdeui -lkdecore -lqt -ldl |
|---|
| r585b6ad |
ra0c1805 |
|
| 42 | 42 | ac_help="$ac_help |
|---|
| 43 | 43 | --enable-ncurses ncurses interface support (default disabled)" |
|---|
| | 44 | ac_help="$ac_help |
|---|
| | 45 | --enable-qt Qt interface support (default disabled)" |
|---|
| 44 | 46 | ac_help="$ac_help |
|---|
| 45 | 47 | --enable-kde KDE interface support (default disabled)" |
|---|
| … | … | |
| 590 | 592 | |
|---|
| 591 | 593 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|---|
| 592 | | echo "configure:593: checking host system type" >&5 |
|---|
| | 594 | echo "configure:595: checking host system type" >&5 |
|---|
| 593 | 595 | |
|---|
| 594 | 596 | host_alias=$host |
|---|
| … | … | |
| 617 | 619 | |
|---|
| 618 | 620 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
|---|
| 619 | | echo "configure:620: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|---|
| | 621 | echo "configure:622: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|---|
| 620 | 622 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
|---|
| 621 | 623 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
|---|
| … | … | |
| 647 | 649 | set dummy gcc; ac_word=$2 |
|---|
| 648 | 650 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 649 | | echo "configure:650: checking for $ac_word" >&5 |
|---|
| | 651 | echo "configure:652: checking for $ac_word" >&5 |
|---|
| 650 | 652 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 651 | 653 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 677 | 679 | set dummy cc; ac_word=$2 |
|---|
| 678 | 680 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 679 | | echo "configure:680: checking for $ac_word" >&5 |
|---|
| | 681 | echo "configure:682: checking for $ac_word" >&5 |
|---|
| 680 | 682 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 681 | 683 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 728 | 730 | set dummy cl; ac_word=$2 |
|---|
| 729 | 731 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 730 | | echo "configure:731: checking for $ac_word" >&5 |
|---|
| | 732 | echo "configure:733: checking for $ac_word" >&5 |
|---|
| 731 | 733 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 732 | 734 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 760 | 762 | |
|---|
| 761 | 763 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|---|
| 762 | | echo "configure:763: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|---|
| | 764 | echo "configure:765: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|---|
| 763 | 765 | |
|---|
| 764 | 766 | ac_ext=c |
|---|
| … | … | |
| 771 | 773 | cat > conftest.$ac_ext << EOF |
|---|
| 772 | 774 | |
|---|
| 773 | | #line 774 "configure" |
|---|
| | 775 | #line 776 "configure" |
|---|
| 774 | 776 | #include "confdefs.h" |
|---|
| 775 | 777 | |
|---|
| 776 | 778 | main(){return(0);} |
|---|
| 777 | 779 | EOF |
|---|
| 778 | | if { (eval echo configure:779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 780 | if { (eval echo configure:781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 779 | 781 | ac_cv_prog_cc_works=yes |
|---|
| 780 | 782 | # If we can't run a trivial program, we are probably using a cross compiler. |
|---|
| … | … | |
| 802 | 804 | fi |
|---|
| 803 | 805 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|---|
| 804 | | echo "configure:805: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|---|
| | 806 | echo "configure:807: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|---|
| 805 | 807 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|---|
| 806 | 808 | cross_compiling=$ac_cv_prog_cc_cross |
|---|
| 807 | 809 | |
|---|
| 808 | 810 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|---|
| 809 | | echo "configure:810: checking whether we are using GNU C" >&5 |
|---|
| | 811 | echo "configure:812: checking whether we are using GNU C" >&5 |
|---|
| 810 | 812 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|---|
| 811 | 813 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 816 | 818 | #endif |
|---|
| 817 | 819 | EOF |
|---|
| 818 | | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|---|
| | 820 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|---|
| 819 | 821 | ac_cv_prog_gcc=yes |
|---|
| 820 | 822 | else |
|---|
| … | … | |
| 835 | 837 | CFLAGS= |
|---|
| 836 | 838 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|---|
| 837 | | echo "configure:838: checking whether ${CC-cc} accepts -g" >&5 |
|---|
| | 839 | echo "configure:840: checking whether ${CC-cc} accepts -g" >&5 |
|---|
| 838 | 840 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|---|
| 839 | 841 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 869 | 871 | if test -z "$CPP"; then |
|---|
| 870 | 872 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|---|
| 871 | | echo "configure:872: checking how to run the C preprocessor" >&5 |
|---|
| | 873 | echo "configure:874: checking how to run the C preprocessor" >&5 |
|---|
| 872 | 874 | # On Suns, sometimes $CPP names a directory. |
|---|
| 873 | 875 | if test -n "$CPP" && test -d "$CPP"; then |
|---|
| … | … | |
| 884 | 886 | # not just through cpp. |
|---|
| 885 | 887 | cat > conftest.$ac_ext <<EOF |
|---|
| 886 | | #line 887 "configure" |
|---|
| | 888 | #line 889 "configure" |
|---|
| 887 | 889 | #include "confdefs.h" |
|---|
| 888 | 890 | #include <assert.h> |
|---|
| … | … | |
| 890 | 892 | EOF |
|---|
| 891 | 893 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 892 | | { (eval echo configure:893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 894 | { (eval echo configure:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 893 | 895 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 894 | 896 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 901 | 903 | CPP="${CC-cc} -E -traditional-cpp" |
|---|
| 902 | 904 | cat > conftest.$ac_ext <<EOF |
|---|
| 903 | | #line 904 "configure" |
|---|
| | 905 | #line 906 "configure" |
|---|
| 904 | 906 | #include "confdefs.h" |
|---|
| 905 | 907 | #include <assert.h> |
|---|
| … | … | |
| 907 | 909 | EOF |
|---|
| 908 | 910 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 909 | | { (eval echo configure:910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 911 | { (eval echo configure:912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 910 | 912 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 911 | 913 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 918 | 920 | CPP="${CC-cc} -nologo -E" |
|---|
| 919 | 921 | cat > conftest.$ac_ext <<EOF |
|---|
| 920 | | #line 921 "configure" |
|---|
| | 922 | #line 923 "configure" |
|---|
| 921 | 923 | #include "confdefs.h" |
|---|
| 922 | 924 | #include <assert.h> |
|---|
| … | … | |
| 924 | 926 | EOF |
|---|
| 925 | 927 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 926 | | { (eval echo configure:927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 928 | { (eval echo configure:929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 927 | 929 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 928 | 930 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 962 | 964 | # ./install, which can be erroneously created by make from ./install.sh. |
|---|
| 963 | 965 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
|---|
| 964 | | echo "configure:965: checking for a BSD compatible install" >&5 |
|---|
| | 966 | echo "configure:967: checking for a BSD compatible install" >&5 |
|---|
| 965 | 967 | if test -z "$INSTALL"; then |
|---|
| 966 | 968 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|---|
| … | … | |
| 1016 | 1018 | |
|---|
| 1017 | 1019 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
|---|
| 1018 | | echo "configure:1019: checking for working const" >&5 |
|---|
| | 1020 | echo "configure:1021: checking for working const" >&5 |
|---|
| 1019 | 1021 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
|---|
| 1020 | 1022 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1021 | 1023 | else |
|---|
| 1022 | 1024 | cat > conftest.$ac_ext <<EOF |
|---|
| 1023 | | #line 1024 "configure" |
|---|
| | 1025 | #line 1026 "configure" |
|---|
| 1024 | 1026 | #include "confdefs.h" |
|---|
| 1025 | 1027 | |
|---|
| … | … | |
| 1027 | 1029 | |
|---|
| 1028 | 1030 | /* Ultrix mips cc rejects this. */ |
|---|
| 1029 | | typedef int charset[2]; const charset x = {0,0}; |
|---|
| | 1031 | typedef int charset[2]; const charset x; |
|---|
| 1030 | 1032 | /* SunOS 4.1.1 cc rejects this. */ |
|---|
| 1031 | 1033 | char const *const *ccp; |
|---|
| … | … | |
| 1070 | 1072 | ; return 0; } |
|---|
| 1071 | 1073 | EOF |
|---|
| 1072 | | if { (eval echo configure:1073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1074 | if { (eval echo configure:1075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1073 | 1075 | rm -rf conftest* |
|---|
| 1074 | 1076 | ac_cv_c_const=yes |
|---|
| … | … | |
| 1091 | 1093 | |
|---|
| 1092 | 1094 | echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
|---|
| 1093 | | echo "configure:1094: checking whether byte ordering is bigendian" >&5 |
|---|
| | 1095 | echo "configure:1096: checking whether byte ordering is bigendian" >&5 |
|---|
| 1094 | 1096 | if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
|---|
| 1095 | 1097 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 1098 | 1100 | # See if sys/param.h defines the BYTE_ORDER macro. |
|---|
| 1099 | 1101 | cat > conftest.$ac_ext <<EOF |
|---|
| 1100 | | #line 1101 "configure" |
|---|
| | 1102 | #line 1103 "configure" |
|---|
| 1101 | 1103 | #include "confdefs.h" |
|---|
| 1102 | 1104 | #include <sys/types.h> |
|---|
| … | … | |
| 1109 | 1111 | ; return 0; } |
|---|
| 1110 | 1112 | EOF |
|---|
| 1111 | | if { (eval echo configure:1112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1113 | if { (eval echo configure:1114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1112 | 1114 | rm -rf conftest* |
|---|
| 1113 | 1115 | # It does; now see whether it defined to BIG_ENDIAN or not. |
|---|
| 1114 | 1116 | cat > conftest.$ac_ext <<EOF |
|---|
| 1115 | | #line 1116 "configure" |
|---|
| | 1117 | #line 1118 "configure" |
|---|
| 1116 | 1118 | #include "confdefs.h" |
|---|
| 1117 | 1119 | #include <sys/types.h> |
|---|
| … | … | |
| 1124 | 1126 | ; return 0; } |
|---|
| 1125 | 1127 | EOF |
|---|
| 1126 | | if { (eval echo configure:1127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1128 | if { (eval echo configure:1129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1127 | 1129 | rm -rf conftest* |
|---|
| 1128 | 1130 | ac_cv_c_bigendian=yes |
|---|
| … | … | |
| 1144 | 1146 | else |
|---|
| 1145 | 1147 | cat > conftest.$ac_ext <<EOF |
|---|
| 1146 | | #line 1147 "configure" |
|---|
| | 1148 | #line 1149 "configure" |
|---|
| 1147 | 1149 | #include "confdefs.h" |
|---|
| 1148 | 1150 | main () { |
|---|
| … | … | |
| 1157 | 1159 | } |
|---|
| 1158 | 1160 | EOF |
|---|
| 1159 | | if { (eval echo configure:1160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 1161 | if { (eval echo configure:1162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 1160 | 1162 | then |
|---|
| 1161 | 1163 | ac_cv_c_bigendian=no |
|---|
| … | … | |
| 1182 | 1184 | |
|---|
| 1183 | 1185 | echo $ac_n "checking whether compiler accepts bswap x86 instruction""... $ac_c" 1>&6 |
|---|
| 1184 | | echo "configure:1185: checking whether compiler accepts bswap x86 instruction" >&5 |
|---|
| | 1186 | echo "configure:1187: checking whether compiler accepts bswap x86 instruction" >&5 |
|---|
| 1185 | 1187 | cat > conftest.$ac_ext <<EOF |
|---|
| 1186 | | #line 1187 "configure" |
|---|
| | 1188 | #line 1189 "configure" |
|---|
| 1187 | 1189 | #include "confdefs.h" |
|---|
| 1188 | 1190 | unsigned int foo( unsigned int x ) |
|---|
| … | … | |
| 1192 | 1194 | ; return 0; } |
|---|
| 1193 | 1195 | EOF |
|---|
| 1194 | | if { (eval echo configure:1195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1196 | if { (eval echo configure:1197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1195 | 1197 | rm -rf conftest* |
|---|
| 1196 | 1198 | cat >> confdefs.h <<\EOF |
|---|
| … | … | |
| 1209 | 1211 | do |
|---|
| 1210 | 1212 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1211 | | echo "configure:1212: checking for $ac_func" >&5 |
|---|
| | 1213 | echo "configure:1214: checking for $ac_func" >&5 |
|---|
| 1212 | 1214 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1213 | 1215 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1214 | 1216 | else |
|---|
| 1215 | 1217 | cat > conftest.$ac_ext <<EOF |
|---|
| 1216 | | #line 1217 "configure" |
|---|
| | 1218 | #line 1219 "configure" |
|---|
| 1217 | 1219 | #include "confdefs.h" |
|---|
| 1218 | 1220 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1237 | 1239 | ; return 0; } |
|---|
| 1238 | 1240 | EOF |
|---|
| 1239 | | if { (eval echo configure:1240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1241 | if { (eval echo configure:1242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1240 | 1242 | rm -rf conftest* |
|---|
| 1241 | 1243 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1264 | 1266 | do |
|---|
| 1265 | 1267 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1266 | | echo "configure:1267: checking for $ac_func" >&5 |
|---|
| | 1268 | echo "configure:1269: checking for $ac_func" >&5 |
|---|
| 1267 | 1269 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1268 | 1270 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1269 | 1271 | else |
|---|
| 1270 | 1272 | cat > conftest.$ac_ext <<EOF |
|---|
| 1271 | | #line 1272 "configure" |
|---|
| | 1273 | #line 1274 "configure" |
|---|
| 1272 | 1274 | #include "confdefs.h" |
|---|
| 1273 | 1275 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1292 | 1294 | ; return 0; } |
|---|
| 1293 | 1295 | EOF |
|---|
| 1294 | | if { (eval echo configure:1295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1296 | if { (eval echo configure:1297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1295 | 1297 | rm -rf conftest* |
|---|
| 1296 | 1298 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1317 | 1319 | |
|---|
| 1318 | 1320 | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
|---|
| 1319 | | echo "configure:1320: checking for connect" >&5 |
|---|
| | 1321 | echo "configure:1322: checking for connect" >&5 |
|---|
| 1320 | 1322 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
|---|
| 1321 | 1323 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1322 | 1324 | else |
|---|
| 1323 | 1325 | cat > conftest.$ac_ext <<EOF |
|---|
| 1324 | | #line 1325 "configure" |
|---|
| | 1326 | #line 1327 "configure" |
|---|
| 1325 | 1327 | #include "confdefs.h" |
|---|
| 1326 | 1328 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1345 | 1347 | ; return 0; } |
|---|
| 1346 | 1348 | EOF |
|---|
| 1347 | | if { (eval echo configure:1348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1349 | if { (eval echo configure:1350: \"$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_func_connect=yes" |
|---|
| … | … | |
| 1363 | 1365 | echo "$ac_t""no" 1>&6 |
|---|
| 1364 | 1366 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
|---|
| 1365 | | echo "configure:1366: checking for connect in -lsocket" >&5 |
|---|
| | 1367 | echo "configure:1368: checking for connect in -lsocket" >&5 |
|---|
| 1366 | 1368 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
|---|
| 1367 | 1369 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1371 | 1373 | LIBS="-lsocket $LIBS" |
|---|
| 1372 | 1374 | cat > conftest.$ac_ext <<EOF |
|---|
| 1373 | | #line 1374 "configure" |
|---|
| | 1375 | #line 1376 "configure" |
|---|
| 1374 | 1376 | #include "confdefs.h" |
|---|
| 1375 | 1377 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1382 | 1384 | ; return 0; } |
|---|
| 1383 | 1385 | EOF |
|---|
| 1384 | | if { (eval echo configure:1385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1386 | if { (eval echo configure:1387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1385 | 1387 | rm -rf conftest* |
|---|
| 1386 | 1388 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1412 | 1414 | |
|---|
| 1413 | 1415 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
|---|
| 1414 | | echo "configure:1415: checking for gethostbyname" >&5 |
|---|
| | 1416 | echo "configure:1417: checking for gethostbyname" >&5 |
|---|
| 1415 | 1417 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
|---|
| 1416 | 1418 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1417 | 1419 | else |
|---|
| 1418 | 1420 | cat > conftest.$ac_ext <<EOF |
|---|
| 1419 | | #line 1420 "configure" |
|---|
| | 1421 | #line 1422 "configure" |
|---|
| 1420 | 1422 | #include "confdefs.h" |
|---|
| 1421 | 1423 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1440 | 1442 | ; return 0; } |
|---|
| 1441 | 1443 | EOF |
|---|
| 1442 | | if { (eval echo configure:1443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1444 | if { (eval echo configure:1445: \"$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_func_gethostbyname=yes" |
|---|
| … | … | |
| 1458 | 1460 | echo "$ac_t""no" 1>&6 |
|---|
| 1459 | 1461 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
|---|
| 1460 | | echo "configure:1461: checking for gethostbyname in -lnsl" >&5 |
|---|
| | 1462 | echo "configure:1463: checking for gethostbyname in -lnsl" >&5 |
|---|
| 1461 | 1463 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
|---|
| 1462 | 1464 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1466 | 1468 | LIBS="-lnsl $LIBS" |
|---|
| 1467 | 1469 | cat > conftest.$ac_ext <<EOF |
|---|
| 1468 | | #line 1469 "configure" |
|---|
| | 1470 | #line 1471 "configure" |
|---|
| 1469 | 1471 | #include "confdefs.h" |
|---|
| 1470 | 1472 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1477 | 1479 | ; return 0; } |
|---|
| 1478 | 1480 | EOF |
|---|
| 1479 | | if { (eval echo configure:1480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1481 | if { (eval echo configure:1482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1480 | 1482 | rm -rf conftest* |
|---|
| 1481 | 1483 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1507 | 1509 | |
|---|
| 1508 | 1510 | echo $ac_n "checking for nanosleep""... $ac_c" 1>&6 |
|---|
| 1509 | | echo "configure:1510: checking for nanosleep" >&5 |
|---|
| | 1511 | echo "configure:1512: checking for nanosleep" >&5 |
|---|
| 1510 | 1512 | if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then |
|---|
| 1511 | 1513 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1512 | 1514 | else |
|---|
| 1513 | 1515 | cat > conftest.$ac_ext <<EOF |
|---|
| 1514 | | #line 1515 "configure" |
|---|
| | 1516 | #line 1517 "configure" |
|---|
| 1515 | 1517 | #include "confdefs.h" |
|---|
| 1516 | 1518 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1535 | 1537 | ; return 0; } |
|---|
| 1536 | 1538 | EOF |
|---|
| 1537 | | if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1539 | if { (eval echo configure:1540: \"$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_func_nanosleep=yes" |
|---|
| … | … | |
| 1553 | 1555 | echo "$ac_t""no" 1>&6 |
|---|
| 1554 | 1556 | echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6 |
|---|
| 1555 | | echo "configure:1556: checking for nanosleep in -lrt" >&5 |
|---|
| | 1557 | echo "configure:1558: checking for nanosleep in -lrt" >&5 |
|---|
| 1556 | 1558 | ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 1557 | 1559 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1561 | 1563 | LIBS="-lrt $LIBS" |
|---|
| 1562 | 1564 | cat > conftest.$ac_ext <<EOF |
|---|
| 1563 | | #line 1564 "configure" |
|---|
| | 1565 | #line 1566 "configure" |
|---|
| 1564 | 1566 | #include "confdefs.h" |
|---|
| 1565 | 1567 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1572 | 1574 | ; return 0; } |
|---|
| 1573 | 1575 | EOF |
|---|
| 1574 | | if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1576 | if { (eval echo configure:1577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1575 | 1577 | rm -rf conftest* |
|---|
| 1576 | 1578 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1598 | 1600 | echo "$ac_t""no" 1>&6 |
|---|
| 1599 | 1601 | echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 |
|---|
| 1600 | | echo "configure:1601: checking for nanosleep in -lposix4" >&5 |
|---|
| | 1602 | echo "configure:1603: checking for nanosleep in -lposix4" >&5 |
|---|
| 1601 | 1603 | ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 1602 | 1604 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1606 | 1608 | LIBS="-lposix4 $LIBS" |
|---|
| 1607 | 1609 | cat > conftest.$ac_ext <<EOF |
|---|
| 1608 | | #line 1609 "configure" |
|---|
| | 1610 | #line 1611 "configure" |
|---|
| 1609 | 1611 | #include "confdefs.h" |
|---|
| 1610 | 1612 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1617 | 1619 | ; return 0; } |
|---|
| 1618 | 1620 | EOF |
|---|
| 1619 | | if { (eval echo configure:1620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1621 | if { (eval echo configure:1622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1620 | 1622 | rm -rf conftest* |
|---|
| 1621 | 1623 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1651 | 1653 | do |
|---|
| 1652 | 1654 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1653 | | echo "configure:1654: checking for $ac_func" >&5 |
|---|
| | 1655 | echo "configure:1656: checking for $ac_func" >&5 |
|---|
| 1654 | 1656 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1655 | 1657 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1656 | 1658 | else |
|---|
| 1657 | 1659 | cat > conftest.$ac_ext <<EOF |
|---|
| 1658 | | #line 1659 "configure" |
|---|
| | 1660 | #line 1661 "configure" |
|---|
| 1659 | 1661 | #include "confdefs.h" |
|---|
| 1660 | 1662 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1679 | 1681 | ; return 0; } |
|---|
| 1680 | 1682 | EOF |
|---|
| 1681 | | if { (eval echo configure:1682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1683 | if { (eval echo configure:1684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1682 | 1684 | rm -rf conftest* |
|---|
| 1683 | 1685 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1704 | 1706 | |
|---|
| 1705 | 1707 | echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 |
|---|
| 1706 | | echo "configure:1707: checking for inet_aton" >&5 |
|---|
| | 1708 | echo "configure:1709: checking for inet_aton" >&5 |
|---|
| 1707 | 1709 | if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then |
|---|
| 1708 | 1710 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1709 | 1711 | else |
|---|
| 1710 | 1712 | cat > conftest.$ac_ext <<EOF |
|---|
| 1711 | | #line 1712 "configure" |
|---|
| | 1713 | #line 1714 "configure" |
|---|
| 1712 | 1714 | #include "confdefs.h" |
|---|
| 1713 | 1715 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1732 | 1734 | ; return 0; } |
|---|
| 1733 | 1735 | EOF |
|---|
| 1734 | | if { (eval echo configure:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1736 | if { (eval echo configure:1737: \"$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_func_inet_aton=yes" |
|---|
| … | … | |
| 1750 | 1752 | echo "$ac_t""no" 1>&6 |
|---|
| 1751 | 1753 | echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 |
|---|
| 1752 | | echo "configure:1753: checking for inet_aton in -lresolv" >&5 |
|---|
| | 1754 | echo "configure:1755: checking for inet_aton in -lresolv" >&5 |
|---|
| 1753 | 1755 | ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` |
|---|
| 1754 | 1756 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1758 | 1760 | LIBS="-lresolv $LIBS" |
|---|
| 1759 | 1761 | cat > conftest.$ac_ext <<EOF |
|---|
| 1760 | | #line 1761 "configure" |
|---|
| | 1762 | #line 1763 "configure" |
|---|
| 1761 | 1763 | #include "confdefs.h" |
|---|
| 1762 | 1764 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1769 | 1771 | ; return 0; } |
|---|
| 1770 | 1772 | EOF |
|---|
| 1771 | | if { (eval echo configure:1772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1773 | if { (eval echo configure:1774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1772 | 1774 | rm -rf conftest* |
|---|
| 1773 | 1775 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1801 | 1803 | do |
|---|
| 1802 | 1804 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1803 | | echo "configure:1804: checking for $ac_func" >&5 |
|---|
| | 1805 | echo "configure:1806: checking for $ac_func" >&5 |
|---|
| 1804 | 1806 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1805 | 1807 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1806 | 1808 | else |
|---|
| 1807 | 1809 | cat > conftest.$ac_ext <<EOF |
|---|
| 1808 | | #line 1809 "configure" |
|---|
| | 1810 | #line 1811 "configure" |
|---|
| 1809 | 1811 | #include "confdefs.h" |
|---|
| 1810 | 1812 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1829 | 1831 | ; return 0; } |
|---|
| 1830 | 1832 | EOF |
|---|
| 1831 | | if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1833 | if { (eval echo configure:1834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1832 | 1834 | rm -rf conftest* |
|---|
| 1833 | 1835 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1857 | 1859 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 1858 | 1860 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 1859 | | echo "configure:1860: checking for $ac_hdr" >&5 |
|---|
| | 1861 | echo "configure:1862: checking for $ac_hdr" >&5 |
|---|
| 1860 | 1862 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 1861 | 1863 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1862 | 1864 | else |
|---|
| 1863 | 1865 | cat > conftest.$ac_ext <<EOF |
|---|
| 1864 | | #line 1865 "configure" |
|---|
| | 1866 | #line 1867 "configure" |
|---|
| 1865 | 1867 | #include "confdefs.h" |
|---|
| 1866 | 1868 | #include <$ac_hdr> |
|---|
| 1867 | 1869 | EOF |
|---|
| 1868 | 1870 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 1869 | | { (eval echo configure:1870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 1871 | { (eval echo configure:1872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 1870 | 1872 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 1871 | 1873 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 1896 | 1898 | do |
|---|
| 1897 | 1899 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1898 | | echo "configure:1899: checking for $ac_func" >&5 |
|---|
| | 1900 | echo "configure:1901: checking for $ac_func" >&5 |
|---|
| 1899 | 1901 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1900 | 1902 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1901 | 1903 | else |
|---|
| 1902 | 1904 | cat > conftest.$ac_ext <<EOF |
|---|
| 1903 | | #line 1904 "configure" |
|---|
| | 1905 | #line 1906 "configure" |
|---|
| 1904 | 1906 | #include "confdefs.h" |
|---|
| 1905 | 1907 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1924 | 1926 | ; return 0; } |
|---|
| 1925 | 1927 | EOF |
|---|
| 1926 | | if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1928 | if { (eval echo configure:1929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1927 | 1929 | rm -rf conftest* |
|---|
| 1928 | 1930 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1949 | 1951 | |
|---|
| 1950 | 1952 | echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
|---|
| 1951 | | echo "configure:1952: checking for working mmap" >&5 |
|---|
| | 1953 | echo "configure:1954: checking for working mmap" >&5 |
|---|
| 1952 | 1954 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
|---|
| 1953 | 1955 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 1957 | 1959 | else |
|---|
| 1958 | 1960 | cat > conftest.$ac_ext <<EOF |
|---|
| 1959 | | #line 1960 "configure" |
|---|
| | 1961 | #line 1962 "configure" |
|---|
| 1960 | 1962 | #include "confdefs.h" |
|---|
| 1961 | 1963 | |
|---|
| … | … | |
| 1984 | 1986 | #include <fcntl.h> |
|---|
| 1985 | 1987 | #include <sys/mman.h> |
|---|
| 1986 | | #include <stdlib.h> |
|---|
| 1987 | | #include <sys/stat.h> |
|---|
| 1988 | | |
|---|
| 1989 | | #ifdef HAVE_UNISTD_H |
|---|
| 1990 | | # include <unistd.h> |
|---|
| 1991 | | #endif |
|---|
| 1992 | 1988 | |
|---|
| 1993 | 1989 | /* This mess was copied from the GNU getpagesize.h. */ |
|---|
| 1994 | 1990 | #ifndef HAVE_GETPAGESIZE |
|---|
| | 1991 | # ifdef HAVE_UNISTD_H |
|---|
| | 1992 | # include <unistd.h> |
|---|
| | 1993 | # endif |
|---|
| 1995 | 1994 | |
|---|
| 1996 | 1995 | /* Assume that all systems that can run configure have sys/param.h. */ |
|---|
| … | … | |
| 2047 | 2046 | * First, make a file with some known garbage in it. |
|---|
| 2048 | 2047 | */ |
|---|
| 2049 | | data = (char*)malloc(pagesize); |
|---|
| | 2048 | data = malloc(pagesize); |
|---|
| 2050 | 2049 | if (!data) |
|---|
| 2051 | 2050 | exit(1); |
|---|
| … | … | |
| 2068 | 2067 | if (fd < 0) |
|---|
| 2069 | 2068 | exit(1); |
|---|
| 2070 | | data2 = (char*)malloc(2 * pagesize); |
|---|
| | 2069 | data2 = malloc(2 * pagesize); |
|---|
| 2071 | 2070 | if (!data2) |
|---|
| 2072 | 2071 | exit(1); |
|---|
| … | … | |
| 2086 | 2085 | for (i = 0; i < pagesize; ++i) |
|---|
| 2087 | 2086 | *(data2 + i) = *(data2 + i) + 1; |
|---|
| 2088 | | data3 = (char*)malloc(pagesize); |
|---|
| | 2087 | data3 = malloc(pagesize); |
|---|
| 2089 | 2088 | if (!data3) |
|---|
| 2090 | 2089 | exit(1); |
|---|
| … | … | |
| 2100 | 2099 | |
|---|
| 2101 | 2100 | EOF |
|---|
| 2102 | | if { (eval echo configure:2103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 2101 | if { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 2103 | 2102 | then |
|---|
| 2104 | 2103 | ac_cv_func_mmap_fixed_mapped=yes |
|---|
| … | … | |
| 2123 | 2122 | |
|---|
| 2124 | 2123 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
|---|
| 2125 | | echo "configure:2126: checking return type of signal handlers" >&5 |
|---|
| | 2124 | echo "configure:2125: checking return type of signal handlers" >&5 |
|---|
| 2126 | 2125 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
|---|
| 2127 | 2126 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2128 | 2127 | else |
|---|
| 2129 | 2128 | cat > conftest.$ac_ext <<EOF |
|---|
| 2130 | | #line 2131 "configure" |
|---|
| | 2129 | #line 2130 "configure" |
|---|
| 2131 | 2130 | #include "confdefs.h" |
|---|
| 2132 | 2131 | #include <sys/types.h> |
|---|
| … | … | |
| 2145 | 2144 | ; return 0; } |
|---|
| 2146 | 2145 | EOF |
|---|
| 2147 | | if { (eval echo configure:2148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 2146 | if { (eval echo configure:2147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 2148 | 2147 | rm -rf conftest* |
|---|
| 2149 | 2148 | ac_cv_type_signal=void |
|---|
| … | … | |
| 2164 | 2163 | |
|---|
| 2165 | 2164 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
|---|
| 2166 | | echo "configure:2167: checking for dlopen in -ldl" >&5 |
|---|
| | 2165 | echo "configure:2166: checking for dlopen in -ldl" >&5 |
|---|
| 2167 | 2166 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
|---|
| 2168 | 2167 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2172 | 2171 | LIBS="-ldl $LIBS" |
|---|
| 2173 | 2172 | cat > conftest.$ac_ext <<EOF |
|---|
| 2174 | | #line 2175 "configure" |
|---|
| | 2173 | #line 2174 "configure" |
|---|
| 2175 | 2174 | #include "confdefs.h" |
|---|
| 2176 | 2175 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2183 | 2182 | ; return 0; } |
|---|
| 2184 | 2183 | EOF |
|---|
| 2185 | | if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2184 | if { (eval echo configure:2185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2186 | 2185 | rm -rf conftest* |
|---|
| 2187 | 2186 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2211 | 2210 | |
|---|
| 2212 | 2211 | echo $ac_n "checking for optarg in -lgnugetopt""... $ac_c" 1>&6 |
|---|
| 2213 | | echo "configure:2214: checking for optarg in -lgnugetopt" >&5 |
|---|
| | 2212 | echo "configure:2213: checking for optarg in -lgnugetopt" >&5 |
|---|
| 2214 | 2213 | ac_lib_var=`echo gnugetopt'_'optarg | sed 'y%./+-%__p_%'` |
|---|
| 2215 | 2214 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2219 | 2218 | LIBS="-lgnugetopt $LIBS" |
|---|
| 2220 | 2219 | cat > conftest.$ac_ext <<EOF |
|---|
| 2221 | | #line 2222 "configure" |
|---|
| | 2220 | #line 2221 "configure" |
|---|
| 2222 | 2221 | #include "confdefs.h" |
|---|
| 2223 | 2222 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2230 | 2229 | ; return 0; } |
|---|
| 2231 | 2230 | EOF |
|---|
| 2232 | | if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2231 | if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2233 | 2232 | rm -rf conftest* |
|---|
| 2234 | 2233 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2258 | 2257 | |
|---|
| 2259 | 2258 | echo $ac_n "checking for _ in -lbe""... $ac_c" 1>&6 |
|---|
| 2260 | | echo "configure:2261: checking for _ in -lbe" >&5 |
|---|
| | 2259 | echo "configure:2260: checking for _ in -lbe" >&5 |
|---|
| 2261 | 2260 | ac_lib_var=`echo be'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2262 | 2261 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2266 | 2265 | LIBS="-lbe $LIBS" |
|---|
| 2267 | 2266 | cat > conftest.$ac_ext <<EOF |
|---|
| 2268 | | #line 2269 "configure" |
|---|
| | 2267 | #line 2268 "configure" |
|---|
| 2269 | 2268 | #include "confdefs.h" |
|---|
| 2270 | 2269 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2277 | 2276 | ; return 0; } |
|---|
| 2278 | 2277 | EOF |
|---|
| 2279 | | if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2278 | if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2280 | 2279 | rm -rf conftest* |
|---|
| 2281 | 2280 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2305 | 2304 | |
|---|
| 2306 | 2305 | echo $ac_n "checking for _ in -lgame""... $ac_c" 1>&6 |
|---|
| 2307 | | echo "configure:2308: checking for _ in -lgame" >&5 |
|---|
| | 2306 | echo "configure:2307: checking for _ in -lgame" >&5 |
|---|
| 2308 | 2307 | ac_lib_var=`echo game'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2309 | 2308 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2313 | 2312 | LIBS="-lgame $LIBS" |
|---|
| 2314 | 2313 | cat > conftest.$ac_ext <<EOF |
|---|
| 2315 | | #line 2316 "configure" |
|---|
| | 2314 | #line 2315 "configure" |
|---|
| 2316 | 2315 | #include "confdefs.h" |
|---|
| 2317 | 2316 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2324 | 2323 | ; return 0; } |
|---|
| 2325 | 2324 | EOF |
|---|
| 2326 | | if { (eval echo configure:2327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2325 | if { (eval echo configure:2326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2327 | 2326 | rm -rf conftest* |
|---|
| 2328 | 2327 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2352 | 2351 | |
|---|
| 2353 | 2352 | echo $ac_n "checking for _ in -lroot""... $ac_c" 1>&6 |
|---|
| 2354 | | echo "configure:2355: checking for _ in -lroot" >&5 |
|---|
| | 2353 | echo "configure:2354: checking for _ in -lroot" >&5 |
|---|
| 2355 | 2354 | ac_lib_var=`echo root'_'_ | sed 'y%./+-%__p_%'` |
|---|
| 2356 | 2355 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2360 | 2359 | LIBS="-lroot&nbs |
|---|