From 289f940e9f6c1a16fc81b8a8580988d76ac45273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 29 Sep 2011 16:00:59 +0000 Subject: fixed evaluation of m_pd.h checks svn path=/trunk/externals/zexy/; revision=15411 --- configure.ac | 10 +++++++--- 1 file 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="])) + "--with-pd="]) +fi AC_OUTPUT() -- cgit v1.2.1