X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=3937ac8ecfd93aac06cd2571c2bd35a876d92d59;hb=9348149e3cfbda59690c6c6f16dd38008f0fa59d;hp=a8516742d8292450a048a8f2e4156d4178332aa7;hpb=b4dc7456db505a60bf9331943c202dbb0007dc06;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index a851674..3937ac8 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -788,6 +788,12 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[#include # include #endif +#if defined(HAVE_AL_AL_H) +# include +#elif defined(HAVE_OPENAL_AL_H) +# include +#endif + #if defined(HAVE_AL_ALC_H) # include #elif defined(HAVE_OPENAL_ALC_H) @@ -816,8 +822,8 @@ main() { exit(0); }]])],[AC_CV_NAME=`cat conftestval`], [ifelse([$2], , [AC_CV_NAME=NotReallyAType; AC_CV_NAME_supported=no], [AC_CV_NAME=$2])], -[ifelse([$3], , [AC_CV_NAME=NotReallyATypeCross; AC_CV_NAME_supported=no], [AC_CV_NAME=$3])])]) dnl -CPPFLAGS="$fp_check_htype_save_cppflags" +[ifelse([$3], , [AC_CV_NAME=NotReallyATypeCross; AC_CV_NAME_supported=no], [AC_CV_NAME=$3])]) +CPPFLAGS="$fp_check_htype_save_cppflags"]) dnl if test "$AC_CV_NAME_supported" = yes; then AC_MSG_RESULT($AC_CV_NAME) AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [Define to Haskell type for $1])