From f33e87faa90ded981c406097d3c452c33074624c Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Fri, 26 Jun 2020 17:49:05 +0200 Subject: [PATCH] configure: Substitute WITH_DEBUG variable Calling AC_SUBST(WITH_DEBUG) is needed for manual pages. Signed-off-by: Sebastien GODARD --- configure | 2 ++ configure.in | 1 + 2 files changed, 3 insertions(+) diff --git a/configure b/configure index a9a2a5d..3bf31dd 100755 --- 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; } diff --git a/configure.in b/configure.in index b75dc17..2025757 100644 --- a/configure.in +++ b/configure.in @@ -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) -- 2.40.0