From aaa2e8470af5e67e13508f89b890823c1d4ae734 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?=
 <zmoelnig@users.sourceforge.net>
Date: Wed, 21 Dec 2005 09:10:08 +0000
Subject: test for the existance of m_pd.h and halt on error

svn path=/trunk/externals/zexy/; revision=4265
---
 src/configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/configure.ac b/src/configure.ac
index 0d5d5d0..d2781f9 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -421,6 +421,12 @@ else
  echo "no (ignored)"
 fi
 
+
+AC_CHECK_HEADERS(m_pd.h, , AC_ERROR([m_pd.h is desperately needed!
+        install pd and/or use
+        "--with-pd=</path/to/pd/>"     or
+        "--includedir=</path/to/pd/src/>"]))
+
 AC_OUTPUT(Make.config)
 
 #rm -f conftest.*
-- 
cgit v1.2.1