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.11 by cebix, 1999-10-25T19:01:35Z vs.
Revision 1.13 by cebix, 1999-10-26T16:28:30Z

# Line 16 | Line 16 | ac_help="$ac_help
16   ac_help="$ac_help
17    --enable-fbdev-dga      use direct frame buffer access via /dev/fb [default=yes]"
18   ac_help="$ac_help
19 <  --enable-esd            Enlightened Sound Daemon support [default=yes]"
19 >  --with-esd              support ESD for sound under Linux/FreeBSD [default=yes]"
20   ac_help="$ac_help
21 <  --enable-ui             use GTK user interface [default=yes]"
21 >  --with-gtk              use GTK user interface [default=yes]"
22 > ac_help="$ac_help
23 >  --with-mon              use mon as debugger [default=yes]"
24   ac_help="$ac_help
25    --with-x                use the X Window System"
26   ac_help="$ac_help
# Line 562 | Line 564 | else
564    WANT_FBDEV_DGA=yes
565   fi
566  
567 < # Check whether --enable-esd or --disable-esd was given.
568 < if test "${enable_esd+set}" = set; then
569 <  enableval="$enable_esd"
570 <  WANT_ESD=$enableval
567 > # Check whether --with-esd or --without-esd was given.
568 > if test "${with_esd+set}" = set; then
569 >  withval="$with_esd"
570 >  WANT_ESD=$withval
571   else
572    WANT_ESD=yes
573   fi
574  
575 < # Check whether --enable-ui or --disable-ui was given.
576 < if test "${enable_ui+set}" = set; then
577 <  enableval="$enable_ui"
578 <  WANT_UI=$enableval
575 > # Check whether --with-gtk or --without-gtk was given.
576 > if test "${with_gtk+set}" = set; then
577 >  withval="$with_gtk"
578 >  WANT_GTK=$withval
579 > else
580 >  WANT_GTK=yes
581 > fi
582 >
583 > # Check whether --with-mon or --without-mon was given.
584 > if test "${with_mon+set}" = set; then
585 >  withval="$with_mon"
586 >  WANT_MON=$withval
587   else
588 <  WANT_UI=yes
588 >  WANT_MON=yes
589   fi
590  
591  
592   # Extract the first word of "gcc", so it can be a program name with args.
593   set dummy gcc; ac_word=$2
594   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
595 < echo "configure:586: checking for $ac_word" >&5
595 > echo "configure:596: checking for $ac_word" >&5
596   if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
597    echo $ac_n "(cached) $ac_c" 1>&6
598   else
# Line 612 | Line 622 | if test -z "$CC"; then
622    # Extract the first word of "cc", so it can be a program name with args.
623   set dummy cc; ac_word=$2
624   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
625 < echo "configure:616: checking for $ac_word" >&5
625 > echo "configure:626: checking for $ac_word" >&5
626   if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
627    echo $ac_n "(cached) $ac_c" 1>&6
628   else
# Line 663 | Line 673 | fi
673        # Extract the first word of "cl", so it can be a program name with args.
674   set dummy cl; ac_word=$2
675   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
676 < echo "configure:667: checking for $ac_word" >&5
676 > echo "configure:677: checking for $ac_word" >&5
677   if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
678    echo $ac_n "(cached) $ac_c" 1>&6
679   else
# Line 695 | Line 705 | fi
705   fi
706  
707   echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
708 < echo "configure:699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
708 > echo "configure:709: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
709  
710   ac_ext=c
711   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 706 | Line 716 | cross_compiling=$ac_cv_prog_cc_cross
716  
717   cat > conftest.$ac_ext << EOF
718  
719 < #line 710 "configure"
719 > #line 720 "configure"
720   #include "confdefs.h"
721  
722   main(){return(0);}
723   EOF
724 < if { (eval echo configure:715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
724 > if { (eval echo configure:725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
725    ac_cv_prog_cc_works=yes
726    # If we can't run a trivial program, we are probably using a cross compiler.
727    if (./conftest; exit) 2>/dev/null; then
# Line 737 | Line 747 | if test $ac_cv_prog_cc_works = no; then
747    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
748   fi
749   echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
750 < echo "configure:741: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
750 > echo "configure:751: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
751   echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
752   cross_compiling=$ac_cv_prog_cc_cross
753  
754   echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
755 < echo "configure:746: checking whether we are using GNU C" >&5
755 > echo "configure:756: checking whether we are using GNU C" >&5
756   if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
757    echo $ac_n "(cached) $ac_c" 1>&6
758   else
# Line 751 | Line 761 | else
761    yes;
762   #endif
763   EOF
764 < 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
764 > 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
765    ac_cv_prog_gcc=yes
766   else
767    ac_cv_prog_gcc=no
# Line 770 | Line 780 | ac_test_CFLAGS="${CFLAGS+set}"
780   ac_save_CFLAGS="$CFLAGS"
781   CFLAGS=
782   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
783 < echo "configure:774: checking whether ${CC-cc} accepts -g" >&5
783 > echo "configure:784: checking whether ${CC-cc} accepts -g" >&5
784   if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
785    echo $ac_n "(cached) $ac_c" 1>&6
786   else
# Line 802 | Line 812 | else
812   fi
813  
814   echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
815 < echo "configure:806: checking how to run the C preprocessor" >&5
815 > echo "configure:816: checking how to run the C preprocessor" >&5
816   # On Suns, sometimes $CPP names a directory.
817   if test -n "$CPP" && test -d "$CPP"; then
818    CPP=
# Line 817 | Line 827 | else
827    # On the NeXT, cc -E runs the code through the compiler's parser,
828    # not just through cpp.
829    cat > conftest.$ac_ext <<EOF
830 < #line 821 "configure"
830 > #line 831 "configure"
831   #include "confdefs.h"
832   #include <assert.h>
833   Syntax Error
834   EOF
835   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
836 < { (eval echo configure:827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
836 > { (eval echo configure:837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
837   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
838   if test -z "$ac_err"; then
839    :
# Line 834 | Line 844 | else
844    rm -rf conftest*
845    CPP="${CC-cc} -E -traditional-cpp"
846    cat > conftest.$ac_ext <<EOF
847 < #line 838 "configure"
847 > #line 848 "configure"
848   #include "confdefs.h"
849   #include <assert.h>
850   Syntax Error
851   EOF
852   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
853 < { (eval echo configure:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
853 > { (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
854   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
855   if test -z "$ac_err"; then
856    :
# Line 851 | Line 861 | else
861    rm -rf conftest*
862    CPP="${CC-cc} -nologo -E"
863    cat > conftest.$ac_ext <<EOF
864 < #line 855 "configure"
864 > #line 865 "configure"
865   #include "confdefs.h"
866   #include <assert.h>
867   Syntax Error
868   EOF
869   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
870 < { (eval echo configure:861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
870 > { (eval echo configure:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
871   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
872   if test -z "$ac_err"; then
873    :
# Line 886 | Line 896 | do
896   # Extract the first word of "$ac_prog", so it can be a program name with args.
897   set dummy $ac_prog; ac_word=$2
898   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
899 < echo "configure:890: checking for $ac_word" >&5
899 > echo "configure:900: checking for $ac_word" >&5
900   if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
901    echo $ac_n "(cached) $ac_c" 1>&6
902   else
# Line 918 | Line 928 | test -n "$CXX" || CXX="gcc"
928  
929  
930   echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
931 < echo "configure:922: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
931 > echo "configure:932: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
932  
933   ac_ext=C
934   # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 929 | Line 939 | cross_compiling=$ac_cv_prog_cxx_cross
939  
940   cat > conftest.$ac_ext << EOF
941  
942 < #line 933 "configure"
942 > #line 943 "configure"
943   #include "confdefs.h"
944  
945   int main(){return(0);}
946   EOF
947 < if { (eval echo configure:938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
947 > if { (eval echo configure:948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
948    ac_cv_prog_cxx_works=yes
949    # If we can't run a trivial program, we are probably using a cross compiler.
950    if (./conftest; exit) 2>/dev/null; then
# Line 960 | Line 970 | if test $ac_cv_prog_cxx_works = no; then
970    { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
971   fi
972   echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
973 < echo "configure:964: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
973 > echo "configure:974: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
974   echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
975   cross_compiling=$ac_cv_prog_cxx_cross
976  
977   echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
978 < echo "configure:969: checking whether we are using GNU C++" >&5
978 > echo "configure:979: checking whether we are using GNU C++" >&5
979   if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
980    echo $ac_n "(cached) $ac_c" 1>&6
981   else
# Line 974 | Line 984 | else
984    yes;
985   #endif
986   EOF
987 < 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
987 > 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
988    ac_cv_prog_gxx=yes
989   else
990    ac_cv_prog_gxx=no
# Line 993 | Line 1003 | ac_test_CXXFLAGS="${CXXFLAGS+set}"
1003   ac_save_CXXFLAGS="$CXXFLAGS"
1004   CXXFLAGS=
1005   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1006 < echo "configure:997: checking whether ${CXX-g++} accepts -g" >&5
1006 > echo "configure:1007: checking whether ${CXX-g++} accepts -g" >&5
1007   if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1008    echo $ac_n "(cached) $ac_c" 1>&6
1009   else
# Line 1025 | Line 1035 | else
1035   fi
1036  
1037   echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1038 < echo "configure:1029: checking whether ${MAKE-make} sets \${MAKE}" >&5
1038 > echo "configure:1039: checking whether ${MAKE-make} sets \${MAKE}" >&5
1039   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1040   if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1041    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1082 | Line 1092 | ac_configure=$ac_aux_dir/configure # Thi
1092   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1093   # ./install, which can be erroneously created by make from ./install.sh.
1094   echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1095 < echo "configure:1086: checking for a BSD compatible install" >&5
1095 > echo "configure:1096: checking for a BSD compatible install" >&5
1096   if test -z "$INSTALL"; then
1097   if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1098    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1137 | Line 1147 | test -z "$INSTALL_DATA" && INSTALL_DATA=
1147  
1148   MONSRCS=
1149   echo $ac_n "checking for mon""... $ac_c" 1>&6
1150 < echo "configure:1141: checking for mon" >&5
1150 > echo "configure:1151: checking for mon" >&5
1151   if grep mon_init ../../../mon/src/mon.h >/dev/null 2>/dev/null; then
1152    echo "$ac_t""yes" 1>&6
1153    WANT_MON=yes
1154    DEFINES="$DEFINES -DENABLE_MON=1"
1155    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"
1156    CXXFLAGS="$CXXFLAGS -I../../../mon/src"
1157 +  echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
1158 + echo "configure:1159: checking for readline in -lreadline" >&5
1159 + ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
1160 + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1161 +  echo $ac_n "(cached) $ac_c" 1>&6
1162 + else
1163 +  ac_save_LIBS="$LIBS"
1164 + LIBS="-lreadline  $LIBS"
1165 + cat > conftest.$ac_ext <<EOF
1166 + #line 1167 "configure"
1167 + #include "confdefs.h"
1168 + /* Override any gcc2 internal prototype to avoid an error.  */
1169 + /* We use char because int might match the return type of a gcc2
1170 +    builtin and then its argument prototype would still apply.  */
1171 + char readline();
1172 +
1173 + int main() {
1174 + readline()
1175 + ; return 0; }
1176 + EOF
1177 + if { (eval echo configure:1178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1178 +  rm -rf conftest*
1179 +  eval "ac_cv_lib_$ac_lib_var=yes"
1180 + else
1181 +  echo "configure: failed program was:" >&5
1182 +  cat conftest.$ac_ext >&5
1183 +  rm -rf conftest*
1184 +  eval "ac_cv_lib_$ac_lib_var=no"
1185 + fi
1186 + rm -f conftest*
1187 + LIBS="$ac_save_LIBS"
1188 +
1189 + fi
1190 + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1191 +  echo "$ac_t""yes" 1>&6
1192 +    ac_tr_lib=HAVE_LIB`echo readline | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1193 +    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1194 +  cat >> confdefs.h <<EOF
1195 + #define $ac_tr_lib 1
1196 + EOF
1197 +
1198 +  LIBS="-lreadline $LIBS"
1199 +
1200 + else
1201 +  echo "$ac_t""no" 1>&6
1202 + fi
1203 +
1204 +  for ac_hdr in readline/readline.h readline/history.h
1205 + do
1206 + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1207 + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1208 + echo "configure:1209: checking for $ac_hdr" >&5
1209 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1210 +  echo $ac_n "(cached) $ac_c" 1>&6
1211 + else
1212 +  cat > conftest.$ac_ext <<EOF
1213 + #line 1214 "configure"
1214 + #include "confdefs.h"
1215 + #include <$ac_hdr>
1216 + EOF
1217 + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1218 + { (eval echo configure:1219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1219 + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1220 + if test -z "$ac_err"; then
1221 +  rm -rf conftest*
1222 +  eval "ac_cv_header_$ac_safe=yes"
1223 + else
1224 +  echo "$ac_err" >&5
1225 +  echo "configure: failed program was:" >&5
1226 +  cat conftest.$ac_ext >&5
1227 +  rm -rf conftest*
1228 +  eval "ac_cv_header_$ac_safe=no"
1229 + fi
1230 + rm -f conftest*
1231 + fi
1232 + if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1233 +  echo "$ac_t""yes" 1>&6
1234 +    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1235 +  cat >> confdefs.h <<EOF
1236 + #define $ac_tr_hdr 1
1237 + EOF
1238 +
1239 + else
1240 +  echo "$ac_t""no" 1>&6
1241 + fi
1242 + done
1243 +
1244   else
1245    echo "$ac_t""no" 1>&6
1246    WANT_MON=no
# Line 1151 | Line 1248 | else
1248   fi
1249  
1250   echo $ac_n "checking for sem_init in -lposix4""... $ac_c" 1>&6
1251 < echo "configure:1155: checking for sem_init in -lposix4" >&5
1251 > echo "configure:1252: checking for sem_init in -lposix4" >&5
1252   ac_lib_var=`echo posix4'_'sem_init | sed 'y%./+-%__p_%'`
1253   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1254    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1159 | Line 1256 | else
1256    ac_save_LIBS="$LIBS"
1257   LIBS="-lposix4  $LIBS"
1258   cat > conftest.$ac_ext <<EOF
1259 < #line 1163 "configure"
1259 > #line 1260 "configure"
1260   #include "confdefs.h"
1261   /* Override any gcc2 internal prototype to avoid an error.  */
1262   /* We use char because int might match the return type of a gcc2
# Line 1170 | Line 1267 | int main() {
1267   sem_init()
1268   ; return 0; }
1269   EOF
1270 < if { (eval echo configure:1174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1270 > if { (eval echo configure:1271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1271    rm -rf conftest*
1272    eval "ac_cv_lib_$ac_lib_var=yes"
1273   else
# Line 1203 | Line 1300 | fi
1300   # Uses ac_ vars as temps to allow command line to override cache and checks.
1301   # --without-x overrides everything else, but does not touch the cache.
1302   echo $ac_n "checking for X""... $ac_c" 1>&6
1303 < echo "configure:1207: checking for X" >&5
1303 > echo "configure:1304: checking for X" >&5
1304  
1305   # Check whether --with-x or --without-x was given.
1306   if test "${with_x+set}" = set; then
# Line 1265 | Line 1362 | if test "$ac_x_includes" = NO; then
1362  
1363    # First, try using that file with no special directory specified.
1364   cat > conftest.$ac_ext <<EOF
1365 < #line 1269 "configure"
1365 > #line 1366 "configure"
1366   #include "confdefs.h"
1367   #include <$x_direct_test_include>
1368   EOF
1369   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1370 < { (eval echo configure:1274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1370 > { (eval echo configure:1371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1371   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1372   if test -z "$ac_err"; then
1373    rm -rf conftest*
# Line 1339 | Line 1436 | if test "$ac_x_libraries" = NO; then
1436    ac_save_LIBS="$LIBS"
1437    LIBS="-l$x_direct_test_library $LIBS"
1438   cat > conftest.$ac_ext <<EOF
1439 < #line 1343 "configure"
1439 > #line 1440 "configure"
1440   #include "confdefs.h"
1441  
1442   int main() {
1443   ${x_direct_test_function}()
1444   ; return 0; }
1445   EOF
1446 < if { (eval echo configure:1350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1446 > if { (eval echo configure:1447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1447    rm -rf conftest*
1448    LIBS="$ac_save_LIBS"
1449   # We can link X programs with no special library path.
# Line 1452 | Line 1549 | else
1549      case "`(uname -sr) 2>/dev/null`" in
1550      "SunOS 5"*)
1551        echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1552 < echo "configure:1456: checking whether -R must be followed by a space" >&5
1552 > echo "configure:1553: checking whether -R must be followed by a space" >&5
1553        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
1554        cat > conftest.$ac_ext <<EOF
1555 < #line 1459 "configure"
1555 > #line 1556 "configure"
1556   #include "confdefs.h"
1557  
1558   int main() {
1559  
1560   ; return 0; }
1561   EOF
1562 < if { (eval echo configure:1466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1562 > if { (eval echo configure:1563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1563    rm -rf conftest*
1564    ac_R_nospace=yes
1565   else
# Line 1478 | Line 1575 | rm -f conftest*
1575        else
1576          LIBS="$ac_xsave_LIBS -R $x_libraries"
1577          cat > conftest.$ac_ext <<EOF
1578 < #line 1482 "configure"
1578 > #line 1579 "configure"
1579   #include "confdefs.h"
1580  
1581   int main() {
1582  
1583   ; return 0; }
1584   EOF
1585 < if { (eval echo configure:1489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1585 > if { (eval echo configure:1586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1586    rm -rf conftest*
1587    ac_R_space=yes
1588   else
# Line 1517 | Line 1614 | rm -f conftest*
1614      # libraries were built with DECnet support.  And karl@cs.umb.edu says
1615      # the Alpha needs dnet_stub (dnet does not exist).
1616      echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1617 < echo "configure:1521: checking for dnet_ntoa in -ldnet" >&5
1617 > echo "configure:1618: checking for dnet_ntoa in -ldnet" >&5
1618   ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1619   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1620    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1525 | Line 1622 | else
1622    ac_save_LIBS="$LIBS"
1623   LIBS="-ldnet  $LIBS"
1624   cat > conftest.$ac_ext <<EOF
1625 < #line 1529 "configure"
1625 > #line 1626 "configure"
1626   #include "confdefs.h"
1627   /* Override any gcc2 internal prototype to avoid an error.  */
1628   /* We use char because int might match the return type of a gcc2
# Line 1536 | Line 1633 | int main() {
1633   dnet_ntoa()
1634   ; return 0; }
1635   EOF
1636 < if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1636 > if { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1637    rm -rf conftest*
1638    eval "ac_cv_lib_$ac_lib_var=yes"
1639   else
# Line 1558 | Line 1655 | fi
1655  
1656      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1657        echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1658 < echo "configure:1562: checking for dnet_ntoa in -ldnet_stub" >&5
1658 > echo "configure:1659: checking for dnet_ntoa in -ldnet_stub" >&5
1659   ac_lib_var=`echo dnet_stub'_'dnet_ntoa | 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
# Line 1566 | Line 1663 | else
1663    ac_save_LIBS="$LIBS"
1664   LIBS="-ldnet_stub  $LIBS"
1665   cat > conftest.$ac_ext <<EOF
1666 < #line 1570 "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
# Line 1577 | Line 1674 | int main() {
1674   dnet_ntoa()
1675   ; return 0; }
1676   EOF
1677 < if { (eval echo configure:1581: \"$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
# Line 1606 | Line 1703 | fi
1703      # The nsl library prevents programs from opening the X display
1704      # on Irix 5.2, according to dickey@clark.net.
1705      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1706 < echo "configure:1610: checking for gethostbyname" >&5
1706 > echo "configure:1707: checking for gethostbyname" >&5
1707   if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1708    echo $ac_n "(cached) $ac_c" 1>&6
1709   else
1710    cat > conftest.$ac_ext <<EOF
1711 < #line 1615 "configure"
1711 > #line 1712 "configure"
1712   #include "confdefs.h"
1713   /* System header to define __stub macros and hopefully few prototypes,
1714      which can conflict with char gethostbyname(); below.  */
# Line 1634 | Line 1731 | gethostbyname();
1731  
1732   ; return 0; }
1733   EOF
1734 < if { (eval echo configure:1638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1734 > if { (eval echo configure:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1735    rm -rf conftest*
1736    eval "ac_cv_func_gethostbyname=yes"
1737   else
# Line 1655 | Line 1752 | fi
1752  
1753      if test $ac_cv_func_gethostbyname = no; then
1754        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1755 < echo "configure:1659: checking for gethostbyname in -lnsl" >&5
1755 > echo "configure:1756: checking for gethostbyname in -lnsl" >&5
1756   ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1757   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1758    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1663 | Line 1760 | else
1760    ac_save_LIBS="$LIBS"
1761   LIBS="-lnsl  $LIBS"
1762   cat > conftest.$ac_ext <<EOF
1763 < #line 1667 "configure"
1763 > #line 1764 "configure"
1764   #include "confdefs.h"
1765   /* Override any gcc2 internal prototype to avoid an error.  */
1766   /* We use char because int might match the return type of a gcc2
# Line 1674 | Line 1771 | int main() {
1771   gethostbyname()
1772   ; return 0; }
1773   EOF
1774 < if { (eval echo configure:1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1774 > if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1775    rm -rf conftest*
1776    eval "ac_cv_lib_$ac_lib_var=yes"
1777   else
# Line 1704 | Line 1801 | fi
1801      # -lsocket must be given before -lnsl if both are needed.
1802      # We assume that if connect needs -lnsl, so does gethostbyname.
1803      echo $ac_n "checking for connect""... $ac_c" 1>&6
1804 < echo "configure:1708: checking for connect" >&5
1804 > echo "configure:1805: checking for connect" >&5
1805   if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1806    echo $ac_n "(cached) $ac_c" 1>&6
1807   else
1808    cat > conftest.$ac_ext <<EOF
1809 < #line 1713 "configure"
1809 > #line 1810 "configure"
1810   #include "confdefs.h"
1811   /* System header to define __stub macros and hopefully few prototypes,
1812      which can conflict with char connect(); below.  */
# Line 1732 | Line 1829 | connect();
1829  
1830   ; return 0; }
1831   EOF
1832 < if { (eval echo configure:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1832 > if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1833    rm -rf conftest*
1834    eval "ac_cv_func_connect=yes"
1835   else
# Line 1753 | Line 1850 | fi
1850  
1851      if test $ac_cv_func_connect = no; then
1852        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1853 < echo "configure:1757: checking for connect in -lsocket" >&5
1853 > echo "configure:1854: checking for connect in -lsocket" >&5
1854   ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1855   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1856    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1761 | Line 1858 | else
1858    ac_save_LIBS="$LIBS"
1859   LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1860   cat > conftest.$ac_ext <<EOF
1861 < #line 1765 "configure"
1861 > #line 1862 "configure"
1862   #include "confdefs.h"
1863   /* Override any gcc2 internal prototype to avoid an error.  */
1864   /* We use char because int might match the return type of a gcc2
# Line 1772 | Line 1869 | int main() {
1869   connect()
1870   ; return 0; }
1871   EOF
1872 < if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1872 > if { (eval echo configure:1873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1873    rm -rf conftest*
1874    eval "ac_cv_lib_$ac_lib_var=yes"
1875   else
# Line 1796 | Line 1893 | fi
1893  
1894      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
1895      echo $ac_n "checking for remove""... $ac_c" 1>&6
1896 < echo "configure:1800: checking for remove" >&5
1896 > echo "configure:1897: checking for remove" >&5
1897   if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
1898    echo $ac_n "(cached) $ac_c" 1>&6
1899   else
1900    cat > conftest.$ac_ext <<EOF
1901 < #line 1805 "configure"
1901 > #line 1902 "configure"
1902   #include "confdefs.h"
1903   /* System header to define __stub macros and hopefully few prototypes,
1904      which can conflict with char remove(); below.  */
# Line 1824 | Line 1921 | remove();
1921  
1922   ; return 0; }
1923   EOF
1924 < if { (eval echo configure:1828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1924 > if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1925    rm -rf conftest*
1926    eval "ac_cv_func_remove=yes"
1927   else
# Line 1845 | Line 1942 | fi
1942  
1943      if test $ac_cv_func_remove = no; then
1944        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
1945 < echo "configure:1849: checking for remove in -lposix" >&5
1945 > echo "configure:1946: checking for remove in -lposix" >&5
1946   ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
1947   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1948    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1853 | Line 1950 | else
1950    ac_save_LIBS="$LIBS"
1951   LIBS="-lposix  $LIBS"
1952   cat > conftest.$ac_ext <<EOF
1953 < #line 1857 "configure"
1953 > #line 1954 "configure"
1954   #include "confdefs.h"
1955   /* Override any gcc2 internal prototype to avoid an error.  */
1956   /* We use char because int might match the return type of a gcc2
# Line 1864 | Line 1961 | int main() {
1961   remove()
1962   ; return 0; }
1963   EOF
1964 < if { (eval echo configure:1868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1964 > if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1965    rm -rf conftest*
1966    eval "ac_cv_lib_$ac_lib_var=yes"
1967   else
# Line 1888 | Line 1985 | fi
1985  
1986      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1987      echo $ac_n "checking for shmat""... $ac_c" 1>&6
1988 < echo "configure:1892: checking for shmat" >&5
1988 > echo "configure:1989: checking for shmat" >&5
1989   if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
1990    echo $ac_n "(cached) $ac_c" 1>&6
1991   else
1992    cat > conftest.$ac_ext <<EOF
1993 < #line 1897 "configure"
1993 > #line 1994 "configure"
1994   #include "confdefs.h"
1995   /* System header to define __stub macros and hopefully few prototypes,
1996      which can conflict with char shmat(); below.  */
# Line 1916 | Line 2013 | shmat();
2013  
2014   ; return 0; }
2015   EOF
2016 < if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2016 > if { (eval echo configure:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2017    rm -rf conftest*
2018    eval "ac_cv_func_shmat=yes"
2019   else
# Line 1937 | Line 2034 | fi
2034  
2035      if test $ac_cv_func_shmat = no; then
2036        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2037 < echo "configure:1941: checking for shmat in -lipc" >&5
2037 > echo "configure:2038: checking for shmat in -lipc" >&5
2038   ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2039   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2040    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1945 | Line 2042 | else
2042    ac_save_LIBS="$LIBS"
2043   LIBS="-lipc  $LIBS"
2044   cat > conftest.$ac_ext <<EOF
2045 < #line 1949 "configure"
2045 > #line 2046 "configure"
2046   #include "confdefs.h"
2047   /* Override any gcc2 internal prototype to avoid an error.  */
2048   /* We use char because int might match the return type of a gcc2
# Line 1956 | Line 2053 | int main() {
2053   shmat()
2054   ; return 0; }
2055   EOF
2056 < if { (eval echo configure:1960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2056 > if { (eval echo configure:2057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2057    rm -rf conftest*
2058    eval "ac_cv_lib_$ac_lib_var=yes"
2059   else
# Line 1989 | Line 2086 | fi
2086    # libraries we check for below, so use a different variable.
2087    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2088    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2089 < echo "configure:1993: checking for IceConnectionNumber in -lICE" >&5
2089 > echo "configure:2090: checking for IceConnectionNumber in -lICE" >&5
2090   ac_lib_var=`echo ICE'_'IceConnectionNumber | 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
# Line 1997 | Line 2094 | else
2094    ac_save_LIBS="$LIBS"
2095   LIBS="-lICE $X_EXTRA_LIBS $LIBS"
2096   cat > conftest.$ac_ext <<EOF
2097 < #line 2001 "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
# Line 2008 | Line 2105 | int main() {
2105   IceConnectionNumber()
2106   ; return 0; }
2107   EOF
2108 < if { (eval echo configure:2012: \"$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
# Line 2040 | Line 2137 | CXXFLAGS="$CXXFLAGS $X_CFLAGS"
2137   LIBS="$LIBS $X_PRE_LIBS $X_LIBS -lX11 -lXext $X_EXTRA_LIBS"
2138  
2139   echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
2140 < echo "configure:2044: checking for pthread_create in -lpthread" >&5
2140 > echo "configure:2141: checking for pthread_create in -lpthread" >&5
2141   ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
2142   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2143    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2048 | Line 2145 | else
2145    ac_save_LIBS="$LIBS"
2146   LIBS="-lpthread  $LIBS"
2147   cat > conftest.$ac_ext <<EOF
2148 < #line 2052 "configure"
2148 > #line 2149 "configure"
2149   #include "confdefs.h"
2150   /* Override any gcc2 internal prototype to avoid an error.  */
2151   /* We use char because int might match the return type of a gcc2
# Line 2059 | Line 2156 | int main() {
2156   pthread_create()
2157   ; return 0; }
2158   EOF
2159 < if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2159 > if { (eval echo configure:2160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2160    rm -rf conftest*
2161    eval "ac_cv_lib_$ac_lib_var=yes"
2162   else
# Line 2086 | Line 2183 | else
2183    echo "$ac_t""no" 1>&6
2184  
2185    echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
2186 < echo "configure:2090: checking for pthread_create in -lc_r" >&5
2186 > echo "configure:2187: checking for pthread_create in -lc_r" >&5
2187   ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
2188   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2189    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2094 | Line 2191 | else
2191    ac_save_LIBS="$LIBS"
2192   LIBS="-lc_r  $LIBS"
2193   cat > conftest.$ac_ext <<EOF
2194 < #line 2098 "configure"
2194 > #line 2195 "configure"
2195   #include "confdefs.h"
2196   /* Override any gcc2 internal prototype to avoid an error.  */
2197   /* We use char because int might match the return type of a gcc2
# Line 2105 | Line 2202 | int main() {
2202   pthread_create()
2203   ; return 0; }
2204   EOF
2205 < if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2205 > if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2206    rm -rf conftest*
2207    eval "ac_cv_lib_$ac_lib_var=yes"
2208   else
# Line 2132 | Line 2229 | else
2229    echo "$ac_t""no" 1>&6
2230  
2231      echo $ac_n "checking for pthread_create in -lPTL""... $ac_c" 1>&6
2232 < echo "configure:2136: checking for pthread_create in -lPTL" >&5
2232 > echo "configure:2233: checking for pthread_create in -lPTL" >&5
2233   ac_lib_var=`echo PTL'_'pthread_create | sed 'y%./+-%__p_%'`
2234   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2235    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2140 | Line 2237 | else
2237    ac_save_LIBS="$LIBS"
2238   LIBS="-lPTL  $LIBS"
2239   cat > conftest.$ac_ext <<EOF
2240 < #line 2144 "configure"
2240 > #line 2241 "configure"
2241   #include "confdefs.h"
2242   /* Override any gcc2 internal prototype to avoid an error.  */
2243   /* We use char because int might match the return type of a gcc2
# Line 2151 | Line 2248 | int main() {
2248   pthread_create()
2249   ; return 0; }
2250   EOF
2251 < if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2251 > if { (eval echo configure:2252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2252    rm -rf conftest*
2253    eval "ac_cv_lib_$ac_lib_var=yes"
2254   else
# Line 2192 | Line 2289 | SEMSRCS=
2289   for ac_func in sem_init
2290   do
2291   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2292 < echo "configure:2196: checking for $ac_func" >&5
2292 > echo "configure:2293: checking for $ac_func" >&5
2293   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2294    echo $ac_n "(cached) $ac_c" 1>&6
2295   else
2296    cat > conftest.$ac_ext <<EOF
2297 < #line 2201 "configure"
2297 > #line 2298 "configure"
2298   #include "confdefs.h"
2299   /* System header to define __stub macros and hopefully few prototypes,
2300      which can conflict with char $ac_func(); below.  */
# Line 2220 | Line 2317 | $ac_func();
2317  
2318   ; return 0; }
2319   EOF
2320 < if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2320 > if { (eval echo configure:2321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2321    rm -rf conftest*
2322    eval "ac_cv_func_$ac_func=yes"
2323   else
# Line 2249 | Line 2346 | done
2346  
2347   if [ "x$WANT_XF86_DGA" = "xyes" ]; then
2348    echo $ac_n "checking for XF86DGAQueryExtension in -lXxf86dga""... $ac_c" 1>&6
2349 < echo "configure:2253: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
2349 > echo "configure:2350: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
2350   ac_lib_var=`echo Xxf86dga'_'XF86DGAQueryExtension | sed 'y%./+-%__p_%'`
2351   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2352    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2257 | Line 2354 | else
2354    ac_save_LIBS="$LIBS"
2355   LIBS="-lXxf86dga  $LIBS"
2356   cat > conftest.$ac_ext <<EOF
2357 < #line 2261 "configure"
2357 > #line 2358 "configure"
2358   #include "confdefs.h"
2359   /* Override any gcc2 internal prototype to avoid an error.  */
2360   /* We use char because int might match the return type of a gcc2
# Line 2268 | Line 2365 | int main() {
2365   XF86DGAQueryExtension()
2366   ; return 0; }
2367   EOF
2368 < if { (eval echo configure:2272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2368 > if { (eval echo configure:2369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2369    rm -rf conftest*
2370    eval "ac_cv_lib_$ac_lib_var=yes"
2371   else
# Line 2295 | Line 2392 | else
2392    echo "$ac_t""no" 1>&6
2393  
2394      echo "configure: warning: Could not find XFree86 DGA extension, ignoring --enable-xf86-dga." 1>&2
2395 +    WANT_XF86_DGA=no
2396      DEFINES="$DEFINES -DENABLE_XF86_DGA=0"
2397    
2398   fi
# Line 2309 | Line 2407 | else
2407   fi
2408  
2409   UISRCS=../dummy/prefs_editor_dummy.cpp
2410 < if [ "x$WANT_UI" = "xyes" ]; then
2410 > if [ "x$WANT_GTK" = "xyes" ]; then
2411    # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
2412   if test "${with_gtk_prefix+set}" = set; then
2413    withval="$with_gtk_prefix"
# Line 2351 | Line 2449 | fi
2449    # Extract the first word of "gtk-config", so it can be a program name with args.
2450   set dummy gtk-config; ac_word=$2
2451   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2452 < echo "configure:2355: checking for $ac_word" >&5
2452 > echo "configure:2453: checking for $ac_word" >&5
2453   if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
2454    echo $ac_n "(cached) $ac_c" 1>&6
2455   else
# Line 2386 | Line 2484 | fi
2484  
2485    min_gtk_version=1.2.0
2486    echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
2487 < echo "configure:2390: checking for GTK - version >= $min_gtk_version" >&5
2487 > echo "configure:2488: checking for GTK - version >= $min_gtk_version" >&5
2488    no_gtk=""
2489    if test "$GTK_CONFIG" = "no" ; then
2490      no_gtk=yes
# Line 2409 | Line 2507 | echo "configure:2390: checking for GTK -
2507    echo $ac_n "cross compiling; assumed OK... $ac_c"
2508   else
2509    cat > conftest.$ac_ext <<EOF
2510 < #line 2413 "configure"
2510 > #line 2511 "configure"
2511   #include "confdefs.h"
2512  
2513   #include <gtk/gtk.h>
# Line 2472 | Line 2570 | main ()
2570   }
2571  
2572   EOF
2573 < if { (eval echo configure:2476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2573 > if { (eval echo configure:2574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2574   then
2575    :
2576   else
# Line 2512 | Line 2610 | fi
2610            CFLAGS="$CFLAGS $GTK_CFLAGS"
2611            LIBS="$LIBS $GTK_LIBS"
2612            cat > conftest.$ac_ext <<EOF
2613 < #line 2516 "configure"
2613 > #line 2614 "configure"
2614   #include "confdefs.h"
2615  
2616   #include <gtk/gtk.h>
# Line 2522 | Line 2620 | int main() {
2620   return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
2621   ; return 0; }
2622   EOF
2623 < if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2623 > if { (eval echo configure:2624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2624    rm -rf conftest*
2625     echo "*** The test program compiled, but did not run. This usually means"
2626            echo "*** that the run-time linker is not finding GTK or finding the wrong"
# Line 2556 | Line 2654 | rm -f conftest*
2654       GTK_LIBS=""
2655      
2656      echo "configure: warning: Could not find GTK+, disabling user interface." 1>&2
2657 <    WANT_UI=no
2657 >    WANT_GTK=no
2658    
2659    fi
2660    
# Line 2607 | Line 2705 | fi
2705    # Extract the first word of "esd-config", so it can be a program name with args.
2706   set dummy esd-config; ac_word=$2
2707   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2708 < echo "configure:2611: checking for $ac_word" >&5
2708 > echo "configure:2709: checking for $ac_word" >&5
2709   if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then
2710    echo $ac_n "(cached) $ac_c" 1>&6
2711   else
# Line 2642 | Line 2740 | fi
2740  
2741    min_esd_version=0.2.8
2742    echo $ac_n "checking for ESD - version >= $min_esd_version""... $ac_c" 1>&6
2743 < echo "configure:2646: checking for ESD - version >= $min_esd_version" >&5
2743 > echo "configure:2744: checking for ESD - version >= $min_esd_version" >&5
2744    no_esd=""
2745    if test "$ESD_CONFIG" = "no" ; then
2746      no_esd=yes
# Line 2666 | Line 2764 | echo "configure:2646: checking for ESD -
2764    echo $ac_n "cross compiling; assumed OK... $ac_c"
2765   else
2766    cat > conftest.$ac_ext <<EOF
2767 < #line 2670 "configure"
2767 > #line 2768 "configure"
2768   #include "confdefs.h"
2769  
2770   #include <stdio.h>
# Line 2724 | Line 2822 | int main ()
2822  
2823  
2824   EOF
2825 < if { (eval echo configure:2728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2825 > if { (eval echo configure:2826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2826   then
2827    :
2828   else
# Line 2763 | Line 2861 | fi
2861            CFLAGS="$CFLAGS $ESD_CFLAGS"
2862            LIBS="$LIBS $ESD_LIBS"
2863            cat > conftest.$ac_ext <<EOF
2864 < #line 2767 "configure"
2864 > #line 2865 "configure"
2865   #include "confdefs.h"
2866  
2867   #include <stdio.h>
# Line 2773 | Line 2871 | int main() {
2871   return 0;
2872   ; return 0; }
2873   EOF
2874 < if { (eval echo configure:2777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2874 > if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2875    rm -rf conftest*
2876     echo "*** The test program compiled, but did not run. This usually means"
2877            echo "*** that the run-time linker is not finding ESD or finding the wrong"
# Line 2812 | Line 2910 | rm -f conftest*
2910   fi
2911  
2912   echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2913 < echo "configure:2816: checking for ANSI C header files" >&5
2913 > echo "configure:2914: checking for ANSI C header files" >&5
2914   if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2915    echo $ac_n "(cached) $ac_c" 1>&6
2916   else
2917    cat > conftest.$ac_ext <<EOF
2918 < #line 2821 "configure"
2918 > #line 2919 "configure"
2919   #include "confdefs.h"
2920   #include <stdlib.h>
2921   #include <stdarg.h>
# Line 2825 | Line 2923 | else
2923   #include <float.h>
2924   EOF
2925   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2926 < { (eval echo configure:2829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2926 > { (eval echo configure:2927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2927   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2928   if test -z "$ac_err"; then
2929    rm -rf conftest*
# Line 2842 | Line 2940 | rm -f conftest*
2940   if test $ac_cv_header_stdc = yes; then
2941    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2942   cat > conftest.$ac_ext <<EOF
2943 < #line 2846 "configure"
2943 > #line 2944 "configure"
2944   #include "confdefs.h"
2945   #include <string.h>
2946   EOF
# Line 2860 | Line 2958 | fi
2958   if test $ac_cv_header_stdc = yes; then
2959    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2960   cat > conftest.$ac_ext <<EOF
2961 < #line 2864 "configure"
2961 > #line 2962 "configure"
2962   #include "confdefs.h"
2963   #include <stdlib.h>
2964   EOF
# Line 2881 | Line 2979 | if test "$cross_compiling" = yes; then
2979    :
2980   else
2981    cat > conftest.$ac_ext <<EOF
2982 < #line 2885 "configure"
2982 > #line 2983 "configure"
2983   #include "confdefs.h"
2984   #include <ctype.h>
2985   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 2892 | Line 2990 | if (XOR (islower (i), ISLOWER (i)) || to
2990   exit (0); }
2991  
2992   EOF
2993 < if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2993 > if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2994   then
2995    :
2996   else
# Line 2919 | Line 3017 | for ac_hdr in unistd.h fcntl.h sys/time.
3017   do
3018   ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3019   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3020 < echo "configure:2923: checking for $ac_hdr" >&5
3020 > echo "configure:3021: checking for $ac_hdr" >&5
3021   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3022    echo $ac_n "(cached) $ac_c" 1>&6
3023   else
3024    cat > conftest.$ac_ext <<EOF
3025 < #line 2928 "configure"
3025 > #line 3026 "configure"
3026   #include "confdefs.h"
3027   #include <$ac_hdr>
3028   EOF
3029   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3030 < { (eval echo configure:2933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3030 > { (eval echo configure:3031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3031   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3032   if test -z "$ac_err"; then
3033    rm -rf conftest*
# Line 2957 | Line 3055 | done
3055  
3056  
3057   echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3058 < echo "configure:2961: checking whether byte ordering is bigendian" >&5
3058 > echo "configure:3059: checking whether byte ordering is bigendian" >&5
3059   if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3060    echo $ac_n "(cached) $ac_c" 1>&6
3061   else
3062    ac_cv_c_bigendian=unknown
3063   # See if sys/param.h defines the BYTE_ORDER macro.
3064   cat > conftest.$ac_ext <<EOF
3065 < #line 2968 "configure"
3065 > #line 3066 "configure"
3066   #include "confdefs.h"
3067   #include <sys/types.h>
3068   #include <sys/param.h>
# Line 2975 | Line 3073 | int main() {
3073   #endif
3074   ; return 0; }
3075   EOF
3076 < if { (eval echo configure:2979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3076 > if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3077    rm -rf conftest*
3078    # It does; now see whether it defined to BIG_ENDIAN or not.
3079   cat > conftest.$ac_ext <<EOF
3080 < #line 2983 "configure"
3080 > #line 3081 "configure"
3081   #include "confdefs.h"
3082   #include <sys/types.h>
3083   #include <sys/param.h>
# Line 2990 | Line 3088 | int main() {
3088   #endif
3089   ; return 0; }
3090   EOF
3091 < if { (eval echo configure:2994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3091 > if { (eval echo configure:3092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3092    rm -rf conftest*
3093    ac_cv_c_bigendian=yes
3094   else
# Line 3010 | Line 3108 | if test "$cross_compiling" = yes; then
3108      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3109   else
3110    cat > conftest.$ac_ext <<EOF
3111 < #line 3014 "configure"
3111 > #line 3112 "configure"
3112   #include "confdefs.h"
3113   main () {
3114    /* Are we little or big endian?  From Harbison&Steele.  */
# Line 3023 | Line 3121 | main () {
3121    exit (u.c[sizeof (long) - 1] == 1);
3122   }
3123   EOF
3124 < if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3124 > if { (eval echo configure:3125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3125   then
3126    ac_cv_c_bigendian=no
3127   else
# Line 3047 | Line 3145 | EOF
3145   fi
3146  
3147   echo $ac_n "checking for working const""... $ac_c" 1>&6
3148 < echo "configure:3051: checking for working const" >&5
3148 > echo "configure:3149: checking for working const" >&5
3149   if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3150    echo $ac_n "(cached) $ac_c" 1>&6
3151   else
3152    cat > conftest.$ac_ext <<EOF
3153 < #line 3056 "configure"
3153 > #line 3154 "configure"
3154   #include "confdefs.h"
3155  
3156   int main() {
# Line 3101 | Line 3199 | ccp = (char const *const *) p;
3199  
3200   ; return 0; }
3201   EOF
3202 < if { (eval echo configure:3105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3202 > if { (eval echo configure:3203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3203    rm -rf conftest*
3204    ac_cv_c_const=yes
3205   else
# Line 3122 | Line 3220 | EOF
3220   fi
3221  
3222   echo $ac_n "checking for inline""... $ac_c" 1>&6
3223 < echo "configure:3126: checking for inline" >&5
3223 > echo "configure:3224: checking for inline" >&5
3224   if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3225    echo $ac_n "(cached) $ac_c" 1>&6
3226   else
3227    ac_cv_c_inline=no
3228   for ac_kw in inline __inline__ __inline; do
3229    cat > conftest.$ac_ext <<EOF
3230 < #line 3133 "configure"
3230 > #line 3231 "configure"
3231   #include "confdefs.h"
3232  
3233   int main() {
3234   } $ac_kw foo() {
3235   ; return 0; }
3236   EOF
3237 < if { (eval echo configure:3140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3237 > if { (eval echo configure:3238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3238    rm -rf conftest*
3239    ac_cv_c_inline=$ac_kw; break
3240   else
# Line 3162 | Line 3260 | EOF
3260   esac
3261  
3262   echo $ac_n "checking size of short""... $ac_c" 1>&6
3263 < echo "configure:3166: checking size of short" >&5
3263 > echo "configure:3264: checking size of short" >&5
3264   if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
3265    echo $ac_n "(cached) $ac_c" 1>&6
3266   else
# Line 3170 | Line 3268 | else
3268    ac_cv_sizeof_short=2
3269   else
3270    cat > conftest.$ac_ext <<EOF
3271 < #line 3174 "configure"
3271 > #line 3272 "configure"
3272   #include "confdefs.h"
3273   #include <stdio.h>
3274   main()
# Line 3181 | Line 3279 | main()
3279    exit(0);
3280   }
3281   EOF
3282 < if { (eval echo configure:3185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3282 > if { (eval echo configure:3283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3283   then
3284    ac_cv_sizeof_short=`cat conftestval`
3285   else
# Line 3201 | Line 3299 | EOF
3299  
3300  
3301   echo $ac_n "checking size of int""... $ac_c" 1>&6
3302 < echo "configure:3205: checking size of int" >&5
3302 > echo "configure:3303: checking size of int" >&5
3303   if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3304    echo $ac_n "(cached) $ac_c" 1>&6
3305   else
# Line 3209 | Line 3307 | else
3307    ac_cv_sizeof_int=4
3308   else
3309    cat > conftest.$ac_ext <<EOF
3310 < #line 3213 "configure"
3310 > #line 3311 "configure"
3311   #include "confdefs.h"
3312   #include <stdio.h>
3313   main()
# Line 3220 | Line 3318 | main()
3318    exit(0);
3319   }
3320   EOF
3321 < if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3321 > if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3322   then
3323    ac_cv_sizeof_int=`cat conftestval`
3324   else
# Line 3240 | Line 3338 | EOF
3338  
3339  
3340   echo $ac_n "checking size of long""... $ac_c" 1>&6
3341 < echo "configure:3244: checking size of long" >&5
3341 > echo "configure:3342: checking size of long" >&5
3342   if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3343    echo $ac_n "(cached) $ac_c" 1>&6
3344   else
# Line 3248 | Line 3346 | else
3346    ac_cv_sizeof_long=4
3347   else
3348    cat > conftest.$ac_ext <<EOF
3349 < #line 3252 "configure"
3349 > #line 3350 "configure"
3350   #include "confdefs.h"
3351   #include <stdio.h>
3352   main()
# Line 3259 | Line 3357 | main()
3357    exit(0);
3358   }
3359   EOF
3360 < if { (eval echo configure:3263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3360 > if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3361   then
3362    ac_cv_sizeof_long=`cat conftestval`
3363   else
# Line 3279 | Line 3377 | EOF
3377  
3378  
3379   echo $ac_n "checking size of long long""... $ac_c" 1>&6
3380 < echo "configure:3283: checking size of long long" >&5
3380 > echo "configure:3381: checking size of long long" >&5
3381   if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
3382    echo $ac_n "(cached) $ac_c" 1>&6
3383   else
# Line 3287 | Line 3385 | else
3385    ac_cv_sizeof_long_long=8
3386   else
3387    cat > conftest.$ac_ext <<EOF
3388 < #line 3291 "configure"
3388 > #line 3389 "configure"
3389   #include "confdefs.h"
3390   #include <stdio.h>
3391   main()
# Line 3298 | Line 3396 | main()
3396    exit(0);
3397   }
3398   EOF
3399 < if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3399 > if { (eval echo configure:3400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3400   then
3401    ac_cv_sizeof_long_long=`cat conftestval`
3402   else
# Line 3318 | Line 3416 | EOF
3416  
3417  
3418   echo $ac_n "checking for off_t""... $ac_c" 1>&6
3419 < echo "configure:3322: checking for off_t" >&5
3419 > echo "configure:3420: checking for off_t" >&5
3420   if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3421    echo $ac_n "(cached) $ac_c" 1>&6
3422   else
3423    cat > conftest.$ac_ext <<EOF
3424 < #line 3327 "configure"
3424 > #line 3425 "configure"
3425   #include "confdefs.h"
3426   #include <sys/types.h>
3427   #if STDC_HEADERS
# Line 3351 | Line 3449 | EOF
3449   fi
3450  
3451   echo $ac_n "checking for loff_t""... $ac_c" 1>&6
3452 < echo "configure:3355: checking for loff_t" >&5
3452 > echo "configure:3453: checking for loff_t" >&5
3453   if eval "test \"`echo '$''{'ac_cv_type_loff_t'+set}'`\" = set"; then
3454    echo $ac_n "(cached) $ac_c" 1>&6
3455   else
3456    cat > conftest.$ac_ext <<EOF
3457 < #line 3360 "configure"
3457 > #line 3458 "configure"
3458   #include "confdefs.h"
3459   #include <sys/types.h>
3460   #if STDC_HEADERS
# Line 3384 | Line 3482 | EOF
3482   fi
3483  
3484   echo $ac_n "checking for size_t""... $ac_c" 1>&6
3485 < echo "configure:3388: checking for size_t" >&5
3485 > echo "configure:3486: checking for size_t" >&5
3486   if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3487    echo $ac_n "(cached) $ac_c" 1>&6
3488   else
3489    cat > conftest.$ac_ext <<EOF
3490 < #line 3393 "configure"
3490 > #line 3491 "configure"
3491   #include "confdefs.h"
3492   #include <sys/types.h>
3493   #if STDC_HEADERS
# Line 3417 | Line 3515 | EOF
3515   fi
3516  
3517   echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3518 < echo "configure:3421: checking whether time.h and sys/time.h may both be included" >&5
3518 > echo "configure:3519: checking whether time.h and sys/time.h may both be included" >&5
3519   if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3520    echo $ac_n "(cached) $ac_c" 1>&6
3521   else
3522    cat > conftest.$ac_ext <<EOF
3523 < #line 3426 "configure"
3523 > #line 3524 "configure"
3524   #include "confdefs.h"
3525   #include <sys/types.h>
3526   #include <sys/time.h>
# Line 3431 | Line 3529 | int main() {
3529   struct tm *tp;
3530   ; return 0; }
3531   EOF
3532 < if { (eval echo configure:3435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3532 > if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3533    rm -rf conftest*
3534    ac_cv_header_time=yes
3535   else
# Line 3452 | Line 3550 | EOF
3550   fi
3551  
3552   echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3553 < echo "configure:3456: checking whether struct tm is in sys/time.h or time.h" >&5
3553 > echo "configure:3554: checking whether struct tm is in sys/time.h or time.h" >&5
3554   if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3555    echo $ac_n "(cached) $ac_c" 1>&6
3556   else
3557    cat > conftest.$ac_ext <<EOF
3558 < #line 3461 "configure"
3558 > #line 3559 "configure"
3559   #include "confdefs.h"
3560   #include <sys/types.h>
3561   #include <time.h>
# Line 3465 | Line 3563 | int main() {
3563   struct tm *tp; tp->tm_sec;
3564   ; return 0; }
3565   EOF
3566 < if { (eval echo configure:3469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3566 > if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3567    rm -rf conftest*
3568    ac_cv_struct_tm=time.h
3569   else
# Line 3489 | Line 3587 | fi
3587   for ac_func in strdup cfmakeraw
3588   do
3589   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3590 < echo "configure:3493: checking for $ac_func" >&5
3590 > echo "configure:3591: checking for $ac_func" >&5
3591   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3592    echo $ac_n "(cached) $ac_c" 1>&6
3593   else
3594    cat > conftest.$ac_ext <<EOF
3595 < #line 3498 "configure"
3595 > #line 3596 "configure"
3596   #include "confdefs.h"
3597   /* System header to define __stub macros and hopefully few prototypes,
3598      which can conflict with char $ac_func(); below.  */
# Line 3517 | Line 3615 | $ac_func();
3615  
3616   ; return 0; }
3617   EOF
3618 < if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3618 > if { (eval echo configure:3619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3619    rm -rf conftest*
3620    eval "ac_cv_func_$ac_func=yes"
3621   else
# Line 3544 | Line 3642 | done
3642   for ac_func in nanosleep clock_gettime timer_create
3643   do
3644   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3645 < echo "configure:3548: checking for $ac_func" >&5
3645 > echo "configure:3646: checking for $ac_func" >&5
3646   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3647    echo $ac_n "(cached) $ac_c" 1>&6
3648   else
3649    cat > conftest.$ac_ext <<EOF
3650 < #line 3553 "configure"
3650 > #line 3651 "configure"
3651   #include "confdefs.h"
3652   /* System header to define __stub macros and hopefully few prototypes,
3653      which can conflict with char $ac_func(); below.  */
# Line 3572 | Line 3670 | $ac_func();
3670  
3671   ; return 0; }
3672   EOF
3673 < if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3673 > if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3674    rm -rf conftest*
3675    eval "ac_cv_func_$ac_func=yes"
3676   else
# Line 3599 | Line 3697 | done
3697   for ac_func in pthread_cancel
3698   do
3699   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3700 < echo "configure:3603: checking for $ac_func" >&5
3700 > echo "configure:3701: checking for $ac_func" >&5
3701   if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3702    echo $ac_n "(cached) $ac_c" 1>&6
3703   else
3704    cat > conftest.$ac_ext <<EOF
3705 < #line 3608 "configure"
3705 > #line 3706 "configure"
3706   #include "confdefs.h"
3707   /* System header to define __stub macros and hopefully few prototypes,
3708      which can conflict with char $ac_func(); below.  */
# Line 3627 | Line 3725 | $ac_func();
3725  
3726   ; return 0; }
3727   EOF
3728 < if { (eval echo configure:3631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3728 > if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3729    rm -rf conftest*
3730    eval "ac_cv_func_$ac_func=yes"
3731   else
# Line 3660 | Line 3758 | if MACHINE=`uname -a 2>/dev/null`; then
3758      ;;
3759    FreeBSD*3.*)
3760          echo $ac_n "checking for cam_open_btl in -lcam""... $ac_c" 1>&6
3761 < echo "configure:3664: checking for cam_open_btl in -lcam" >&5
3761 > echo "configure:3762: checking for cam_open_btl in -lcam" >&5
3762   ac_lib_var=`echo cam'_'cam_open_btl | sed 'y%./+-%__p_%'`
3763   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3764    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3668 | Line 3766 | else
3766    ac_save_LIBS="$LIBS"
3767   LIBS="-lcam  $LIBS"
3768   cat > conftest.$ac_ext <<EOF
3769 < #line 3672 "configure"
3769 > #line 3770 "configure"
3770   #include "confdefs.h"
3771   /* Override any gcc2 internal prototype to avoid an error.  */
3772   /* We use char because int might match the return type of a gcc2
# Line 3679 | Line 3777 | int main() {
3777   cam_open_btl()
3778   ; return 0; }
3779   EOF
3780 < if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3780 > if { (eval echo configure:3781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3781    rm -rf conftest*
3782    eval "ac_cv_lib_$ac_lib_var=yes"
3783   else
# Line 3705 | Line 3803 | fi
3803      else
3804              ac_safe=`echo "/sys/cam/cam.h" | sed 'y%./+-%__p_%'`
3805   echo $ac_n "checking for /sys/cam/cam.h""... $ac_c" 1>&6
3806 < echo "configure:3709: checking for /sys/cam/cam.h" >&5
3806 > echo "configure:3807: checking for /sys/cam/cam.h" >&5
3807   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3808    echo $ac_n "(cached) $ac_c" 1>&6
3809   else
3810    cat > conftest.$ac_ext <<EOF
3811 < #line 3714 "configure"
3811 > #line 3812 "configure"
3812   #include "confdefs.h"
3813   #include </sys/cam/cam.h>
3814   EOF
3815   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3816 < { (eval echo configure:3719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3816 > { (eval echo configure:3817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3817   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3818   if test -z "$ac_err"; then
3819    rm -rf conftest*
# Line 3748 | Line 3846 | fi
3846      ;;
3847    FreeBSD*)
3848          echo $ac_n "checking for scsi_open in -lscsi""... $ac_c" 1>&6
3849 < echo "configure:3752: checking for scsi_open in -lscsi" >&5
3849 > echo "configure:3850: checking for scsi_open in -lscsi" >&5
3850   ac_lib_var=`echo scsi'_'scsi_open | sed 'y%./+-%__p_%'`
3851   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3852    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3756 | Line 3854 | else
3854    ac_save_LIBS="$LIBS"
3855   LIBS="-lscsi  $LIBS"
3856   cat > conftest.$ac_ext <<EOF
3857 < #line 3760 "configure"
3857 > #line 3858 "configure"
3858   #include "confdefs.h"
3859   /* Override any gcc2 internal prototype to avoid an error.  */
3860   /* We use char because int might match the return type of a gcc2
# Line 3767 | Line 3865 | int main() {
3865   scsi_open()
3866   ; return 0; }
3867   EOF
3868 < if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3868 > if { (eval echo configure:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3869    rm -rf conftest*
3870    eval "ac_cv_lib_$ac_lib_var=yes"
3871   else
# Line 3793 | Line 3891 | fi
3891      else
3892              ac_safe=`echo "scsi.h sys/scsiio.h" | sed 'y%./+-%__p_%'`
3893   echo $ac_n "checking for scsi.h sys/scsiio.h""... $ac_c" 1>&6
3894 < echo "configure:3797: checking for scsi.h sys/scsiio.h" >&5
3894 > echo "configure:3895: checking for scsi.h sys/scsiio.h" >&5
3895   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3896    echo $ac_n "(cached) $ac_c" 1>&6
3897   else
3898    cat > conftest.$ac_ext <<EOF
3899 < #line 3802 "configure"
3899 > #line 3900 "configure"
3900   #include "confdefs.h"
3901   #include <scsi.h sys/scsiio.h>
3902   EOF
3903   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3904 < { (eval echo configure:3807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3904 > { (eval echo configure:3905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3905   ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3906   if test -z "$ac_err"; then
3907    rm -rf conftest*
# Line 3847 | Line 3945 | SYSSRCS="$SYSSRCS $SEMSRCS $UISRCS $MONS
3945  
3946   HAVE_I386=no
3947   echo $ac_n "checking for x86 target CPU""... $ac_c" 1>&6
3948 < echo "configure:3851: checking for x86 target CPU" >&5
3948 > echo "configure:3949: checking for x86 target CPU" >&5
3949   cat > conftest.$ac_ext <<EOF
3950 < #line 3853 "configure"
3950 > #line 3951 "configure"
3951   #include "confdefs.h"
3952  
3953   #ifdef __i386__
# Line 3870 | Line 3968 | rm -f conftest*
3968  
3969   HAVE_SPARC=no
3970   echo $ac_n "checking for SPARC target CPU""... $ac_c" 1>&6
3971 < echo "configure:3874: checking for SPARC target CPU" >&5
3971 > echo "configure:3972: checking for SPARC target CPU" >&5
3972   cat > conftest.$ac_ext <<EOF
3973 < #line 3876 "configure"
3973 > #line 3974 "configure"
3974   #include "confdefs.h"
3975  
3976   #ifdef __sparc__
# Line 3893 | Line 3991 | rm -f conftest*
3991  
3992   HAVE_GAS=no
3993   echo $ac_n "checking for GAS .p2align feature""... $ac_c" 1>&6
3994 < echo "configure:3897: checking for GAS .p2align feature" >&5
3994 > echo "configure:3995: checking for GAS .p2align feature" >&5
3995   cat >conftest.S << EOF
3996          .text
3997          .p2align 5
# Line 3903 | Line 4001 | echo "$ac_t""$HAVE_GAS" 1>&6
4001  
4002   HAVE_GCC27=no
4003   echo $ac_n "checking for GCC 2.7 or higher""... $ac_c" 1>&6
4004 < echo "configure:3907: checking for GCC 2.7 or higher" >&5
4004 > echo "configure:4005: checking for GCC 2.7 or higher" >&5
4005   cat > conftest.$ac_ext <<EOF
4006 < #line 3909 "configure"
4006 > #line 4007 "configure"
4007   #include "confdefs.h"
4008   #if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
4009    yes
# Line 3943 | Line 4041 | elif [ "x$HAVE_GCC27" = "xyes" -a "x$HAV
4041      case "$MACHINE" in
4042    SunOS*)
4043      echo $ac_n "checking SPARC CPU architecture""... $ac_c" 1>&6
4044 < echo "configure:3947: checking SPARC CPU architecture" >&5
4044 > echo "configure:4045: checking SPARC CPU architecture" >&5
4045      SPARC_TYPE=`Solaris/which_sparc`
4046      echo "$ac_t""$SPARC_TYPE" 1>&6
4047      case "$SPARC_TYPE" in
# Line 4351 | Line 4449 | echo
4449   echo XFree86 DGA support .............. : $WANT_XF86_DGA
4450   echo fbdev DGA support ................ : $WANT_FBDEV_DGA
4451   echo ESD sound support ................ : $WANT_ESD
4452 < echo GTK user interface ............... : $WANT_UI
4452 > echo GTK user interface ............... : $WANT_GTK
4453   echo mon debugger support ............. : $WANT_MON
4454   echo i386 assembly optimizations ...... : $WANT_X86_ASSEMBLY
4455   echo SPARC V8 assembly optimizations .. : $WANT_SPARC_V8_ASSEMBLY

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines