From 847c38841f2d33c403dfc64d0338988a04dbd120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 21 Sep 2011 10:52:26 +0000 Subject: more pd-paths svn path=/trunk/externals/zexy/; revision=15329 --- src/configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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 -- cgit v1.2.1