diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-07-20 07:58:41 +0000 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-07-20 07:58:41 +0000 |
commit | fa1f32aef8189492b66fbc8b56d8eb49174a61e4 (patch) | |
tree | d1420defca1782af60988ff009f10f3898245c51 /build | |
parent | f68571b3598020bcde131e6e93d31fde1f99af34 (diff) | |
download | apr-fa1f32aef8189492b66fbc8b56d8eb49174a61e4.tar.gz |
Add optional description field to APR_CHECK_DEFINE that gets passed to
AC_DEFINE, so that we can avoid having to create an acconfig.h if we use
this macro.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63719 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r-- | build/apr_common.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4 index 381ce145e..a86f1b291 100644 --- a/build/apr_common.m4 +++ b/build/apr_common.m4 @@ -248,7 +248,7 @@ AC_DEFUN(APR_CHECK_DEFINE_FILES,[ dnl -dnl APR_CHECK_DEFINE( symbol, header_file ) +dnl APR_CHECK_DEFINE( symbol, header_file [, description ]) dnl AC_DEFUN(APR_CHECK_DEFINE,[ AC_CACHE_CHECK([for $1 in $2],ac_cv_define_$1,[ @@ -260,7 +260,7 @@ AC_DEFUN(APR_CHECK_DEFINE,[ ], ac_cv_define_$1=yes, ac_cv_define_$1=no) ]) if test "$ac_cv_define_$1" = "yes"; then - AC_DEFINE(HAVE_$1) + AC_DEFINE(HAVE_$1, 1, [$3]) fi ]) |