From 074123b06678524664b9a1fb0257570f47021872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 29 Sep 2011 15:32:35 +0000 Subject: made --with-pd work again AC_TRY_COMPILE doesn't take INCLUDES into account svn path=/trunk/externals/zexy/; revision=15410 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index edca174..117a2c2 100644 --- a/configure.ac +++ b/configure.ac @@ -52,14 +52,14 @@ if test "x$with_pd" != "x"; then fi if test -d "${PDPATH}/src"; then AC_MSG_RESULT([adding ${PDPATH}/src to INCLUDES]) - INCLUDES="-I${PDPATH}/src ${INCLUDES}" + CPPFLAGS="-I${PDPATH}/src ${CPPFLAGS}" AC_MSG_RESULT([adding ${PDPATH}/src to LDFLAGS]) LDFLAGS="-L${PDPATH}/src ${LDFLAGS}" else if test -d "${PDPATH}"; then AC_MSG_RESULT([adding ${PDPATH} to INCLUDES]) - INCLUDES="-I${PDPATH} ${INCLUDES}" + CPPFLAGS="-I${PDPATH} ${CPPFLAGS}" fi fi if test -d "${PDPATH}/bin"; then -- cgit v1.2.1