X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=configure.ac;h=e0be4bd47ff6e93b703dc826d3638e670f216bfc;hp=280f68fad3ae392be7651abddae239c8450c0dc2;hb=89d7243a99966e0d1757ef9adf13a8b206703355;hpb=7cc289317f76f5efd8952ec8ed888b9632d1223b diff --git a/configure.ac b/configure.ac index 280f68f..e0be4bd 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,7 @@ AC_ARG_ENABLE(libwrap, LIBS="$LIBS -lwrap" AC_MSG_CHECKING(for libwrap) AC_LINK_IFELSE( - [AC_LANG_PROGRAM([[#include "tcpd.h"]], [[hosts_access(NULL)]]) + [AC_LANG_PROGRAM([[#include ]], [[hosts_access(NULL)]]) ],[AC_DEFINE(HAVE_LIBWRAP,[1],[have got libwrap installed]) AC_MSG_RESULT([yes]) have_libwrap=yes