aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-29 16:00:59 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-29 16:00:59 +0000
commit289f940e9f6c1a16fc81b8a8580988d76ac45273 (patch)
tree40ea637d92af009429b72d8f270fea5802a5e60f
parent074123b06678524664b9a1fb0257570f47021872 (diff)
fixed evaluation of m_pd.h checks
svn path=/trunk/externals/zexy/; revision=15411
-rw-r--r--configure.ac10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 117a2c2..b489d92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,9 +146,13 @@ fi
AC_MSG_RESULT([$EXTENSION])
-AC_CHECK_HEADERS([pd/m_pd.h m_pd.h], ,
- AC_ERROR([m_pd.h is desperately needed!
+have_pd="no"
+AC_CHECK_HEADERS([pd/m_pd.h m_pd.h], [have_pd="yes"])
+if test "x${have_pd}" = "xno"
+then
+AC_ERROR([m_pd.h is desperately needed!
install pd and/or use
- "--with-pd=</path/to/pd/>"]))
+ "--with-pd=</path/to/pd/>"])
+fi
AC_OUTPUT()