If configured with --enable-maintainer-mode, then on receipt of a
[rsync/rsync.git] / configure.in
index 10e270a..b3de501 100644 (file)
@@ -5,7 +5,7 @@ AC_CONFIG_SRCDIR([byteorder.h])
 AC_CONFIG_HEADER(config.h)
 AC_PREREQ(2.52)
 
-RSYNC_VERSION=2.5.4pre1
+RSYNC_VERSION=2.5.5cvs
 AC_SUBST(RSYNC_VERSION)
 AC_MSG_NOTICE([Configuring rsync $RSYNC_VERSION])
 
@@ -65,6 +65,17 @@ then
 fi
 
 
+# Specifically, this turns on panic_action handling.
+AC_ARG_ENABLE(maintainer-mode,
+       AC_HELP_STRING([--enable-maintainer-mode],      
+               [turn on extra debug features],
+               [], []))
+if test x"$enable_maintainer_mode" = xyes
+then
+       CFLAGS="$CFLAGS -DMAINTAINER_MODE"
+fi
+
+
 # This is needed for our included version of popt.  Kind of silly, but
 # I don't want our version too far out of sync.
 CFLAGS="$CFLAGS -DHAVE_CONFIG_H"