forked from Mirrors/freeswitch
FS-6189 --resolve
This commit is contained in:
parent
c945584201
commit
f20670012d
|
@ -473,10 +473,12 @@ AC_ARG_ENABLE(timerfd-wrapper,
|
||||||
[AC_HELP_STRING([--enable-timerfd-wrapper],[timerfd is in the kernel but not in your libc])],[enable_timer_fd_wrapper="$enableval"],[enable_timer_fd_wrapper="no"])
|
[AC_HELP_STRING([--enable-timerfd-wrapper],[timerfd is in the kernel but not in your libc])],[enable_timer_fd_wrapper="$enableval"],[enable_timer_fd_wrapper="no"])
|
||||||
AM_CONDITIONAL([ENABLE_TIMERFD_WRAPPER],[test "x$enable_timer_fd_wrapper" != "xno"])
|
AM_CONDITIONAL([ENABLE_TIMERFD_WRAPPER],[test "x$enable_timer_fd_wrapper" != "xno"])
|
||||||
|
|
||||||
|
ESL_LDFLAGS=
|
||||||
|
PLATFORM_CORE_LDFLAGS=
|
||||||
|
PLATFORM_CORE_LIBS=
|
||||||
|
|
||||||
AC_CHECK_LIB(z, inflateReset, have_libz=yes, AC_MSG_ERROR([no usable zlib; please install zlib devel package or equivalent]))
|
AC_CHECK_LIB(z, inflateReset, have_libz=yes, AC_MSG_ERROR([no usable zlib; please install zlib devel package or equivalent]))
|
||||||
if test "x$have_libz" = "xyes" ; then
|
if test "x$have_libz" = "xyes" ; then
|
||||||
APR_ADDTO(SWITCH_AM_LDFLAGS, -lz)
|
|
||||||
APR_ADDTO([PLATFORM_CORE_LIBS], [-lz])
|
APR_ADDTO([PLATFORM_CORE_LIBS], [-lz])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -499,9 +501,6 @@ if test "x$have_libresolv" = "xyes" ; then
|
||||||
APR_ADDTO(SWITCH_AM_LDFLAGS, -lresolv)
|
APR_ADDTO(SWITCH_AM_LDFLAGS, -lresolv)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ESL_LDFLAGS=
|
|
||||||
PLATFORM_CORE_LDFLAGS=
|
|
||||||
PLATFORM_CORE_LIBS=
|
|
||||||
# tweak platform specific flags
|
# tweak platform specific flags
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*darwin12.*|*darwin11.*)
|
*darwin12.*|*darwin11.*)
|
||||||
|
|
Loading…
Reference in New Issue