From e1583a526d7d4925b96b6358f93188a7b99fc483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 11 Oct 2006 15:06:38 +0000 Subject: 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 --- src/configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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=" or "--includedir="])) -- cgit v1.2.1