-AS_IF([test "x$squid_opt_use_esi" = "xyes"],[
- AS_IF([test "x$LIBXML2_LIBS" = "x" -a "x$LIBEXPAT_LIBS" = "x"],[
- AC_MSG_ERROR([ESI processor requires libxml2 or libexpat])
- ])
- AC_MSG_NOTICE([Enabling ESI processor: $LIBEXPAT_LIBS $LIBXML2_LIBS])
- AC_DEFINE(USE_SQUID_ESI,1,[Compile the ESI processor])
-],[
- AS_IF(test "x$squid_opt_use_esi" = "xno",[
- AC_MSG_NOTICE([Disabling ESI processor.])
- ],[
- AC_MSG_NOTICE([Disabling ESI processor. libxml2 and libexpat not found.])
- ])
+AS_IF([test "x$enable_esi" = "xyes" -a "x$LIBXML2_LIBS" = "x" -a "x$LIBEXPAT_LIBS" = "x"],[
+ AC_MSG_ERROR([ESI processor requires libxml2 or libexpat])