]> sourceware.org Git - newlib-cygwin.git/commitdiff
Don't use deprecated acconfig.h for DEBUGGING
authorPeter Foley <pefoley2@pefoley.com>
Thu, 31 Mar 2016 18:04:16 +0000 (14:04 -0400)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 1 Apr 2016 11:46:04 +0000 (13:46 +0200)
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>
winsup/cygwin/acconfig.h
winsup/cygwin/config.h.in
winsup/cygwin/configure
winsup/cygwin/configure.ac

index 2f8d58c75bb4cdf46bf7121b71bf95176a3acf0f..ffe9f811888a78f929a1e19f9392dc6a6869f181 100644 (file)
@@ -1,6 +1,3 @@
-/* Define if DEBUGGING support is requested.  */
-#undef DEBUGGING
-
 /* Define if MALLOC_DEBUGGING support is requested.  */
 #undef MALLOC_DEBUG
 
index 39eb968d4d2fd5ee5a10762810a954826302b889..32f191af1689df1f0db02c89640d53a5539a54ee 100644 (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
 
index aa26015f1be7fe5d05ed44495110c37f001103a5..30a1405e4a403391241ab19d4ecbbea563890f9c 100755 (executable)
@@ -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
index fe8e038a9d5b4a626c73d5708226a18209333f9a..63979319fca9a01796e95ac294afdc3a423936a7 100644 (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
 ])
This page took 0.042687 seconds and 5 git commands to generate.