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

Reply via email to