Code

search for tcpd.h with <>
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 16 Dec 2011 13:25:34 +0000 (13:25 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 16 Dec 2011 13:25:34 +0000 (13:25 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2240 a5681a0c-68f1-0310-ab6d-d61299d08faa

configure.ac

index 280f68fad3ae392be7651abddae239c8450c0dc2..e0be4bd47ff6e93b703dc826d3638e670f216bfc 100644 (file)
@@ -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 <tcpd.h>]], [[hosts_access(NULL)]])
     ],[AC_DEFINE(HAVE_LIBWRAP,[1],[have got libwrap installed])
        AC_MSG_RESULT([yes])
        have_libwrap=yes