Improved libm check via Autoconf. (#1263)

* libm will now be part of @ADDITIONAL_LIBS@ (if required)

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni
2021-07-28 22:24:03 +02:00
committed by GitHub
parent cb26a8c82d
commit 13c5d6801e
6 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -32,6 +32,7 @@ AS_IF([test "${with_sanitizer+set}" = set],[
])
LT_INIT
LT_LIB_M
SYSTEM=`uname -s`
if test $SYSTEM = "Darwin"; then
@@ -97,7 +98,7 @@ CFLAGS="$CFLAGS $JSONC_CFLAGS"
AC_CHECK_HEADERS([netinet/in.h stdint.h stdlib.h string.h unistd.h json.h])
ADDITIONAL_LIBS=
ADDITIONAL_LIBS="$LIBM"
PCAP_HOME=$HOME/PF_RING/userland
DPDK_TARGET=