Changeset 945f294626b776bbabadc5627c05456a6ff0ae2b
- Timestamp:
- 06/02/01 03:09:03
(7 years ago)
- Author:
- Sam Hocevar <sam@videolan.org>
- git-committer:
- Sam Hocevar <sam@videolan.org> 991444143 +0000
- git-parent:
[e9cc5c05f7423734b0a8a4c8e105e8bb65e50dcd]
- git-author:
- Sam Hocevar <sam@videolan.org> 991444143 +0000
- Message:
- DirectX plugin by Gildas Bazin <gbazin@netcourrier.com>.
Notes: o I called it 'directx' instead of 'windx' because it
made a lot more sense to me.
o Completely untested. I didn't manage to compile it yet.
o Code in vout_directx.c will go through a big rewrite when
vout 4 is finished. Xav is already working on this.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r440f999 |
r945f294 |
|
| 23 | 23 | --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa \ |
|---|
| 24 | 24 | --enable-debug |
|---|
| | 25 | |
|---|
| | 26 | It is also possible to cross-compile for the Win32 platform using mingw32: |
|---|
| | 27 | |
|---|
| | 28 | make distclean && CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ |
|---|
| | 29 | RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \ |
|---|
| | 30 | --target=i386-mingw32msvc --build=i386-linux --disable-dsp \ |
|---|
| | 31 | --disable-gtk --disable-x11 --disable-xvideo |
|---|
| 25 | 32 | |
|---|
| 26 | 33 | |
|---|
| r440f999 |
r945f294 |
|
| 12 | 12 | # All possible plugin directories, needed for make clean |
|---|
| 13 | 13 | # |
|---|
| 14 | | PLUGINS_DIR := alsa beos darwin dsp dummy \ |
|---|
| | 14 | PLUGINS_DIR := alsa beos darwin directx dsp dummy \ |
|---|
| 15 | 15 | dvd esd fb ggi glide gtk \ |
|---|
| 16 | 16 | downmix idct imdct \ |
|---|
| … | … | |
| 23 | 23 | # All possible plugin objects |
|---|
| 24 | 24 | # |
|---|
| 25 | | PLUGINS_TARGETS := alsa/alsa beos/beos darwin/darwin dsp/dsp dummy/dummy \ |
|---|
| 26 | | dvd/dvd esd/esd fb/fb ggi/ggi glide/glide gtk/gnome gtk/gtk \ |
|---|
| | 25 | PLUGINS_TARGETS := alsa/alsa beos/beos darwin/darwin directx/directx \ |
|---|
| | 26 | dsp/dsp dummy/dummy dvd/dvd esd/esd fb/fb ggi/ggi \ |
|---|
| | 27 | glide/glide gtk/gnome gtk/gtk \ |
|---|
| 27 | 28 | downmix/downmix downmix/downmixsse downmix/downmix3dn \ |
|---|
| 28 | 29 | idct/idct idct/idctclassic idct/idctmmx idct/idctmmxext \ |
|---|
| … | … | |
| 134 | 135 | # Generated header |
|---|
| 135 | 136 | # |
|---|
| 136 | | H_OBJ = include/modules_builtin.h |
|---|
| | 137 | H_OBJ = src/misc/modules_builtin.h |
|---|
| 137 | 138 | |
|---|
| 138 | 139 | # |
|---|
| … | … | |
| 177 | 178 | rm -f Makefile.opts |
|---|
| 178 | 179 | rm -f include/defs.h include/config.h include/modules_builtin.h |
|---|
| | 180 | rm -f src/misc/modules_builtin.h |
|---|
| 179 | 181 | rm -f config*status config*cache config*log |
|---|
| 180 | 182 | rm -f gmon.out core build-stamp |
|---|
| r1d066ee |
r945f294 |
|
| 74 | 74 | LIB_TS = @LIB_TS@ |
|---|
| 75 | 75 | LIB_SDL = @LIB_SDL@ |
|---|
| | 76 | LIB_DIRECTX = @LIB_DIRECTX@ |
|---|
| 76 | 77 | LIB_X11 = @LIB_X11@ |
|---|
| 77 | 78 | LIB_XVIDEO = @LIB_XVIDEO@ |
|---|
| r440f999 |
r945f294 |
|
| 49 | 49 | --with-sdl[=name] SDL support (default enabled)" |
|---|
| 50 | 50 | ac_help="$ac_help |
|---|
| | 51 | --with-directx[=name] Windows DirectX support (default enabled)" |
|---|
| | 52 | ac_help="$ac_help |
|---|
| 51 | 53 | --with-glide[=name] Glide (3dfx) support (default disabled)" |
|---|
| 52 | 54 | ac_help="$ac_help |
|---|
| … | … | |
| 604 | 606 | |
|---|
| 605 | 607 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|---|
| 606 | | echo "configure:607: checking host system type" >&5 |
|---|
| | 608 | echo "configure:609: checking host system type" >&5 |
|---|
| 607 | 609 | |
|---|
| 608 | 610 | host_alias=$host |
|---|
| … | … | |
| 633 | 635 | |
|---|
| 634 | 636 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
|---|
| 635 | | echo "configure:636: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|---|
| | 637 | echo "configure:638: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|---|
| 636 | 638 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
|---|
| 637 | 639 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
|---|
| … | … | |
| 662 | 664 | set dummy gcc; ac_word=$2 |
|---|
| 663 | 665 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 664 | | echo "configure:665: checking for $ac_word" >&5 |
|---|
| | 666 | echo "configure:667: checking for $ac_word" >&5 |
|---|
| 665 | 667 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 666 | 668 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 692 | 694 | set dummy cc; ac_word=$2 |
|---|
| 693 | 695 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 694 | | echo "configure:695: checking for $ac_word" >&5 |
|---|
| | 696 | echo "configure:697: checking for $ac_word" >&5 |
|---|
| 695 | 697 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 696 | 698 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 743 | 745 | set dummy cl; ac_word=$2 |
|---|
| 744 | 746 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 745 | | echo "configure:746: checking for $ac_word" >&5 |
|---|
| | 747 | echo "configure:748: checking for $ac_word" >&5 |
|---|
| 746 | 748 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|---|
| 747 | 749 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 775 | 777 | |
|---|
| 776 | 778 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|---|
| 777 | | echo "configure:778: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|---|
| | 779 | echo "configure:780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|---|
| 778 | 780 | |
|---|
| 779 | 781 | ac_ext=c |
|---|
| … | … | |
| 786 | 788 | cat > conftest.$ac_ext << EOF |
|---|
| 787 | 789 | |
|---|
| 788 | | #line 789 "configure" |
|---|
| | 790 | #line 791 "configure" |
|---|
| 789 | 791 | #include "confdefs.h" |
|---|
| 790 | 792 | |
|---|
| 791 | 793 | main(){return(0);} |
|---|
| 792 | 794 | EOF |
|---|
| 793 | | if { (eval echo configure:794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 795 | if { (eval echo configure:796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 794 | 796 | ac_cv_prog_cc_works=yes |
|---|
| 795 | 797 | # If we can't run a trivial program, we are probably using a cross compiler. |
|---|
| … | … | |
| 817 | 819 | fi |
|---|
| 818 | 820 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|---|
| 819 | | echo "configure:820: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|---|
| | 821 | echo "configure:822: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|---|
| 820 | 822 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|---|
| 821 | 823 | cross_compiling=$ac_cv_prog_cc_cross |
|---|
| 822 | 824 | |
|---|
| 823 | 825 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|---|
| 824 | | echo "configure:825: checking whether we are using GNU C" >&5 |
|---|
| | 826 | echo "configure:827: checking whether we are using GNU C" >&5 |
|---|
| 825 | 827 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|---|
| 826 | 828 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 831 | 833 | #endif |
|---|
| 832 | 834 | EOF |
|---|
| 833 | | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|---|
| | 835 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|---|
| 834 | 836 | ac_cv_prog_gcc=yes |
|---|
| 835 | 837 | else |
|---|
| … | … | |
| 850 | 852 | CFLAGS= |
|---|
| 851 | 853 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|---|
| 852 | | echo "configure:853: checking whether ${CC-cc} accepts -g" >&5 |
|---|
| | 854 | echo "configure:855: checking whether ${CC-cc} accepts -g" >&5 |
|---|
| 853 | 855 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|---|
| 854 | 856 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 882 | 884 | |
|---|
| 883 | 885 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|---|
| 884 | | echo "configure:885: checking how to run the C preprocessor" >&5 |
|---|
| | 886 | echo "configure:887: checking how to run the C preprocessor" >&5 |
|---|
| 885 | 887 | # On Suns, sometimes $CPP names a directory. |
|---|
| 886 | 888 | if test -n "$CPP" && test -d "$CPP"; then |
|---|
| … | … | |
| 897 | 899 | # not just through 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} -E -traditional-cpp" |
|---|
| 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 |
|---|
| … | … | |
| 931 | 933 | CPP="${CC-cc} -nologo -E" |
|---|
| 932 | 934 | cat > conftest.$ac_ext <<EOF |
|---|
| 933 | | #line 934 "configure" |
|---|
| | 935 | #line 936 "configure" |
|---|
| 934 | 936 | #include "confdefs.h" |
|---|
| 935 | 937 | #include <assert.h> |
|---|
| … | … | |
| 937 | 939 | EOF |
|---|
| 938 | 940 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 939 | | { (eval echo configure:940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 941 | { (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 940 | 942 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 941 | 943 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 964 | 966 | set dummy ranlib; ac_word=$2 |
|---|
| 965 | 967 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 966 | | echo "configure:967: checking for $ac_word" >&5 |
|---|
| | 968 | echo "configure:969: checking for $ac_word" >&5 |
|---|
| 967 | 969 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|---|
| 968 | 970 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 1004 | 1006 | # ./install, which can be erroneously created by make from ./install.sh. |
|---|
| 1005 | 1007 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
|---|
| 1006 | | echo "configure:1007: checking for a BSD compatible install" >&5 |
|---|
| | 1008 | echo "configure:1009: checking for a BSD compatible install" >&5 |
|---|
| 1007 | 1009 | if test -z "$INSTALL"; then |
|---|
| 1008 | 1010 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|---|
| … | … | |
| 1058 | 1060 | |
|---|
| 1059 | 1061 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
|---|
| 1060 | | echo "configure:1061: checking for working const" >&5 |
|---|
| | 1062 | echo "configure:1063: checking for working const" >&5 |
|---|
| 1061 | 1063 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
|---|
| 1062 | 1064 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1063 | 1065 | else |
|---|
| 1064 | 1066 | cat > conftest.$ac_ext <<EOF |
|---|
| 1065 | | #line 1066 "configure" |
|---|
| | 1067 | #line 1068 "configure" |
|---|
| 1066 | 1068 | #include "confdefs.h" |
|---|
| 1067 | 1069 | |
|---|
| … | … | |
| 1112 | 1114 | ; return 0; } |
|---|
| 1113 | 1115 | EOF |
|---|
| 1114 | | if { (eval echo configure:1115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1116 | if { (eval echo configure:1117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1115 | 1117 | rm -rf conftest* |
|---|
| 1116 | 1118 | ac_cv_c_const=yes |
|---|
| … | … | |
| 1135 | 1137 | if test x${cross_compiling} != xyes; then |
|---|
| 1136 | 1138 | echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
|---|
| 1137 | | echo "configure:1138: checking whether byte ordering is bigendian" >&5 |
|---|
| | 1139 | echo "configure:1140: checking whether byte ordering is bigendian" >&5 |
|---|
| 1138 | 1140 | if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
|---|
| 1139 | 1141 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 1142 | 1144 | # See if sys/param.h defines the BYTE_ORDER macro. |
|---|
| 1143 | 1145 | cat > conftest.$ac_ext <<EOF |
|---|
| 1144 | | #line 1145 "configure" |
|---|
| | 1146 | #line 1147 "configure" |
|---|
| 1145 | 1147 | #include "confdefs.h" |
|---|
| 1146 | 1148 | #include <sys/types.h> |
|---|
| … | … | |
| 1153 | 1155 | ; return 0; } |
|---|
| 1154 | 1156 | EOF |
|---|
| 1155 | | if { (eval echo configure:1156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1157 | if { (eval echo configure:1158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1156 | 1158 | rm -rf conftest* |
|---|
| 1157 | 1159 | # It does; now see whether it defined to BIG_ENDIAN or not. |
|---|
| 1158 | 1160 | cat > conftest.$ac_ext <<EOF |
|---|
| 1159 | | #line 1160 "configure" |
|---|
| | 1161 | #line 1162 "configure" |
|---|
| 1160 | 1162 | #include "confdefs.h" |
|---|
| 1161 | 1163 | #include <sys/types.h> |
|---|
| … | … | |
| 1168 | 1170 | ; return 0; } |
|---|
| 1169 | 1171 | EOF |
|---|
| 1170 | | if { (eval echo configure:1171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 1172 | if { (eval echo configure:1173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 1171 | 1173 | rm -rf conftest* |
|---|
| 1172 | 1174 | ac_cv_c_bigendian=yes |
|---|
| … | … | |
| 1188 | 1190 | else |
|---|
| 1189 | 1191 | cat > conftest.$ac_ext <<EOF |
|---|
| 1190 | | #line 1191 "configure" |
|---|
| | 1192 | #line 1193 "configure" |
|---|
| 1191 | 1193 | #include "confdefs.h" |
|---|
| 1192 | 1194 | main () { |
|---|
| … | … | |
| 1201 | 1203 | } |
|---|
| 1202 | 1204 | EOF |
|---|
| 1203 | | if { (eval echo configure:1204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 1205 | if { (eval echo configure:1206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 1204 | 1206 | then |
|---|
| 1205 | 1207 | ac_cv_c_bigendian=no |
|---|
| … | … | |
| 1229 | 1231 | do |
|---|
| 1230 | 1232 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1231 | | echo "configure:1232: checking for $ac_func" >&5 |
|---|
| | 1233 | echo "configure:1234: checking for $ac_func" >&5 |
|---|
| 1232 | 1234 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1233 | 1235 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1234 | 1236 | else |
|---|
| 1235 | 1237 | cat > conftest.$ac_ext <<EOF |
|---|
| 1236 | | #line 1237 "configure" |
|---|
| | 1238 | #line 1239 "configure" |
|---|
| 1237 | 1239 | #include "confdefs.h" |
|---|
| 1238 | 1240 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1257 | 1259 | ; return 0; } |
|---|
| 1258 | 1260 | EOF |
|---|
| 1259 | | if { (eval echo configure:1260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1261 | if { (eval echo configure:1262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1260 | 1262 | rm -rf conftest* |
|---|
| 1261 | 1263 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1284 | 1286 | do |
|---|
| 1285 | 1287 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1286 | | echo "configure:1287: checking for $ac_func" >&5 |
|---|
| | 1288 | echo "configure:1289: checking for $ac_func" >&5 |
|---|
| 1287 | 1289 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1288 | 1290 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1289 | 1291 | else |
|---|
| 1290 | 1292 | cat > conftest.$ac_ext <<EOF |
|---|
| 1291 | | #line 1292 "configure" |
|---|
| | 1293 | #line 1294 "configure" |
|---|
| 1292 | 1294 | #include "confdefs.h" |
|---|
| 1293 | 1295 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1312 | 1314 | ; return 0; } |
|---|
| 1313 | 1315 | EOF |
|---|
| 1314 | | if { (eval echo configure:1315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1316 | if { (eval echo configure:1317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1315 | 1317 | rm -rf conftest* |
|---|
| 1316 | 1318 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1337 | 1339 | |
|---|
| 1338 | 1340 | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
|---|
| 1339 | | echo "configure:1340: checking for connect" >&5 |
|---|
| | 1341 | echo "configure:1342: checking for connect" >&5 |
|---|
| 1340 | 1342 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
|---|
| 1341 | 1343 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1342 | 1344 | else |
|---|
| 1343 | 1345 | cat > conftest.$ac_ext <<EOF |
|---|
| 1344 | | #line 1345 "configure" |
|---|
| | 1346 | #line 1347 "configure" |
|---|
| 1345 | 1347 | #include "confdefs.h" |
|---|
| 1346 | 1348 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1365 | 1367 | ; return 0; } |
|---|
| 1366 | 1368 | EOF |
|---|
| 1367 | | if { (eval echo configure:1368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1369 | if { (eval echo configure:1370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1368 | 1370 | rm -rf conftest* |
|---|
| 1369 | 1371 | eval "ac_cv_func_connect=yes" |
|---|
| … | … | |
| 1384 | 1386 | |
|---|
| 1385 | 1387 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
|---|
| 1386 | | echo "configure:1387: checking for connect in -lsocket" >&5 |
|---|
| | 1388 | echo "configure:1389: checking for connect in -lsocket" >&5 |
|---|
| 1387 | 1389 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
|---|
| 1388 | 1390 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1392 | 1394 | LIBS="-lsocket $LIBS" |
|---|
| 1393 | 1395 | cat > conftest.$ac_ext <<EOF |
|---|
| 1394 | | #line 1395 "configure" |
|---|
| | 1396 | #line 1397 "configure" |
|---|
| 1395 | 1397 | #include "confdefs.h" |
|---|
| 1396 | 1398 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1403 | 1405 | ; return 0; } |
|---|
| 1404 | 1406 | EOF |
|---|
| 1405 | | if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1407 | if { (eval echo configure:1408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1406 | 1408 | rm -rf conftest* |
|---|
| 1407 | 1409 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1427 | 1429 | |
|---|
| 1428 | 1430 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
|---|
| 1429 | | echo "configure:1430: checking for gethostbyname" >&5 |
|---|
| | 1431 | echo "configure:1432: checking for gethostbyname" >&5 |
|---|
| 1430 | 1432 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
|---|
| 1431 | 1433 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1432 | 1434 | else |
|---|
| 1433 | 1435 | cat > conftest.$ac_ext <<EOF |
|---|
| 1434 | | #line 1435 "configure" |
|---|
| | 1436 | #line 1437 "configure" |
|---|
| 1435 | 1437 | #include "confdefs.h" |
|---|
| 1436 | 1438 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1455 | 1457 | ; return 0; } |
|---|
| 1456 | 1458 | EOF |
|---|
| 1457 | | if { (eval echo configure:1458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1459 | if { (eval echo configure:1460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1458 | 1460 | rm -rf conftest* |
|---|
| 1459 | 1461 | eval "ac_cv_func_gethostbyname=yes" |
|---|
| … | … | |
| 1474 | 1476 | |
|---|
| 1475 | 1477 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
|---|
| 1476 | | echo "configure:1477: checking for gethostbyname in -lnsl" >&5 |
|---|
| | 1478 | echo "configure:1479: checking for gethostbyname in -lnsl" >&5 |
|---|
| 1477 | 1479 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
|---|
| 1478 | 1480 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1482 | 1484 | LIBS="-lnsl $LIBS" |
|---|
| 1483 | 1485 | cat > conftest.$ac_ext <<EOF |
|---|
| 1484 | | #line 1485 "configure" |
|---|
| | 1486 | #line 1487 "configure" |
|---|
| 1485 | 1487 | #include "confdefs.h" |
|---|
| 1486 | 1488 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1493 | 1495 | ; return 0; } |
|---|
| 1494 | 1496 | EOF |
|---|
| 1495 | | if { (eval echo configure:1496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1497 | if { (eval echo configure:1498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1496 | 1498 | rm -rf conftest* |
|---|
| 1497 | 1499 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1517 | 1519 | |
|---|
| 1518 | 1520 | echo $ac_n "checking for nanosleep""... $ac_c" 1>&6 |
|---|
| 1519 | | echo "configure:1520: checking for nanosleep" >&5 |
|---|
| | 1521 | echo "configure:1522: checking for nanosleep" >&5 |
|---|
| 1520 | 1522 | if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then |
|---|
| 1521 | 1523 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1522 | 1524 | else |
|---|
| 1523 | 1525 | cat > conftest.$ac_ext <<EOF |
|---|
| 1524 | | #line 1525 "configure" |
|---|
| | 1526 | #line 1527 "configure" |
|---|
| 1525 | 1527 | #include "confdefs.h" |
|---|
| 1526 | 1528 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1545 | 1547 | ; return 0; } |
|---|
| 1546 | 1548 | EOF |
|---|
| 1547 | | if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1549 | if { (eval echo configure:1550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1548 | 1550 | rm -rf conftest* |
|---|
| 1549 | 1551 | eval "ac_cv_func_nanosleep=yes" |
|---|
| … | … | |
| 1564 | 1566 | |
|---|
| 1565 | 1567 | echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6 |
|---|
| 1566 | | echo "configure:1567: checking for nanosleep in -lrt" >&5 |
|---|
| | 1568 | echo "configure:1569: checking for nanosleep in -lrt" >&5 |
|---|
| 1567 | 1569 | ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 1568 | 1570 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1572 | 1574 | LIBS="-lrt $LIBS" |
|---|
| 1573 | 1575 | cat > conftest.$ac_ext <<EOF |
|---|
| 1574 | | #line 1575 "configure" |
|---|
| | 1576 | #line 1577 "configure" |
|---|
| 1575 | 1577 | #include "confdefs.h" |
|---|
| 1576 | 1578 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1583 | 1585 | ; return 0; } |
|---|
| 1584 | 1586 | EOF |
|---|
| 1585 | | if { (eval echo configure:1586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1587 | if { (eval echo configure:1588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1586 | 1588 | rm -rf conftest* |
|---|
| 1587 | 1589 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1603 | 1605 | |
|---|
| 1604 | 1606 | echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 |
|---|
| 1605 | | echo "configure:1606: checking for nanosleep in -lposix4" >&5 |
|---|
| | 1607 | echo "configure:1608: checking for nanosleep in -lposix4" >&5 |
|---|
| 1606 | 1608 | ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 1607 | 1609 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1611 | 1613 | LIBS="-lposix4 $LIBS" |
|---|
| 1612 | 1614 | cat > conftest.$ac_ext <<EOF |
|---|
| 1613 | | #line 1614 "configure" |
|---|
| | 1615 | #line 1616 "configure" |
|---|
| 1614 | 1616 | #include "confdefs.h" |
|---|
| 1615 | 1617 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1622 | 1624 | ; return 0; } |
|---|
| 1623 | 1625 | EOF |
|---|
| 1624 | | if { (eval echo configure:1625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1626 | if { (eval echo configure:1627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1625 | 1627 | rm -rf conftest* |
|---|
| 1626 | 1628 | 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" |
|---|
| … | … | |
| 1751 | 1753 | |
|---|
| 1752 | 1754 | echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 |
|---|
| 1753 | | echo "configure:1754: checking for inet_aton in -lresolv" >&5 |
|---|
| | 1755 | echo "configure:1756: checking for inet_aton in -lresolv" >&5 |
|---|
| 1754 | 1756 | ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` |
|---|
| 1755 | 1757 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1759 | 1761 | LIBS="-lresolv $LIBS" |
|---|
| 1760 | 1762 | cat > conftest.$ac_ext <<EOF |
|---|
| 1761 | | #line 1762 "configure" |
|---|
| | 1763 | #line 1764 "configure" |
|---|
| 1762 | 1764 | #include "confdefs.h" |
|---|
| 1763 | 1765 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1770 | 1772 | ; return 0; } |
|---|
| 1771 | 1773 | EOF |
|---|
| 1772 | | if { (eval echo configure:1773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1774 | if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1773 | 1775 | rm -rf conftest* |
|---|
| 1774 | 1776 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 1796 | 1798 | do |
|---|
| 1797 | 1799 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1798 | | echo "configure:1799: checking for $ac_func" >&5 |
|---|
| | 1800 | echo "configure:1801: checking for $ac_func" >&5 |
|---|
| 1799 | 1801 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1800 | 1802 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1801 | 1803 | else |
|---|
| 1802 | 1804 | cat > conftest.$ac_ext <<EOF |
|---|
| 1803 | | #line 1804 "configure" |
|---|
| | 1805 | #line 1806 "configure" |
|---|
| 1804 | 1806 | #include "confdefs.h" |
|---|
| 1805 | 1807 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1824 | 1826 | ; return 0; } |
|---|
| 1825 | 1827 | EOF |
|---|
| 1826 | | if { (eval echo configure:1827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1828 | if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1827 | 1829 | rm -rf conftest* |
|---|
| 1828 | 1830 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1851 | 1853 | do |
|---|
| 1852 | 1854 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 1853 | | echo "configure:1854: checking for $ac_func" >&5 |
|---|
| | 1855 | echo "configure:1856: checking for $ac_func" >&5 |
|---|
| 1854 | 1856 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 1855 | 1857 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1856 | 1858 | else |
|---|
| 1857 | 1859 | cat > conftest.$ac_ext <<EOF |
|---|
| 1858 | | #line 1859 "configure" |
|---|
| | 1860 | #line 1861 "configure" |
|---|
| 1859 | 1861 | #include "confdefs.h" |
|---|
| 1860 | 1862 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1879 | 1881 | ; return 0; } |
|---|
| 1880 | 1882 | EOF |
|---|
| 1881 | | if { (eval echo configure:1882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1883 | if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1882 | 1884 | rm -rf conftest* |
|---|
| 1883 | 1885 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 1905 | 1907 | |
|---|
| 1906 | 1908 | echo $ac_n "checking for getopt_long""... $ac_c" 1>&6 |
|---|
| 1907 | | echo "configure:1908: checking for getopt_long" >&5 |
|---|
| | 1909 | echo "configure:1910: checking for getopt_long" >&5 |
|---|
| 1908 | 1910 | if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then |
|---|
| 1909 | 1911 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 1910 | 1912 | else |
|---|
| 1911 | 1913 | cat > conftest.$ac_ext <<EOF |
|---|
| 1912 | | #line 1913 "configure" |
|---|
| | 1914 | #line 1915 "configure" |
|---|
| 1913 | 1915 | #include "confdefs.h" |
|---|
| 1914 | 1916 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 1933 | 1935 | ; return 0; } |
|---|
| 1934 | 1936 | EOF |
|---|
| 1935 | | if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1937 | if { (eval echo configure:1938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1936 | 1938 | rm -rf conftest* |
|---|
| 1937 | 1939 | eval "ac_cv_func_getopt_long=yes" |
|---|
| … | … | |
| 1955 | 1957 | # FreeBSD has a gnugetopt library for this: |
|---|
| 1956 | 1958 | echo $ac_n "checking for getopt_long in -lgnugetopt""... $ac_c" 1>&6 |
|---|
| 1957 | | echo "configure:1958: checking for getopt_long in -lgnugetopt" >&5 |
|---|
| | 1959 | echo "configure:1960: checking for getopt_long in -lgnugetopt" >&5 |
|---|
| 1958 | 1960 | ac_lib_var=`echo gnugetopt'_'getopt_long | sed 'y%./+-%__p_%'` |
|---|
| 1959 | 1961 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 1963 | 1965 | LIBS="-lgnugetopt $LIBS" |
|---|
| 1964 | 1966 | cat > conftest.$ac_ext <<EOF |
|---|
| 1965 | | #line 1966 "configure" |
|---|
| | 1967 | #line 1968 "configure" |
|---|
| 1966 | 1968 | #include "confdefs.h" |
|---|
| 1967 | 1969 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 1974 | 1976 | ; return 0; } |
|---|
| 1975 | 1977 | EOF |
|---|
| 1976 | | if { (eval echo configure:1977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 1978 | if { (eval echo configure:1979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 1977 | 1979 | rm -rf conftest* |
|---|
| 1978 | 1980 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2006 | 2008 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2007 | 2009 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2008 | | echo "configure:2009: checking for $ac_hdr" >&5 |
|---|
| | 2010 | echo "configure:2011: checking for $ac_hdr" >&5 |
|---|
| 2009 | 2011 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2010 | 2012 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2011 | 2013 | else |
|---|
| 2012 | 2014 | cat > conftest.$ac_ext <<EOF |
|---|
| 2013 | | #line 2014 "configure" |
|---|
| | 2015 | #line 2016 "configure" |
|---|
| 2014 | 2016 | #include "confdefs.h" |
|---|
| 2015 | 2017 | #include <$ac_hdr> |
|---|
| 2016 | 2018 | EOF |
|---|
| 2017 | 2019 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2018 | | { (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2020 | { (eval echo configure:2021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2019 | 2021 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2020 | 2022 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2045 | 2047 | do |
|---|
| 2046 | 2048 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 2047 | | echo "configure:2048: checking for $ac_func" >&5 |
|---|
| | 2049 | echo "configure:2050: checking for $ac_func" >&5 |
|---|
| 2048 | 2050 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 2049 | 2051 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2050 | 2052 | else |
|---|
| 2051 | 2053 | cat > conftest.$ac_ext <<EOF |
|---|
| 2052 | | #line 2053 "configure" |
|---|
| | 2054 | #line 2055 "configure" |
|---|
| 2053 | 2055 | #include "confdefs.h" |
|---|
| 2054 | 2056 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 2073 | 2075 | ; return 0; } |
|---|
| 2074 | 2076 | EOF |
|---|
| 2075 | | if { (eval echo configure:2076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2077 | if { (eval echo configure:2078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2076 | 2078 | rm -rf conftest* |
|---|
| 2077 | 2079 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 2098 | 2100 | |
|---|
| 2099 | 2101 | echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
|---|
| 2100 | | echo "configure:2101: checking for working mmap" >&5 |
|---|
| | 2102 | echo "configure:2103: checking for working mmap" >&5 |
|---|
| 2101 | 2103 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
|---|
| 2102 | 2104 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2106 | 2108 | else |
|---|
| 2107 | 2109 | cat > conftest.$ac_ext <<EOF |
|---|
| 2108 | | #line 2109 "configure" |
|---|
| | 2110 | #line 2111 "configure" |
|---|
| 2109 | 2111 | #include "confdefs.h" |
|---|
| 2110 | 2112 | |
|---|
| … | … | |
| 2246 | 2248 | |
|---|
| 2247 | 2249 | EOF |
|---|
| 2248 | | if { (eval echo configure:2249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 2250 | if { (eval echo configure:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 2249 | 2251 | then |
|---|
| 2250 | 2252 | ac_cv_func_mmap_fixed_mapped=yes |
|---|
| … | … | |
| 2269 | 2271 | |
|---|
| 2270 | 2272 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
|---|
| 2271 | | echo "configure:2272: checking return type of signal handlers" >&5 |
|---|
| | 2273 | echo "configure:2274: checking return type of signal handlers" >&5 |
|---|
| 2272 | 2274 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
|---|
| 2273 | 2275 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2274 | 2276 | else |
|---|
| 2275 | 2277 | cat > conftest.$ac_ext <<EOF |
|---|
| 2276 | | #line 2277 "configure" |
|---|
| | 2278 | #line 2279 "configure" |
|---|
| 2277 | 2279 | #include "confdefs.h" |
|---|
| 2278 | 2280 | #include <sys/types.h> |
|---|
| … | … | |
| 2291 | 2293 | ; return 0; } |
|---|
| 2292 | 2294 | EOF |
|---|
| 2293 | | if { (eval echo configure:2294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 2295 | if { (eval echo configure:2296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 2294 | 2296 | rm -rf conftest* |
|---|
| 2295 | 2297 | ac_cv_type_signal=void |
|---|
| … | … | |
| 2310 | 2312 | |
|---|
| 2311 | 2313 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
|---|
| 2312 | | echo "configure:2313: checking for dlopen in -ldl" >&5 |
|---|
| | 2314 | echo "configure:2315: checking for dlopen in -ldl" >&5 |
|---|
| 2313 | 2315 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
|---|
| 2314 | 2316 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2318 | 2320 | LIBS="-ldl $LIBS" |
|---|
| 2319 | 2321 | cat > conftest.$ac_ext <<EOF |
|---|
| 2320 | | #line 2321 "configure" |
|---|
| | 2322 | #line 2323 "configure" |
|---|
| 2321 | 2323 | #include "confdefs.h" |
|---|
| 2322 | 2324 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2329 | 2331 | ; return 0; } |
|---|
| 2330 | 2332 | EOF |
|---|
| 2331 | | if { (eval echo configure:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2333 | if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2332 | 2334 | rm -rf conftest* |
|---|
| 2333 | 2335 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2350 | 2352 | |
|---|
| 2351 | 2353 | echo $ac_n "checking for pow in -lm""... $ac_c" 1>&6 |
|---|
| 2352 | | echo "configure:2353: checking for pow in -lm" >&5 |
|---|
| | 2354 | echo "configure:2355: checking for pow in -lm" >&5 |
|---|
| 2353 | 2355 | ac_lib_var=`echo m'_'pow | sed 'y%./+-%__p_%'` |
|---|
| 2354 | 2356 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2358 | 2360 | LIBS="-lm $LIBS" |
|---|
| 2359 | 2361 | cat > conftest.$ac_ext <<EOF |
|---|
| 2360 | | #line 2361 "configure" |
|---|
| | 2362 | #line 2363 "configure" |
|---|
| 2361 | 2363 | #include "confdefs.h" |
|---|
| 2362 | 2364 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2369 | 2371 | ; return 0; } |
|---|
| 2370 | 2372 | EOF |
|---|
| 2371 | | if { (eval echo configure:2372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2373 | if { (eval echo configure:2374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2372 | 2374 | rm -rf conftest* |
|---|
| 2373 | 2375 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2395 | 2397 | PTHREAD_LIBS=error |
|---|
| 2396 | 2398 | echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6 |
|---|
| 2397 | | echo "configure:2398: checking for pthread_attr_init in -lpthread" >&5 |
|---|
| | 2399 | echo "configure:2400: checking for pthread_attr_init in -lpthread" >&5 |
|---|
| 2398 | 2400 | ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'` |
|---|
| 2399 | 2401 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2403 | 2405 | LIBS="-lpthread $LIBS" |
|---|
| 2404 | 2406 | cat > conftest.$ac_ext <<EOF |
|---|
| 2405 | | #line 2406 "configure" |
|---|
| | 2407 | #line 2408 "configure" |
|---|
| 2406 | 2408 | #include "confdefs.h" |
|---|
| 2407 | 2409 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2414 | 2416 | ; return 0; } |
|---|
| 2415 | 2417 | EOF |
|---|
| 2416 | | if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2418 | if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2417 | 2419 | rm -rf conftest* |
|---|
| 2418 | 2420 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2434 | 2436 | fi |
|---|
| 2435 | 2437 | |
|---|
| 2436 | | if test "x$PTHREAD_LIBS" = xerror; then |
|---|
| | 2438 | if test "x${PTHREAD_LIBS}" = xerror; then |
|---|
| 2437 | 2439 | echo $ac_n "checking for pthread_attr_init in -lpthreads""... $ac_c" 1>&6 |
|---|
| 2438 | | echo "configure:2439: checking for pthread_attr_init in -lpthreads" >&5 |
|---|
| | 2440 | echo "configure:2441: checking for pthread_attr_init in -lpthreads" >&5 |
|---|
| 2439 | 2441 | ac_lib_var=`echo pthreads'_'pthread_attr_init | sed 'y%./+-%__p_%'` |
|---|
| 2440 | 2442 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2444 | 2446 | LIBS="-lpthreads $LIBS" |
|---|
| 2445 | 2447 | cat > conftest.$ac_ext <<EOF |
|---|
| 2446 | | #line 2447 "configure" |
|---|
| | 2448 | #line 2449 "configure" |
|---|
| 2447 | 2449 | #include "confdefs.h" |
|---|
| 2448 | 2450 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2455 | 2457 | ; return 0; } |
|---|
| 2456 | 2458 | EOF |
|---|
| 2457 | | if { (eval echo configure:2458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2459 | if { (eval echo configure:2460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2458 | 2460 | rm -rf conftest* |
|---|
| 2459 | 2461 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2476 | 2478 | |
|---|
| 2477 | 2479 | fi |
|---|
| 2478 | | if test "x$PTHREAD_LIBS" = xerror; then |
|---|
| | 2480 | if test "x${PTHREAD_LIBS}" = xerror; then |
|---|
| 2479 | 2481 | echo $ac_n "checking for pthread_attr_init in -lc_r""... $ac_c" 1>&6 |
|---|
| 2480 | | echo "configure:2481: checking for pthread_attr_init in -lc_r" >&5 |
|---|
| | 2482 | echo "configure:2483: checking for pthread_attr_init in -lc_r" >&5 |
|---|
| 2481 | 2483 | ac_lib_var=`echo c_r'_'pthread_attr_init | sed 'y%./+-%__p_%'` |
|---|
| 2482 | 2484 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 2486 | 2488 | LIBS="-lc_r $LIBS" |
|---|
| 2487 | 2489 | cat > conftest.$ac_ext <<EOF |
|---|
| 2488 | | #line 2489 "configure" |
|---|
| | 2490 | #line 2491 "configure" |
|---|
| 2489 | 2491 | #include "confdefs.h" |
|---|
| 2490 | 2492 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 2497 | 2499 | ; return 0; } |
|---|
| 2498 | 2500 | EOF |
|---|
| 2499 | | if { (eval echo configure:2500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2501 | if { (eval echo configure:2502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2500 | 2502 | rm -rf conftest* |
|---|
| 2501 | 2503 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 2518 | 2520 | |
|---|
| 2519 | 2521 | fi |
|---|
| 2520 | | if test "x$PTHREAD_LIBS" = xerror; then |
|---|
| | 2522 | if test "x${PTHREAD_LIBS}" = xerror; then |
|---|
| 2521 | 2523 | PTHREAD_LIBS="" |
|---|
| 2522 | 2524 | echo $ac_n "checking for pthread_attr_init""... $ac_c" 1>&6 |
|---|
| 2523 | | echo "configure:2524: checking for pthread_attr_init" >&5 |
|---|
| | 2525 | echo "configure:2526: checking for pthread_attr_init" >&5 |
|---|
| 2524 | 2526 | if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_init'+set}'`\" = set"; then |
|---|
| 2525 | 2527 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2526 | 2528 | else |
|---|
| 2527 | 2529 | cat > conftest.$ac_ext <<EOF |
|---|
| 2528 | | #line 2529 "configure" |
|---|
| | 2530 | #line 2531 "configure" |
|---|
| 2529 | 2531 | #include "confdefs.h" |
|---|
| 2530 | 2532 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 2549 | 2551 | ; return 0; } |
|---|
| 2550 | 2552 | EOF |
|---|
| 2551 | | if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2553 | if { (eval echo configure:2554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2552 | 2554 | rm -rf conftest* |
|---|
| 2553 | 2555 | eval "ac_cv_func_pthread_attr_init=yes" |
|---|
| … | … | |
| 2572 | 2574 | |
|---|
| 2573 | 2575 | cat > conftest.$ac_ext <<EOF |
|---|
| 2574 | | #line 2575 "configure" |
|---|
| | 2576 | #line 2577 "configure" |
|---|
| 2575 | 2577 | #include "confdefs.h" |
|---|
| 2576 | 2578 | #include <pthread.h> |
|---|
| … | … | |
| 2589 | 2591 | |
|---|
| 2590 | 2592 | cat > conftest.$ac_ext <<EOF |
|---|
| 2591 | | #line 2592 "configure" |
|---|
| | 2593 | #line 2594 "configure" |
|---|
| 2592 | 2594 | #include "confdefs.h" |
|---|
| 2593 | 2595 | #include <strings.h> |
|---|
| … | … | |
| 2610 | 2612 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2611 | 2613 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2612 | | echo "configure:2613: checking for $ac_hdr" >&5 |
|---|
| | 2614 | echo "configure:2615: checking for $ac_hdr" >&5 |
|---|
| 2613 | 2615 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2614 | 2616 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2615 | 2617 | else |
|---|
| 2616 | 2618 | cat > conftest.$ac_ext <<EOF |
|---|
| 2617 | | #line 2618 "configure" |
|---|
| | 2619 | #line 2620 "configure" |
|---|
| 2618 | 2620 | #include "confdefs.h" |
|---|
| 2619 | 2621 | #include <$ac_hdr> |
|---|
| 2620 | 2622 | EOF |
|---|
| 2621 | 2623 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2622 | | { (eval echo configure:2623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2624 | { (eval echo configure:2625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2623 | 2625 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2624 | 2626 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2650 | 2652 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2651 | 2653 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2652 | | echo "configure:2653: checking for $ac_hdr" >&5 |
|---|
| | 2654 | echo "configure:2655: checking for $ac_hdr" >&5 |
|---|
| 2653 | 2655 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2654 | 2656 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2655 | 2657 | else |
|---|
| 2656 | 2658 | cat > conftest.$ac_ext <<EOF |
|---|
| 2657 | | #line 2658 "configure" |
|---|
| | 2659 | #line 2660 "configure" |
|---|
| 2658 | 2660 | #include "confdefs.h" |
|---|
| 2659 | 2661 | #include <$ac_hdr> |
|---|
| 2660 | 2662 | EOF |
|---|
| 2661 | 2663 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2662 | | { (eval echo configure:2663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2664 | { (eval echo configure:2665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2663 | 2665 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2664 | 2666 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2690 | 2692 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2691 | 2693 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2692 | | echo "configure:2693: checking for $ac_hdr" >&5 |
|---|
| | 2694 | echo "configure:2695: checking for $ac_hdr" >&5 |
|---|
| 2693 | 2695 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2694 | 2696 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2695 | 2697 | else |
|---|
| 2696 | 2698 | cat > conftest.$ac_ext <<EOF |
|---|
| 2697 | | #line 2698 "configure" |
|---|
| | 2699 | #line 2700 "configure" |
|---|
| 2698 | 2700 | #include "confdefs.h" |
|---|
| 2699 | 2701 | #include <$ac_hdr> |
|---|
| 2700 | 2702 | EOF |
|---|
| 2701 | 2703 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2702 | | { (eval echo configure:2703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2704 | { (eval echo configure:2705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2703 | 2705 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2704 | 2706 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2730 | 2732 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|