X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=75c40111d46b01ce34ae14bc413dec934dcd49d2;hb=f220cc512fdc7f885e60d656ba7ba0d9f2e67611;hp=cf21e3922e9aed44754da95be7fbf0e38149976b;hpb=cc8f20ad72bc67f61a8a079d3ef0e7a715ad18e5;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index cf21e39..75c4011 100644 --- a/configure.ac +++ b/configure.ac @@ -735,7 +735,7 @@ AC_ARG_ENABLE([openal], GhcLibsWithOpenAL=NO fi ], - [GhcLibsWithOpenAL=yes]) + [GhcLibsWithOpenAL=YES]) AC_SUBST([GhcLibsWithOpenAL]) @@ -1419,4 +1419,22 @@ we_have_sigpoll ], 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 )