X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..05b3f1f69c02a260bb8315dcedd60d35daf1875c:/acinclude.m4 diff --git a/acinclude.m4 b/acinclude.m4 index 6df1aa3..5ab8672 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -17,9 +17,9 @@ AC_DEFUN([RJK_FIND_GC_H],[ AC_CACHE_CHECK([looking for ],[rjk_cv_gc_h],[ - AC_PREPROC_IFELSE([ + AC_PREPROC_IFELSE([AC_LANG_PROGRAM([ #include - ], + ],[])], [rjk_cv_gc_h="on default include path"],[ oldCPPFLAGS="${CPPFLAGS}" for dir in /usr/include/gc /usr/local/include/gc; do @@ -28,9 +28,9 @@ AC_DEFUN([RJK_FIND_GC_H],[ else CPPFLAGS="${oldCPPFLAGS} -I$dir" fi - AC_PREPROC_IFELSE([ + AC_PREPROC_IFELSE([AC_LANG_PROGRAM([ #include - ], + ],[])], [rjk_cv_gc_h=$dir;break],[rjk_cv_gc_h="not found"]) done CPPFLAGS="${oldCPPFLAGS}"