ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/configure
(Generate patch)

Comparing BasiliskII/src/Unix/configure (file contents):
Revision 1.13 by cebix, 1999-10-26T16:28:30Z vs.
Revision 1.17 by cebix, 2000-04-14T18:45:56Z

# Line 14 | Line 14 | ac_default_prefix=/usr/local
14   ac_help="$ac_help
15    --enable-xf86-dga       use the XFree86 DGA extension [default=yes]"
16   ac_help="$ac_help
17 +  --enable-xf86-vidmode   use the XFree86 VidMode extension [default=yes]"
18 + ac_help="$ac_help
19    --enable-fbdev-dga      use direct frame buffer access via /dev/fb [default=yes]"
20   ac_help="$ac_help
21    --with-esd              support ESD for sound under Linux/FreeBSD [default=yes]"
# Line 556 | Line 558 | else
558    WANT_XF86_DGA=yes
559   fi
560  
561 + # Check whether --enable-xf86-vidmode or --disable-xf86-vidmode was given.
562 + if test "${enable_xf86_vidmode+set}" = set; then
563 +  enableval="$enable_xf86_vidmode"
564 +  WANT_XF86_VIDMODE=$enableval
565 + else
566 +  WANT_XF86_VIDMODE=yes
567 + fi
568 +
569   # Check whether --enable-fbdev-dga or --disable-fbdev-dga was given.
570   if test "${enable_fbdev_dga+set}" = set; then
571    enableval="$enable_fbdev_dga"
# Line 592 | Line 602 | fi
602   # Extract the first word of "gcc", so it can be a program name with args.
603   set dummy gcc; ac_word=$2
604   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
605 < echo "configure:596: checking for $ac_word" >&5
605 > echo "configure:606: checking for $ac_word" >&5
606   if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
607    echo $ac_n "(cached) $ac_c" 1>&6
608   else
# Line 622 | Line 632 | if test -z "$CC"; then
632    # Extract the first word of "cc", so it can be a program name with args.
633   set dummy cc; ac_word=$2
634   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
635 < echo "configure:626: checking for $ac_word" >&5
635 > echo "configure:636: checking for $ac_word" >&5
636   if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
637    echo $ac_n "(cached) $ac_c" 1>&6
638   else
# Line 673 | Line 683 | fi
683        # Extract the first word of "cl", so it can be a program name with args.
684   set dummy cl; ac_word=$2
685   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
686 < echo "configure:677: checking for $ac_word" >&5
686 > echo "configure:687: checking for $ac_word" >&5
687   if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
688    echo $ac_n "(cached) $ac_c" 1>&6
689   else
# Line 705 | Line 715 | fi
715   fi
716  
717   echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
718 < echo "configure:709: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
718 > echo "configure:719: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
719  
720   ac_ext=c
721   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 716 | Line 726 | cross_compiling=$ac_cv_prog_cc_cross
726  
727   cat > conftest.$ac_ext << EOF
728  
729 < #line 720 "configure"
729 > #line 730 "configure"
730   #include "confdefs.h"
731  
732   main(){return(0);}
733   EOF
734 < if { (eval echo configure:725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
734 > if { (eval echo configure:735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
735    ac_cv_prog_cc_works=yes
736    # If we can't run a trivial program, we are probably using a cross compiler.
737    if (./conftest; exit) 2>/dev/null; then
# Line 747 | Line 757 | if test $ac_cv_prog_cc_works = no; then
757    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
758   fi
759   echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
760 < echo "configure:751: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
760 > echo "configure:761: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
761   echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
762   cross_compiling=$ac_cv_prog_cc_cross
763  
764   echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
765 < echo "configure:756: checking whether we are using GNU C" >&5
765 > echo "configure:766: checking whether we are using GNU C" >&5
766   if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
767    echo $ac_n "(cached) $ac_c" 1>&6
768   else
# Line 761 | Line 771 | else
771    yes;
772   #endif
773   EOF
774 < if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
774 > if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
775    ac_cv_prog_gcc=yes
776   else
777    ac_cv_prog_gcc=no
# Line 780 | Line 790 | ac_test_CFLAGS="${CFLAGS+set}"
790   ac_save_CFLAGS="$CFLAGS"
791   CFLAGS=
792   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
793 < echo "configure:784: checking whether ${CC-cc} accepts -g" >&5
793 > echo "configure:794: checking whether ${CC-cc} accepts -g" >&5
794   if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
795    echo $ac_n "(cached) $ac_c" 1>&6
796   else
# Line 812 | Line 822 | else
822   fi
823  
824   echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
825 < echo "configure:816: checking how to run the C preprocessor" >&5
825 > echo "configure:826: checking how to run the C preprocessor" >&5
826   # On Suns, sometimes $CPP names a directory.
827   if test -n "$CPP" && test -d "$CPP"; then
828    CPP=
# Line 827 | Line 837 | else
837    # On the NeXT, cc -E runs the code through the compiler's parser,
838    # not just through cpp.
839    cat > conftest.$ac_ext <<EOF
840 < #line 831 "configure"
840 > #line 841 "configure"
841   #include "confdefs.h"
842   #include <assert.h>
843   Syntax Error
844   EOF
845   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
846 < { (eval echo configure:837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
846 > { (eval echo configure:847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
847   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
848   if test -z "$ac_err"; then
849    :
# Line 844 | Line 854 | else
854    rm -rf conftest*
855    CPP="${CC-cc} -E -traditional-cpp"
856    cat > conftest.$ac_ext <<EOF
857 < #line 848 "configure"
857 > #line 858 "configure"
858   #include "confdefs.h"
859   #include <assert.h>
860   Syntax Error
861   EOF
862   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
863 < { (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
863 > { (eval echo configure:864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
864   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
865   if test -z "$ac_err"; then
866    :
# Line 861 | Line 871 | else
871    rm -rf conftest*
872    CPP="${CC-cc} -nologo -E"
873    cat > conftest.$ac_ext <<EOF
874 < #line 865 "configure"
874 > #line 875 "configure"
875   #include "confdefs.h"
876   #include <assert.h>
877   Syntax Error
878   EOF
879   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
880 < { (eval echo configure:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
880 > { (eval echo configure:881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
881   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
882   if test -z "$ac_err"; then
883    :
# Line 896 | Line 906 | do
906   # Extract the first word of "$ac_prog", so it can be a program name with args.
907   set dummy $ac_prog; ac_word=$2
908   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
909 < echo "configure:900: checking for $ac_word" >&5
909 > echo "configure:910: checking for $ac_word" >&5
910   if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
911    echo $ac_n "(cached) $ac_c" 1>&6
912   else
# Line 928 | Line 938 | test -n "$CXX" || CXX="gcc"
938  
939  
940   echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
941 < echo "configure:932: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
941 > echo "configure:942: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
942  
943   ac_ext=C
944   # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 939 | Line 949 | cross_compiling=$ac_cv_prog_cxx_cross
949  
950   cat > conftest.$ac_ext << EOF
951  
952 < #line 943 "configure"
952 > #line 953 "configure"
953   #include "confdefs.h"
954  
955   int main(){return(0);}
956   EOF
957 < if { (eval echo configure:948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
957 > if { (eval echo configure:958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
958    ac_cv_prog_cxx_works=yes
959    # If we can't run a trivial program, we are probably using a cross compiler.
960    if (./conftest; exit) 2>/dev/null; then
# Line 970 | Line 980 | if test $ac_cv_prog_cxx_works = no; then
980    { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
981   fi
982   echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
983 < echo "configure:974: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
983 > echo "configure:984: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
984   echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
985   cross_compiling=$ac_cv_prog_cxx_cross
986  
987   echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
988 < echo "configure:979: checking whether we are using GNU C++" >&5
988 > echo "configure:989: checking whether we are using GNU C++" >&5
989   if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
990    echo $ac_n "(cached) $ac_c" 1>&6
991   else
# Line 984 | Line 994 | else
994    yes;
995   #endif
996   EOF
997 < if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
997 > if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
998    ac_cv_prog_gxx=yes
999   else
1000    ac_cv_prog_gxx=no
# Line 1003 | Line 1013 | ac_test_CXXFLAGS="${CXXFLAGS+set}"
1013   ac_save_CXXFLAGS="$CXXFLAGS"
1014   CXXFLAGS=
1015   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1016 < echo "configure:1007: checking whether ${CXX-g++} accepts -g" >&5
1016 > echo "configure:1017: checking whether ${CXX-g++} accepts -g" >&5
1017   if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1018    echo $ac_n "(cached) $ac_c" 1>&6
1019   else
# Line 1035 | Line 1045 | else
1045   fi
1046  
1047   echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1048 < echo "configure:1039: checking whether ${MAKE-make} sets \${MAKE}" >&5
1048 > echo "configure:1049: checking whether ${MAKE-make} sets \${MAKE}" >&5
1049   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1050   if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1051    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1092 | Line 1102 | ac_configure=$ac_aux_dir/configure # Thi
1102   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1103   # ./install, which can be erroneously created by make from ./install.sh.
1104   echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1105 < echo "configure:1096: checking for a BSD compatible install" >&5
1105 > echo "configure:1106: checking for a BSD compatible install" >&5
1106   if test -z "$INSTALL"; then
1107   if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1108    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1146 | Line 1156 | test -z "$INSTALL_DATA" && INSTALL_DATA=
1156  
1157  
1158   MONSRCS=
1159 < echo $ac_n "checking for mon""... $ac_c" 1>&6
1160 < echo "configure:1151: checking for mon" >&5
1161 < if grep mon_init ../../../mon/src/mon.h >/dev/null 2>/dev/null; then
1162 <  echo "$ac_t""yes" 1>&6
1163 <  WANT_MON=yes
1164 <  DEFINES="$DEFINES -DENABLE_MON=1"
1165 <  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"
1166 <  CXXFLAGS="$CXXFLAGS -I../../../mon/src"
1167 <  echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
1168 < echo "configure:1159: checking for readline in -lreadline" >&5
1159 > if [ "x$WANT_MON" = "xyes" ]; then
1160 >  echo $ac_n "checking for mon""... $ac_c" 1>&6
1161 > echo "configure:1162: checking for mon" >&5
1162 >  if grep mon_init ../../../mon/src/mon.h >/dev/null 2>/dev/null; then
1163 >    echo "$ac_t""yes" 1>&6
1164 >    DEFINES="$DEFINES -DENABLE_MON=1"
1165 >    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"
1166 >    CXXFLAGS="$CXXFLAGS -I../../../mon/src"
1167 >    echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
1168 > echo "configure:1169: checking for readline in -lreadline" >&5
1169   ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
1170   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1171    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1163 | Line 1173 | else
1173    ac_save_LIBS="$LIBS"
1174   LIBS="-lreadline  $LIBS"
1175   cat > conftest.$ac_ext <<EOF
1176 < #line 1167 "configure"
1176 > #line 1177 "configure"
1177   #include "confdefs.h"
1178   /* Override any gcc2 internal prototype to avoid an error.  */
1179   /* We use char because int might match the return type of a gcc2
# Line 1174 | Line 1184 | int main() {
1184   readline()
1185   ; return 0; }
1186   EOF
1187 < if { (eval echo configure:1178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1187 > if { (eval echo configure:1188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1188    rm -rf conftest*
1189    eval "ac_cv_lib_$ac_lib_var=yes"
1190   else
# Line 1201 | Line 1211 | else
1211    echo "$ac_t""no" 1>&6
1212   fi
1213  
1214 <  for ac_hdr in readline/readline.h readline/history.h
1214 >    for ac_hdr in readline/readline.h readline/history.h
1215   do
1216   ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1217   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1218 < echo "configure:1209: checking for $ac_hdr" >&5
1218 > echo "configure:1219: checking for $ac_hdr" >&5
1219   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1220    echo $ac_n "(cached) $ac_c" 1>&6
1221   else
1222    cat > conftest.$ac_ext <<EOF
1223 < #line 1214 "configure"
1223 > #line 1224 "configure"
1224   #include "confdefs.h"
1225   #include <$ac_hdr>
1226   EOF
1227   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1228 < { (eval echo configure:1219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1228 > { (eval echo configure:1229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1229   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1230   if test -z "$ac_err"; then
1231    rm -rf conftest*
# Line 1241 | Line 1251 | else
1251   fi
1252   done
1253  
1254 < else
1255 <  echo "$ac_t""no" 1>&6
1256 <  WANT_MON=no
1257 <  DEFINES="$DEFINES -DENABLE_MON=0"
1254 >  else
1255 >    echo "$ac_t""no" 1>&6
1256 >    echo "configure: warning: Could not find mon, ignoring --with-mon." 1>&2
1257 >    WANT_MON=no
1258 >    DEFINES="$DEFINES -DENABLE_MON=0"
1259 >  fi
1260   fi
1261  
1262   echo $ac_n "checking for sem_init in -lposix4""... $ac_c" 1>&6
1263 < echo "configure:1252: checking for sem_init in -lposix4" >&5
1263 > echo "configure:1264: checking for sem_init in -lposix4" >&5
1264   ac_lib_var=`echo posix4'_'sem_init | sed 'y%./+-%__p_%'`
1265   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1266    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1256 | Line 1268 | else
1268    ac_save_LIBS="$LIBS"
1269   LIBS="-lposix4  $LIBS"
1270   cat > conftest.$ac_ext <<EOF
1271 < #line 1260 "configure"
1271 > #line 1272 "configure"
1272   #include "confdefs.h"
1273   /* Override any gcc2 internal prototype to avoid an error.  */
1274   /* We use char because int might match the return type of a gcc2
# Line 1267 | Line 1279 | int main() {
1279   sem_init()
1280   ; return 0; }
1281   EOF
1282 < if { (eval echo configure:1271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1282 > if { (eval echo configure:1283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1283    rm -rf conftest*
1284    eval "ac_cv_lib_$ac_lib_var=yes"
1285   else
# Line 1300 | Line 1312 | fi
1312   # Uses ac_ vars as temps to allow command line to override cache and checks.
1313   # --without-x overrides everything else, but does not touch the cache.
1314   echo $ac_n "checking for X""... $ac_c" 1>&6
1315 < echo "configure:1304: checking for X" >&5
1315 > echo "configure:1316: checking for X" >&5
1316  
1317   # Check whether --with-x or --without-x was given.
1318   if test "${with_x+set}" = set; then
# Line 1362 | Line 1374 | if test "$ac_x_includes" = NO; then
1374  
1375    # First, try using that file with no special directory specified.
1376   cat > conftest.$ac_ext <<EOF
1377 < #line 1366 "configure"
1377 > #line 1378 "configure"
1378   #include "confdefs.h"
1379   #include <$x_direct_test_include>
1380   EOF
1381   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1382 < { (eval echo configure:1371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1382 > { (eval echo configure:1383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1383   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1384   if test -z "$ac_err"; then
1385    rm -rf conftest*
# Line 1436 | Line 1448 | if test "$ac_x_libraries" = NO; then
1448    ac_save_LIBS="$LIBS"
1449    LIBS="-l$x_direct_test_library $LIBS"
1450   cat > conftest.$ac_ext <<EOF
1451 < #line 1440 "configure"
1451 > #line 1452 "configure"
1452   #include "confdefs.h"
1453  
1454   int main() {
1455   ${x_direct_test_function}()
1456   ; return 0; }
1457   EOF
1458 < if { (eval echo configure:1447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1458 > if { (eval echo configure:1459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1459    rm -rf conftest*
1460    LIBS="$ac_save_LIBS"
1461   # We can link X programs with no special library path.
# Line 1549 | Line 1561 | else
1561      case "`(uname -sr) 2>/dev/null`" in
1562      "SunOS 5"*)
1563        echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1564 < echo "configure:1553: checking whether -R must be followed by a space" >&5
1564 > echo "configure:1565: checking whether -R must be followed by a space" >&5
1565        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
1566        cat > conftest.$ac_ext <<EOF
1567 < #line 1556 "configure"
1567 > #line 1568 "configure"
1568   #include "confdefs.h"
1569  
1570   int main() {
1571  
1572   ; return 0; }
1573   EOF
1574 < if { (eval echo configure:1563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1574 > if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1575    rm -rf conftest*
1576    ac_R_nospace=yes
1577   else
# Line 1575 | Line 1587 | rm -f conftest*
1587        else
1588          LIBS="$ac_xsave_LIBS -R $x_libraries"
1589          cat > conftest.$ac_ext <<EOF
1590 < #line 1579 "configure"
1590 > #line 1591 "configure"
1591   #include "confdefs.h"
1592  
1593   int main() {
1594  
1595   ; return 0; }
1596   EOF
1597 < if { (eval echo configure:1586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1597 > if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1598    rm -rf conftest*
1599    ac_R_space=yes
1600   else
# Line 1614 | Line 1626 | rm -f conftest*
1626      # libraries were built with DECnet support.  And karl@cs.umb.edu says
1627      # the Alpha needs dnet_stub (dnet does not exist).
1628      echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1629 < echo "configure:1618: checking for dnet_ntoa in -ldnet" >&5
1629 > echo "configure:1630: checking for dnet_ntoa in -ldnet" >&5
1630   ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1631   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1632    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1622 | Line 1634 | else
1634    ac_save_LIBS="$LIBS"
1635   LIBS="-ldnet  $LIBS"
1636   cat > conftest.$ac_ext <<EOF
1637 < #line 1626 "configure"
1637 > #line 1638 "configure"
1638   #include "confdefs.h"
1639   /* Override any gcc2 internal prototype to avoid an error.  */
1640   /* We use char because int might match the return type of a gcc2
# Line 1633 | Line 1645 | int main() {
1645   dnet_ntoa()
1646   ; return 0; }
1647   EOF
1648 < if { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1648 > if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1649    rm -rf conftest*
1650    eval "ac_cv_lib_$ac_lib_var=yes"
1651   else
# Line 1655 | Line 1667 | fi
1667  
1668      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1669        echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1670 < echo "configure:1659: checking for dnet_ntoa in -ldnet_stub" >&5
1670 > echo "configure:1671: checking for dnet_ntoa in -ldnet_stub" >&5
1671   ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1672   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1673    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1663 | Line 1675 | else
1675    ac_save_LIBS="$LIBS"
1676   LIBS="-ldnet_stub  $LIBS"
1677   cat > conftest.$ac_ext <<EOF
1678 < #line 1667 "configure"
1678 > #line 1679 "configure"
1679   #include "confdefs.h"
1680   /* Override any gcc2 internal prototype to avoid an error.  */
1681   /* We use char because int might match the return type of a gcc2
# Line 1674 | Line 1686 | int main() {
1686   dnet_ntoa()
1687   ; return 0; }
1688   EOF
1689 < if { (eval echo configure:1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1689 > if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1690    rm -rf conftest*
1691    eval "ac_cv_lib_$ac_lib_var=yes"
1692   else
# Line 1703 | Line 1715 | fi
1715      # The nsl library prevents programs from opening the X display
1716      # on Irix 5.2, according to dickey@clark.net.
1717      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1718 < echo "configure:1707: checking for gethostbyname" >&5
1718 > echo "configure:1719: checking for gethostbyname" >&5
1719   if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1720    echo $ac_n "(cached) $ac_c" 1>&6
1721   else
1722    cat > conftest.$ac_ext <<EOF
1723 < #line 1712 "configure"
1723 > #line 1724 "configure"
1724   #include "confdefs.h"
1725   /* System header to define __stub macros and hopefully few prototypes,
1726      which can conflict with char gethostbyname(); below.  */
# Line 1731 | Line 1743 | gethostbyname();
1743  
1744   ; return 0; }
1745   EOF
1746 < if { (eval echo configure:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1746 > if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1747    rm -rf conftest*
1748    eval "ac_cv_func_gethostbyname=yes"
1749   else
# Line 1752 | Line 1764 | fi
1764  
1765      if test $ac_cv_func_gethostbyname = no; then
1766        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1767 < echo "configure:1756: checking for gethostbyname in -lnsl" >&5
1767 > echo "configure:1768: checking for gethostbyname in -lnsl" >&5
1768   ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1769   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1770    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1760 | Line 1772 | else
1772    ac_save_LIBS="$LIBS"
1773   LIBS="-lnsl  $LIBS"
1774   cat > conftest.$ac_ext <<EOF
1775 < #line 1764 "configure"
1775 > #line 1776 "configure"
1776   #include "confdefs.h"
1777   /* Override any gcc2 internal prototype to avoid an error.  */
1778   /* We use char because int might match the return type of a gcc2
# Line 1771 | Line 1783 | int main() {
1783   gethostbyname()
1784   ; return 0; }
1785   EOF
1786 < if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1786 > if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1787    rm -rf conftest*
1788    eval "ac_cv_lib_$ac_lib_var=yes"
1789   else
# Line 1801 | Line 1813 | fi
1813      # -lsocket must be given before -lnsl if both are needed.
1814      # We assume that if connect needs -lnsl, so does gethostbyname.
1815      echo $ac_n "checking for connect""... $ac_c" 1>&6
1816 < echo "configure:1805: checking for connect" >&5
1816 > echo "configure:1817: checking for connect" >&5
1817   if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1818    echo $ac_n "(cached) $ac_c" 1>&6
1819   else
1820    cat > conftest.$ac_ext <<EOF
1821 < #line 1810 "configure"
1821 > #line 1822 "configure"
1822   #include "confdefs.h"
1823   /* System header to define __stub macros and hopefully few prototypes,
1824      which can conflict with char connect(); below.  */
# Line 1829 | Line 1841 | connect();
1841  
1842   ; return 0; }
1843   EOF
1844 < if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1844 > if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1845    rm -rf conftest*
1846    eval "ac_cv_func_connect=yes"
1847   else
# Line 1850 | Line 1862 | fi
1862  
1863      if test $ac_cv_func_connect = no; then
1864        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1865 < echo "configure:1854: checking for connect in -lsocket" >&5
1865 > echo "configure:1866: checking for connect in -lsocket" >&5
1866   ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1867   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1868    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1858 | Line 1870 | else
1870    ac_save_LIBS="$LIBS"
1871   LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1872   cat > conftest.$ac_ext <<EOF
1873 < #line 1862 "configure"
1873 > #line 1874 "configure"
1874   #include "confdefs.h"
1875   /* Override any gcc2 internal prototype to avoid an error.  */
1876   /* We use char because int might match the return type of a gcc2
# Line 1869 | Line 1881 | int main() {
1881   connect()
1882   ; return 0; }
1883   EOF
1884 < if { (eval echo configure:1873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1884 > if { (eval echo configure:1885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1885    rm -rf conftest*
1886    eval "ac_cv_lib_$ac_lib_var=yes"
1887   else
# Line 1893 | Line 1905 | fi
1905  
1906      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
1907      echo $ac_n "checking for remove""... $ac_c" 1>&6
1908 < echo "configure:1897: checking for remove" >&5
1908 > echo "configure:1909: checking for remove" >&5
1909   if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
1910    echo $ac_n "(cached) $ac_c" 1>&6
1911   else
1912    cat > conftest.$ac_ext <<EOF
1913 < #line 1902 "configure"
1913 > #line 1914 "configure"
1914   #include "confdefs.h"
1915   /* System header to define __stub macros and hopefully few prototypes,
1916      which can conflict with char remove(); below.  */
# Line 1921 | Line 1933 | remove();
1933  
1934   ; return 0; }
1935   EOF
1936 < if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1936 > if { (eval echo configure:1937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1937    rm -rf conftest*
1938    eval "ac_cv_func_remove=yes"
1939   else
# Line 1942 | Line 1954 | fi
1954  
1955      if test $ac_cv_func_remove = no; then
1956        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
1957 < echo "configure:1946: checking for remove in -lposix" >&5
1957 > echo "configure:1958: checking for remove in -lposix" >&5
1958   ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
1959   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1960    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1950 | Line 1962 | else
1962    ac_save_LIBS="$LIBS"
1963   LIBS="-lposix  $LIBS"
1964   cat > conftest.$ac_ext <<EOF
1965 < #line 1954 "configure"
1965 > #line 1966 "configure"
1966   #include "confdefs.h"
1967   /* Override any gcc2 internal prototype to avoid an error.  */
1968   /* We use char because int might match the return type of a gcc2
# Line 1961 | Line 1973 | int main() {
1973   remove()
1974   ; return 0; }
1975   EOF
1976 < if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1976 > if { (eval echo configure:1977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1977    rm -rf conftest*
1978    eval "ac_cv_lib_$ac_lib_var=yes"
1979   else
# Line 1985 | Line 1997 | fi
1997  
1998      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1999      echo $ac_n "checking for shmat""... $ac_c" 1>&6
2000 < echo "configure:1989: checking for shmat" >&5
2000 > echo "configure:2001: checking for shmat" >&5
2001   if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2002    echo $ac_n "(cached) $ac_c" 1>&6
2003   else
2004    cat > conftest.$ac_ext <<EOF
2005 < #line 1994 "configure"
2005 > #line 2006 "configure"
2006   #include "confdefs.h"
2007   /* System header to define __stub macros and hopefully few prototypes,
2008      which can conflict with char shmat(); below.  */
# Line 2013 | Line 2025 | shmat();
2025  
2026   ; return 0; }
2027   EOF
2028 < if { (eval echo configure:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2028 > if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2029    rm -rf conftest*
2030    eval "ac_cv_func_shmat=yes"
2031   else
# Line 2034 | Line 2046 | fi
2046  
2047      if test $ac_cv_func_shmat = no; then
2048        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2049 < echo "configure:2038: checking for shmat in -lipc" >&5
2049 > echo "configure:2050: checking for shmat in -lipc" >&5
2050   ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2051   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2052    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2042 | Line 2054 | else
2054    ac_save_LIBS="$LIBS"
2055   LIBS="-lipc  $LIBS"
2056   cat > conftest.$ac_ext <<EOF
2057 < #line 2046 "configure"
2057 > #line 2058 "configure"
2058   #include "confdefs.h"
2059   /* Override any gcc2 internal prototype to avoid an error.  */
2060   /* We use char because int might match the return type of a gcc2
# Line 2053 | Line 2065 | int main() {
2065   shmat()
2066   ; return 0; }
2067   EOF
2068 < if { (eval echo configure:2057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2068 > if { (eval echo configure:2069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2069    rm -rf conftest*
2070    eval "ac_cv_lib_$ac_lib_var=yes"
2071   else
# Line 2086 | Line 2098 | fi
2098    # libraries we check for below, so use a different variable.
2099    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2100    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2101 < echo "configure:2090: checking for IceConnectionNumber in -lICE" >&5
2101 > echo "configure:2102: checking for IceConnectionNumber in -lICE" >&5
2102   ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2103   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2104    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2094 | Line 2106 | else
2106    ac_save_LIBS="$LIBS"
2107   LIBS="-lICE $X_EXTRA_LIBS $LIBS"
2108   cat > conftest.$ac_ext <<EOF
2109 < #line 2098 "configure"
2109 > #line 2110 "configure"
2110   #include "confdefs.h"
2111   /* Override any gcc2 internal prototype to avoid an error.  */
2112   /* We use char because int might match the return type of a gcc2
# Line 2105 | Line 2117 | int main() {
2117   IceConnectionNumber()
2118   ; return 0; }
2119   EOF
2120 < if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2120 > if { (eval echo configure:2121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2121    rm -rf conftest*
2122    eval "ac_cv_lib_$ac_lib_var=yes"
2123   else
# Line 2137 | Line 2149 | CXXFLAGS="$CXXFLAGS $X_CFLAGS"
2149   LIBS="$LIBS $X_PRE_LIBS $X_LIBS -lX11 -lXext $X_EXTRA_LIBS"
2150  
2151   echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
2152 < echo "configure:2141: checking for pthread_create in -lpthread" >&5
2152 > echo "configure:2153: checking for pthread_create in -lpthread" >&5
2153   ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
2154   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2155    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2145 | Line 2157 | else
2157    ac_save_LIBS="$LIBS"
2158   LIBS="-lpthread  $LIBS"
2159   cat > conftest.$ac_ext <<EOF
2160 < #line 2149 "configure"
2160 > #line 2161 "configure"
2161   #include "confdefs.h"
2162   /* Override any gcc2 internal prototype to avoid an error.  */
2163   /* We use char because int might match the return type of a gcc2
# Line 2156 | Line 2168 | int main() {
2168   pthread_create()
2169   ; return 0; }
2170   EOF
2171 < if { (eval echo configure:2160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2171 > if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2172    rm -rf conftest*
2173    eval "ac_cv_lib_$ac_lib_var=yes"
2174   else
# Line 2183 | Line 2195 | else
2195    echo "$ac_t""no" 1>&6
2196  
2197    echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
2198 < echo "configure:2187: checking for pthread_create in -lc_r" >&5
2198 > echo "configure:2199: checking for pthread_create in -lc_r" >&5
2199   ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
2200   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2201    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2191 | Line 2203 | else
2203    ac_save_LIBS="$LIBS"
2204   LIBS="-lc_r  $LIBS"
2205   cat > conftest.$ac_ext <<EOF
2206 < #line 2195 "configure"
2206 > #line 2207 "configure"
2207   #include "confdefs.h"
2208   /* Override any gcc2 internal prototype to avoid an error.  */
2209   /* We use char because int might match the return type of a gcc2
# Line 2202 | Line 2214 | int main() {
2214   pthread_create()
2215   ; return 0; }
2216   EOF
2217 < if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2217 > if { (eval echo configure:2218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2218    rm -rf conftest*
2219    eval "ac_cv_lib_$ac_lib_var=yes"
2220   else
# Line 2229 | Line 2241 | else
2241    echo "$ac_t""no" 1>&6
2242  
2243      echo $ac_n "checking for pthread_create in -lPTL""... $ac_c" 1>&6
2244 < echo "configure:2233: checking for pthread_create in -lPTL" >&5
2244 > echo "configure:2245: checking for pthread_create in -lPTL" >&5
2245   ac_lib_var=`echo PTL'_'pthread_create | sed 'y%./+-%__p_%'`
2246   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2247    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2237 | Line 2249 | else
2249    ac_save_LIBS="$LIBS"
2250   LIBS="-lPTL  $LIBS"
2251   cat > conftest.$ac_ext <<EOF
2252 < #line 2241 "configure"
2252 > #line 2253 "configure"
2253   #include "confdefs.h"
2254   /* Override any gcc2 internal prototype to avoid an error.  */
2255   /* We use char because int might match the return type of a gcc2
# Line 2248 | Line 2260 | int main() {
2260   pthread_create()
2261   ; return 0; }
2262   EOF
2263 < if { (eval echo configure:2252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2263 > if { (eval echo configure:2264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2264    rm -rf conftest*
2265    eval "ac_cv_lib_$ac_lib_var=yes"
2266   else
# Line 2289 | Line 2301 | SEMSRCS=
2301   for ac_func in sem_init
2302   do
2303   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2304 < echo "configure:2293: checking for $ac_func" >&5
2304 > echo "configure:2305: checking for $ac_func" >&5
2305   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2306    echo $ac_n "(cached) $ac_c" 1>&6
2307   else
2308    cat > conftest.$ac_ext <<EOF
2309 < #line 2298 "configure"
2309 > #line 2310 "configure"
2310   #include "confdefs.h"
2311   /* System header to define __stub macros and hopefully few prototypes,
2312      which can conflict with char $ac_func(); below.  */
# Line 2317 | Line 2329 | $ac_func();
2329  
2330   ; return 0; }
2331   EOF
2332 < if { (eval echo configure:2321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2332 > if { (eval echo configure:2333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2333    rm -rf conftest*
2334    eval "ac_cv_func_$ac_func=yes"
2335   else
# Line 2346 | Line 2358 | done
2358  
2359   if [ "x$WANT_XF86_DGA" = "xyes" ]; then
2360    echo $ac_n "checking for XF86DGAQueryExtension in -lXxf86dga""... $ac_c" 1>&6
2361 < echo "configure:2350: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
2361 > echo "configure:2362: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
2362   ac_lib_var=`echo Xxf86dga'_'XF86DGAQueryExtension | sed 'y%./+-%__p_%'`
2363   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2364    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2354 | Line 2366 | else
2366    ac_save_LIBS="$LIBS"
2367   LIBS="-lXxf86dga  $LIBS"
2368   cat > conftest.$ac_ext <<EOF
2369 < #line 2358 "configure"
2369 > #line 2370 "configure"
2370   #include "confdefs.h"
2371   /* Override any gcc2 internal prototype to avoid an error.  */
2372   /* We use char because int might match the return type of a gcc2
# Line 2365 | Line 2377 | int main() {
2377   XF86DGAQueryExtension()
2378   ; return 0; }
2379   EOF
2380 < if { (eval echo configure:2369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2380 > if { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2381    rm -rf conftest*
2382    eval "ac_cv_lib_$ac_lib_var=yes"
2383   else
# Line 2406 | Line 2418 | else
2418    DEFINES="$DEFINES -DENABLE_FBDEV_DGA=0"
2419   fi
2420  
2421 + if [ "x$WANT_XF86_VIDMODE" = "xyes" ]; then
2422 +  echo $ac_n "checking for XF86VidModeQueryExtension in -lXxf86vm""... $ac_c" 1>&6
2423 + echo "configure:2424: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
2424 + ac_lib_var=`echo Xxf86vm'_'XF86VidModeQueryExtension | sed 'y%./+-%__p_%'`
2425 + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2426 +  echo $ac_n "(cached) $ac_c" 1>&6
2427 + else
2428 +  ac_save_LIBS="$LIBS"
2429 + LIBS="-lXxf86vm  $LIBS"
2430 + cat > conftest.$ac_ext <<EOF
2431 + #line 2432 "configure"
2432 + #include "confdefs.h"
2433 + /* Override any gcc2 internal prototype to avoid an error.  */
2434 + /* We use char because int might match the return type of a gcc2
2435 +    builtin and then its argument prototype would still apply.  */
2436 + char XF86VidModeQueryExtension();
2437 +
2438 + int main() {
2439 + XF86VidModeQueryExtension()
2440 + ; return 0; }
2441 + EOF
2442 + if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2443 +  rm -rf conftest*
2444 +  eval "ac_cv_lib_$ac_lib_var=yes"
2445 + else
2446 +  echo "configure: failed program was:" >&5
2447 +  cat conftest.$ac_ext >&5
2448 +  rm -rf conftest*
2449 +  eval "ac_cv_lib_$ac_lib_var=no"
2450 + fi
2451 + rm -f conftest*
2452 + LIBS="$ac_save_LIBS"
2453 +
2454 + fi
2455 + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2456 +  echo "$ac_t""yes" 1>&6
2457 +  
2458 +    DEFINES="$DEFINES -DENABLE_XF86_VIDMODE=1"
2459 +    LIBS="$LIBS -lXxf86vm"
2460 +  
2461 + else
2462 +  echo "$ac_t""no" 1>&6
2463 +
2464 +    echo "configure: warning: Could not find XFree86 VidMode extension, ignoring --enable-xf86-vidmode." 1>&2
2465 +    WANT_XF86_VIDMODE=no
2466 +    DEFINES="$DEFINES -DENABLE_XF86_VIDMODE=0"
2467 +  
2468 + fi
2469 +
2470 + fi
2471 +
2472   UISRCS=../dummy/prefs_editor_dummy.cpp
2473   if [ "x$WANT_GTK" = "xyes" ]; then
2474    # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
# Line 2449 | Line 2512 | fi
2512    # Extract the first word of "gtk-config", so it can be a program name with args.
2513   set dummy gtk-config; ac_word=$2
2514   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2515 < echo "configure:2453: checking for $ac_word" >&5
2515 > echo "configure:2516: checking for $ac_word" >&5
2516   if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
2517    echo $ac_n "(cached) $ac_c" 1>&6
2518   else
# Line 2484 | Line 2547 | fi
2547  
2548    min_gtk_version=1.2.0
2549    echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
2550 < echo "configure:2488: checking for GTK - version >= $min_gtk_version" >&5
2550 > echo "configure:2551: checking for GTK - version >= $min_gtk_version" >&5
2551    no_gtk=""
2552    if test "$GTK_CONFIG" = "no" ; then
2553      no_gtk=yes
# Line 2507 | Line 2570 | echo "configure:2488: checking for GTK -
2570    echo $ac_n "cross compiling; assumed OK... $ac_c"
2571   else
2572    cat > conftest.$ac_ext <<EOF
2573 < #line 2511 "configure"
2573 > #line 2574 "configure"
2574   #include "confdefs.h"
2575  
2576   #include <gtk/gtk.h>
# Line 2570 | Line 2633 | main ()
2633   }
2634  
2635   EOF
2636 < if { (eval echo configure:2574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2636 > if { (eval echo configure:2637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2637   then
2638    :
2639   else
# Line 2610 | Line 2673 | fi
2673            CFLAGS="$CFLAGS $GTK_CFLAGS"
2674            LIBS="$LIBS $GTK_LIBS"
2675            cat > conftest.$ac_ext <<EOF
2676 < #line 2614 "configure"
2676 > #line 2677 "configure"
2677   #include "confdefs.h"
2678  
2679   #include <gtk/gtk.h>
# Line 2620 | Line 2683 | int main() {
2683   return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
2684   ; return 0; }
2685   EOF
2686 < if { (eval echo configure:2624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2686 > if { (eval echo configure:2687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2687    rm -rf conftest*
2688     echo "*** The test program compiled, but did not run. This usually means"
2689            echo "*** that the run-time linker is not finding GTK or finding the wrong"
# Line 2655 | Line 2718 | rm -f conftest*
2718      
2719      echo "configure: warning: Could not find GTK+, disabling user interface." 1>&2
2720      WANT_GTK=no
2721 +    DEFINES="$DEFINES -DENABLE_GTK=0"
2722    
2723    fi
2724    
# Line 2705 | Line 2769 | fi
2769    # Extract the first word of "esd-config", so it can be a program name with args.
2770   set dummy esd-config; ac_word=$2
2771   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2772 < echo "configure:2709: checking for $ac_word" >&5
2772 > echo "configure:2773: checking for $ac_word" >&5
2773   if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then
2774    echo $ac_n "(cached) $ac_c" 1>&6
2775   else
# Line 2740 | Line 2804 | fi
2804  
2805    min_esd_version=0.2.8
2806    echo $ac_n "checking for ESD - version >= $min_esd_version""... $ac_c" 1>&6
2807 < echo "configure:2744: checking for ESD - version >= $min_esd_version" >&5
2807 > echo "configure:2808: checking for ESD - version >= $min_esd_version" >&5
2808    no_esd=""
2809    if test "$ESD_CONFIG" = "no" ; then
2810      no_esd=yes
# Line 2764 | Line 2828 | echo "configure:2744: checking for ESD -
2828    echo $ac_n "cross compiling; assumed OK... $ac_c"
2829   else
2830    cat > conftest.$ac_ext <<EOF
2831 < #line 2768 "configure"
2831 > #line 2832 "configure"
2832   #include "confdefs.h"
2833  
2834   #include <stdio.h>
# Line 2822 | Line 2886 | int main ()
2886  
2887  
2888   EOF
2889 < if { (eval echo configure:2826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2889 > if { (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2890   then
2891    :
2892   else
# Line 2861 | Line 2925 | fi
2925            CFLAGS="$CFLAGS $ESD_CFLAGS"
2926            LIBS="$LIBS $ESD_LIBS"
2927            cat > conftest.$ac_ext <<EOF
2928 < #line 2865 "configure"
2928 > #line 2929 "configure"
2929   #include "confdefs.h"
2930  
2931   #include <stdio.h>
# Line 2871 | Line 2935 | int main() {
2935   return 0;
2936   ; return 0; }
2937   EOF
2938 < if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2938 > if { (eval echo configure:2939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2939    rm -rf conftest*
2940     echo "*** The test program compiled, but did not run. This usually means"
2941            echo "*** that the run-time linker is not finding ESD or finding the wrong"
# Line 2901 | Line 2965 | rm -f conftest*
2965      
2966      echo "configure: warning: Could not find ESD, disabling ESD support." 1>&2
2967      WANT_ESD=no
2968 +    DEFINES="$DEFINES -DENABLE_ESD=0"
2969    
2970    fi
2971    
# Line 2910 | Line 2975 | rm -f conftest*
2975   fi
2976  
2977   echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2978 < echo "configure:2914: checking for ANSI C header files" >&5
2978 > echo "configure:2979: checking for ANSI C header files" >&5
2979   if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2980    echo $ac_n "(cached) $ac_c" 1>&6
2981   else
2982    cat > conftest.$ac_ext <<EOF
2983 < #line 2919 "configure"
2983 > #line 2984 "configure"
2984   #include "confdefs.h"
2985   #include <stdlib.h>
2986   #include <stdarg.h>
# Line 2923 | Line 2988 | else
2988   #include <float.h>
2989   EOF
2990   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2991 < { (eval echo configure:2927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2991 > { (eval echo configure:2992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2992   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2993   if test -z "$ac_err"; then
2994    rm -rf conftest*
# Line 2940 | Line 3005 | rm -f conftest*
3005   if test $ac_cv_header_stdc = yes; then
3006    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3007   cat > conftest.$ac_ext <<EOF
3008 < #line 2944 "configure"
3008 > #line 3009 "configure"
3009   #include "confdefs.h"
3010   #include <string.h>
3011   EOF
# Line 2958 | Line 3023 | fi
3023   if test $ac_cv_header_stdc = yes; then
3024    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3025   cat > conftest.$ac_ext <<EOF
3026 < #line 2962 "configure"
3026 > #line 3027 "configure"
3027   #include "confdefs.h"
3028   #include <stdlib.h>
3029   EOF
# Line 2979 | Line 3044 | if test "$cross_compiling" = yes; then
3044    :
3045   else
3046    cat > conftest.$ac_ext <<EOF
3047 < #line 2983 "configure"
3047 > #line 3048 "configure"
3048   #include "confdefs.h"
3049   #include <ctype.h>
3050   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 2990 | Line 3055 | if (XOR (islower (i), ISLOWER (i)) || to
3055   exit (0); }
3056  
3057   EOF
3058 < if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3058 > if { (eval echo configure:3059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3059   then
3060    :
3061   else
# Line 3017 | Line 3082 | for ac_hdr in unistd.h fcntl.h sys/time.
3082   do
3083   ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3084   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3085 < echo "configure:3021: checking for $ac_hdr" >&5
3085 > echo "configure:3086: checking for $ac_hdr" >&5
3086   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3087    echo $ac_n "(cached) $ac_c" 1>&6
3088   else
3089    cat > conftest.$ac_ext <<EOF
3090 < #line 3026 "configure"
3090 > #line 3091 "configure"
3091   #include "confdefs.h"
3092   #include <$ac_hdr>
3093   EOF
3094   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3095 < { (eval echo configure:3031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3095 > { (eval echo configure:3096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3096   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3097   if test -z "$ac_err"; then
3098    rm -rf conftest*
# Line 3055 | Line 3120 | done
3120  
3121  
3122   echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3123 < echo "configure:3059: checking whether byte ordering is bigendian" >&5
3123 > echo "configure:3124: checking whether byte ordering is bigendian" >&5
3124   if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3125    echo $ac_n "(cached) $ac_c" 1>&6
3126   else
3127    ac_cv_c_bigendian=unknown
3128   # See if sys/param.h defines the BYTE_ORDER macro.
3129   cat > conftest.$ac_ext <<EOF
3130 < #line 3066 "configure"
3130 > #line 3131 "configure"
3131   #include "confdefs.h"
3132   #include <sys/types.h>
3133   #include <sys/param.h>
# Line 3073 | Line 3138 | int main() {
3138   #endif
3139   ; return 0; }
3140   EOF
3141 < if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3141 > if { (eval echo configure:3142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3142    rm -rf conftest*
3143    # It does; now see whether it defined to BIG_ENDIAN or not.
3144   cat > conftest.$ac_ext <<EOF
3145 < #line 3081 "configure"
3145 > #line 3146 "configure"
3146   #include "confdefs.h"
3147   #include <sys/types.h>
3148   #include <sys/param.h>
# Line 3088 | Line 3153 | int main() {
3153   #endif
3154   ; return 0; }
3155   EOF
3156 < if { (eval echo configure:3092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3156 > if { (eval echo configure:3157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3157    rm -rf conftest*
3158    ac_cv_c_bigendian=yes
3159   else
# Line 3108 | Line 3173 | if test "$cross_compiling" = yes; then
3173      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3174   else
3175    cat > conftest.$ac_ext <<EOF
3176 < #line 3112 "configure"
3176 > #line 3177 "configure"
3177   #include "confdefs.h"
3178   main () {
3179    /* Are we little or big endian?  From Harbison&Steele.  */
# Line 3121 | Line 3186 | main () {
3186    exit (u.c[sizeof (long) - 1] == 1);
3187   }
3188   EOF
3189 < if { (eval echo configure:3125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3189 > if { (eval echo configure:3190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3190   then
3191    ac_cv_c_bigendian=no
3192   else
# Line 3145 | Line 3210 | EOF
3210   fi
3211  
3212   echo $ac_n "checking for working const""... $ac_c" 1>&6
3213 < echo "configure:3149: checking for working const" >&5
3213 > echo "configure:3214: checking for working const" >&5
3214   if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3215    echo $ac_n "(cached) $ac_c" 1>&6
3216   else
3217    cat > conftest.$ac_ext <<EOF
3218 < #line 3154 "configure"
3218 > #line 3219 "configure"
3219   #include "confdefs.h"
3220  
3221   int main() {
# Line 3199 | Line 3264 | ccp = (char const *const *) p;
3264  
3265   ; return 0; }
3266   EOF
3267 < if { (eval echo configure:3203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3267 > if { (eval echo configure:3268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3268    rm -rf conftest*
3269    ac_cv_c_const=yes
3270   else
# Line 3220 | Line 3285 | EOF
3285   fi
3286  
3287   echo $ac_n "checking for inline""... $ac_c" 1>&6
3288 < echo "configure:3224: checking for inline" >&5
3288 > echo "configure:3289: checking for inline" >&5
3289   if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3290    echo $ac_n "(cached) $ac_c" 1>&6
3291   else
3292    ac_cv_c_inline=no
3293   for ac_kw in inline __inline__ __inline; do
3294    cat > conftest.$ac_ext <<EOF
3295 < #line 3231 "configure"
3295 > #line 3296 "configure"
3296   #include "confdefs.h"
3297  
3298   int main() {
3299   } $ac_kw foo() {
3300   ; return 0; }
3301   EOF
3302 < if { (eval echo configure:3238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3302 > if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3303    rm -rf conftest*
3304    ac_cv_c_inline=$ac_kw; break
3305   else
# Line 3260 | Line 3325 | EOF
3325   esac
3326  
3327   echo $ac_n "checking size of short""... $ac_c" 1>&6
3328 < echo "configure:3264: checking size of short" >&5
3328 > echo "configure:3329: checking size of short" >&5
3329   if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
3330    echo $ac_n "(cached) $ac_c" 1>&6
3331   else
# Line 3268 | Line 3333 | else
3333    ac_cv_sizeof_short=2
3334   else
3335    cat > conftest.$ac_ext <<EOF
3336 < #line 3272 "configure"
3336 > #line 3337 "configure"
3337   #include "confdefs.h"
3338   #include <stdio.h>
3339   main()
# Line 3279 | Line 3344 | main()
3344    exit(0);
3345   }
3346   EOF
3347 < if { (eval echo configure:3283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3347 > if { (eval echo configure:3348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3348   then
3349    ac_cv_sizeof_short=`cat conftestval`
3350   else
# Line 3299 | Line 3364 | EOF
3364  
3365  
3366   echo $ac_n "checking size of int""... $ac_c" 1>&6
3367 < echo "configure:3303: checking size of int" >&5
3367 > echo "configure:3368: checking size of int" >&5
3368   if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3369    echo $ac_n "(cached) $ac_c" 1>&6
3370   else
# Line 3307 | Line 3372 | else
3372    ac_cv_sizeof_int=4
3373   else
3374    cat > conftest.$ac_ext <<EOF
3375 < #line 3311 "configure"
3375 > #line 3376 "configure"
3376   #include "confdefs.h"
3377   #include <stdio.h>
3378   main()
# Line 3318 | Line 3383 | main()
3383    exit(0);
3384   }
3385   EOF
3386 < if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3386 > if { (eval echo configure:3387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3387   then
3388    ac_cv_sizeof_int=`cat conftestval`
3389   else
# Line 3338 | Line 3403 | EOF
3403  
3404  
3405   echo $ac_n "checking size of long""... $ac_c" 1>&6
3406 < echo "configure:3342: checking size of long" >&5
3406 > echo "configure:3407: checking size of long" >&5
3407   if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3408    echo $ac_n "(cached) $ac_c" 1>&6
3409   else
# Line 3346 | Line 3411 | else
3411    ac_cv_sizeof_long=4
3412   else
3413    cat > conftest.$ac_ext <<EOF
3414 < #line 3350 "configure"
3414 > #line 3415 "configure"
3415   #include "confdefs.h"
3416   #include <stdio.h>
3417   main()
# Line 3357 | Line 3422 | main()
3422    exit(0);
3423   }
3424   EOF
3425 < if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3425 > if { (eval echo configure:3426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3426   then
3427    ac_cv_sizeof_long=`cat conftestval`
3428   else
# Line 3377 | Line 3442 | EOF
3442  
3443  
3444   echo $ac_n "checking size of long long""... $ac_c" 1>&6
3445 < echo "configure:3381: checking size of long long" >&5
3445 > echo "configure:3446: checking size of long long" >&5
3446   if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
3447    echo $ac_n "(cached) $ac_c" 1>&6
3448   else
# Line 3385 | Line 3450 | else
3450    ac_cv_sizeof_long_long=8
3451   else
3452    cat > conftest.$ac_ext <<EOF
3453 < #line 3389 "configure"
3453 > #line 3454 "configure"
3454   #include "confdefs.h"
3455   #include <stdio.h>
3456   main()
# Line 3396 | Line 3461 | main()
3461    exit(0);
3462   }
3463   EOF
3464 < if { (eval echo configure:3400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3464 > if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3465   then
3466    ac_cv_sizeof_long_long=`cat conftestval`
3467   else
# Line 3416 | Line 3481 | EOF
3481  
3482  
3483   echo $ac_n "checking for off_t""... $ac_c" 1>&6
3484 < echo "configure:3420: checking for off_t" >&5
3484 > echo "configure:3485: checking for off_t" >&5
3485   if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3486    echo $ac_n "(cached) $ac_c" 1>&6
3487   else
3488    cat > conftest.$ac_ext <<EOF
3489 < #line 3425 "configure"
3489 > #line 3490 "configure"
3490   #include "confdefs.h"
3491   #include <sys/types.h>
3492   #if STDC_HEADERS
# Line 3449 | Line 3514 | EOF
3514   fi
3515  
3516   echo $ac_n "checking for loff_t""... $ac_c" 1>&6
3517 < echo "configure:3453: checking for loff_t" >&5
3517 > echo "configure:3518: checking for loff_t" >&5
3518   if eval "test \"`echo '$''{'ac_cv_type_loff_t'+set}'`\" = set"; then
3519    echo $ac_n "(cached) $ac_c" 1>&6
3520   else
3521    cat > conftest.$ac_ext <<EOF
3522 < #line 3458 "configure"
3522 > #line 3523 "configure"
3523   #include "confdefs.h"
3524   #include <sys/types.h>
3525   #if STDC_HEADERS
# Line 3482 | Line 3547 | EOF
3547   fi
3548  
3549   echo $ac_n "checking for size_t""... $ac_c" 1>&6
3550 < echo "configure:3486: checking for size_t" >&5
3550 > echo "configure:3551: checking for size_t" >&5
3551   if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3552    echo $ac_n "(cached) $ac_c" 1>&6
3553   else
3554    cat > conftest.$ac_ext <<EOF
3555 < #line 3491 "configure"
3555 > #line 3556 "configure"
3556   #include "confdefs.h"
3557   #include <sys/types.h>
3558   #if STDC_HEADERS
# Line 3515 | Line 3580 | EOF
3580   fi
3581  
3582   echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3583 < echo "configure:3519: checking whether time.h and sys/time.h may both be included" >&5
3583 > echo "configure:3584: checking whether time.h and sys/time.h may both be included" >&5
3584   if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3585    echo $ac_n "(cached) $ac_c" 1>&6
3586   else
3587    cat > conftest.$ac_ext <<EOF
3588 < #line 3524 "configure"
3588 > #line 3589 "configure"
3589   #include "confdefs.h"
3590   #include <sys/types.h>
3591   #include <sys/time.h>
# Line 3529 | Line 3594 | int main() {
3594   struct tm *tp;
3595   ; return 0; }
3596   EOF
3597 < if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3597 > if { (eval echo configure:3598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3598    rm -rf conftest*
3599    ac_cv_header_time=yes
3600   else
# Line 3550 | Line 3615 | EOF
3615   fi
3616  
3617   echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3618 < echo "configure:3554: checking whether struct tm is in sys/time.h or time.h" >&5
3618 > echo "configure:3619: checking whether struct tm is in sys/time.h or time.h" >&5
3619   if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3620    echo $ac_n "(cached) $ac_c" 1>&6
3621   else
3622    cat > conftest.$ac_ext <<EOF
3623 < #line 3559 "configure"
3623 > #line 3624 "configure"
3624   #include "confdefs.h"
3625   #include <sys/types.h>
3626   #include <time.h>
# Line 3563 | Line 3628 | int main() {
3628   struct tm *tp; tp->tm_sec;
3629   ; return 0; }
3630   EOF
3631 < if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3631 > if { (eval echo configure:3632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3632    rm -rf conftest*
3633    ac_cv_struct_tm=time.h
3634   else
# Line 3587 | Line 3652 | fi
3652   for ac_func in strdup cfmakeraw
3653   do
3654   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3655 < echo "configure:3591: checking for $ac_func" >&5
3655 > echo "configure:3656: checking for $ac_func" >&5
3656   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3657    echo $ac_n "(cached) $ac_c" 1>&6
3658   else
3659    cat > conftest.$ac_ext <<EOF
3660 < #line 3596 "configure"
3660 > #line 3661 "configure"
3661   #include "confdefs.h"
3662   /* System header to define __stub macros and hopefully few prototypes,
3663      which can conflict with char $ac_func(); below.  */
# Line 3615 | Line 3680 | $ac_func();
3680  
3681   ; return 0; }
3682   EOF
3683 < if { (eval echo configure:3619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3683 > if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3684    rm -rf conftest*
3685    eval "ac_cv_func_$ac_func=yes"
3686   else
# Line 3642 | Line 3707 | done
3707   for ac_func in nanosleep clock_gettime timer_create
3708   do
3709   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3710 < echo "configure:3646: checking for $ac_func" >&5
3710 > echo "configure:3711: checking for $ac_func" >&5
3711   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3712    echo $ac_n "(cached) $ac_c" 1>&6
3713   else
3714    cat > conftest.$ac_ext <<EOF
3715 < #line 3651 "configure"
3715 > #line 3716 "configure"
3716   #include "confdefs.h"
3717   /* System header to define __stub macros and hopefully few prototypes,
3718      which can conflict with char $ac_func(); below.  */
# Line 3670 | Line 3735 | $ac_func();
3735  
3736   ; return 0; }
3737   EOF
3738 < if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3738 > if { (eval echo configure:3739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3739    rm -rf conftest*
3740    eval "ac_cv_func_$ac_func=yes"
3741   else
# Line 3697 | Line 3762 | done
3762   for ac_func in pthread_cancel
3763   do
3764   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3765 < echo "configure:3701: checking for $ac_func" >&5
3765 > echo "configure:3766: checking for $ac_func" >&5
3766   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3767    echo $ac_n "(cached) $ac_c" 1>&6
3768   else
3769    cat > conftest.$ac_ext <<EOF
3770 < #line 3706 "configure"
3770 > #line 3771 "configure"
3771   #include "confdefs.h"
3772   /* System header to define __stub macros and hopefully few prototypes,
3773      which can conflict with char $ac_func(); below.  */
# Line 3725 | Line 3790 | $ac_func();
3790  
3791   ; return 0; }
3792   EOF
3793 < if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3793 > if { (eval echo configure:3794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3794    rm -rf conftest*
3795    eval "ac_cv_func_$ac_func=yes"
3796   else
# Line 3758 | Line 3823 | if MACHINE=`uname -a 2>/dev/null`; then
3823      ;;
3824    FreeBSD*3.*)
3825          echo $ac_n "checking for cam_open_btl in -lcam""... $ac_c" 1>&6
3826 < echo "configure:3762: checking for cam_open_btl in -lcam" >&5
3826 > echo "configure:3827: checking for cam_open_btl in -lcam" >&5
3827   ac_lib_var=`echo cam'_'cam_open_btl | sed 'y%./+-%__p_%'`
3828   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3829    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3766 | Line 3831 | else
3831    ac_save_LIBS="$LIBS"
3832   LIBS="-lcam  $LIBS"
3833   cat > conftest.$ac_ext <<EOF
3834 < #line 3770 "configure"
3834 > #line 3835 "configure"
3835   #include "confdefs.h"
3836   /* Override any gcc2 internal prototype to avoid an error.  */
3837   /* We use char because int might match the return type of a gcc2
# Line 3777 | Line 3842 | int main() {
3842   cam_open_btl()
3843   ; return 0; }
3844   EOF
3845 < if { (eval echo configure:3781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3845 > if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3846    rm -rf conftest*
3847    eval "ac_cv_lib_$ac_lib_var=yes"
3848   else
# Line 3803 | Line 3868 | fi
3868      else
3869              ac_safe=`echo "/sys/cam/cam.h" | sed 'y%./+-%__p_%'`
3870   echo $ac_n "checking for /sys/cam/cam.h""... $ac_c" 1>&6
3871 < echo "configure:3807: checking for /sys/cam/cam.h" >&5
3871 > echo "configure:3872: checking for /sys/cam/cam.h" >&5
3872   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3873    echo $ac_n "(cached) $ac_c" 1>&6
3874   else
3875    cat > conftest.$ac_ext <<EOF
3876 < #line 3812 "configure"
3876 > #line 3877 "configure"
3877   #include "confdefs.h"
3878   #include </sys/cam/cam.h>
3879   EOF
3880   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3881 < { (eval echo configure:3817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3881 > { (eval echo configure:3882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3882   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3883   if test -z "$ac_err"; then
3884    rm -rf conftest*
# Line 3846 | Line 3911 | fi
3911      ;;
3912    FreeBSD*)
3913          echo $ac_n "checking for scsi_open in -lscsi""... $ac_c" 1>&6
3914 < echo "configure:3850: checking for scsi_open in -lscsi" >&5
3914 > echo "configure:3915: checking for scsi_open in -lscsi" >&5
3915   ac_lib_var=`echo scsi'_'scsi_open | sed 'y%./+-%__p_%'`
3916   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3917    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3854 | Line 3919 | else
3919    ac_save_LIBS="$LIBS"
3920   LIBS="-lscsi  $LIBS"
3921   cat > conftest.$ac_ext <<EOF
3922 < #line 3858 "configure"
3922 > #line 3923 "configure"
3923   #include "confdefs.h"
3924   /* Override any gcc2 internal prototype to avoid an error.  */
3925   /* We use char because int might match the return type of a gcc2
# Line 3865 | Line 3930 | int main() {
3930   scsi_open()
3931   ; return 0; }
3932   EOF
3933 < if { (eval echo configure:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3933 > if { (eval echo configure:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3934    rm -rf conftest*
3935    eval "ac_cv_lib_$ac_lib_var=yes"
3936   else
# Line 3891 | Line 3956 | fi
3956      else
3957              ac_safe=`echo "scsi.h sys/scsiio.h" | sed 'y%./+-%__p_%'`
3958   echo $ac_n "checking for scsi.h sys/scsiio.h""... $ac_c" 1>&6
3959 < echo "configure:3895: checking for scsi.h sys/scsiio.h" >&5
3959 > echo "configure:3960: checking for scsi.h sys/scsiio.h" >&5
3960   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3961    echo $ac_n "(cached) $ac_c" 1>&6
3962   else
3963    cat > conftest.$ac_ext <<EOF
3964 < #line 3900 "configure"
3964 > #line 3965 "configure"
3965   #include "confdefs.h"
3966   #include <scsi.h sys/scsiio.h>
3967   EOF
3968   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3969 < { (eval echo configure:3905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3969 > { (eval echo configure:3970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3970   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3971   if test -z "$ac_err"; then
3972    rm -rf conftest*
# Line 3945 | Line 4010 | SYSSRCS="$SYSSRCS $SEMSRCS $UISRCS $MONS
4010  
4011   HAVE_I386=no
4012   echo $ac_n "checking for x86 target CPU""... $ac_c" 1>&6
4013 < echo "configure:3949: checking for x86 target CPU" >&5
4013 > echo "configure:4014: checking for x86 target CPU" >&5
4014   cat > conftest.$ac_ext <<EOF
4015 < #line 3951 "configure"
4015 > #line 4016 "configure"
4016   #include "confdefs.h"
4017  
4018   #ifdef __i386__
# Line 3968 | Line 4033 | rm -f conftest*
4033  
4034   HAVE_SPARC=no
4035   echo $ac_n "checking for SPARC target CPU""... $ac_c" 1>&6
4036 < echo "configure:3972: checking for SPARC target CPU" >&5
4036 > echo "configure:4037: checking for SPARC target CPU" >&5
4037   cat > conftest.$ac_ext <<EOF
4038 < #line 3974 "configure"
4038 > #line 4039 "configure"
4039   #include "confdefs.h"
4040  
4041   #ifdef __sparc__
# Line 3991 | Line 4056 | rm -f conftest*
4056  
4057   HAVE_GAS=no
4058   echo $ac_n "checking for GAS .p2align feature""... $ac_c" 1>&6
4059 < echo "configure:3995: checking for GAS .p2align feature" >&5
4059 > echo "configure:4060: checking for GAS .p2align feature" >&5
4060   cat >conftest.S << EOF
4061          .text
4062          .p2align 5
# Line 4001 | Line 4066 | echo "$ac_t""$HAVE_GAS" 1>&6
4066  
4067   HAVE_GCC27=no
4068   echo $ac_n "checking for GCC 2.7 or higher""... $ac_c" 1>&6
4069 < echo "configure:4005: checking for GCC 2.7 or higher" >&5
4069 > echo "configure:4070: checking for GCC 2.7 or higher" >&5
4070   cat > conftest.$ac_ext <<EOF
4071 < #line 4007 "configure"
4071 > #line 4072 "configure"
4072   #include "confdefs.h"
4073   #if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
4074    yes
# Line 4035 | Line 4100 | if [ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_
4100    if [ "x$HAVE_GAS" = "xyes" ]; then
4101      WANT_X86_ASSEMBLY=yes
4102      DEFINES="$DEFINES -DX86_ASSEMBLY"
4103 <    CPUSRCS="cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s"
4103 >    CPUSRCS="../uae_cpu/compiler.cpp cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s"
4104    fi
4105   elif [ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_SPARC" = "xyes" -a "x$HAVE_GAS" = "xyes" ]; then
4106      case "$MACHINE" in
4107    SunOS*)
4108      echo $ac_n "checking SPARC CPU architecture""... $ac_c" 1>&6
4109 < echo "configure:4045: checking SPARC CPU architecture" >&5
4109 > echo "configure:4110: checking SPARC CPU architecture" >&5
4110      SPARC_TYPE=`Solaris/which_sparc`
4111      echo "$ac_t""$SPARC_TYPE" 1>&6
4112      case "$SPARC_TYPE" in
# Line 4447 | Line 4512 | echo
4512   echo Basilisk II configuration summary:
4513   echo
4514   echo XFree86 DGA support .............. : $WANT_XF86_DGA
4515 + echo XFree86 VidMode support .......... : $WANT_XF86_VIDMODE
4516   echo fbdev DGA support ................ : $WANT_FBDEV_DGA
4517   echo ESD sound support ................ : $WANT_ESD
4518   echo GTK user interface ............... : $WANT_GTK

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines