aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-21 10:52:26 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-21 10:52:26 +0000
commit847c38841f2d33c403dfc64d0338988a04dbd120 (patch)
tree354ff103228ecf125733f06e42952a0b2db538d1
parente02f87ffe95861929e7360a86fbdfbd51488e8db (diff)
more pd-paths
svn path=/trunk/externals/zexy/; revision=15329
-rw-r--r--src/configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac
index a0086fd..d0fc17e 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -73,11 +73,22 @@ if test "x$with_pd" != "x"; then
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}"
+ fi
fi
if test -d "${PDPATH}/bin"; then
AC_MSG_RESULT([adding ${PDPATH}/bin to LDFLAGS])
LDFLAGS="-L${PDPATH}/bin ${LDFLAGS}"
+ else
+ if test -d "${PDPATH}"; then
+ AC_MSG_RESULT([adding ${PDPATH} to LDFLAGS])
+ LDFLAGS="-L${PDPATH} ${LDFLAGS}"
+ fi
fi
+
fi
if test $includedir