X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=a280ecb4293a243829e887798a76091ada9e78d9;hb=938c479a6e7dad62079b68dfe846a967bee30746;hp=17c47f2050dfc84a4c9ec706925193ef7d461599;hpb=86e9447a19d640645adca35aba68e9da4ea5b72c;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index 17c47f2..a280ecb 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1184,22 +1184,4 @@ AC_SUBST([GLUT_CFLAGS]) AC_SUBST([GLUT_LIBS]) ])# FP_CHECK_GLUT - -# FP_EMPTY_STRUCTS -# ---------------- -# Define output variable SUPPORTS_EMPTY_STRUCTS if empty structs are accepted by -# CC. -dnl -AC_DEFUN(FP_EMPTY_STRUCTS, -[AC_CACHE_CHECK(empty struct support, fp_cv_empty_structs, -[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[typedef struct { /* empty */ } StgFoo;]], -[[int i;]])], -[fp_cv_empty_structs=yes], -[fp_cv_empty_structs=no])]) -if test x"$fp_cv_empty_structs" = xyes; then - AC_DEFINE([SUPPORTS_EMPTY_STRUCTS], [1], [Define to 1 if C compiler supports declaration of empty structure types.]) -fi -]) - - # LocalWords: fi