forked from acouzens/open5gs
rollback..Mac OSX is not working if we link libfdore/proto to the shared
object.
This commit is contained in:
parent
d2cf6821b8
commit
d092c329da
|
@ -385,7 +385,7 @@ AC_SUBST(CORE_LIBS)
|
|||
AC_SEARCH_LIBS(gethostbyname, nsl)
|
||||
AC_SEARCH_LIBS(gethostname, nsl)
|
||||
AC_SEARCH_LIBS(socket, socket)
|
||||
AC_SEARCH_LIBS([pthread_mutex_init], pthread)
|
||||
AC_SEARCH_LIBS(pthread_barrier_wait, pthread)
|
||||
|
||||
AC_SEARCH_LIBS([sctp_sendmsg], [sctp], [have_sctp_lib=yes], [have_sctp_lib=no])
|
||||
if test x$have_sctp_lib == xno; then
|
||||
|
|
|
@ -21,18 +21,14 @@ case $host in
|
|||
*-apple-darwin*)
|
||||
AC_DEFINE_UNQUOTED([DISABLE_SCTP],
|
||||
[1], [Disable SCTP])
|
||||
sctp=false;
|
||||
;;
|
||||
*-freebsd*)
|
||||
AC_DEFINE_UNQUOTED([SCTP_USE_MAPPED_ADDRESSES],
|
||||
[1], [Disable SCTP])
|
||||
sctp=true;
|
||||
;;
|
||||
*)
|
||||
sctp=true;
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL([SCTP], [test x$sctp = xtrue])
|
||||
|
||||
AH_TOP([
|
||||
#ifndef FD_IS_CONFIG
|
||||
|
@ -143,7 +139,8 @@ AC_SEARCH_LIBS([pthread_barrier_wait], [pthread],
|
|||
[AC_DEFINE([HAVE_PTHREAD_BAR], [1],
|
||||
[Define to 1 if you have pthread_barrier_wait in libpthread])],
|
||||
[])
|
||||
AC_SEARCH_LIBS([dlopen], [dl dld])
|
||||
AC_SEARCH_LIBS([sctp_sendmsg], [sctp], [have_sctp_lib=yes])
|
||||
AM_CONDITIONAL([SCTP], [test x$have_sctp_lib = xyes])
|
||||
|
||||
AC_SEARCH_LIBS([gnutls_global_init], [gnutls],, [have_gnutls_lib=no])
|
||||
if test x$have_gnutls_lib == xno; then
|
||||
|
|
Loading…
Reference in New Issue