From 0562cf99ba907f10c7d28b0bb6dd2d846e0947b8 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Mon, 30 Jul 2012 11:02:11 +0200
Subject: configure.ac: add -I to CPPFLAGS, not CFLAGS

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'configure.ac')

diff --git a/configure.ac b/configure.ac
index 944cf5c3b..fffef3fc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,7 +119,7 @@ if test -z "$prefix" || test "x$prefix" = xNONE; then
 	done
 	for d in $local_include; do
 		if test -d "$d"; then
-			CFLAGS="$CFLAGS -I$d"
+			CPPFLAGS="$CPPFLAGS -I$d"
 			break
 		fi
 	done
-- 
cgit v1.2.3