aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-29 15:32:35 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-29 15:32:35 +0000
commit074123b06678524664b9a1fb0257570f47021872 (patch)
tree2ffc34b211eb0ac454f7bbca8e8c666ea2a28d45
parente635f3f85cfac8bb802baeb734f8a035348eb384 (diff)
made --with-pd work again
AC_TRY_COMPILE doesn't take INCLUDES into account svn path=/trunk/externals/zexy/; revision=15410
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
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