diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-03 18:20:48 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-03 18:20:48 +0000 |
commit | cb4c177b06b26b90e3420b4c77b216d3323e4c3f (patch) | |
tree | 597c813cd37f9d5663906104638fda2a5c7fb2e4 /build | |
parent | 36a1000bdc7385df963fa0c519e958fbc84cb5b9 (diff) | |
download | libapr-cb4c177b06b26b90e3420b4c77b216d3323e4c3f.tar.gz |
Add a simple configuration macro to determine how APR itself was built.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r-- | build/apr_common.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4 index 850cb8566..32b291978 100644 --- a/build/apr_common.m4 +++ b/build/apr_common.m4 @@ -168,6 +168,17 @@ AC_DEFUN(APR_CHECK_DEFINE,[ fi ]) +dnl +dnl APR_CHECK_APR_DEFINE( symbol, path_to_apr ) +dnl +AC_DEFUN(APR_CHECK_APR_DEFINE,[ + AC_EGREP_CPP(YES_IS_DEFINED, [ + #include "$2/include/apr.h" + #if $1 + YES_IS_DEFINED + #endif + ], ac_cv_define_$1=yes, ac_cv_define_$1=no) +]) define(APR_IFALLYES,[dnl ac_rc=yes |