acinclude/ac_check_define.m4
changeset 6491 03b7e6b0a8bf
parent 3374 725b16784e96
equal deleted inserted replaced
6490:d2d8576aa3a0 6491:03b7e6b0a8bf
     1 define(AC_CHECK_DEFINE,[dnl
     1 AC_DEFUN([AC_CHECK_DEFINE],[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