From e6ea27d845697c1544c6a1bbcd71b624275648e7 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Sat, 5 Jan 2008 14:07:40 +0000 Subject: [PATCH] Use -isystem for extra system includes on FreeBSD. Organization: Straylight/Edgeware From: rjk@greenend.org.uk <> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 4bae211..369a6f0 100644 --- a/configure.ac +++ b/configure.ac @@ -88,10 +88,10 @@ case "$host" in # Ports install to /usr/local but the compiler stupidly doesn't look # there by default LDFLAGS="${LDFLAGS} -L/usr/local/lib" - CPPFLAGS="${CPPFLAGS} -I/usr/local/include" + CPPFLAGS="${CPPFLAGS} -isystem /usr/local/include" # libdb installs elsewhere again LDFLAGS="${LDFLAGS} -L/usr/local/lib/db44" - CPPFLAGS="${CPPFLAGS} -I/usr/local/include/db44" + CPPFLAGS="${CPPFLAGS} -isystem /usr/local/include/db44" ;; * ) AC_MSG_RESULT([unknown, winging it]) -- [mdw]