aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-10-11 15:06:38 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-10-11 15:06:38 +0000
commite1583a526d7d4925b96b6358f93188a7b99fc483 (patch)
tree57d3597ea618671cd449511f732291832a95e019
parenta20a4b4a8bc6aef62a4f65ed0cdb20fe163dba36 (diff)
on failfing to find m_pd.h output the entire config.log;
more verbosity on adding /path/to/pd svn path=/trunk/externals/zexy/; revision=6092
-rw-r--r--src/configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/configure.ac b/src/configure.ac
index 7e68f05..483e46e 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -53,9 +53,11 @@ fi
if test "x$with_pd" != "x"; then
if test -d "${with_pd}/src"; then
+ AC_MSG_RESULT([adding ${with_pd}/src to INCLUDES])
INCLUDES="-I${with_pd}/src ${INCLUDES}"
fi
if test -d "${with_pd}/bin"; then
+ AC_MSG_RESULT([adding ${with_pd}/bin to LDFLAGS])
LDFLAGS="-L${with_pd}/bin ${LDFLAGS}"
fi
fi
@@ -386,7 +388,9 @@ fi
CFLAGS="${INCLUDES} ${CFLAGS}"
INCLUDES=""
-AC_CHECK_HEADERS(m_pd.h, , AC_ERROR([m_pd.h is desperately needed!
+AC_CHECK_HEADERS(m_pd.h, ,
+ cat config.log
+ AC_ERROR([m_pd.h is desperately needed!
install pd and/or use
"--with-pd=</path/to/pd/>" or
"--includedir=</path/to/pd/src/>"]))