summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2011-04-02 15:49:42 +0200
committerDan McGee <dan@archlinux.org>2011-04-02 12:37:03 -0500
commit0e03c0849ddd799f60e6cf11084b8b62828cce89 (patch)
tree2ee2d8307a4ccc3c7436a9666ab28f5c7eaab205
parent3089c833ffa548d8965414d461bef023855dc34f (diff)
downloadpacman-0e03c0849ddd799f60e6cf11084b8b62828cce89.tar.xz
configure.ac: we use fabs now so -lm is needed
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 32993029..9fb9cb0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,6 +131,9 @@ AC_PATH_PROGS([BASH_SHELL], [bash bash4 bash3], [false])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.13.1)
+AC_CHECK_LIB([m], [fabs], ,
+ AC_MSG_ERROR([libm is needed to compile pacman!]))
+
# Check for libarchive
AC_CHECK_LIB([archive], [archive_read_data], ,
AC_MSG_ERROR([libarchive is needed to compile pacman!]))