diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-09-29 16:00:59 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-09-29 16:00:59 +0000 |
commit | 289f940e9f6c1a16fc81b8a8580988d76ac45273 (patch) | |
tree | 40ea637d92af009429b72d8f270fea5802a5e60f | |
parent | 074123b06678524664b9a1fb0257570f47021872 (diff) |
fixed evaluation of m_pd.h checks
svn path=/trunk/externals/zexy/; revision=15411
-rw-r--r-- | configure.ac | 10 |
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() |