546 |
|
|
547 |
|
|
548 |
|
|
549 |
– |
WANT_XF86_DGA=yes |
550 |
– |
WANT_FBDEV_DGA=yes |
551 |
– |
WANT_ESD=yes |
552 |
– |
WANT_UI=yes |
549 |
|
# Check whether --enable-xf86-dga or --disable-xf86-dga was given. |
550 |
|
if test "${enable_xf86_dga+set}" = set; then |
551 |
|
enableval="$enable_xf86_dga" |
552 |
|
WANT_XF86_DGA=$enableval |
553 |
+ |
else |
554 |
+ |
WANT_XF86_DGA=yes |
555 |
|
fi |
556 |
|
|
557 |
|
# Check whether --enable-fbdev-dga or --disable-fbdev-dga was given. |
558 |
|
if test "${enable_fbdev_dga+set}" = set; then |
559 |
|
enableval="$enable_fbdev_dga" |
560 |
|
WANT_FBDEV_DGA=$enableval |
561 |
+ |
else |
562 |
+ |
WANT_FBDEV_DGA=yes |
563 |
|
fi |
564 |
|
|
565 |
|
# Check whether --enable-esd or --disable-esd was given. |
566 |
|
if test "${enable_esd+set}" = set; then |
567 |
|
enableval="$enable_esd" |
568 |
|
WANT_ESD=$enableval |
569 |
+ |
else |
570 |
+ |
WANT_ESD=yes |
571 |
|
fi |
572 |
|
|
573 |
|
# Check whether --enable-ui or --disable-ui was given. |
574 |
|
if test "${enable_ui+set}" = set; then |
575 |
|
enableval="$enable_ui" |
576 |
|
WANT_UI=$enableval |
577 |
+ |
else |
578 |
+ |
WANT_UI=yes |
579 |
|
fi |
580 |
|
|
581 |
|
|
582 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
583 |
|
set dummy gcc; ac_word=$2 |
584 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
585 |
< |
echo "configure:582: checking for $ac_word" >&5 |
585 |
> |
echo "configure:586: checking for $ac_word" >&5 |
586 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
587 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
588 |
|
else |
612 |
|
# Extract the first word of "cc", so it can be a program name with args. |
613 |
|
set dummy cc; ac_word=$2 |
614 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
615 |
< |
echo "configure:612: checking for $ac_word" >&5 |
615 |
> |
echo "configure:616: checking for $ac_word" >&5 |
616 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
617 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
618 |
|
else |
663 |
|
# Extract the first word of "cl", so it can be a program name with args. |
664 |
|
set dummy cl; ac_word=$2 |
665 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
666 |
< |
echo "configure:663: checking for $ac_word" >&5 |
666 |
> |
echo "configure:667: checking for $ac_word" >&5 |
667 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
668 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
669 |
|
else |
695 |
|
fi |
696 |
|
|
697 |
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
698 |
< |
echo "configure:695: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
698 |
> |
echo "configure:699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
699 |
|
|
700 |
|
ac_ext=c |
701 |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
706 |
|
|
707 |
|
cat > conftest.$ac_ext << EOF |
708 |
|
|
709 |
< |
#line 706 "configure" |
709 |
> |
#line 710 "configure" |
710 |
|
#include "confdefs.h" |
711 |
|
|
712 |
|
main(){return(0);} |
713 |
|
EOF |
714 |
< |
if { (eval echo configure:711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
714 |
> |
if { (eval echo configure:715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
715 |
|
ac_cv_prog_cc_works=yes |
716 |
|
# If we can't run a trivial program, we are probably using a cross compiler. |
717 |
|
if (./conftest; exit) 2>/dev/null; then |
737 |
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
738 |
|
fi |
739 |
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
740 |
< |
echo "configure:737: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
740 |
> |
echo "configure:741: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
741 |
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
742 |
|
cross_compiling=$ac_cv_prog_cc_cross |
743 |
|
|
744 |
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
745 |
< |
echo "configure:742: checking whether we are using GNU C" >&5 |
745 |
> |
echo "configure:746: checking whether we are using GNU C" >&5 |
746 |
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
747 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
748 |
|
else |
751 |
|
yes; |
752 |
|
#endif |
753 |
|
EOF |
754 |
< |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
754 |
> |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
755 |
|
ac_cv_prog_gcc=yes |
756 |
|
else |
757 |
|
ac_cv_prog_gcc=no |
770 |
|
ac_save_CFLAGS="$CFLAGS" |
771 |
|
CFLAGS= |
772 |
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
773 |
< |
echo "configure:770: checking whether ${CC-cc} accepts -g" >&5 |
773 |
> |
echo "configure:774: checking whether ${CC-cc} accepts -g" >&5 |
774 |
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
775 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
776 |
|
else |
802 |
|
fi |
803 |
|
|
804 |
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
805 |
< |
echo "configure:802: checking how to run the C preprocessor" >&5 |
805 |
> |
echo "configure:806: checking how to run the C preprocessor" >&5 |
806 |
|
# On Suns, sometimes $CPP names a directory. |
807 |
|
if test -n "$CPP" && test -d "$CPP"; then |
808 |
|
CPP= |
817 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
818 |
|
# not just through cpp. |
819 |
|
cat > conftest.$ac_ext <<EOF |
820 |
< |
#line 817 "configure" |
820 |
> |
#line 821 "configure" |
821 |
|
#include "confdefs.h" |
822 |
|
#include <assert.h> |
823 |
|
Syntax Error |
824 |
|
EOF |
825 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
826 |
< |
{ (eval echo configure:823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
826 |
> |
{ (eval echo configure:827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
827 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
828 |
|
if test -z "$ac_err"; then |
829 |
|
: |
834 |
|
rm -rf conftest* |
835 |
|
CPP="${CC-cc} -E -traditional-cpp" |
836 |
|
cat > conftest.$ac_ext <<EOF |
837 |
< |
#line 834 "configure" |
837 |
> |
#line 838 "configure" |
838 |
|
#include "confdefs.h" |
839 |
|
#include <assert.h> |
840 |
|
Syntax Error |
841 |
|
EOF |
842 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
843 |
< |
{ (eval echo configure:840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
843 |
> |
{ (eval echo configure:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
844 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
845 |
|
if test -z "$ac_err"; then |
846 |
|
: |
851 |
|
rm -rf conftest* |
852 |
|
CPP="${CC-cc} -nologo -E" |
853 |
|
cat > conftest.$ac_ext <<EOF |
854 |
< |
#line 851 "configure" |
854 |
> |
#line 855 "configure" |
855 |
|
#include "confdefs.h" |
856 |
|
#include <assert.h> |
857 |
|
Syntax Error |
858 |
|
EOF |
859 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
860 |
< |
{ (eval echo configure:857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
860 |
> |
{ (eval echo configure:861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
861 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
862 |
|
if test -z "$ac_err"; then |
863 |
|
: |
886 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
887 |
|
set dummy $ac_prog; ac_word=$2 |
888 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
889 |
< |
echo "configure:886: checking for $ac_word" >&5 |
889 |
> |
echo "configure:890: checking for $ac_word" >&5 |
890 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
891 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
892 |
|
else |
918 |
|
|
919 |
|
|
920 |
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
921 |
< |
echo "configure:918: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
921 |
> |
echo "configure:922: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
922 |
|
|
923 |
|
ac_ext=C |
924 |
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
929 |
|
|
930 |
|
cat > conftest.$ac_ext << EOF |
931 |
|
|
932 |
< |
#line 929 "configure" |
932 |
> |
#line 933 "configure" |
933 |
|
#include "confdefs.h" |
934 |
|
|
935 |
|
int main(){return(0);} |
936 |
|
EOF |
937 |
< |
if { (eval echo configure:934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
937 |
> |
if { (eval echo configure:938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
938 |
|
ac_cv_prog_cxx_works=yes |
939 |
|
# If we can't run a trivial program, we are probably using a cross compiler. |
940 |
|
if (./conftest; exit) 2>/dev/null; then |
960 |
|
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
961 |
|
fi |
962 |
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
963 |
< |
echo "configure:960: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
963 |
> |
echo "configure:964: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
964 |
|
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
965 |
|
cross_compiling=$ac_cv_prog_cxx_cross |
966 |
|
|
967 |
|
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
968 |
< |
echo "configure:965: checking whether we are using GNU C++" >&5 |
968 |
> |
echo "configure:969: checking whether we are using GNU C++" >&5 |
969 |
|
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
970 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
971 |
|
else |
974 |
|
yes; |
975 |
|
#endif |
976 |
|
EOF |
977 |
< |
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
977 |
> |
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
978 |
|
ac_cv_prog_gxx=yes |
979 |
|
else |
980 |
|
ac_cv_prog_gxx=no |
993 |
|
ac_save_CXXFLAGS="$CXXFLAGS" |
994 |
|
CXXFLAGS= |
995 |
|
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
996 |
< |
echo "configure:993: checking whether ${CXX-g++} accepts -g" >&5 |
996 |
> |
echo "configure:997: checking whether ${CXX-g++} accepts -g" >&5 |
997 |
|
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
998 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
999 |
|
else |
1025 |
|
fi |
1026 |
|
|
1027 |
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
1028 |
< |
echo "configure:1025: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
1028 |
> |
echo "configure:1029: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
1029 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
1030 |
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
1031 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1082 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1083 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
1084 |
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
1085 |
< |
echo "configure:1082: checking for a BSD compatible install" >&5 |
1085 |
> |
echo "configure:1086: checking for a BSD compatible install" >&5 |
1086 |
|
if test -z "$INSTALL"; then |
1087 |
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
1088 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1137 |
|
|
1138 |
|
MONSRCS= |
1139 |
|
echo $ac_n "checking for mon""... $ac_c" 1>&6 |
1140 |
< |
echo "configure:1137: checking for mon" >&5 |
1140 |
> |
echo "configure:1141: checking for mon" >&5 |
1141 |
|
if grep mon_init ../../../mon/src/mon.h >/dev/null 2>/dev/null; then |
1142 |
|
echo "$ac_t""yes" 1>&6 |
1143 |
+ |
WANT_MON=yes |
1144 |
|
DEFINES="$DEFINES -DENABLE_MON=1" |
1145 |
|
MONSRCS="../../../mon/src/mon.cpp ../../../mon/src/mon_6502.cpp ../../../mon/src/mon_68k.cpp ../../../mon/src/mon_8080.cpp ../../../mon/src/mon_cmd.cpp ../../../mon/src/mon_ppc.cpp ../../../mon/src/mon_x86.cpp" |
1146 |
|
CXXFLAGS="$CXXFLAGS -I../../../mon/src" |
1147 |
|
else |
1148 |
|
echo "$ac_t""no" 1>&6 |
1149 |
+ |
WANT_MON=no |
1150 |
|
DEFINES="$DEFINES -DENABLE_MON=0" |
1151 |
|
fi |
1152 |
|
|
1153 |
|
echo $ac_n "checking for sem_init in -lposix4""... $ac_c" 1>&6 |
1154 |
< |
echo "configure:1149: checking for sem_init in -lposix4" >&5 |
1154 |
> |
echo "configure:1155: checking for sem_init in -lposix4" >&5 |
1155 |
|
ac_lib_var=`echo posix4'_'sem_init | sed 'y%./+-%__p_%'` |
1156 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1157 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1159 |
|
ac_save_LIBS="$LIBS" |
1160 |
|
LIBS="-lposix4 $LIBS" |
1161 |
|
cat > conftest.$ac_ext <<EOF |
1162 |
< |
#line 1157 "configure" |
1162 |
> |
#line 1163 "configure" |
1163 |
|
#include "confdefs.h" |
1164 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
1165 |
|
/* We use char because int might match the return type of a gcc2 |
1170 |
|
sem_init() |
1171 |
|
; return 0; } |
1172 |
|
EOF |
1173 |
< |
if { (eval echo configure:1168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1173 |
> |
if { (eval echo configure:1174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1174 |
|
rm -rf conftest* |
1175 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1176 |
|
else |
1203 |
|
# Uses ac_ vars as temps to allow command line to override cache and checks. |
1204 |
|
# --without-x overrides everything else, but does not touch the cache. |
1205 |
|
echo $ac_n "checking for X""... $ac_c" 1>&6 |
1206 |
< |
echo "configure:1201: checking for X" >&5 |
1206 |
> |
echo "configure:1207: checking for X" >&5 |
1207 |
|
|
1208 |
|
# Check whether --with-x or --without-x was given. |
1209 |
|
if test "${with_x+set}" = set; then |
1265 |
|
|
1266 |
|
# First, try using that file with no special directory specified. |
1267 |
|
cat > conftest.$ac_ext <<EOF |
1268 |
< |
#line 1263 "configure" |
1268 |
> |
#line 1269 "configure" |
1269 |
|
#include "confdefs.h" |
1270 |
|
#include <$x_direct_test_include> |
1271 |
|
EOF |
1272 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1273 |
< |
{ (eval echo configure:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1273 |
> |
{ (eval echo configure:1274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1274 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1275 |
|
if test -z "$ac_err"; then |
1276 |
|
rm -rf conftest* |
1339 |
|
ac_save_LIBS="$LIBS" |
1340 |
|
LIBS="-l$x_direct_test_library $LIBS" |
1341 |
|
cat > conftest.$ac_ext <<EOF |
1342 |
< |
#line 1337 "configure" |
1342 |
> |
#line 1343 "configure" |
1343 |
|
#include "confdefs.h" |
1344 |
|
|
1345 |
|
int main() { |
1346 |
|
${x_direct_test_function}() |
1347 |
|
; return 0; } |
1348 |
|
EOF |
1349 |
< |
if { (eval echo configure:1344: \"$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 |
1350 |
|
rm -rf conftest* |
1351 |
|
LIBS="$ac_save_LIBS" |
1352 |
|
# We can link X programs with no special library path. |
1452 |
|
case "`(uname -sr) 2>/dev/null`" in |
1453 |
|
"SunOS 5"*) |
1454 |
|
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
1455 |
< |
echo "configure:1450: checking whether -R must be followed by a space" >&5 |
1455 |
> |
echo "configure:1456: checking whether -R must be followed by a space" >&5 |
1456 |
|
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
1457 |
|
cat > conftest.$ac_ext <<EOF |
1458 |
< |
#line 1453 "configure" |
1458 |
> |
#line 1459 "configure" |
1459 |
|
#include "confdefs.h" |
1460 |
|
|
1461 |
|
int main() { |
1462 |
|
|
1463 |
|
; return 0; } |
1464 |
|
EOF |
1465 |
< |
if { (eval echo configure:1460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1465 |
> |
if { (eval echo configure:1466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1466 |
|
rm -rf conftest* |
1467 |
|
ac_R_nospace=yes |
1468 |
|
else |
1478 |
|
else |
1479 |
|
LIBS="$ac_xsave_LIBS -R $x_libraries" |
1480 |
|
cat > conftest.$ac_ext <<EOF |
1481 |
< |
#line 1476 "configure" |
1481 |
> |
#line 1482 "configure" |
1482 |
|
#include "confdefs.h" |
1483 |
|
|
1484 |
|
int main() { |
1485 |
|
|
1486 |
|
; return 0; } |
1487 |
|
EOF |
1488 |
< |
if { (eval echo configure:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1488 |
> |
if { (eval echo configure:1489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1489 |
|
rm -rf conftest* |
1490 |
|
ac_R_space=yes |
1491 |
|
else |
1517 |
|
# libraries were built with DECnet support. And karl@cs.umb.edu says |
1518 |
|
# the Alpha needs dnet_stub (dnet does not exist). |
1519 |
|
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
1520 |
< |
echo "configure:1515: checking for dnet_ntoa in -ldnet" >&5 |
1520 |
> |
echo "configure:1521: checking for dnet_ntoa in -ldnet" >&5 |
1521 |
|
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
1522 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1523 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1525 |
|
ac_save_LIBS="$LIBS" |
1526 |
|
LIBS="-ldnet $LIBS" |
1527 |
|
cat > conftest.$ac_ext <<EOF |
1528 |
< |
#line 1523 "configure" |
1528 |
> |
#line 1529 "configure" |
1529 |
|
#include "confdefs.h" |
1530 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
1531 |
|
/* We use char because int might match the return type of a gcc2 |
1536 |
|
dnet_ntoa() |
1537 |
|
; return 0; } |
1538 |
|
EOF |
1539 |
< |
if { (eval echo configure:1534: \"$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 |
1540 |
|
rm -rf conftest* |
1541 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1542 |
|
else |
1558 |
|
|
1559 |
|
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
1560 |
|
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
1561 |
< |
echo "configure:1556: checking for dnet_ntoa in -ldnet_stub" >&5 |
1561 |
> |
echo "configure:1562: checking for dnet_ntoa in -ldnet_stub" >&5 |
1562 |
|
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
1563 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1564 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1566 |
|
ac_save_LIBS="$LIBS" |
1567 |
|
LIBS="-ldnet_stub $LIBS" |
1568 |
|
cat > conftest.$ac_ext <<EOF |
1569 |
< |
#line 1564 "configure" |
1569 |
> |
#line 1570 "configure" |
1570 |
|
#include "confdefs.h" |
1571 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
1572 |
|
/* We use char because int might match the return type of a gcc2 |
1577 |
|
dnet_ntoa() |
1578 |
|
; return 0; } |
1579 |
|
EOF |
1580 |
< |
if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1580 |
> |
if { (eval echo configure:1581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1581 |
|
rm -rf conftest* |
1582 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1583 |
|
else |
1606 |
|
# The nsl library prevents programs from opening the X display |
1607 |
|
# on Irix 5.2, according to dickey@clark.net. |
1608 |
|
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
1609 |
< |
echo "configure:1604: checking for gethostbyname" >&5 |
1609 |
> |
echo "configure:1610: checking for gethostbyname" >&5 |
1610 |
|
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
1611 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1612 |
|
else |
1613 |
|
cat > conftest.$ac_ext <<EOF |
1614 |
< |
#line 1609 "configure" |
1614 |
> |
#line 1615 "configure" |
1615 |
|
#include "confdefs.h" |
1616 |
|
/* System header to define __stub macros and hopefully few prototypes, |
1617 |
|
which can conflict with char gethostbyname(); below. */ |
1634 |
|
|
1635 |
|
; return 0; } |
1636 |
|
EOF |
1637 |
< |
if { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1637 |
> |
if { (eval echo configure:1638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1638 |
|
rm -rf conftest* |
1639 |
|
eval "ac_cv_func_gethostbyname=yes" |
1640 |
|
else |
1655 |
|
|
1656 |
|
if test $ac_cv_func_gethostbyname = no; then |
1657 |
|
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
1658 |
< |
echo "configure:1653: checking for gethostbyname in -lnsl" >&5 |
1658 |
> |
echo "configure:1659: checking for gethostbyname in -lnsl" >&5 |
1659 |
|
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
1660 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1661 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1663 |
|
ac_save_LIBS="$LIBS" |
1664 |
|
LIBS="-lnsl $LIBS" |
1665 |
|
cat > conftest.$ac_ext <<EOF |
1666 |
< |
#line 1661 "configure" |
1666 |
> |
#line 1667 "configure" |
1667 |
|
#include "confdefs.h" |
1668 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
1669 |
|
/* We use char because int might match the return type of a gcc2 |
1674 |
|
gethostbyname() |
1675 |
|
; return 0; } |
1676 |
|
EOF |
1677 |
< |
if { (eval echo configure:1672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1677 |
> |
if { (eval echo configure:1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1678 |
|
rm -rf conftest* |
1679 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1680 |
|
else |
1704 |
|
# -lsocket must be given before -lnsl if both are needed. |
1705 |
|
# We assume that if connect needs -lnsl, so does gethostbyname. |
1706 |
|
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
1707 |
< |
echo "configure:1702: checking for connect" >&5 |
1707 |
> |
echo "configure:1708: checking for connect" >&5 |
1708 |
|
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
1709 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1710 |
|
else |
1711 |
|
cat > conftest.$ac_ext <<EOF |
1712 |
< |
#line 1707 "configure" |
1712 |
> |
#line 1713 "configure" |
1713 |
|
#include "confdefs.h" |
1714 |
|
/* System header to define __stub macros and hopefully few prototypes, |
1715 |
|
which can conflict with char connect(); below. */ |
1732 |
|
|
1733 |
|
; return 0; } |
1734 |
|
EOF |
1735 |
< |
if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1735 |
> |
if { (eval echo configure:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1736 |
|
rm -rf conftest* |
1737 |
|
eval "ac_cv_func_connect=yes" |
1738 |
|
else |
1753 |
|
|
1754 |
|
if test $ac_cv_func_connect = no; then |
1755 |
|
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
1756 |
< |
echo "configure:1751: checking for connect in -lsocket" >&5 |
1756 |
> |
echo "configure:1757: checking for connect in -lsocket" >&5 |
1757 |
|
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
1758 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1759 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1761 |
|
ac_save_LIBS="$LIBS" |
1762 |
|
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
1763 |
|
cat > conftest.$ac_ext <<EOF |
1764 |
< |
#line 1759 "configure" |
1764 |
> |
#line 1765 "configure" |
1765 |
|
#include "confdefs.h" |
1766 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
1767 |
|
/* We use char because int might match the return type of a gcc2 |
1772 |
|
connect() |
1773 |
|
; return 0; } |
1774 |
|
EOF |
1775 |
< |
if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1775 |
> |
if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1776 |
|
rm -rf conftest* |
1777 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1778 |
|
else |
1796 |
|
|
1797 |
|
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
1798 |
|
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
1799 |
< |
echo "configure:1794: checking for remove" >&5 |
1799 |
> |
echo "configure:1800: checking for remove" >&5 |
1800 |
|
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
1801 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1802 |
|
else |
1803 |
|
cat > conftest.$ac_ext <<EOF |
1804 |
< |
#line 1799 "configure" |
1804 |
> |
#line 1805 "configure" |
1805 |
|
#include "confdefs.h" |
1806 |
|
/* System header to define __stub macros and hopefully few prototypes, |
1807 |
|
which can conflict with char remove(); below. */ |
1824 |
|
|
1825 |
|
; return 0; } |
1826 |
|
EOF |
1827 |
< |
if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1827 |
> |
if { (eval echo configure:1828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1828 |
|
rm -rf conftest* |
1829 |
|
eval "ac_cv_func_remove=yes" |
1830 |
|
else |
1845 |
|
|
1846 |
|
if test $ac_cv_func_remove = no; then |
1847 |
|
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
1848 |
< |
echo "configure:1843: checking for remove in -lposix" >&5 |
1848 |
> |
echo "configure:1849: checking for remove in -lposix" >&5 |
1849 |
|
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
1850 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1851 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1853 |
|
ac_save_LIBS="$LIBS" |
1854 |
|
LIBS="-lposix $LIBS" |
1855 |
|
cat > conftest.$ac_ext <<EOF |
1856 |
< |
#line 1851 "configure" |
1856 |
> |
#line 1857 "configure" |
1857 |
|
#include "confdefs.h" |
1858 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
1859 |
|
/* We use char because int might match the return type of a gcc2 |
1864 |
|
remove() |
1865 |
|
; return 0; } |
1866 |
|
EOF |
1867 |
< |
if { (eval echo configure:1862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1867 |
> |
if { (eval echo configure:1868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1868 |
|
rm -rf conftest* |
1869 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1870 |
|
else |
1888 |
|
|
1889 |
|
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
1890 |
|
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
1891 |
< |
echo "configure:1886: checking for shmat" >&5 |
1891 |
> |
echo "configure:1892: checking for shmat" >&5 |
1892 |
|
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
1893 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1894 |
|
else |
1895 |
|
cat > conftest.$ac_ext <<EOF |
1896 |
< |
#line 1891 "configure" |
1896 |
> |
#line 1897 "configure" |
1897 |
|
#include "confdefs.h" |
1898 |
|
/* System header to define __stub macros and hopefully few prototypes, |
1899 |
|
which can conflict with char shmat(); below. */ |
1916 |
|
|
1917 |
|
; return 0; } |
1918 |
|
EOF |
1919 |
< |
if { (eval echo configure:1914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1919 |
> |
if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1920 |
|
rm -rf conftest* |
1921 |
|
eval "ac_cv_func_shmat=yes" |
1922 |
|
else |
1937 |
|
|
1938 |
|
if test $ac_cv_func_shmat = no; then |
1939 |
|
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
1940 |
< |
echo "configure:1935: checking for shmat in -lipc" >&5 |
1940 |
> |
echo "configure:1941: checking for shmat in -lipc" >&5 |
1941 |
|
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
1942 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1943 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1945 |
|
ac_save_LIBS="$LIBS" |
1946 |
|
LIBS="-lipc $LIBS" |
1947 |
|
cat > conftest.$ac_ext <<EOF |
1948 |
< |
#line 1943 "configure" |
1948 |
> |
#line 1949 "configure" |
1949 |
|
#include "confdefs.h" |
1950 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
1951 |
|
/* We use char because int might match the return type of a gcc2 |
1956 |
|
shmat() |
1957 |
|
; return 0; } |
1958 |
|
EOF |
1959 |
< |
if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1959 |
> |
if { (eval echo configure:1960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1960 |
|
rm -rf conftest* |
1961 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
1962 |
|
else |
1989 |
|
# libraries we check for below, so use a different variable. |
1990 |
|
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
1991 |
|
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
1992 |
< |
echo "configure:1987: checking for IceConnectionNumber in -lICE" >&5 |
1992 |
> |
echo "configure:1993: checking for IceConnectionNumber in -lICE" >&5 |
1993 |
|
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
1994 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1995 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
1997 |
|
ac_save_LIBS="$LIBS" |
1998 |
|
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
1999 |
|
cat > conftest.$ac_ext <<EOF |
2000 |
< |
#line 1995 "configure" |
2000 |
> |
#line 2001 "configure" |
2001 |
|
#include "confdefs.h" |
2002 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2003 |
|
/* We use char because int might match the return type of a gcc2 |
2008 |
|
IceConnectionNumber() |
2009 |
|
; return 0; } |
2010 |
|
EOF |
2011 |
< |
if { (eval echo configure:2006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2011 |
> |
if { (eval echo configure:2012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2012 |
|
rm -rf conftest* |
2013 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
2014 |
|
else |
2040 |
|
LIBS="$LIBS $X_PRE_LIBS $X_LIBS -lX11 -lXext $X_EXTRA_LIBS" |
2041 |
|
|
2042 |
|
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 |
2043 |
< |
echo "configure:2038: checking for pthread_create in -lpthread" >&5 |
2043 |
> |
echo "configure:2044: checking for pthread_create in -lpthread" >&5 |
2044 |
|
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` |
2045 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2046 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2048 |
|
ac_save_LIBS="$LIBS" |
2049 |
|
LIBS="-lpthread $LIBS" |
2050 |
|
cat > conftest.$ac_ext <<EOF |
2051 |
< |
#line 2046 "configure" |
2051 |
> |
#line 2052 "configure" |
2052 |
|
#include "confdefs.h" |
2053 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2054 |
|
/* We use char because int might match the return type of a gcc2 |
2059 |
|
pthread_create() |
2060 |
|
; return 0; } |
2061 |
|
EOF |
2062 |
< |
if { (eval echo configure:2057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2062 |
> |
if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2063 |
|
rm -rf conftest* |
2064 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
2065 |
|
else |
2086 |
|
echo "$ac_t""no" 1>&6 |
2087 |
|
|
2088 |
|
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 |
2089 |
< |
echo "configure:2084: checking for pthread_create in -lc_r" >&5 |
2089 |
> |
echo "configure:2090: checking for pthread_create in -lc_r" >&5 |
2090 |
|
ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'` |
2091 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2092 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2094 |
|
ac_save_LIBS="$LIBS" |
2095 |
|
LIBS="-lc_r $LIBS" |
2096 |
|
cat > conftest.$ac_ext <<EOF |
2097 |
< |
#line 2092 "configure" |
2097 |
> |
#line 2098 "configure" |
2098 |
|
#include "confdefs.h" |
2099 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2100 |
|
/* We use char because int might match the return type of a gcc2 |
2105 |
|
pthread_create() |
2106 |
|
; return 0; } |
2107 |
|
EOF |
2108 |
< |
if { (eval echo configure:2103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2108 |
> |
if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2109 |
|
rm -rf conftest* |
2110 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
2111 |
|
else |
2132 |
|
echo "$ac_t""no" 1>&6 |
2133 |
|
|
2134 |
|
echo $ac_n "checking for pthread_create in -lPTL""... $ac_c" 1>&6 |
2135 |
< |
echo "configure:2130: checking for pthread_create in -lPTL" >&5 |
2135 |
> |
echo "configure:2136: checking for pthread_create in -lPTL" >&5 |
2136 |
|
ac_lib_var=`echo PTL'_'pthread_create | sed 'y%./+-%__p_%'` |
2137 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2138 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2140 |
|
ac_save_LIBS="$LIBS" |
2141 |
|
LIBS="-lPTL $LIBS" |
2142 |
|
cat > conftest.$ac_ext <<EOF |
2143 |
< |
#line 2138 "configure" |
2143 |
> |
#line 2144 "configure" |
2144 |
|
#include "confdefs.h" |
2145 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2146 |
|
/* We use char because int might match the return type of a gcc2 |
2151 |
|
pthread_create() |
2152 |
|
; return 0; } |
2153 |
|
EOF |
2154 |
< |
if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2154 |
> |
if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2155 |
|
rm -rf conftest* |
2156 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
2157 |
|
else |
2192 |
|
for ac_func in sem_init |
2193 |
|
do |
2194 |
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2195 |
< |
echo "configure:2190: checking for $ac_func" >&5 |
2195 |
> |
echo "configure:2196: checking for $ac_func" >&5 |
2196 |
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2197 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2198 |
|
else |
2199 |
|
cat > conftest.$ac_ext <<EOF |
2200 |
< |
#line 2195 "configure" |
2200 |
> |
#line 2201 "configure" |
2201 |
|
#include "confdefs.h" |
2202 |
|
/* System header to define __stub macros and hopefully few prototypes, |
2203 |
|
which can conflict with char $ac_func(); below. */ |
2220 |
|
|
2221 |
|
; return 0; } |
2222 |
|
EOF |
2223 |
< |
if { (eval echo configure:2218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2223 |
> |
if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2224 |
|
rm -rf conftest* |
2225 |
|
eval "ac_cv_func_$ac_func=yes" |
2226 |
|
else |
2249 |
|
|
2250 |
|
if [ "x$WANT_XF86_DGA" = "xyes" ]; then |
2251 |
|
echo $ac_n "checking for XF86DGAQueryExtension in -lXxf86dga""... $ac_c" 1>&6 |
2252 |
< |
echo "configure:2247: checking for XF86DGAQueryExtension in -lXxf86dga" >&5 |
2252 |
> |
echo "configure:2253: checking for XF86DGAQueryExtension in -lXxf86dga" >&5 |
2253 |
|
ac_lib_var=`echo Xxf86dga'_'XF86DGAQueryExtension | sed 'y%./+-%__p_%'` |
2254 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2255 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2257 |
|
ac_save_LIBS="$LIBS" |
2258 |
|
LIBS="-lXxf86dga $LIBS" |
2259 |
|
cat > conftest.$ac_ext <<EOF |
2260 |
< |
#line 2255 "configure" |
2260 |
> |
#line 2261 "configure" |
2261 |
|
#include "confdefs.h" |
2262 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2263 |
|
/* We use char because int might match the return type of a gcc2 |
2268 |
|
XF86DGAQueryExtension() |
2269 |
|
; return 0; } |
2270 |
|
EOF |
2271 |
< |
if { (eval echo configure:2266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2271 |
> |
if { (eval echo configure:2272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2272 |
|
rm -rf conftest* |
2273 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
2274 |
|
else |
2351 |
|
# Extract the first word of "gtk-config", so it can be a program name with args. |
2352 |
|
set dummy gtk-config; ac_word=$2 |
2353 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2354 |
< |
echo "configure:2349: checking for $ac_word" >&5 |
2354 |
> |
echo "configure:2355: checking for $ac_word" >&5 |
2355 |
|
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
2356 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2357 |
|
else |
2386 |
|
|
2387 |
|
min_gtk_version=1.2.0 |
2388 |
|
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 |
2389 |
< |
echo "configure:2384: checking for GTK - version >= $min_gtk_version" >&5 |
2389 |
> |
echo "configure:2390: checking for GTK - version >= $min_gtk_version" >&5 |
2390 |
|
no_gtk="" |
2391 |
|
if test "$GTK_CONFIG" = "no" ; then |
2392 |
|
no_gtk=yes |
2409 |
|
echo $ac_n "cross compiling; assumed OK... $ac_c" |
2410 |
|
else |
2411 |
|
cat > conftest.$ac_ext <<EOF |
2412 |
< |
#line 2407 "configure" |
2412 |
> |
#line 2413 "configure" |
2413 |
|
#include "confdefs.h" |
2414 |
|
|
2415 |
|
#include <gtk/gtk.h> |
2472 |
|
} |
2473 |
|
|
2474 |
|
EOF |
2475 |
< |
if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2475 |
> |
if { (eval echo configure:2476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2476 |
|
then |
2477 |
|
: |
2478 |
|
else |
2512 |
|
CFLAGS="$CFLAGS $GTK_CFLAGS" |
2513 |
|
LIBS="$LIBS $GTK_LIBS" |
2514 |
|
cat > conftest.$ac_ext <<EOF |
2515 |
< |
#line 2510 "configure" |
2515 |
> |
#line 2516 "configure" |
2516 |
|
#include "confdefs.h" |
2517 |
|
|
2518 |
|
#include <gtk/gtk.h> |
2522 |
|
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); |
2523 |
|
; return 0; } |
2524 |
|
EOF |
2525 |
< |
if { (eval echo configure:2520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2525 |
> |
if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2526 |
|
rm -rf conftest* |
2527 |
|
echo "*** The test program compiled, but did not run. This usually means" |
2528 |
|
echo "*** that the run-time linker is not finding GTK or finding the wrong" |
2607 |
|
# Extract the first word of "esd-config", so it can be a program name with args. |
2608 |
|
set dummy esd-config; ac_word=$2 |
2609 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2610 |
< |
echo "configure:2605: checking for $ac_word" >&5 |
2610 |
> |
echo "configure:2611: checking for $ac_word" >&5 |
2611 |
|
if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then |
2612 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2613 |
|
else |
2642 |
|
|
2643 |
|
min_esd_version=0.2.8 |
2644 |
|
echo $ac_n "checking for ESD - version >= $min_esd_version""... $ac_c" 1>&6 |
2645 |
< |
echo "configure:2640: checking for ESD - version >= $min_esd_version" >&5 |
2645 |
> |
echo "configure:2646: checking for ESD - version >= $min_esd_version" >&5 |
2646 |
|
no_esd="" |
2647 |
|
if test "$ESD_CONFIG" = "no" ; then |
2648 |
|
no_esd=yes |
2666 |
|
echo $ac_n "cross compiling; assumed OK... $ac_c" |
2667 |
|
else |
2668 |
|
cat > conftest.$ac_ext <<EOF |
2669 |
< |
#line 2664 "configure" |
2669 |
> |
#line 2670 "configure" |
2670 |
|
#include "confdefs.h" |
2671 |
|
|
2672 |
|
#include <stdio.h> |
2724 |
|
|
2725 |
|
|
2726 |
|
EOF |
2727 |
< |
if { (eval echo configure:2722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2727 |
> |
if { (eval echo configure:2728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2728 |
|
then |
2729 |
|
: |
2730 |
|
else |
2763 |
|
CFLAGS="$CFLAGS $ESD_CFLAGS" |
2764 |
|
LIBS="$LIBS $ESD_LIBS" |
2765 |
|
cat > conftest.$ac_ext <<EOF |
2766 |
< |
#line 2761 "configure" |
2766 |
> |
#line 2767 "configure" |
2767 |
|
#include "confdefs.h" |
2768 |
|
|
2769 |
|
#include <stdio.h> |
2773 |
|
return 0; |
2774 |
|
; return 0; } |
2775 |
|
EOF |
2776 |
< |
if { (eval echo configure:2771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2776 |
> |
if { (eval echo configure:2777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2777 |
|
rm -rf conftest* |
2778 |
|
echo "*** The test program compiled, but did not run. This usually means" |
2779 |
|
echo "*** that the run-time linker is not finding ESD or finding the wrong" |
2812 |
|
fi |
2813 |
|
|
2814 |
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2815 |
< |
echo "configure:2810: checking for ANSI C header files" >&5 |
2815 |
> |
echo "configure:2816: checking for ANSI C header files" >&5 |
2816 |
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
2817 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2818 |
|
else |
2819 |
|
cat > conftest.$ac_ext <<EOF |
2820 |
< |
#line 2815 "configure" |
2820 |
> |
#line 2821 "configure" |
2821 |
|
#include "confdefs.h" |
2822 |
|
#include <stdlib.h> |
2823 |
|
#include <stdarg.h> |
2825 |
|
#include <float.h> |
2826 |
|
EOF |
2827 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2828 |
< |
{ (eval echo configure:2823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2828 |
> |
{ (eval echo configure:2829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2829 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2830 |
|
if test -z "$ac_err"; then |
2831 |
|
rm -rf conftest* |
2842 |
|
if test $ac_cv_header_stdc = yes; then |
2843 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2844 |
|
cat > conftest.$ac_ext <<EOF |
2845 |
< |
#line 2840 "configure" |
2845 |
> |
#line 2846 "configure" |
2846 |
|
#include "confdefs.h" |
2847 |
|
#include <string.h> |
2848 |
|
EOF |
2860 |
|
if test $ac_cv_header_stdc = yes; then |
2861 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2862 |
|
cat > conftest.$ac_ext <<EOF |
2863 |
< |
#line 2858 "configure" |
2863 |
> |
#line 2864 "configure" |
2864 |
|
#include "confdefs.h" |
2865 |
|
#include <stdlib.h> |
2866 |
|
EOF |
2881 |
|
: |
2882 |
|
else |
2883 |
|
cat > conftest.$ac_ext <<EOF |
2884 |
< |
#line 2879 "configure" |
2884 |
> |
#line 2885 "configure" |
2885 |
|
#include "confdefs.h" |
2886 |
|
#include <ctype.h> |
2887 |
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2892 |
|
exit (0); } |
2893 |
|
|
2894 |
|
EOF |
2895 |
< |
if { (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2895 |
> |
if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2896 |
|
then |
2897 |
|
: |
2898 |
|
else |
2919 |
|
do |
2920 |
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2921 |
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2922 |
< |
echo "configure:2917: checking for $ac_hdr" >&5 |
2922 |
> |
echo "configure:2923: checking for $ac_hdr" >&5 |
2923 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2924 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2925 |
|
else |
2926 |
|
cat > conftest.$ac_ext <<EOF |
2927 |
< |
#line 2922 "configure" |
2927 |
> |
#line 2928 "configure" |
2928 |
|
#include "confdefs.h" |
2929 |
|
#include <$ac_hdr> |
2930 |
|
EOF |
2931 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2932 |
< |
{ (eval echo configure:2927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2932 |
> |
{ (eval echo configure:2933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2933 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2934 |
|
if test -z "$ac_err"; then |
2935 |
|
rm -rf conftest* |
2957 |
|
|
2958 |
|
|
2959 |
|
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
2960 |
< |
echo "configure:2955: checking whether byte ordering is bigendian" >&5 |
2960 |
> |
echo "configure:2961: checking whether byte ordering is bigendian" >&5 |
2961 |
|
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
2962 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2963 |
|
else |
2964 |
|
ac_cv_c_bigendian=unknown |
2965 |
|
# See if sys/param.h defines the BYTE_ORDER macro. |
2966 |
|
cat > conftest.$ac_ext <<EOF |
2967 |
< |
#line 2962 "configure" |
2967 |
> |
#line 2968 "configure" |
2968 |
|
#include "confdefs.h" |
2969 |
|
#include <sys/types.h> |
2970 |
|
#include <sys/param.h> |
2975 |
|
#endif |
2976 |
|
; return 0; } |
2977 |
|
EOF |
2978 |
< |
if { (eval echo configure:2973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2978 |
> |
if { (eval echo configure:2979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2979 |
|
rm -rf conftest* |
2980 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
2981 |
|
cat > conftest.$ac_ext <<EOF |
2982 |
< |
#line 2977 "configure" |
2982 |
> |
#line 2983 "configure" |
2983 |
|
#include "confdefs.h" |
2984 |
|
#include <sys/types.h> |
2985 |
|
#include <sys/param.h> |
2990 |
|
#endif |
2991 |
|
; return 0; } |
2992 |
|
EOF |
2993 |
< |
if { (eval echo configure:2988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2993 |
> |
if { (eval echo configure:2994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2994 |
|
rm -rf conftest* |
2995 |
|
ac_cv_c_bigendian=yes |
2996 |
|
else |
3010 |
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
3011 |
|
else |
3012 |
|
cat > conftest.$ac_ext <<EOF |
3013 |
< |
#line 3008 "configure" |
3013 |
> |
#line 3014 "configure" |
3014 |
|
#include "confdefs.h" |
3015 |
|
main () { |
3016 |
|
/* Are we little or big endian? From Harbison&Steele. */ |
3023 |
|
exit (u.c[sizeof (long) - 1] == 1); |
3024 |
|
} |
3025 |
|
EOF |
3026 |
< |
if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3026 |
> |
if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3027 |
|
then |
3028 |
|
ac_cv_c_bigendian=no |
3029 |
|
else |
3047 |
|
fi |
3048 |
|
|
3049 |
|
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3050 |
< |
echo "configure:3045: checking for working const" >&5 |
3050 |
> |
echo "configure:3051: checking for working const" >&5 |
3051 |
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
3052 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3053 |
|
else |
3054 |
|
cat > conftest.$ac_ext <<EOF |
3055 |
< |
#line 3050 "configure" |
3055 |
> |
#line 3056 "configure" |
3056 |
|
#include "confdefs.h" |
3057 |
|
|
3058 |
|
int main() { |
3101 |
|
|
3102 |
|
; return 0; } |
3103 |
|
EOF |
3104 |
< |
if { (eval echo configure:3099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3104 |
> |
if { (eval echo configure:3105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3105 |
|
rm -rf conftest* |
3106 |
|
ac_cv_c_const=yes |
3107 |
|
else |
3122 |
|
fi |
3123 |
|
|
3124 |
|
echo $ac_n "checking for inline""... $ac_c" 1>&6 |
3125 |
< |
echo "configure:3120: checking for inline" >&5 |
3125 |
> |
echo "configure:3126: checking for inline" >&5 |
3126 |
|
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
3127 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3128 |
|
else |
3129 |
|
ac_cv_c_inline=no |
3130 |
|
for ac_kw in inline __inline__ __inline; do |
3131 |
|
cat > conftest.$ac_ext <<EOF |
3132 |
< |
#line 3127 "configure" |
3132 |
> |
#line 3133 "configure" |
3133 |
|
#include "confdefs.h" |
3134 |
|
|
3135 |
|
int main() { |
3136 |
|
} $ac_kw foo() { |
3137 |
|
; return 0; } |
3138 |
|
EOF |
3139 |
< |
if { (eval echo configure:3134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3139 |
> |
if { (eval echo configure:3140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3140 |
|
rm -rf conftest* |
3141 |
|
ac_cv_c_inline=$ac_kw; break |
3142 |
|
else |
3162 |
|
esac |
3163 |
|
|
3164 |
|
echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3165 |
< |
echo "configure:3160: checking size of short" >&5 |
3165 |
> |
echo "configure:3166: checking size of short" >&5 |
3166 |
|
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
3167 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3168 |
|
else |
3170 |
|
ac_cv_sizeof_short=2 |
3171 |
|
else |
3172 |
|
cat > conftest.$ac_ext <<EOF |
3173 |
< |
#line 3168 "configure" |
3173 |
> |
#line 3174 "configure" |
3174 |
|
#include "confdefs.h" |
3175 |
|
#include <stdio.h> |
3176 |
|
main() |
3181 |
|
exit(0); |
3182 |
|
} |
3183 |
|
EOF |
3184 |
< |
if { (eval echo configure:3179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3184 |
> |
if { (eval echo configure:3185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3185 |
|
then |
3186 |
|
ac_cv_sizeof_short=`cat conftestval` |
3187 |
|
else |
3201 |
|
|
3202 |
|
|
3203 |
|
echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3204 |
< |
echo "configure:3199: checking size of int" >&5 |
3204 |
> |
echo "configure:3205: checking size of int" >&5 |
3205 |
|
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
3206 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3207 |
|
else |
3209 |
|
ac_cv_sizeof_int=4 |
3210 |
|
else |
3211 |
|
cat > conftest.$ac_ext <<EOF |
3212 |
< |
#line 3207 "configure" |
3212 |
> |
#line 3213 "configure" |
3213 |
|
#include "confdefs.h" |
3214 |
|
#include <stdio.h> |
3215 |
|
main() |
3220 |
|
exit(0); |
3221 |
|
} |
3222 |
|
EOF |
3223 |
< |
if { (eval echo configure:3218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3223 |
> |
if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3224 |
|
then |
3225 |
|
ac_cv_sizeof_int=`cat conftestval` |
3226 |
|
else |
3240 |
|
|
3241 |
|
|
3242 |
|
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3243 |
< |
echo "configure:3238: checking size of long" >&5 |
3243 |
> |
echo "configure:3244: checking size of long" >&5 |
3244 |
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
3245 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3246 |
|
else |
3248 |
|
ac_cv_sizeof_long=4 |
3249 |
|
else |
3250 |
|
cat > conftest.$ac_ext <<EOF |
3251 |
< |
#line 3246 "configure" |
3251 |
> |
#line 3252 "configure" |
3252 |
|
#include "confdefs.h" |
3253 |
|
#include <stdio.h> |
3254 |
|
main() |
3259 |
|
exit(0); |
3260 |
|
} |
3261 |
|
EOF |
3262 |
< |
if { (eval echo configure:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3262 |
> |
if { (eval echo configure:3263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3263 |
|
then |
3264 |
|
ac_cv_sizeof_long=`cat conftestval` |
3265 |
|
else |
3279 |
|
|
3280 |
|
|
3281 |
|
echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3282 |
< |
echo "configure:3277: checking size of long long" >&5 |
3282 |
> |
echo "configure:3283: checking size of long long" >&5 |
3283 |
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then |
3284 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3285 |
|
else |
3287 |
|
ac_cv_sizeof_long_long=8 |
3288 |
|
else |
3289 |
|
cat > conftest.$ac_ext <<EOF |
3290 |
< |
#line 3285 "configure" |
3290 |
> |
#line 3291 "configure" |
3291 |
|
#include "confdefs.h" |
3292 |
|
#include <stdio.h> |
3293 |
|
main() |
3298 |
|
exit(0); |
3299 |
|
} |
3300 |
|
EOF |
3301 |
< |
if { (eval echo configure:3296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3301 |
> |
if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3302 |
|
then |
3303 |
|
ac_cv_sizeof_long_long=`cat conftestval` |
3304 |
|
else |
3318 |
|
|
3319 |
|
|
3320 |
|
echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3321 |
< |
echo "configure:3316: checking for off_t" >&5 |
3321 |
> |
echo "configure:3322: checking for off_t" >&5 |
3322 |
|
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
3323 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3324 |
|
else |
3325 |
|
cat > conftest.$ac_ext <<EOF |
3326 |
< |
#line 3321 "configure" |
3326 |
> |
#line 3327 "configure" |
3327 |
|
#include "confdefs.h" |
3328 |
|
#include <sys/types.h> |
3329 |
|
#if STDC_HEADERS |
3351 |
|
fi |
3352 |
|
|
3353 |
|
echo $ac_n "checking for loff_t""... $ac_c" 1>&6 |
3354 |
< |
echo "configure:3349: checking for loff_t" >&5 |
3354 |
> |
echo "configure:3355: checking for loff_t" >&5 |
3355 |
|
if eval "test \"`echo '$''{'ac_cv_type_loff_t'+set}'`\" = set"; then |
3356 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3357 |
|
else |
3358 |
|
cat > conftest.$ac_ext <<EOF |
3359 |
< |
#line 3354 "configure" |
3359 |
> |
#line 3360 "configure" |
3360 |
|
#include "confdefs.h" |
3361 |
|
#include <sys/types.h> |
3362 |
|
#if STDC_HEADERS |
3384 |
|
fi |
3385 |
|
|
3386 |
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3387 |
< |
echo "configure:3382: checking for size_t" >&5 |
3387 |
> |
echo "configure:3388: checking for size_t" >&5 |
3388 |
|
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
3389 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3390 |
|
else |
3391 |
|
cat > conftest.$ac_ext <<EOF |
3392 |
< |
#line 3387 "configure" |
3392 |
> |
#line 3393 "configure" |
3393 |
|
#include "confdefs.h" |
3394 |
|
#include <sys/types.h> |
3395 |
|
#if STDC_HEADERS |
3417 |
|
fi |
3418 |
|
|
3419 |
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3420 |
< |
echo "configure:3415: checking whether time.h and sys/time.h may both be included" >&5 |
3420 |
> |
echo "configure:3421: checking whether time.h and sys/time.h may both be included" >&5 |
3421 |
|
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
3422 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3423 |
|
else |
3424 |
|
cat > conftest.$ac_ext <<EOF |
3425 |
< |
#line 3420 "configure" |
3425 |
> |
#line 3426 "configure" |
3426 |
|
#include "confdefs.h" |
3427 |
|
#include <sys/types.h> |
3428 |
|
#include <sys/time.h> |
3431 |
|
struct tm *tp; |
3432 |
|
; return 0; } |
3433 |
|
EOF |
3434 |
< |
if { (eval echo configure:3429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3434 |
> |
if { (eval echo configure:3435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3435 |
|
rm -rf conftest* |
3436 |
|
ac_cv_header_time=yes |
3437 |
|
else |
3452 |
|
fi |
3453 |
|
|
3454 |
|
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3455 |
< |
echo "configure:3450: checking whether struct tm is in sys/time.h or time.h" >&5 |
3455 |
> |
echo "configure:3456: checking whether struct tm is in sys/time.h or time.h" >&5 |
3456 |
|
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
3457 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3458 |
|
else |
3459 |
|
cat > conftest.$ac_ext <<EOF |
3460 |
< |
#line 3455 "configure" |
3460 |
> |
#line 3461 "configure" |
3461 |
|
#include "confdefs.h" |
3462 |
|
#include <sys/types.h> |
3463 |
|
#include <time.h> |
3465 |
|
struct tm *tp; tp->tm_sec; |
3466 |
|
; return 0; } |
3467 |
|
EOF |
3468 |
< |
if { (eval echo configure:3463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3468 |
> |
if { (eval echo configure:3469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3469 |
|
rm -rf conftest* |
3470 |
|
ac_cv_struct_tm=time.h |
3471 |
|
else |
3489 |
|
for ac_func in strdup cfmakeraw |
3490 |
|
do |
3491 |
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3492 |
< |
echo "configure:3487: checking for $ac_func" >&5 |
3492 |
> |
echo "configure:3493: checking for $ac_func" >&5 |
3493 |
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3494 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3495 |
|
else |
3496 |
|
cat > conftest.$ac_ext <<EOF |
3497 |
< |
#line 3492 "configure" |
3497 |
> |
#line 3498 "configure" |
3498 |
|
#include "confdefs.h" |
3499 |
|
/* System header to define __stub macros and hopefully few prototypes, |
3500 |
|
which can conflict with char $ac_func(); below. */ |
3517 |
|
|
3518 |
|
; return 0; } |
3519 |
|
EOF |
3520 |
< |
if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3520 |
> |
if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3521 |
|
rm -rf conftest* |
3522 |
|
eval "ac_cv_func_$ac_func=yes" |
3523 |
|
else |
3544 |
|
for ac_func in nanosleep clock_gettime timer_create |
3545 |
|
do |
3546 |
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3547 |
< |
echo "configure:3542: checking for $ac_func" >&5 |
3547 |
> |
echo "configure:3548: checking for $ac_func" >&5 |
3548 |
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3549 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3550 |
|
else |
3551 |
|
cat > conftest.$ac_ext <<EOF |
3552 |
< |
#line 3547 "configure" |
3552 |
> |
#line 3553 "configure" |
3553 |
|
#include "confdefs.h" |
3554 |
|
/* System header to define __stub macros and hopefully few prototypes, |
3555 |
|
which can conflict with char $ac_func(); below. */ |
3572 |
|
|
3573 |
|
; return 0; } |
3574 |
|
EOF |
3575 |
< |
if { (eval echo configure:3570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3575 |
> |
if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3576 |
|
rm -rf conftest* |
3577 |
|
eval "ac_cv_func_$ac_func=yes" |
3578 |
|
else |
3599 |
|
for ac_func in pthread_cancel |
3600 |
|
do |
3601 |
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3602 |
< |
echo "configure:3597: checking for $ac_func" >&5 |
3602 |
> |
echo "configure:3603: checking for $ac_func" >&5 |
3603 |
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3604 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3605 |
|
else |
3606 |
|
cat > conftest.$ac_ext <<EOF |
3607 |
< |
#line 3602 "configure" |
3607 |
> |
#line 3608 "configure" |
3608 |
|
#include "confdefs.h" |
3609 |
|
/* System header to define __stub macros and hopefully few prototypes, |
3610 |
|
which can conflict with char $ac_func(); below. */ |
3627 |
|
|
3628 |
|
; return 0; } |
3629 |
|
EOF |
3630 |
< |
if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3630 |
> |
if { (eval echo configure:3631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3631 |
|
rm -rf conftest* |
3632 |
|
eval "ac_cv_func_$ac_func=yes" |
3633 |
|
else |
3660 |
|
;; |
3661 |
|
FreeBSD*3.*) |
3662 |
|
echo $ac_n "checking for cam_open_btl in -lcam""... $ac_c" 1>&6 |
3663 |
< |
echo "configure:3658: checking for cam_open_btl in -lcam" >&5 |
3663 |
> |
echo "configure:3664: checking for cam_open_btl in -lcam" >&5 |
3664 |
|
ac_lib_var=`echo cam'_'cam_open_btl | sed 'y%./+-%__p_%'` |
3665 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3666 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3668 |
|
ac_save_LIBS="$LIBS" |
3669 |
|
LIBS="-lcam $LIBS" |
3670 |
|
cat > conftest.$ac_ext <<EOF |
3671 |
< |
#line 3666 "configure" |
3671 |
> |
#line 3672 "configure" |
3672 |
|
#include "confdefs.h" |
3673 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3674 |
|
/* We use char because int might match the return type of a gcc2 |
3679 |
|
cam_open_btl() |
3680 |
|
; return 0; } |
3681 |
|
EOF |
3682 |
< |
if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3682 |
> |
if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3683 |
|
rm -rf conftest* |
3684 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
3685 |
|
else |
3705 |
|
else |
3706 |
|
ac_safe=`echo "/sys/cam/cam.h" | sed 'y%./+-%__p_%'` |
3707 |
|
echo $ac_n "checking for /sys/cam/cam.h""... $ac_c" 1>&6 |
3708 |
< |
echo "configure:3703: checking for /sys/cam/cam.h" >&5 |
3708 |
> |
echo "configure:3709: checking for /sys/cam/cam.h" >&5 |
3709 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3710 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3711 |
|
else |
3712 |
|
cat > conftest.$ac_ext <<EOF |
3713 |
< |
#line 3708 "configure" |
3713 |
> |
#line 3714 "configure" |
3714 |
|
#include "confdefs.h" |
3715 |
|
#include </sys/cam/cam.h> |
3716 |
|
EOF |
3717 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3718 |
< |
{ (eval echo configure:3713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3718 |
> |
{ (eval echo configure:3719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3719 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3720 |
|
if test -z "$ac_err"; then |
3721 |
|
rm -rf conftest* |
3748 |
|
;; |
3749 |
|
FreeBSD*) |
3750 |
|
echo $ac_n "checking for scsi_open in -lscsi""... $ac_c" 1>&6 |
3751 |
< |
echo "configure:3746: checking for scsi_open in -lscsi" >&5 |
3751 |
> |
echo "configure:3752: checking for scsi_open in -lscsi" >&5 |
3752 |
|
ac_lib_var=`echo scsi'_'scsi_open | sed 'y%./+-%__p_%'` |
3753 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3754 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3756 |
|
ac_save_LIBS="$LIBS" |
3757 |
|
LIBS="-lscsi $LIBS" |
3758 |
|
cat > conftest.$ac_ext <<EOF |
3759 |
< |
#line 3754 "configure" |
3759 |
> |
#line 3760 "configure" |
3760 |
|
#include "confdefs.h" |
3761 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3762 |
|
/* We use char because int might match the return type of a gcc2 |
3767 |
|
scsi_open() |
3768 |
|
; return 0; } |
3769 |
|
EOF |
3770 |
< |
if { (eval echo configure:3765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3770 |
> |
if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3771 |
|
rm -rf conftest* |
3772 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
3773 |
|
else |
3793 |
|
else |
3794 |
|
ac_safe=`echo "scsi.h sys/scsiio.h" | sed 'y%./+-%__p_%'` |
3795 |
|
echo $ac_n "checking for scsi.h sys/scsiio.h""... $ac_c" 1>&6 |
3796 |
< |
echo "configure:3791: checking for scsi.h sys/scsiio.h" >&5 |
3796 |
> |
echo "configure:3797: checking for scsi.h sys/scsiio.h" >&5 |
3797 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3798 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3799 |
|
else |
3800 |
|
cat > conftest.$ac_ext <<EOF |
3801 |
< |
#line 3796 "configure" |
3801 |
> |
#line 3802 "configure" |
3802 |
|
#include "confdefs.h" |
3803 |
|
#include <scsi.h sys/scsiio.h> |
3804 |
|
EOF |
3805 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3806 |
< |
{ (eval echo configure:3801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3806 |
> |
{ (eval echo configure:3807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3807 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3808 |
|
if test -z "$ac_err"; then |
3809 |
|
rm -rf conftest* |
3847 |
|
|
3848 |
|
HAVE_I386=no |
3849 |
|
echo $ac_n "checking for x86 target CPU""... $ac_c" 1>&6 |
3850 |
< |
echo "configure:3845: checking for x86 target CPU" >&5 |
3850 |
> |
echo "configure:3851: checking for x86 target CPU" >&5 |
3851 |
|
cat > conftest.$ac_ext <<EOF |
3852 |
< |
#line 3847 "configure" |
3852 |
> |
#line 3853 "configure" |
3853 |
|
#include "confdefs.h" |
3854 |
|
|
3855 |
|
#ifdef __i386__ |
3870 |
|
|
3871 |
|
HAVE_SPARC=no |
3872 |
|
echo $ac_n "checking for SPARC target CPU""... $ac_c" 1>&6 |
3873 |
< |
echo "configure:3868: checking for SPARC target CPU" >&5 |
3873 |
> |
echo "configure:3874: checking for SPARC target CPU" >&5 |
3874 |
|
cat > conftest.$ac_ext <<EOF |
3875 |
< |
#line 3870 "configure" |
3875 |
> |
#line 3876 "configure" |
3876 |
|
#include "confdefs.h" |
3877 |
|
|
3878 |
|
#ifdef __sparc__ |
3893 |
|
|
3894 |
|
HAVE_GAS=no |
3895 |
|
echo $ac_n "checking for GAS .p2align feature""... $ac_c" 1>&6 |
3896 |
< |
echo "configure:3891: checking for GAS .p2align feature" >&5 |
3896 |
> |
echo "configure:3897: checking for GAS .p2align feature" >&5 |
3897 |
|
cat >conftest.S << EOF |
3898 |
|
.text |
3899 |
|
.p2align 5 |
3903 |
|
|
3904 |
|
HAVE_GCC27=no |
3905 |
|
echo $ac_n "checking for GCC 2.7 or higher""... $ac_c" 1>&6 |
3906 |
< |
echo "configure:3901: checking for GCC 2.7 or higher" >&5 |
3906 |
> |
echo "configure:3907: checking for GCC 2.7 or higher" >&5 |
3907 |
|
cat > conftest.$ac_ext <<EOF |
3908 |
< |
#line 3903 "configure" |
3908 |
> |
#line 3909 "configure" |
3909 |
|
#include "confdefs.h" |
3910 |
|
#if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5 |
3911 |
|
yes |
3928 |
|
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer" |
3929 |
|
fi |
3930 |
|
|
3931 |
+ |
WANT_X86_ASSEMBLY=no |
3932 |
+ |
WANT_SPARC_V8_ASSEMBLY=no |
3933 |
+ |
WANT_SPARC_V9_ASSEMBLY=no |
3934 |
|
CPUSRCS="cpuemu1.cpp cpuemu2.cpp cpuemu3.cpp cpuemu4.cpp cpuemu5.cpp cpuemu6.cpp cpuemu7.cpp cpuemu8.cpp" |
3935 |
|
if [ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" ]; then |
3936 |
|
DEFINES="$DEFINES -DREGPARAM=\"__attribute__((regparm(3)))\"" |
3937 |
|
if [ "x$HAVE_GAS" = "xyes" ]; then |
3938 |
+ |
WANT_X86_ASSEMBLY=yes |
3939 |
|
DEFINES="$DEFINES -DX86_ASSEMBLY" |
3940 |
|
CPUSRCS="cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s" |
3941 |
|
fi |
3943 |
|
case "$MACHINE" in |
3944 |
|
SunOS*) |
3945 |
|
echo $ac_n "checking SPARC CPU architecture""... $ac_c" 1>&6 |
3946 |
< |
echo "configure:3937: checking SPARC CPU architecture" >&5 |
3946 |
> |
echo "configure:3947: checking SPARC CPU architecture" >&5 |
3947 |
|
SPARC_TYPE=`Solaris/which_sparc` |
3948 |
|
echo "$ac_t""$SPARC_TYPE" 1>&6 |
3949 |
|
case "$SPARC_TYPE" in |
3950 |
|
SPARC_V8) |
3951 |
+ |
WANT_SPARC_V8_ASSEMBLY=yes |
3952 |
|
DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" |
3953 |
|
CFLAGS="$CFLAGS -Wa,-Av8" |
3954 |
|
CXXFLAGS="$CXXFLAGS -Wa,-Av8" |
3955 |
|
;; |
3956 |
|
SPARC_V9) |
3957 |
+ |
WANT_SPARC_V9_ASSEMBLY=yes |
3958 |
|
DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" |
3959 |
|
CFLAGS="$CFLAGS -Wa,-Av9" |
3960 |
|
CXXFLAGS="$CXXFLAGS -Wa,-Av9" |
4344 |
|
rm -fr confdefs* $ac_clean_files |
4345 |
|
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
4346 |
|
|
4347 |
+ |
|
4348 |
+ |
echo |
4349 |
+ |
echo Basilisk II configuration summary: |
4350 |
+ |
echo |
4351 |
+ |
echo XFree86 DGA support .............. : $WANT_XF86_DGA |
4352 |
+ |
echo fbdev DGA support ................ : $WANT_FBDEV_DGA |
4353 |
+ |
echo ESD sound support ................ : $WANT_ESD |
4354 |
+ |
echo GTK user interface ............... : $WANT_UI |
4355 |
+ |
echo mon debugger support ............. : $WANT_MON |
4356 |
+ |
echo i386 assembly optimizations ...... : $WANT_X86_ASSEMBLY |
4357 |
+ |
echo SPARC V8 assembly optimizations .. : $WANT_SPARC_V8_ASSEMBLY |
4358 |
+ |
echo SPARC V9 assembly optimizations .. : $WANT_SPARC_V9_ASSEMBLY |
4359 |
+ |
echo |
4360 |
|
echo "Configuration done. Now type \"make\"." |