diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-10 03:36:42 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-10 17:49:55 +0100 |
commit | d03b57f459fb9ab9288991a70c4e7297a7c1d150 (patch) | |
tree | 6bebc7f9ca3c5414a48dc1b5cfa323fd5c00e372 /configure.ac | |
parent | 281a4c0a4f2de217b5d23939fb78b3bbfccc34ca (diff) | |
download | pacman-d03b57f459fb9ab9288991a70c4e7297a7c1d150.tar.gz pacman-d03b57f459fb9ab9288991a70c4e7297a7c1d150.tar.xz |
Remove need for floating point division in backend
All of these can be done with integer division; the only slightly
interesting part is ensuring we round up like before with calling the
ceil() function.
We can also remove the math library from requirements; now that the only
ceil() calls are gone, we don't need this anymore.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 5627fb76..73a5d3d0 100644 --- a/configure.ac +++ b/configure.ac @@ -133,9 +133,6 @@ AC_PATH_PROGS([BASH_SHELL], [bash bash4 bash3], [false]) AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION(0.13.1) -# Check for lm -AC_CHECK_LIB([m], [ceil]) - # Check for libarchive AC_CHECK_LIB([archive], [archive_read_data], , AC_MSG_ERROR([libarchive is needed to compile pacman!])) |