X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=b63d25f54009a33206fdacd5964d63ce738a1f37;hb=b9a98f56bf88c69a13b477ab8422fbd71df20019;hp=8dec5693929c4effceba4dca74558d53e3b795b6;hpb=2ebe8addfaae2bc65e6b87ad369928b02053014f;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index 8dec569..b63d25f 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ dnl # see what flags are available. (Better yet, read the documentation!) # -AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.7], [glasgow-haskell-bugs@haskell.org], [ghc]) +AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.9], [glasgow-haskell-bugs@haskell.org], [ghc]) # Set this to YES for a released version, otherwise NO : ${RELEASE=NO} @@ -1066,6 +1066,13 @@ fi dnl ** check for more functions dnl ** The following have been verified to be used in ghc/, but might be used somewhere else, too. AC_CHECK_FUNCS([getclock getrusage gettimeofday setitimer siginterrupt sysconf times ctime_r]) +dnl ** On OS X 10.4 (at least), time.h doesn't declare ctime_r if +dnl ** _POSIX_C_SOURCE is defined +AC_CHECK_DECLS([ctime_r], , , +[#define _POSIX_SOURCE 1 +#define _POSIX_C_SOURCE 199506L +#include ]) + dnl ** For ghc/rts/gmp: AC_CHECK_FUNCS([getpagesize])