Some autoconf environments re-define macros and cause build errors.
This resolves all known issues with configure in the current package
interactions.
TODO: at least one syntax error in squid_kerb_auth basic code still
remains to be fixed.
)
eval ac_p_include=$includedir
-CPPFLAGS="$CPPFLAGS -I$ac_p_include -I../../../ -I$squid_dir/include -I$squid_dir/src "
+CPPFLAGS="$CPPFLAGS -I$ac_p_include -I../../../ -I../../../include/ -I$squid_dir/include -I$squid_dir/src "
AC_CACHE_CHECK([for SQUID at '$squid_dir' ],ac_cv_have_squid,[
AC_TRY_RUN([
#include <config.h>
#if HAVE_SQUID
#include "config.h"
-#endif
+ /* We want the Squid type and library definitions without the package ones */
+#undef VERSION
+#undef PACKAGE
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
+#endif /* HAVE_SQUID */
])
AH_BOTTOM([
/* Squid provides a few compat libraries */