diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2018-05-04 14:31:16 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-04 22:30:28 +0200 |
commit | 7663a7c2843c86ab232caaf25d09842d70a0b01d (patch) | |
tree | 8342964cb21e2deb76079ff55e9016d280ff6beb /m4/curl-compilers.m4 | |
parent | e9d9d1af8a512d4b4ed500308247766524b21763 (diff) | |
download | curl-7663a7c2843c86ab232caaf25d09842d70a0b01d.tar.gz |
configure: put CURLDEBUG and DEBUGBUILD in lib/curl_config.h
They are removed from the compiler flags.
This ensures that make dependency tracking will force a rebuild whenever
configure --enable-debug or --enable-curldebug changes.
Closes #2548
Diffstat (limited to 'm4/curl-compilers.m4')
-rw-r--r-- | m4/curl-compilers.m4 | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index 20bdbd706..c1ae6a559 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -1299,15 +1299,6 @@ AC_DEFUN([CURL_CHECK_CURLDEBUG], [ want_curldebug="no" fi fi - # - if test "$want_curldebug" = "yes"; then - CPPFLAGS="-DCURLDEBUG $CPPFLAGS" - squeeze CPPFLAGS - fi - if test "$want_debug" = "yes"; then - CPPFLAGS="-DDEBUGBUILD $CPPFLAGS" - squeeze CPPFLAGS - fi ]) |