diff options
author | Steev Klimaszewski <[email protected]> | 2012-08-17 17:34:44 -0500 |
---|---|---|
committer | Steev Klimaszewski <[email protected]> | 2012-08-17 17:34:44 -0500 |
commit | f0dfa44f76c332b529d5c67ef8b2ba4639cddb09 (patch) | |
tree | 3119eed9da3c9f0808007e484b8e6a240db50d5d | |
parent | 3527f5115ef526a0d77fad0ce63156650d4281be (diff) | |
download | libmatekbd-f0dfa44f76c332b529d5c67ef8b2ba4639cddb09.tar.bz2 libmatekbd-f0dfa44f76c332b529d5c67ef8b2ba4639cddb09.tar.xz |
libmatekbd: Require -lm when using sqrt.
Since we use sincos, sqrt, and atan, add an AC_SEARCH_LIBS([sqrt],[m]) so that it pulls in -lm where needed.
Signed-off-by: Steev Klimaszewski <[email protected]>
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b308af0..3320fc8 100644 --- a/configure.in +++ b/configure.in @@ -128,6 +128,8 @@ AC_ARG_ENABLE([tests], AM_CONDITIONAL(BUILD_TESTS, test "$enable_tests" = "yes") +AC_SEARCH_LIBS([sqrt], [m]) + AC_OUTPUT([ Makefile libmatekbd.pc |