apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: cvs commit: apr/build apr_common.m4
Date Fri, 07 Mar 2003 12:31:15 GMT
On Fri, Mar 07, 2003 at 12:12:43PM -0000, Jeff Trawick wrote:
>   -dnl APR_CHECK_APR_DEFINE( symbol, path_to_apr )
>   +dnl APR_CHECK_APR_DEFINE( symbol )
>    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)
>   +apr_old_cppflags=$CPPFLAGS
>   +CPPFLAGS="$CPPFLAGS $INCLUDES"
>   +AC_TRY_COMPILE([#include <apr.h>], [

Hi - does this really need to use AC_TRY_COMPILE not AC_EGREP_CPP? The
latter can be much faster.

Regards,

joe

Mime
View raw message