summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 9dd92cf..32c1c1c 100644
--- a/configure.in
+++ b/configure.in
@@ -19,11 +19,14 @@ dnl Init pkg-config
dnl ======================
PKG_PROG_PKG_CONFIG(0.23)
+HUGIN_PARM="-DDISABLE_HUGIN"
AC_ARG_WITH(debug, [ --with-debug Build with debug support])
if test x$with_debug == xyes; then
AC_MSG_WARN([*** Building with debug support!])
CXXFLAGS="$CXXFLAGS -Wall -Werror -g"
+ HUGIN_PARM=""
fi
+CXXFLAGS="$CXXFLAGS $HUGIN_PARM"
dnl ======================
dnl Compile LV2 plugin