X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=a8a484b7152e8cdb5f8d4ccb13baba90eb3fd415;hb=ced47f78e954f1700d692887735b3246a348b6c3;hp=75c40111d46b01ce34ae14bc413dec934dcd49d2;hpb=61243965f2937a6426885af62f92d9f3bf44c05b;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index 75c4011..a8a484b 100644 --- a/configure.ac +++ b/configure.ac @@ -13,8 +13,10 @@ dnl # see what flags are available. (Better yet, read the documentation!) # +AC_INIT([fptools build system], [1.0], [cvs-fptools@haskell.org], [fptools]) + # First off, a distrib sanity check.. -AC_INIT(mk/config.mk.in) +AC_CONFIG_SRCDIR([mk/config.mk.in]) dnl * We require autoconf version 2.52 dnl We need 2.50 due to the use of AC_SYS_LARGEFILE and AC_MSG_NOTICE. @@ -45,7 +47,7 @@ dnl * Choose host(/target/build) platform dnl-------------------------------------------------------------------- dnl Guess host/target/build platform(s) if necessary. -AC_CANONICAL_SYSTEM +AC_CANONICAL_TARGET # "$host" defaults to "$target" if test "x$host" = xNONE ; then @@ -995,9 +997,6 @@ AC_STRUCT_TIMEZONE dnl ** do we have altzone? FP_DECL_ALTZONE -dnl ** does struct stat contain st_blksize? -AC_STRUCT_ST_BLKSIZE - dnl ** do we have long longs? AC_CHECK_TYPES([long long]) @@ -1380,7 +1379,7 @@ dnl ** can we get alloca? AC_FUNC_ALLOCA dnl ** Working vfork? -AC_FUNC_VFORK +AC_FUNC_FORK dnl ** determine whether or not const works AC_C_CONST @@ -1410,31 +1409,6 @@ FPTOOLS_LD_X FP_EMPTY_STRUCTS -AC_MSG_CHECKING([for SIGPOLL]) -AC_EGREP_CPP(we_have_sigpoll, -[#include -#ifdef SIGPOLL -we_have_sigpoll -#endif -], AC_DEFINE([HAVE_SIGPOLL], [1], [Define to 1 if you have the sigpoll() function.]) haveSIGPOLL=yes, haveSIGPOLL=no) -AC_MSG_RESULT([$haveSIGPOLL]) - -AC_MSG_CHECKING([for SIGINFO]) -AC_EGREP_CPP(we_have_siginfo, -[#include -#ifdef SIGINFO -we_have_siginfo -#endif -], AC_DEFINE([HAVE_SIGINFO], [1], [Define to 1 if you have the INFO-signal.]) haveSIGINFO=yes, haveSIGINFO=no) -AC_MSG_RESULT([$haveSIGINFO]) - -AC_MSG_CHECKING([for SIGWINCH]) -AC_EGREP_CPP(we_have_sigwinch, -[#include -#ifdef SIGWINCH -we_have_sigwinch -#endif -], AC_DEFINE([HAVE_SIGWINCH], [1], [Define to 1 if you have the WINCH-signal.]) haveSIGWINCH=yes, haveSIGWINCH=no) -AC_MSG_RESULT([$haveSIGWINCH]) - -AC_OUTPUT(mk/config.mk, echo timestamp > mk/stamp-h ) +AC_CONFIG_FILES([mk/config.mk]) +AC_CONFIG_COMMANDS([mk/stamp-h],[echo timestamp > mk/stamp-h]) +AC_OUTPUT