summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-03-23 14:51:27 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-03-23 14:51:27 -0400
commitd184685aca7fe27a7c5c9403c5a993d761bece35 (patch)
treea058fecc3c9c9cd095538655e790d086b10f8252 /configure.ac
parent1d6d34e905d297f6dbf91f6703f874f16262c233 (diff)
downloadxf86-input-wacom-d184685aca7fe27a7c5c9403c5a993d761bece35.tar.gz
config: add libm.a library check used by xsetwacom
As suggested by Autoconf. Checked with SunCC compiler docs. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a378a3c..e1d441f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,9 @@ AC_PROG_LIBTOOL
AC_PROG_CC
XORG_DEFAULT_OPTIONS
+# Checks for libraries.
+AC_CHECK_LIB([m], [rint])
+
AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug],
[Enable debugging (default: disabled)]),
[DEBUGGING=$enableval], [DEBUGGING=no])