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.16 by cebix, 1999-11-03T21:04:14Z vs.
Revision 1.17 by cebix, 2000-04-14T18:45:56Z

# Line 1156 | 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:1161: 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
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
# Line 1211 | 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
# Line 1251 | 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:1262: 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 1266 | Line 1268 | else
1268    ac_save_LIBS="$LIBS"
1269   LIBS="-lposix4  $LIBS"
1270   cat > conftest.$ac_ext <<EOF
1271 < #line 1270 "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 1277 | Line 1279 | int main() {
1279   sem_init()
1280   ; return 0; }
1281   EOF
1282 < if { (eval echo configure:1281: \"$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 1310 | 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:1314: 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 1372 | 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 1376 "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:1381: \"$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 1446 | 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 1450 "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:1457: \"$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 1559 | 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:1563: 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 1566 "configure"
1567 > #line 1568 "configure"
1568   #include "confdefs.h"
1569  
1570   int main() {
1571  
1572   ; return 0; }
1573   EOF
1574 < if { (eval echo configure:1573: \"$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 1585 | Line 1587 | rm -f conftest*
1587        else
1588          LIBS="$ac_xsave_LIBS -R $x_libraries"
1589          cat > conftest.$ac_ext <<EOF
1590 < #line 1589 "configure"
1590 > #line 1591 "configure"
1591   #include "confdefs.h"
1592  
1593   int main() {
1594  
1595   ; return 0; }
1596   EOF
1597 < if { (eval echo configure:1596: \"$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 1624 | 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:1628: 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 1632 | Line 1634 | else
1634    ac_save_LIBS="$LIBS"
1635   LIBS="-ldnet  $LIBS"
1636   cat > conftest.$ac_ext <<EOF
1637 < #line 1636 "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 1643 | Line 1645 | int main() {
1645   dnet_ntoa()
1646   ; return 0; }
1647   EOF
1648 < if { (eval echo configure:1647: \"$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 1665 | 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:1669: 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 1673 | Line 1675 | else
1675    ac_save_LIBS="$LIBS"
1676   LIBS="-ldnet_stub  $LIBS"
1677   cat > conftest.$ac_ext <<EOF
1678 < #line 1677 "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 1684 | Line 1686 | int main() {
1686   dnet_ntoa()
1687   ; return 0; }
1688   EOF
1689 < if { (eval echo configure:1688: \"$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 1713 | 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:1717: 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 1722 "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 1741 | Line 1743 | gethostbyname();
1743  
1744   ; return 0; }
1745   EOF
1746 < if { (eval echo configure:1745: \"$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 1762 | 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:1766: 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 1770 | Line 1772 | else
1772    ac_save_LIBS="$LIBS"
1773   LIBS="-lnsl  $LIBS"
1774   cat > conftest.$ac_ext <<EOF
1775 < #line 1774 "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 1781 | Line 1783 | int main() {
1783   gethostbyname()
1784   ; return 0; }
1785   EOF
1786 < if { (eval echo configure:1785: \"$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 1811 | 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:1815: 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 1820 "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 1839 | Line 1841 | connect();
1841  
1842   ; return 0; }
1843   EOF
1844 < if { (eval echo configure:1843: \"$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 1860 | 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:1864: 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 1868 | Line 1870 | else
1870    ac_save_LIBS="$LIBS"
1871   LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1872   cat > conftest.$ac_ext <<EOF
1873 < #line 1872 "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 1879 | Line 1881 | int main() {
1881   connect()
1882   ; return 0; }
1883   EOF
1884 < if { (eval echo configure:1883: \"$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 1903 | 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:1907: 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 1912 "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 1931 | Line 1933 | remove();
1933  
1934   ; return 0; }
1935   EOF
1936 < if { (eval echo configure:1935: \"$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 1952 | 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:1956: 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 1960 | Line 1962 | else
1962    ac_save_LIBS="$LIBS"
1963   LIBS="-lposix  $LIBS"
1964   cat > conftest.$ac_ext <<EOF
1965 < #line 1964 "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 1971 | Line 1973 | int main() {
1973   remove()
1974   ; return 0; }
1975   EOF
1976 < if { (eval echo configure:1975: \"$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 1995 | 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:1999: 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 2004 "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 2023 | Line 2025 | shmat();
2025  
2026   ; return 0; }
2027   EOF
2028 < if { (eval echo configure:2027: \"$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 2044 | 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:2048: 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 2052 | Line 2054 | else
2054    ac_save_LIBS="$LIBS"
2055   LIBS="-lipc  $LIBS"
2056   cat > conftest.$ac_ext <<EOF
2057 < #line 2056 "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 2063 | Line 2065 | int main() {
2065   shmat()
2066   ; return 0; }
2067   EOF
2068 < if { (eval echo configure:2067: \"$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 2096 | 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:2100: 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 2104 | Line 2106 | else
2106    ac_save_LIBS="$LIBS"
2107   LIBS="-lICE $X_EXTRA_LIBS $LIBS"
2108   cat > conftest.$ac_ext <<EOF
2109 < #line 2108 "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 2115 | Line 2117 | int main() {
2117   IceConnectionNumber()
2118   ; return 0; }
2119   EOF
2120 < if { (eval echo configure:2119: \"$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 2147 | 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:2151: 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 2155 | Line 2157 | else
2157    ac_save_LIBS="$LIBS"
2158   LIBS="-lpthread  $LIBS"
2159   cat > conftest.$ac_ext <<EOF
2160 < #line 2159 "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 2166 | Line 2168 | int main() {
2168   pthread_create()
2169   ; return 0; }
2170   EOF
2171 < if { (eval echo configure:2170: \"$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 2193 | 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:2197: 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 2201 | Line 2203 | else
2203    ac_save_LIBS="$LIBS"
2204   LIBS="-lc_r  $LIBS"
2205   cat > conftest.$ac_ext <<EOF
2206 < #line 2205 "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 2212 | Line 2214 | int main() {
2214   pthread_create()
2215   ; return 0; }
2216   EOF
2217 < if { (eval echo configure:2216: \"$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 2239 | 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:2243: 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 2247 | Line 2249 | else
2249    ac_save_LIBS="$LIBS"
2250   LIBS="-lPTL  $LIBS"
2251   cat > conftest.$ac_ext <<EOF
2252 < #line 2251 "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 2258 | Line 2260 | int main() {
2260   pthread_create()
2261   ; return 0; }
2262   EOF
2263 < if { (eval echo configure:2262: \"$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 2299 | 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:2303: 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 2308 "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 2327 | Line 2329 | $ac_func();
2329  
2330   ; return 0; }
2331   EOF
2332 < if { (eval echo configure:2331: \"$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 2356 | 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:2360: 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 2364 | Line 2366 | else
2366    ac_save_LIBS="$LIBS"
2367   LIBS="-lXxf86dga  $LIBS"
2368   cat > conftest.$ac_ext <<EOF
2369 < #line 2368 "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 2375 | Line 2377 | int main() {
2377   XF86DGAQueryExtension()
2378   ; return 0; }
2379   EOF
2380 < if { (eval echo configure:2379: \"$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 2418 | Line 2420 | 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:2422: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
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
# Line 2426 | Line 2428 | else
2428    ac_save_LIBS="$LIBS"
2429   LIBS="-lXxf86vm  $LIBS"
2430   cat > conftest.$ac_ext <<EOF
2431 < #line 2430 "configure"
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
# Line 2437 | Line 2439 | int main() {
2439   XF86VidModeQueryExtension()
2440   ; return 0; }
2441   EOF
2442 < if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
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
# Line 2510 | 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:2514: 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 2545 | 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:2549: 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 2568 | Line 2570 | echo "configure:2549: checking for GTK -
2570    echo $ac_n "cross compiling; assumed OK... $ac_c"
2571   else
2572    cat > conftest.$ac_ext <<EOF
2573 < #line 2572 "configure"
2573 > #line 2574 "configure"
2574   #include "confdefs.h"
2575  
2576   #include <gtk/gtk.h>
# Line 2631 | Line 2633 | main ()
2633   }
2634  
2635   EOF
2636 < if { (eval echo configure:2635: \"$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 2671 | Line 2673 | fi
2673            CFLAGS="$CFLAGS $GTK_CFLAGS"
2674            LIBS="$LIBS $GTK_LIBS"
2675            cat > conftest.$ac_ext <<EOF
2676 < #line 2675 "configure"
2676 > #line 2677 "configure"
2677   #include "confdefs.h"
2678  
2679   #include <gtk/gtk.h>
# Line 2681 | 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:2685: \"$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 2767 | 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:2771: 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 2802 | 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:2806: 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 2826 | Line 2828 | echo "configure:2806: checking for ESD -
2828    echo $ac_n "cross compiling; assumed OK... $ac_c"
2829   else
2830    cat > conftest.$ac_ext <<EOF
2831 < #line 2830 "configure"
2831 > #line 2832 "configure"
2832   #include "confdefs.h"
2833  
2834   #include <stdio.h>
# Line 2884 | Line 2886 | int main ()
2886  
2887  
2888   EOF
2889 < if { (eval echo configure:2888: \"$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 2923 | Line 2925 | fi
2925            CFLAGS="$CFLAGS $ESD_CFLAGS"
2926            LIBS="$LIBS $ESD_LIBS"
2927            cat > conftest.$ac_ext <<EOF
2928 < #line 2927 "configure"
2928 > #line 2929 "configure"
2929   #include "confdefs.h"
2930  
2931   #include <stdio.h>
# Line 2933 | Line 2935 | int main() {
2935   return 0;
2936   ; return 0; }
2937   EOF
2938 < if { (eval echo configure:2937: \"$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 2973 | 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:2977: 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 2982 "configure"
2983 > #line 2984 "configure"
2984   #include "confdefs.h"
2985   #include <stdlib.h>
2986   #include <stdarg.h>
# Line 2986 | 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:2990: \"$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 3003 | 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 3007 "configure"
3008 > #line 3009 "configure"
3009   #include "confdefs.h"
3010   #include <string.h>
3011   EOF
# Line 3021 | 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 3025 "configure"
3026 > #line 3027 "configure"
3027   #include "confdefs.h"
3028   #include <stdlib.h>
3029   EOF
# Line 3042 | Line 3044 | if test "$cross_compiling" = yes; then
3044    :
3045   else
3046    cat > conftest.$ac_ext <<EOF
3047 < #line 3046 "configure"
3047 > #line 3048 "configure"
3048   #include "confdefs.h"
3049   #include <ctype.h>
3050   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 3053 | Line 3055 | if (XOR (islower (i), ISLOWER (i)) || to
3055   exit (0); }
3056  
3057   EOF
3058 < if { (eval echo configure:3057: \"$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 3080 | 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:3084: 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 3089 "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:3094: \"$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 3118 | Line 3120 | done
3120  
3121  
3122   echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3123 < echo "configure:3122: 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 3129 "configure"
3130 > #line 3131 "configure"
3131   #include "confdefs.h"
3132   #include <sys/types.h>
3133   #include <sys/param.h>
# Line 3136 | Line 3138 | int main() {
3138   #endif
3139   ; return 0; }
3140   EOF
3141 < if { (eval echo configure:3140: \"$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 3144 "configure"
3145 > #line 3146 "configure"
3146   #include "confdefs.h"
3147   #include <sys/types.h>
3148   #include <sys/param.h>
# Line 3151 | Line 3153 | int main() {
3153   #endif
3154   ; return 0; }
3155   EOF
3156 < if { (eval echo configure:3155: \"$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 3171 | 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 3175 "configure"
3176 > #line 3177 "configure"
3177   #include "confdefs.h"
3178   main () {
3179    /* Are we little or big endian?  From Harbison&Steele.  */
# Line 3184 | Line 3186 | main () {
3186    exit (u.c[sizeof (long) - 1] == 1);
3187   }
3188   EOF
3189 < if { (eval echo configure:3188: \"$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 3208 | Line 3210 | EOF
3210   fi
3211  
3212   echo $ac_n "checking for working const""... $ac_c" 1>&6
3213 < echo "configure:3212: 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 3217 "configure"
3218 > #line 3219 "configure"
3219   #include "confdefs.h"
3220  
3221   int main() {
# Line 3262 | Line 3264 | ccp = (char const *const *) p;
3264  
3265   ; return 0; }
3266   EOF
3267 < if { (eval echo configure:3266: \"$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 3283 | Line 3285 | EOF
3285   fi
3286  
3287   echo $ac_n "checking for inline""... $ac_c" 1>&6
3288 < echo "configure:3287: 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 3294 "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:3301: \"$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 3323 | Line 3325 | EOF
3325   esac
3326  
3327   echo $ac_n "checking size of short""... $ac_c" 1>&6
3328 < echo "configure:3327: 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 3331 | Line 3333 | else
3333    ac_cv_sizeof_short=2
3334   else
3335    cat > conftest.$ac_ext <<EOF
3336 < #line 3335 "configure"
3336 > #line 3337 "configure"
3337   #include "confdefs.h"
3338   #include <stdio.h>
3339   main()
# Line 3342 | Line 3344 | main()
3344    exit(0);
3345   }
3346   EOF
3347 < if { (eval echo configure:3346: \"$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 3362 | Line 3364 | EOF
3364  
3365  
3366   echo $ac_n "checking size of int""... $ac_c" 1>&6
3367 < echo "configure:3366: 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 3370 | Line 3372 | else
3372    ac_cv_sizeof_int=4
3373   else
3374    cat > conftest.$ac_ext <<EOF
3375 < #line 3374 "configure"
3375 > #line 3376 "configure"
3376   #include "confdefs.h"
3377   #include <stdio.h>
3378   main()
# Line 3381 | Line 3383 | main()
3383    exit(0);
3384   }
3385   EOF
3386 < if { (eval echo configure:3385: \"$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 3401 | Line 3403 | EOF
3403  
3404  
3405   echo $ac_n "checking size of long""... $ac_c" 1>&6
3406 < echo "configure:3405: 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 3409 | Line 3411 | else
3411    ac_cv_sizeof_long=4
3412   else
3413    cat > conftest.$ac_ext <<EOF
3414 < #line 3413 "configure"
3414 > #line 3415 "configure"
3415   #include "confdefs.h"
3416   #include <stdio.h>
3417   main()
# Line 3420 | Line 3422 | main()
3422    exit(0);
3423   }
3424   EOF
3425 < if { (eval echo configure:3424: \"$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 3440 | Line 3442 | EOF
3442  
3443  
3444   echo $ac_n "checking size of long long""... $ac_c" 1>&6
3445 < echo "configure:3444: 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 3448 | Line 3450 | else
3450    ac_cv_sizeof_long_long=8
3451   else
3452    cat > conftest.$ac_ext <<EOF
3453 < #line 3452 "configure"
3453 > #line 3454 "configure"
3454   #include "confdefs.h"
3455   #include <stdio.h>
3456   main()
# Line 3459 | Line 3461 | main()
3461    exit(0);
3462   }
3463   EOF
3464 < if { (eval echo configure:3463: \"$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 3479 | Line 3481 | EOF
3481  
3482  
3483   echo $ac_n "checking for off_t""... $ac_c" 1>&6
3484 < echo "configure:3483: 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 3488 "configure"
3489 > #line 3490 "configure"
3490   #include "confdefs.h"
3491   #include <sys/types.h>
3492   #if STDC_HEADERS
# Line 3512 | Line 3514 | EOF
3514   fi
3515  
3516   echo $ac_n "checking for loff_t""... $ac_c" 1>&6
3517 < echo "configure:3516: 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 3521 "configure"
3522 > #line 3523 "configure"
3523   #include "confdefs.h"
3524   #include <sys/types.h>
3525   #if STDC_HEADERS
# Line 3545 | Line 3547 | EOF
3547   fi
3548  
3549   echo $ac_n "checking for size_t""... $ac_c" 1>&6
3550 < echo "configure:3549: 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 3554 "configure"
3555 > #line 3556 "configure"
3556   #include "confdefs.h"
3557   #include <sys/types.h>
3558   #if STDC_HEADERS
# Line 3578 | 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:3582: 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 3587 "configure"
3588 > #line 3589 "configure"
3589   #include "confdefs.h"
3590   #include <sys/types.h>
3591   #include <sys/time.h>
# Line 3592 | Line 3594 | int main() {
3594   struct tm *tp;
3595   ; return 0; }
3596   EOF
3597 < if { (eval echo configure:3596: \"$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 3613 | 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:3617: 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 3622 "configure"
3623 > #line 3624 "configure"
3624   #include "confdefs.h"
3625   #include <sys/types.h>
3626   #include <time.h>
# Line 3626 | Line 3628 | int main() {
3628   struct tm *tp; tp->tm_sec;
3629   ; return 0; }
3630   EOF
3631 < if { (eval echo configure:3630: \"$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 3650 | 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:3654: 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 3659 "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 3678 | Line 3680 | $ac_func();
3680  
3681   ; return 0; }
3682   EOF
3683 < if { (eval echo configure:3682: \"$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 3705 | 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:3709: 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 3714 "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 3733 | Line 3735 | $ac_func();
3735  
3736   ; return 0; }
3737   EOF
3738 < if { (eval echo configure:3737: \"$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 3760 | 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:3764: 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 3769 "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 3788 | Line 3790 | $ac_func();
3790  
3791   ; return 0; }
3792   EOF
3793 < if { (eval echo configure:3792: \"$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 3821 | 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:3825: 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 3829 | Line 3831 | else
3831    ac_save_LIBS="$LIBS"
3832   LIBS="-lcam  $LIBS"
3833   cat > conftest.$ac_ext <<EOF
3834 < #line 3833 "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 3840 | Line 3842 | int main() {
3842   cam_open_btl()
3843   ; return 0; }
3844   EOF
3845 < if { (eval echo configure:3844: \"$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 3866 | 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:3870: 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 3875 "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:3880: \"$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 3909 | Line 3911 | fi
3911      ;;
3912    FreeBSD*)
3913          echo $ac_n "checking for scsi_open in -lscsi""... $ac_c" 1>&6
3914 < echo "configure:3913: 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 3917 | Line 3919 | else
3919    ac_save_LIBS="$LIBS"
3920   LIBS="-lscsi  $LIBS"
3921   cat > conftest.$ac_ext <<EOF
3922 < #line 3921 "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 3928 | Line 3930 | int main() {
3930   scsi_open()
3931   ; return 0; }
3932   EOF
3933 < if { (eval echo configure:3932: \"$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 3954 | 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:3958: 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 3963 "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:3968: \"$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 4008 | 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:4012: checking for x86 target CPU" >&5
4013 > echo "configure:4014: checking for x86 target CPU" >&5
4014   cat > conftest.$ac_ext <<EOF
4015 < #line 4014 "configure"
4015 > #line 4016 "configure"
4016   #include "confdefs.h"
4017  
4018   #ifdef __i386__
# Line 4031 | 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:4035: checking for SPARC target CPU" >&5
4036 > echo "configure:4037: checking for SPARC target CPU" >&5
4037   cat > conftest.$ac_ext <<EOF
4038 < #line 4037 "configure"
4038 > #line 4039 "configure"
4039   #include "confdefs.h"
4040  
4041   #ifdef __sparc__
# Line 4054 | 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:4058: 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 4064 | 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:4068: 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 4070 "configure"
4071 > #line 4072 "configure"
4072   #include "confdefs.h"
4073   #if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
4074    yes
# Line 4104 | Line 4106 | elif [ "x$HAVE_GCC27" = "xyes" -a "x$HAV
4106      case "$MACHINE" in
4107    SunOS*)
4108      echo $ac_n "checking SPARC CPU architecture""... $ac_c" 1>&6
4109 < echo "configure:4108: 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines