From: Mark Wooding Date: Wed, 18 Sep 2019 16:28:01 +0000 (+0100) Subject: configure.ac: Set the `ASM_DEBUG' automake conditional at the right time. X-Git-Tag: 2.5.0~6 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/c36211b325e86903bb4f196fee8bdc48d5402a5a?hp=f111fa69c4689afd01d41b87e43d9fcc9773006b configure.ac: Set the `ASM_DEBUG' automake conditional at the right time. Most significantly, after we actually know whether we want it turned on. --- diff --git a/configure.ac b/configure.ac index d6690e06..a415d052 100644 --- a/configure.ac +++ b/configure.ac @@ -172,7 +172,6 @@ m4_ifdef([catacomb_seen_abi/$3], [], m4_define([catacomb_seen_abi/$3], [t])])]) catacomb_CPU_FAMILIES([catacomb_COND_CPU]) AM_CONDITIONAL([KNOWN_CPUFAM], [test x$CPUFAM != xnil]) -AM_CONDITIONAL([ASM_DEBUG], [test x$mdw_asm_debug != xno]) dnl Report on what we found. case $CPUFAM in @@ -191,6 +190,7 @@ case $mdw_asm_debug in *) AC_DEFINE([ENABLE_ASM_DEBUG], [1], [Define to enable assembler-level debugging.]) ;; esac +AM_CONDITIONAL([ASM_DEBUG], [test x$mdw_asm_debug != xno]) dnl Check for leading underscores on C symbols. LT_SYS_SYMBOL_USCORE