X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=49ad919af37e26aa7deca06e9b160f55aa7c3690;hb=b9b6e38a1ebb5f05b382609fe0776d91cdd1090b;hp=d660a1caddd24735c9ec3518f2d2130891ce0b7c;hpb=6732243ae3d28e925c875fe946f44407988f79fa;p=haskell-directory.git diff --git a/aclocal.m4 b/aclocal.m4 index d660a1c..49ad919 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -105,12 +105,26 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[#include # include #endif +#if HAVE_INTTYPES_H +# include +#else +# if HAVE_STDINT_H +# include +# endif +#endif + #if defined(HAVE_GL_GL_H) # include #elif defined(HAVE_OPENGL_GL_H) # 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) @@ -139,8 +153,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])