X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=9f99c200d802ce69d94c1f00905416241257b1af;hb=9d7da331989abcd1844e9d03b8d1e4163796fa85;hp=0efe7239b727ae356e83f5be6f1dd97b4b4faca4;hpb=0e89dd445e49365b9c87da57bbe9e165c292b7eb;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index 0efe723..9f99c20 100644 --- 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,