acinclude/ac_check_define.m4
changeset 14038 2c13b7ca1997
parent 6491 03b7e6b0a8bf
child 14039 f36f98f833be
equal deleted inserted replaced
14037:e0220c4bc306 14038:2c13b7ca1997
     1 AC_DEFUN([AC_CHECK_DEFINE],[dnl
     1 AC_DEFUN([AC_CHECK_DEFINE],[AC_REQUIRE([AC_PROG_CPP])dnl
     2   AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1,
     2   AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1,
     3     AC_EGREP_CPP([YES_IS_DEFINED], [
     3     AC_EGREP_CPP([YES_IS_DEFINED], [
     4 #include <$2>
     4 #include <$2>
     5 #ifdef $1
     5 #ifdef $1
     6 YES_IS_DEFINED
     6 YES_IS_DEFINED