Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8 by ura, Sun Jan 16 07:06:07 2000 UTC revision 1.9 by ura, Sun Jan 16 07:15:50 2000 UTC
# Line 798  case $hosttype in Line 798  case $hosttype in
798      5.*)      5.*)
799        if test $CC = gcc; then        if test $CC = gcc; then
800            CDEBUGFLAGS=-O2            CDEBUGFLAGS=-O2
801            CCOPTIONS="-Dsun -Dsparc -DSVR4 -DSYSV"            CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"
802        else        else
803            CCOPTIONS="-Xc -xF -xcg92 -Dsun -Dsparc -DSVR4 -DSYSV"            CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"
804        fi        fi
805        if test -x /usr/ccs/lib/cpp; then        if test -x /usr/ccs/lib/cpp; then
806            CPP=/usr/ccs/lib/cpp            CPP=/usr/ccs/lib/cpp
# Line 1111  fi Line 1111  fi
1111    
1112    
1113    
1114  echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
1115  echo "configure:1116: checking for main in -lcrypt" >&5  echo "configure:1116: checking for crypt in -lcrypt" >&5
1116  ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
1117  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1118    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1119  else  else
# Line 1122  LIBS="-lcrypt  $LIBS" Line 1122  LIBS="-lcrypt  $LIBS"
1122  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1123  #line 1124 "configure"  #line 1124 "configure"
1124  #include "confdefs.h"  #include "confdefs.h"
1125    /* Override any gcc2 internal prototype to avoid an error.  */
1126    /* We use char because int might match the return type of a gcc2
1127        builtin and then its argument prototype would still apply.  */
1128    char crypt();
1129    
1130  int main() {  int main() {
1131  main()  crypt()
1132  ; return 0; }  ; return 0; }
1133  EOF  EOF
1134  if { (eval echo configure:1131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1135    rm -rf conftest*    rm -rf conftest*
1136    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1137  else  else
# Line 1154  else Line 1158  else
1158    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1159  fi  fi
1160    
1161  echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1162  echo "configure:1159: checking for main in -lsocket" >&5  echo "configure:1163: checking for connect in -lsocket" >&5
1163  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1164  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1165    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1166  else  else
1167    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1168  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
1169  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1170  #line 1167 "configure"  #line 1171 "configure"
1171  #include "confdefs.h"  #include "confdefs.h"
1172    /* Override any gcc2 internal prototype to avoid an error.  */
1173    /* We use char because int might match the return type of a gcc2
1174        builtin and then its argument prototype would still apply.  */
1175    char connect();
1176    
1177  int main() {  int main() {
1178  main()  connect()
1179  ; return 0; }  ; return 0; }
1180  EOF  EOF
1181  if { (eval echo configure:1174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1182    rm -rf conftest*    rm -rf conftest*
1183    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1184  else  else
# Line 1197  else Line 1205  else
1205    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1206  fi  fi
1207    
1208  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1209  echo "configure:1202: checking for main in -lnsl" >&5  echo "configure:1210: checking for gethostbyname in -lnsl" >&5
1210  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1211  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1212    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1213  else  else
1214    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1215  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
1216  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1217  #line 1210 "configure"  #line 1218 "configure"
1218  #include "confdefs.h"  #include "confdefs.h"
1219    /* Override any gcc2 internal prototype to avoid an error.  */
1220    /* We use char because int might match the return type of a gcc2
1221        builtin and then its argument prototype would still apply.  */
1222    char gethostbyname();
1223    
1224  int main() {  int main() {
1225  main()  gethostbyname()
1226  ; return 0; }  ; return 0; }
1227  EOF  EOF
1228  if { (eval echo configure:1217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1229    rm -rf conftest*    rm -rf conftest*
1230    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1231  else  else
# Line 1246  fi Line 1258  fi
1258  # Uses ac_ vars as temps to allow command line to override cache and checks.  # Uses ac_ vars as temps to allow command line to override cache and checks.
1259  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
1260  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
1261  echo "configure:1250: checking for X" >&5  echo "configure:1262: checking for X" >&5
1262    
1263  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
1264  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 1308  if test "$ac_x_includes" = NO; then Line 1320  if test "$ac_x_includes" = NO; then
1320    
1321    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
1322  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1323  #line 1312 "configure"  #line 1324 "configure"
1324  #include "confdefs.h"  #include "confdefs.h"
1325  #include <$x_direct_test_include>  #include <$x_direct_test_include>
1326  EOF  EOF
1327  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1328  { (eval echo configure:1317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1329  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1330  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1331    rm -rf conftest*    rm -rf conftest*
# Line 1382  if test "$ac_x_libraries" = NO; then Line 1394  if test "$ac_x_libraries" = NO; then
1394    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1395    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
1396  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1397  #line 1386 "configure"  #line 1398 "configure"
1398  #include "confdefs.h"  #include "confdefs.h"
1399    
1400  int main() {  int main() {
1401  ${x_direct_test_function}()  ${x_direct_test_function}()
1402  ; return 0; }  ; return 0; }
1403  EOF  EOF
1404  if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1405    rm -rf conftest*    rm -rf conftest*
1406    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
1407  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 1476  else Line 1488  else
1488  fi  fi
1489    
1490  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1491  echo "configure:1480: checking for ANSI C header files" >&5  echo "configure:1492: checking for ANSI C header files" >&5
1492  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1493    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1494  else  else
1495    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1496  #line 1485 "configure"  #line 1497 "configure"
1497  #include "confdefs.h"  #include "confdefs.h"
1498  #include <stdlib.h>  #include <stdlib.h>
1499  #include <stdarg.h>  #include <stdarg.h>
# Line 1489  else Line 1501  else
1501  #include <float.h>  #include <float.h>
1502  EOF  EOF
1503  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1504  { (eval echo configure:1493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1505  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1506  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1507    rm -rf conftest*    rm -rf conftest*
# Line 1506  rm -f conftest* Line 1518  rm -f conftest*
1518  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
1519    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1520  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1521  #line 1510 "configure"  #line 1522 "configure"
1522  #include "confdefs.h"  #include "confdefs.h"
1523  #include <string.h>  #include <string.h>
1524  EOF  EOF
# Line 1524  fi Line 1536  fi
1536  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
1537    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1538  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1539  #line 1528 "configure"  #line 1540 "configure"
1540  #include "confdefs.h"  #include "confdefs.h"
1541  #include <stdlib.h>  #include <stdlib.h>
1542  EOF  EOF
# Line 1545  if test "$cross_compiling" = yes; then Line 1557  if test "$cross_compiling" = yes; then
1557    :    :
1558  else  else
1559    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1560  #line 1549 "configure"  #line 1561 "configure"
1561  #include "confdefs.h"  #include "confdefs.h"
1562  #include <ctype.h>  #include <ctype.h>
1563  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 1556  if (XOR (islower (i), ISLOWER (i)) || to Line 1568  if (XOR (islower (i), ISLOWER (i)) || to
1568  exit (0); }  exit (0); }
1569    
1570  EOF  EOF
1571  if { (eval echo configure:1560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1572  then  then
1573    :    :
1574  else  else
# Line 1580  EOF Line 1592  EOF
1592  fi  fi
1593    
1594  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
1595  echo "configure:1584: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "configure:1596: checking for sys/wait.h that is POSIX.1 compatible" >&5
1596  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
1597    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1598  else  else
1599    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1600  #line 1589 "configure"  #line 1601 "configure"
1601  #include "confdefs.h"  #include "confdefs.h"
1602  #include <sys/types.h>  #include <sys/types.h>
1603  #include <sys/wait.h>  #include <sys/wait.h>
# Line 1601  wait (&s); Line 1613  wait (&s);
1613  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1614  ; return 0; }  ; return 0; }
1615  EOF  EOF
1616  if { (eval echo configure:1605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1617    rm -rf conftest*    rm -rf conftest*
1618    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
1619  else  else
# Line 1625  for ac_hdr in fcntl.h limits.h malloc.h Line 1637  for ac_hdr in fcntl.h limits.h malloc.h
1637  do  do
1638  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1639  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1640  echo "configure:1629: checking for $ac_hdr" >&5  echo "configure:1641: checking for $ac_hdr" >&5
1641  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1642    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1643  else  else
1644    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1645  #line 1634 "configure"  #line 1646 "configure"
1646  #include "confdefs.h"  #include "confdefs.h"
1647  #include <$ac_hdr>  #include <$ac_hdr>
1648  EOF  EOF
1649  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1650  { (eval echo configure:1639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1651  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1652  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1653    rm -rf conftest*    rm -rf conftest*
# Line 1663  done Line 1675  done
1675    
1676    
1677  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
1678  echo "configure:1667: checking for mode_t" >&5  echo "configure:1679: checking for mode_t" >&5
1679  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
1680    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1681  else  else
1682    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1683  #line 1672 "configure"  #line 1684 "configure"
1684  #include "confdefs.h"  #include "confdefs.h"
1685  #include <sys/types.h>  #include <sys/types.h>
1686  #if STDC_HEADERS  #if STDC_HEADERS
# Line 1696  EOF Line 1708  EOF
1708  fi  fi
1709    
1710  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1711  echo "configure:1700: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:1712: checking whether time.h and sys/time.h may both be included" >&5
1712  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
1713    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1714  else  else
1715    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1716  #line 1705 "configure"  #line 1717 "configure"
1717  #include "confdefs.h"  #include "confdefs.h"
1718  #include <sys/types.h>  #include <sys/types.h>
1719  #include <sys/time.h>  #include <sys/time.h>
# Line 1710  int main() { Line 1722  int main() {
1722  struct tm *tp;  struct tm *tp;
1723  ; return 0; }  ; return 0; }
1724  EOF  EOF
1725  if { (eval echo configure:1714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1726    rm -rf conftest*    rm -rf conftest*
1727    ac_cv_header_time=yes    ac_cv_header_time=yes
1728  else  else
# Line 1733  fi Line 1745  fi
1745    
1746  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
1747      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
1748  echo "configure:1737: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:1749: checking whether ${CC-cc} needs -traditional" >&5
1749  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1750    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1751  else  else
1752      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
1753    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1754  #line 1743 "configure"  #line 1755 "configure"
1755  #include "confdefs.h"  #include "confdefs.h"
1756  #include <sgtty.h>  #include <sgtty.h>
1757  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 1757  rm -f conftest* Line 1769  rm -f conftest*
1769    
1770    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
1771      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
1772  #line 1761 "configure"  #line 1773 "configure"
1773  #include "confdefs.h"  #include "confdefs.h"
1774  #include <termio.h>  #include <termio.h>
1775  Autoconf TCGETA  Autoconf TCGETA
# Line 1779  echo "$ac_t""$ac_cv_prog_gcc_traditional Line 1791  echo "$ac_t""$ac_cv_prog_gcc_traditional
1791  fi  fi
1792    
1793  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
1794  echo "configure:1783: checking for 8-bit clean memcmp" >&5  echo "configure:1795: checking for 8-bit clean memcmp" >&5
1795  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
1796    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1797  else  else
# Line 1787  else Line 1799  else
1799    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
1800  else  else
1801    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1802  #line 1791 "configure"  #line 1803 "configure"
1803  #include "confdefs.h"  #include "confdefs.h"
1804    
1805  main()  main()
# Line 1797  main() Line 1809  main()
1809  }  }
1810    
1811  EOF  EOF
1812  if { (eval echo configure:1801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1813  then  then
1814    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
1815  else  else
# Line 1815  echo "$ac_t""$ac_cv_func_memcmp_clean" 1 Line 1827  echo "$ac_t""$ac_cv_func_memcmp_clean" 1
1827  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
1828    
1829  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1830  echo "configure:1819: checking return type of signal handlers" >&5  echo "configure:1831: checking return type of signal handlers" >&5
1831  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1832    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1833  else  else
1834    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1835  #line 1824 "configure"  #line 1836 "configure"
1836  #include "confdefs.h"  #include "confdefs.h"
1837  #include <sys/types.h>  #include <sys/types.h>
1838  #include <signal.h>  #include <signal.h>
# Line 1837  int main() { Line 1849  int main() {
1849  int i;  int i;
1850  ; return 0; }  ; return 0; }
1851  EOF  EOF
1852  if { (eval echo configure:1841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1853    rm -rf conftest*    rm -rf conftest*
1854    ac_cv_type_signal=void    ac_cv_type_signal=void
1855  else  else
# Line 1856  EOF Line 1868  EOF
1868    
1869    
1870  echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6  echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6
1871  echo "configure:1860: checking for wait3 that fills in rusage" >&5  echo "configure:1872: checking for wait3 that fills in rusage" >&5
1872  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
1873    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1874  else  else
# Line 1864  else Line 1876  else
1876    ac_cv_func_wait3_rusage=no    ac_cv_func_wait3_rusage=no
1877  else  else
1878    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1879  #line 1868 "configure"  #line 1880 "configure"
1880  #include "confdefs.h"  #include "confdefs.h"
1881  #include <sys/types.h>  #include <sys/types.h>
1882  #include <sys/time.h>  #include <sys/time.h>
# Line 1895  main() { Line 1907  main() {
1907    }    }
1908  }  }
1909  EOF  EOF
1910  if { (eval echo configure:1899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1911  then  then
1912    ac_cv_func_wait3_rusage=yes    ac_cv_func_wait3_rusage=yes
1913  else  else
# Line 1920  fi Line 1932  fi
1932  for ac_func in gethostname mkdir select socket strtol  for ac_func in gethostname mkdir select socket strtol
1933  do  do
1934  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1935  echo "configure:1924: checking for $ac_func" >&5  echo "configure:1936: checking for $ac_func" >&5
1936  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1937    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1938  else  else
1939    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1940  #line 1929 "configure"  #line 1941 "configure"
1941  #include "confdefs.h"  #include "confdefs.h"
1942  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1943      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 1948  $ac_func(); Line 1960  $ac_func();
1960    
1961  ; return 0; }  ; return 0; }
1962  EOF  EOF
1963  if { (eval echo configure:1952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1964    rm -rf conftest*    rm -rf conftest*
1965    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1966  else  else

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26