summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 37c2f36)
raw | patch | inline | side by side (parent: 37c2f36)
author | Jérôme Renard <jerome.renard@gmail.com> | |
Wed, 26 Oct 2011 23:20:47 +0000 (01:20 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 11 Mar 2012 13:54:04 +0000 (14:54 +0100) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index dd9c45f9b4603d81515b3f135da0aba39de8d864..d1fa936ad11b6f5a28062d4d50d1251bff490d68 100644 (file)
--- a/configure.in
+++ b/configure.in
CPPFLAGS="$CPPFLAGS $with_libvarnish_cflags"
#LDFLAGS="$LDFLAGS $with_libvarnish_libs"
- AC_CHECK_FUNC(VSL_OpenStats,
- [AC_DEFINE([HAVE_VARNISH_V2], [1], [Varnish 2 API support])],
- [AC_DEFINE([HAVE_VARNISH_V3], [1], [Varnish 3 API support])])
+ AC_CHECK_HEADERS(varnish/vsc.h,
+ [AC_DEFINE([HAVE_VARNISH_V3], [1], [Varnish 3 API support])],
+ [AC_DEFINE([HAVE_VARNISH_V2], [1], [Varnish 2 API support])])
CPPFLAGS="$SAVE_CPPFLAGS"
#LDFLAGS="$SAVE_LDFLAGS"