summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2002-07-20 07:58:41 +0000
committerJustin Erenkrantz <jerenkrantz@apache.org>2002-07-20 07:58:41 +0000
commitfa1f32aef8189492b66fbc8b56d8eb49174a61e4 (patch)
treed1420defca1782af60988ff009f10f3898245c51 /build
parentf68571b3598020bcde131e6e93d31fde1f99af34 (diff)
downloadapr-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.m44
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
])