diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-11-10 13:40:52 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-11-10 13:40:52 +0000 |
commit | e1fe5aad534e465f32096238c820b6310bbca62a (patch) | |
tree | ae44c0400bb5600789ac8bce79c3cb89a9bc5def /acconfig.h | |
parent | 747d7b2797809388d9364f657dbee0f2f93b09bb (diff) | |
download | libapr-e1fe5aad534e465f32096238c820b6310bbca62a.tar.gz |
Fix a problem with the configure script. AC_CHECK_SIZEOF is only meant to
be used for built-in types. ssize_t is not a built-in type on all systems,
so SIZEOF_SSIZE_T was consistently getting defined to 0 on all of my
systems. This fixes that problem by re-writing AC_TRY_RUN (the default
AC_TRY_RUN has issues that don't allow for getting the return code from the
program) and using it to get the size of SSIZE_T.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h index 376a9402c..66d596fdc 100644 --- a/acconfig.h +++ b/acconfig.h @@ -42,6 +42,7 @@ #undef NEED_RLIM_T #undef USEBCOPY +#undef SIZEOF_SSIZE_T #undef APR_HAS_THREADS @BOTTOM@ |