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.11 by ura, Sun Jan 16 07:34:04 2000 UTC revision 1.12 by ura, Thu Jun 14 18:08:31 2001 UTC
# Line 1776  EOF Line 1776  EOF
1776    
1777  fi  fi
1778    
1779    
1780  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
1781  echo "configure:1781: checking for socklen_t" >&5  echo "configure:1782: checking for socklen_t" >&5
1782  if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then  cat > conftest.$ac_ext <<EOF
1783    echo $ac_n "(cached) $ac_c" 1>&6  #line 1784 "configure"
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 1786 "configure"  
1784  #include "confdefs.h"  #include "confdefs.h"
1785  #include <sys/types.h>  #include <sys/socket.h>
 #if STDC_HEADERS  
 #include <stdlib.h>  
 #include <stddef.h>  
 #endif  
1786  EOF  EOF
1787  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1788    egrep "(^|[^a-zA-Z_0-9])socklen_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then    egrep "socklen_t" >/dev/null 2>&1; then
1789    rm -rf conftest*    rm -rf conftest*
1790    ac_cv_type_socklen_t=yes    echo "$ac_t""yes" 1>&6
1791  else  else
1792    rm -rf conftest*    rm -rf conftest*
1793    ac_cv_type_socklen_t=no    
1794  fi  cat >> confdefs.h <<\EOF
 rm -f conftest*  
   
 fi  
 echo "$ac_t""$ac_cv_type_socklen_t" 1>&6  
 if test $ac_cv_type_socklen_t = no; then  
   cat >> confdefs.h <<\EOF  
1795  #define socklen_t int  #define socklen_t int
1796  EOF  EOF
1797    
1798    echo "$ac_t""no" 1>&6
1799    
1800  fi  fi
1801    rm -f conftest*
1802    
1803    
1804    
1805  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6
1806  echo "configure:1816: checking for RAND_MAX" >&5  echo "configure:1807: checking for RAND_MAX" >&5
1807  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1808  #line 1818 "configure"  #line 1809 "configure"
1809  #include "confdefs.h"  #include "confdefs.h"
1810  #include <stdlib.h>  #include <stdlib.h>
1811  #ifdef RAND_MAX  #ifdef RAND_MAX
# Line 1835  rm -f conftest* Line 1826  rm -f conftest*
1826    
1827  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
1828      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
1829  echo "configure:1839: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:1830: checking whether ${CC-cc} needs -traditional" >&5
1830  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1831    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1832  else  else
1833      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
1834    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1835  #line 1845 "configure"  #line 1836 "configure"
1836  #include "confdefs.h"  #include "confdefs.h"
1837  #include <sgtty.h>  #include <sgtty.h>
1838  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 1859  rm -f conftest* Line 1850  rm -f conftest*
1850    
1851    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
1852      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
1853  #line 1863 "configure"  #line 1854 "configure"
1854  #include "confdefs.h"  #include "confdefs.h"
1855  #include <termio.h>  #include <termio.h>
1856  Autoconf TCGETA  Autoconf TCGETA
# Line 1881  echo "$ac_t""$ac_cv_prog_gcc_traditional Line 1872  echo "$ac_t""$ac_cv_prog_gcc_traditional
1872  fi  fi
1873    
1874  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
1875  echo "configure:1885: checking for 8-bit clean memcmp" >&5  echo "configure:1876: checking for 8-bit clean memcmp" >&5
1876  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
1877    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1878  else  else
# Line 1889  else Line 1880  else
1880    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
1881  else  else
1882    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1883  #line 1893 "configure"  #line 1884 "configure"
1884  #include "confdefs.h"  #include "confdefs.h"
1885    
1886  main()  main()
# Line 1899  main() Line 1890  main()
1890  }  }
1891    
1892  EOF  EOF
1893  if { (eval echo configure:1903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1894  then  then
1895    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
1896  else  else
# Line 1917  echo "$ac_t""$ac_cv_func_memcmp_clean" 1 Line 1908  echo "$ac_t""$ac_cv_func_memcmp_clean" 1
1908  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
1909    
1910  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
1911  echo "configure:1921: checking return type of signal handlers" >&5  echo "configure:1912: checking return type of signal handlers" >&5
1912  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1913    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1914  else  else
1915    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1916  #line 1926 "configure"  #line 1917 "configure"
1917  #include "confdefs.h"  #include "confdefs.h"
1918  #include <sys/types.h>  #include <sys/types.h>
1919  #include <signal.h>  #include <signal.h>
# Line 1939  int main() { Line 1930  int main() {
1930  int i;  int i;
1931  ; return 0; }  ; return 0; }
1932  EOF  EOF
1933  if { (eval echo configure:1943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1934    rm -rf conftest*    rm -rf conftest*
1935    ac_cv_type_signal=void    ac_cv_type_signal=void
1936  else  else
# Line 1958  EOF Line 1949  EOF
1949    
1950    
1951  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
1952  echo "configure:1962: checking for wait3 that fills in rusage" >&5  echo "configure:1953: checking for wait3 that fills in rusage" >&5
1953  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
1954    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1955  else  else
# Line 1966  else Line 1957  else
1957    ac_cv_func_wait3_rusage=no    ac_cv_func_wait3_rusage=no
1958  else  else
1959    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1960  #line 1970 "configure"  #line 1961 "configure"
1961  #include "confdefs.h"  #include "confdefs.h"
1962  #include <sys/types.h>  #include <sys/types.h>
1963  #include <sys/time.h>  #include <sys/time.h>
# Line 1997  main() { Line 1988  main() {
1988    }    }
1989  }  }
1990  EOF  EOF
1991  if { (eval echo configure:2001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1992  then  then
1993    ac_cv_func_wait3_rusage=yes    ac_cv_func_wait3_rusage=yes
1994  else  else
# Line 2022  fi Line 2013  fi
2013  for ac_func in gethostname mkdir select socket strtol  for ac_func in gethostname mkdir select socket strtol
2014  do  do
2015  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2016  echo "configure:2026: checking for $ac_func" >&5  echo "configure:2017: checking for $ac_func" >&5
2017  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2018    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2019  else  else
2020    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2021  #line 2031 "configure"  #line 2022 "configure"
2022  #include "confdefs.h"  #include "confdefs.h"
2023  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2024      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 2050  $ac_func(); Line 2041  $ac_func();
2041    
2042  ; return 0; }  ; return 0; }
2043  EOF  EOF
2044  if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2045    rm -rf conftest*    rm -rf conftest*
2046    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
2047  else  else
# Line 2077  done Line 2068  done
2068  for ac_func in drand48  for ac_func in drand48
2069  do  do
2070  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2071  echo "configure:2081: checking for $ac_func" >&5  echo "configure:2072: checking for $ac_func" >&5
2072  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2073    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2074  else  else
2075    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2076  #line 2086 "configure"  #line 2077 "configure"
2077  #include "confdefs.h"  #include "confdefs.h"
2078  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2079      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 2105  $ac_func(); Line 2096  $ac_func();
2096    
2097  ; return 0; }  ; return 0; }
2098  EOF  EOF
2099  if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2100    rm -rf conftest*    rm -rf conftest*
2101    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
2102  else  else
# Line 2132  done Line 2123  done
2123  for ac_func in perror  for ac_func in perror
2124  do  do
2125  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2126  echo "configure:2136: checking for $ac_func" >&5  echo "configure:2127: checking for $ac_func" >&5
2127  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2128    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2129  else  else
2130    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2131  #line 2141 "configure"  #line 2132 "configure"
2132  #include "confdefs.h"  #include "confdefs.h"
2133  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2134      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 2160  $ac_func(); Line 2151  $ac_func();
2151    
2152  ; return 0; }  ; return 0; }
2153  EOF  EOF
2154  if { (eval echo configure:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2155    rm -rf conftest*    rm -rf conftest*
2156    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
2157  else  else

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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