Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Latest commit

 

History

History
14 lines (14 loc) · 372 Bytes

ac_check_define.m4

File metadata and controls

14 lines (14 loc) · 372 Bytes
 
1
2
3
4
5
6
7
8
9
10
define(AC_CHECK_DEFINE,[dnl
AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1,
AC_EGREP_CPP([YES_IS_DEFINED], [
#include <$2>
#ifdef $1
YES_IS_DEFINED
#endif
], ac_cv_define_$1=yes, ac_cv_define_$1=no)
)
if test "$ac_cv_define_$1" = "yes" ; then
Oct 10, 2009
Oct 10, 2009
11
AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE])
Oct 10, 2009
Oct 10, 2009
14
AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE])