mirror of
https://github.com/transmission/transmission
synced 2025-02-27 16:32:41 +00:00
Check for socket and dns library in a better way.
This commit is contained in:
parent
93ea89eba3
commit
4febc1a0dc
1 changed files with 2 additions and 4 deletions
|
@ -32,6 +32,8 @@ transmissionlocaledir='${prefix}/${DATADIRNAME}/locale'
|
|||
|
||||
AC_CHECK_LIB([crypto],[CRYPTO_new_ex_data])
|
||||
AC_CHECK_LIB([ssl],[SSL_library_init])
|
||||
AC_SEARCH_LIBS([socket], [socket net])
|
||||
AC_SEARCH_LIBS([gethostbyname], [nsl bind])
|
||||
|
||||
dnl ----------------------------------------------------------------------------
|
||||
dnl
|
||||
|
@ -147,10 +149,6 @@ EOF
|
|||
fi
|
||||
;;
|
||||
|
||||
*solaris*)
|
||||
LIBS="$LIBS -lsocket -lnsl"
|
||||
;;
|
||||
|
||||
esac
|
||||
AM_CONDITIONAL([HAVE_BEOS],[test "x$beos" = "xyes"])
|
||||
AM_CONDITIONAL([HAVE_DARWIN],[test "x$darwin" = "xyes"])
|
||||
|
|
Loading…
Reference in a new issue