Commit 40912386 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Added check for socket library.

darcs-hash:20051201122500-65a35-aec4fc2b5127b573e9a36596ca5f495189937b76.gz
Showing with 2 additions and 1 deletion
......@@ -49,7 +49,6 @@ AC_SUBST([m4dir])
### checks for libraries
### --------------------
AC_CHECK_LIB(pthread, pthread_create)
SAC_SOFIA_SU
SAC_OPENSSL
......
......@@ -21,6 +21,8 @@ dnl SAC_CHECK_SU_LIBS - check for libraries used by su
dnl ======================================================================
AC_DEFUN([SAC_CHECK_SU_LIBS], [
AC_REQUIRE([SAC_WITH_RT])
AC_CHECK_LIB(pthread, pthread_create)
AC_CHECK_LIB(socket, socketpair,,,-lnsl)
if test "${with_rt}" != no; then
AC_SEARCH_LIBS(clock_gettime, rt)
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment