diff options
-rw-r--r-- | configure.ac | 3 | ||||
m--------- | hugin | 0 |
2 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3716732..41440bc 100644 --- a/configure.ac +++ b/configure.ac @@ -9,6 +9,7 @@ AM_SILENT_RULES([yes]) dnl ====================== dnl Compile with debug options dnl ====================== +HUGIN_PARM="-DDISABLE_HUGIN" AC_ARG_WITH(debug, [ --with-debug build with debug support (default=no)], [], @@ -17,7 +18,9 @@ if test x$with_debug == xyes; then AC_MSG_WARN([*** Building with debug support!]) AC_DEFINE_UNQUOTED(WITH_DEBUG, , [The project is configured to use debug output]) CXXFLAGS="$CXXFLAGS -fstack-protector -Wall -Werror -g -O0" + HUGIN_PARM="" fi +CXXFLAGS="$CXXFLAGS $HUGIN_PARM" dnl ====================== dnl Init pkg-config diff --git a/hugin b/hugin -Subproject 08827265399f3f69f7f25512e991f67da5bbac6 +Subproject a42fbcc9dd03a6a6c24b494b683b370bd517333 |