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

  1. dnl LOG4CPLUS_CHECK_HEADER([header], [preprocessor symbol to define])
  2. AC_DEFUN([LOG4CPLUS_CHECK_HEADER],
  3. [AH_TEMPLATE([$2])
  4. AC_CHECK_HEADER([$1], [AC_DEFINE([$2])])])
  5. dnl LOG4CPLUS_CHECK_FUNCS([function], [preprocessor symbol to define])
  6. AC_DEFUN([LOG4CPLUS_CHECK_FUNCS],
  7. [AH_TEMPLATE([$2])
  8. AC_CHECK_FUNCS([$1], [AC_DEFINE([$2])])])
  9. dnl Check for use with AC_ARG_ENABLE macro.
  10. AC_DEFUN([LOG4CPLUS_CHECK_YESNO],
  11. [AS_CASE(["$1"],
  12. [yes], [],
  13. [no], [],
  14. [AC_MSG_ERROR([bad value $1 for $2])])])