Commit 3544bd9e7812026ac407607c43aaa550cddad092

Ozkan Sezer 2020-09-16T08:00:20

ac_check_define.m4: AC_REQUIRE([AC_PROG_CPP]) -- fixes bug #5234.

1
2
3
4
5
6
7
8
9
10
diff --git a/acinclude/ac_check_define.m4 b/acinclude/ac_check_define.m4
index 64de801..f8c900f 100644
--- a/acinclude/ac_check_define.m4
+++ b/acinclude/ac_check_define.m4
@@ -1,4 +1,4 @@
-AC_DEFUN([AC_CHECK_DEFINE],[dnl
+AC_DEFUN([AC_CHECK_DEFINE],[AC_REQUIRE([AC_PROG_CPP])dnl
   AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1,
     AC_EGREP_CPP([YES_IS_DEFINED], [
 #include <$2>