]> granicus.if.org Git - sysstat/commitdiff
configure: Substitute WITH_DEBUG variable
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 26 Jun 2020 15:49:05 +0000 (17:49 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 26 Jun 2020 15:49:05 +0000 (17:49 +0200)
Calling AC_SUBST(WITH_DEBUG) is needed for manual pages.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
configure
configure.in

index a9a2a5d331f9eb27faf5b9858fdf1dde0f90d6eb..3bf31dd8432407e93eba5e589435258d2c85c4ad 100755 (executable)
--- a/configure
+++ b/configure
@@ -622,6 +622,7 @@ ac_includes_default="\
 ac_subst_vars='LTLIBOBJS
 LIBOBJS
 STRIP
+WITH_DEBUG
 DFLAGS
 INSTALL_DOC
 COLLECT_ALL
@@ -5583,6 +5584,7 @@ fi
 $as_echo "$WITH_DEBUG" >&6; }
 
 
+
 # Check whether object files should be stripped
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
 $as_echo_n "checking whether object files should be stripped... " >&6; }
index b75dc171a5f3586ddf5b9f4bdbd6556170761b8d..20257578d603594a9b129d1bef426d4d90efe31f 100644 (file)
@@ -681,6 +681,7 @@ AC_ARG_ENABLE(debuginfo,
                             WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG" , WITH_DEBUG=no)
 AC_MSG_RESULT($WITH_DEBUG)
 AC_SUBST(DFLAGS)
+AC_SUBST(WITH_DEBUG)
 
 # Check whether object files should be stripped
 AC_MSG_CHECKING(whether object files should be stripped)