X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=5458c533abb8e3b391cda81af6a4d05d718ed750;hb=d98c897fc102f9b4dab7a030fb454c7a7e2120be;hp=0efe7239b727ae356e83f5be6f1dd97b4b4faca4;hpb=0e89dd445e49365b9c87da57bbe9e165c292b7eb;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index 0efe723..5458c53 100644 --- a/configure.ac +++ b/configure.ac @@ -197,6 +197,15 @@ i[[3456]]86-*-gnu*) HostVendor_CPP=unknown HostOS_CPP=gnu ;; +i[[3456]]86-*-kfreebsd*-gnu) + HostPlatform=i386-unknown-kfreebsdgnu # hack again + TargetPlatform=i386-unknown-kfreebsdgnu + BuildPlatform=i386-unknown-kfreebsdgnu + HostPlatform_CPP='i386_unknown_kfreebsdgnu' + HostArch_CPP='i386' + HostVendor_CPP='unknown' + HostOS_CPP='kfreebsdgnu' + ;; i[[3456]]86-*-freebsd[[3-9]]*) # FreeBSD 3.0+ uses ELF HostPlatform=i386-unknown-freebsd # hack again TargetPlatform=i386-unknown-freebsd @@ -1198,6 +1207,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,