diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-02-02 19:58:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-02 19:58:55 +0100 |
| commit | 0f622af507895f3714eaf7737436220894402f23 (patch) | |
| tree | b3fa7a3729c674ebe7743e6e91dfad15d71a9788 | |
| parent | 20b1b84f769a9127cdf1953d166a6ff756accbd7 (diff) | |
| parent | 762d74e864f72b5b38c7b3bd25fb642566ee05b7 (diff) | |
| download | PROJ-0f622af507895f3714eaf7737436220894402f23.tar.gz PROJ-0f622af507895f3714eaf7737436220894402f23.zip | |
Merge pull request #762 from sebastic/link-libm
Add AC_SEARCH_LIBS for libm to configure.ac.
| -rw-r--r-- | configure.ac | 2 |
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 --------------------------------------------------------------------------- |
