X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d1239eae921d013ffeb118b1a768308e28bd9f11..c053133207468241f0c21364b70e9fea3a4f6bf3:/configure.in diff --git a/configure.in b/configure.in index cf9ab4bb..b3de501f 100644 --- a/configure.in +++ b/configure.in @@ -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"