Don't use deprecated acconfig.h for DEBUGGING

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>
This commit is contained in:
Peter Foley 2016-03-31 14:04:16 -04:00 committed by Corinna Vinschen
parent 5d89883790
commit 02cfe00445
4 changed files with 6 additions and 8 deletions

View File

@ -1,6 +1,3 @@
/* Define if DEBUGGING support is requested. */
#undef DEBUGGING
/* Define if MALLOC_DEBUGGING support is requested. */
#undef MALLOC_DEBUG

View File

@ -1,13 +1,13 @@
/* 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

View File

@ -4427,7 +4427,8 @@ fi
# 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

View File

@ -64,7 +64,7 @@ AC_PROG_MAKE_SET
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
])