26 |
|
|
27 |
# Checks for programs. |
# Checks for programs. |
28 |
AC_PROG_CC |
AC_PROG_CC |
29 |
|
AC_LIBTOOL_WIN32_DLL |
30 |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
31 |
AM_PROG_LIBTOOL |
AM_PROG_LIBTOOL |
32 |
|
|
41 |
# Checks for library functions. |
# Checks for library functions. |
42 |
AC_CHECK_FUNCS(strdup strtok_r memset memmove socket connect bind listen setsockopt getsockopt getsockname gethostbyname) |
AC_CHECK_FUNCS(strdup strtok_r memset memmove socket connect bind listen setsockopt getsockopt getsockname gethostbyname) |
43 |
|
|
44 |
|
case $host in |
45 |
|
*mingw*|*cygwin*) windows=yes ;; |
46 |
|
*) windows=no ;; |
47 |
|
esac |
48 |
|
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
49 |
|
|
50 |
# Checks for pthread library. |
# Checks for pthread library. |
51 |
AC_CHECK_LIB(pthread, pthread_create) |
AC_CHECK_LIB(pthread, pthread_create) |
52 |
|
|