projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d068f51
)
[project @ 2005-11-03 11:00:40 by simonmar]
author
simonmar
<unknown>
Thu, 3 Nov 2005 11:00:40 +0000
(11:00 +0000)
committer
simonmar
<unknown>
Thu, 3 Nov 2005 11:00:40 +0000
(11:00 +0000)
Check for librt and clock_gettime()
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
0efe723
..
9f99c20
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1198,6
+1198,10
@@
AC_TRY_COMPILE(,[__asm__ (".subsections_via_symbols");],
[Define to 1 if Apple-style dead-stripping is supported.])
])
+dnl ** check for librt
+AC_CHECK_LIB(rt, clock_gettime)
+AC_CHECK_FUNCS(clock_gettime)
+
dnl ** check for Apple's "interesting" long double compatibility scheme
AC_MSG_CHECKING(for printf$LDBLStub)
AC_TRY_LINK_FUNC(printf$LSBLStub,