diff options
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4c3588b..620a85c 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,9 @@ AC_PROG_CC() AM_PROG_CC_C_O() test -d "${srcdir}/.git" || CFLAGS="${save_CFLAGS}" -AC_CHECK_LIB([m], [log10]) +AC_SEARCH_LIBS([log10], [m], [], AC_MSG_ERROR([missing log10])) +AC_SEARCH_LIBS([ceil], [m], [], AC_MSG_ERROR([missing ceil])) +AC_SEARCH_LIBS([lrint], [m], [], AC_MSG_ERROR([missing lrint])) PKG_PROG_PKG_CONFIG() PKG_CHECK_MODULES([ZLIB], [zlib]) |