aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBas Couwenberg <sebastic@xs4all.nl>2018-02-02 19:13:14 +0100
committerBas Couwenberg <sebastic@xs4all.nl>2018-02-02 19:13:14 +0100
commit762d74e864f72b5b38c7b3bd25fb642566ee05b7 (patch)
treeb3fa7a3729c674ebe7743e6e91dfad15d71a9788 /configure.ac
parent20b1b84f769a9127cdf1953d166a6ff756accbd7 (diff)
downloadPROJ-762d74e864f72b5b38c7b3bd25fb642566ee05b7.tar.gz
PROJ-762d74e864f72b5b38c7b3bd25fb642566ee05b7.zip
Add AC_SEARCH_LIBS for libm to configure.ac.
Fixes: #759
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4893646e..ecc6e31b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,8 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM(
[AC_MSG_RESULT([no]);C99_MATH="-DHAVE_C99_MATH=0"])
CFLAGS="$save_CFLAGS $C99_MATH"
+AC_SEARCH_LIBS([sqrt], [m])
+
AC_CHECK_FUNC(localeconv, [AC_DEFINE(HAVE_LOCALECONV,1,[Define to 1 if you have localeconv])])
dnl ---------------------------------------------------------------------------