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:
parent
5d89883790
commit
02cfe00445
@ -1,6 +1,3 @@
|
|||||||
/* Define if DEBUGGING support is requested. */
|
|
||||||
#undef DEBUGGING
|
|
||||||
|
|
||||||
/* Define if MALLOC_DEBUGGING support is requested. */
|
/* Define if MALLOC_DEBUGGING support is requested. */
|
||||||
#undef MALLOC_DEBUG
|
#undef MALLOC_DEBUG
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
/* Define if DEBUGGING support is requested. */
|
|
||||||
#undef DEBUGGING
|
|
||||||
|
|
||||||
/* Define if MALLOC_DEBUGGING support is requested. */
|
/* Define if MALLOC_DEBUGGING support is requested. */
|
||||||
#undef MALLOC_DEBUG
|
#undef MALLOC_DEBUG
|
||||||
|
|
||||||
/* Define if using new vfork functionality. */
|
/* Define if using new vfork functionality. */
|
||||||
#undef NEWVFORK
|
#undef NEWVFORK
|
||||||
|
|
||||||
|
/* Define if DEBUGGING support is requested. */
|
||||||
|
#undef DEBUGGING
|
||||||
|
|
||||||
/* Define to the address where bug reports for this package should be sent. */
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
#undef PACKAGE_BUGREPORT
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
|
3
winsup/cygwin/configure
vendored
3
winsup/cygwin/configure
vendored
@ -4427,7 +4427,8 @@ fi
|
|||||||
# Check whether --enable-debugging was given.
|
# Check whether --enable-debugging was given.
|
||||||
if test "${enable_debugging+set}" = set; then :
|
if test "${enable_debugging+set}" = set; then :
|
||||||
enableval=$enable_debugging; case "${enableval}" in
|
enableval=$enable_debugging; case "${enableval}" in
|
||||||
yes) $as_echo "#define DEBUGGING 1" >>confdefs.h
|
yes)
|
||||||
|
$as_echo "#define DEBUGGING 1" >>confdefs.h
|
||||||
;;
|
;;
|
||||||
no) ;;
|
no) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -64,7 +64,7 @@ AC_PROG_MAKE_SET
|
|||||||
AC_ARG_ENABLE(debugging,
|
AC_ARG_ENABLE(debugging,
|
||||||
[ --enable-debugging Build a cygwin DLL which has more consistency checking for debugging],
|
[ --enable-debugging Build a cygwin DLL which has more consistency checking for debugging],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) AC_DEFINE(DEBUGGING) ;;
|
yes) AC_DEFINE([DEBUGGING],[1],[Define if DEBUGGING support is requested.]) ;;
|
||||||
no) ;;
|
no) ;;
|
||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user