summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in5
-rwxr-xr-xtools/add_file2
2 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index c1963f1..33366c2 100644
--- a/configure.in
+++ b/configure.in
@@ -31,6 +31,11 @@ dnl ======================
PKG_CHECK_MODULES(JACK, jack >= 0.109.2)
dnl ======================
+dnl Check for sndfile
+dnl ======================
+PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.17)
+
+dnl ======================
dnl Check for getopt
dnl ======================
AC_HAVE_HEADERS(getopt.h)
diff --git a/tools/add_file b/tools/add_file
index 10f2174..f95f241 100755
--- a/tools/add_file
+++ b/tools/add_file
@@ -49,7 +49,7 @@ function hfile() {
local pr=`echo $PROJECT | tr 'a-z.' 'A-Z_'`
echo "#ifndef __${pr}_${hn}__" >> $1;
echo "#define __${pr}_${hn}__" >> $1;
- echo "#endif/*__${pr}_${hn}__" >> $1;
+ echo "#endif/*__${pr}_${hn}__*/" >> $1;
}
if [ "$#" = "1" ]; then