X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=configure.ac;h=9f99c200d802ce69d94c1f00905416241257b1af;hp=0efe7239b727ae356e83f5be6f1dd97b4b4faca4;hb=35a09de81c2403aeb6e2f6e3a284df0360429191;hpb=d068f518de21a7a21613eb5a34c5eac8517bef75 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,