Skip to content

Commit

Permalink
Add optional description field to APR_CHECK_DEFINE that gets passed to
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Justin Erenkrantz committed Jul 20, 2002
1 parent c02056c commit a36fcd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/apr_common.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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,[
Expand All @@ -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
])

Expand Down

0 comments on commit a36fcd0

Please sign in to comment.