You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
516 B

dnl LOG4CPLUS_CHECK_HEADER([header], [preprocessor symbol to define])
AC_DEFUN([LOG4CPLUS_CHECK_HEADER],
[AH_TEMPLATE([$2])
AC_CHECK_HEADER([$1], [AC_DEFINE([$2])])])
dnl LOG4CPLUS_CHECK_FUNCS([function], [preprocessor symbol to define])
AC_DEFUN([LOG4CPLUS_CHECK_FUNCS],
[AH_TEMPLATE([$2])
AC_CHECK_FUNCS([$1], [AC_DEFINE([$2])])])
dnl Check for use with AC_ARG_ENABLE macro.
AC_DEFUN([LOG4CPLUS_CHECK_YESNO],
[AS_CASE(["$1"],
[yes], [],
[no], [],
[AC_MSG_ERROR([bad value $1 for $2])])])