Use the 3-arg form of AC_DEFINE.
winsup/cygwin/ChangeLog:
acconfig.h: Remove DEBUGGING define.
configure.ac: Add description to DEBUGGING define.
config.h.in: Regenerate.
configure: Ditto.
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
-/* Define if DEBUGGING support is requested. */
-#undef DEBUGGING
-
/* Define if MALLOC_DEBUGGING support is requested. */
#undef MALLOC_DEBUG
/* config.h.in. Generated from configure.ac by autoheader. */
-/* Define if DEBUGGING support is requested. */
-#undef DEBUGGING
-
/* Define if MALLOC_DEBUGGING support is requested. */
#undef MALLOC_DEBUG
/* Define if using new vfork functionality. */
#undef NEWVFORK
+/* Define if DEBUGGING support is requested. */
+#undef DEBUGGING
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
# Check whether --enable-debugging was given.
if test "${enable_debugging+set}" = set; then :
enableval=$enable_debugging; case "${enableval}" in
-yes) $as_echo "#define DEBUGGING 1" >>confdefs.h
+yes)
+$as_echo "#define DEBUGGING 1" >>confdefs.h
;;
no) ;;
esac
AC_ARG_ENABLE(debugging,
[ --enable-debugging Build a cygwin DLL which has more consistency checking for debugging],
[case "${enableval}" in
-yes) AC_DEFINE(DEBUGGING) ;;
+yes) AC_DEFINE([DEBUGGING],[1],[Define if DEBUGGING support is requested.]) ;;
no) ;;
esac
])