summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-05-04 20:16:55 +0200
committerAndy Wingo <wingo@pobox.com>2011-05-04 20:19:11 +0200
commite3b8bce8f4fb5adf93e42bfa3263f7368ad4a3be (patch)
tree0dfaba4684bca3ece4ec46e4b005076651093560 /configure.ac
parent7ff0f239b2534cba823adc351dda8e64db6f4a08 (diff)
downloadguile-e3b8bce8f4fb5adf93e42bfa3263f7368ad4a3be.tar.gz
build support for detecting clock_gettime, with -lrt if needed
* acinclude.m4 (gl_CLOCK_TIME): * configure.ac: Locally include gl_CLOCK_TIME. To be fixed properly when gnulib updates their license to reflect the actual BSD state of things. * libguile/Makefile.am (libguile_@GUILE_EFFECTIVE_VERSION@_la_LDFLAGS): Add -lrt for clock_gettime, if needed. * meta/guile-2.0-uninstalled.pc.in: * meta/guile-2.0.pc.in: Likewise, in Libs.private.
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 64cab9a1a..146b77b00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,6 +65,9 @@ AC_PROG_AWK
dnl Gnulib.
gl_INIT
+dnl FIXME: remove me and the acinclude.m4 code when clock-gettime is
+dnl LGPL-compatible and can be imported normally.
+gl_CLOCK_TIME
AC_PROG_CC_C89