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/branches/1.4@2240 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/configure.ac

index be0364301624fc1bd4b0248873571d3fc8df1fbe..40b854b1f95b16c6dc557c308ce1e4b541cd6078 100644 (file)
@@ -518,7 +518,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