aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-21 09:10:08 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-12-21 09:10:08 +0000
commitaaa2e8470af5e67e13508f89b890823c1d4ae734 (patch)
tree577d3315f35797ce060d9ad1d0e0bdf9ea6a17c9 /src
parent9368e2581a1dafa9761b990c6ba8b9a00d8f6d55 (diff)
test for the existance of m_pd.h and halt on error
svn path=/trunk/externals/zexy/; revision=4265
Diffstat (limited to 'src')
-rw-r--r--src/configure.ac6
1 files changed, 6 insertions, 0 deletions
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.*