[Xfce4-commits] <xfce4-dev-tools:master> put --disable-debug back and fix defaults for visibility and linker opts
Brian J. Tarricone
noreply at xfce.org
Sat Sep 19 23:06:02 CEST 2009
Updating branch refs/heads/master
to e1e347ca0f4df390b56d3ace890743c39ec7cf69 (commit)
from 924e31f91d6f111b0c6ea65fa8b4cfbaf8043592 (commit)
commit e1e347ca0f4df390b56d3ace890743c39ec7cf69
Author: Brian J. Tarricone <brian at tarricone.org>
Date: Sat Sep 19 14:04:39 2009 -0700
put --disable-debug back and fix defaults for visibility and linker opts
also make the non-defaults explicit and therefore less confusing (it
worked before due to default autoconf shell-ification of the first arg,
but that's not immediately clear)
m4macros/xdt-features.m4 | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index 5ec90d5..8d76c27 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -58,11 +58,11 @@ dnl XDT_FEATURE_DEBUG(default_level=minimum)
dnl
AC_DEFUN([XDT_FEATURE_DEBUG],
[
+ dnl weird indentation to keep output indentation correct
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug@<:@=no|minimum|yes|full@:>@],
- [Build with debugging support @<:@default=m4_default([$1], [minimum])@:>@]),
- AC_HELP_STRING([--disable-debug],
- [Include no debugging support]),
+ [Build with debugging support @<:@default=m4_default([$1], [minimum])@:>@])
+AC_HELP_STRING([--disable-debug], [Include no debugging support]),
[enable_debug=$enableval], [enable_debug=m4_default([$1], [minimum])])
AC_MSG_CHECKING([whether to build with debugging support])
@@ -131,7 +131,7 @@ AC_DEFUN([XDT_FEATURE_VISIBILITY],
AC_ARG_ENABLE([visibility],
AC_HELP_STRING([--disable-visibility],
[Don't use ELF visibility attributes]),
- [], [enable_visibility=yes])
+ [enable_visibility=$enableval], [enable_visibility=yes])
have_gnuc_visibility=no
if test "x$enable_visibility" != "xno"; then
XDT_SUPPORTED_FLAGS([xdt_vis_test_cflags], [-Wall -Werror -Wno-unused-parameter])
@@ -180,7 +180,7 @@ AC_DEFUN([XDT_FEATURE_LINKER_OPTS],
AC_ARG_ENABLE([linker-opts],
AC_HELP_STRING([--disable-linker-opts],
[Disable linker optimizations])
- [], [enable_linker_opts=yes])
+ [enable_linker_opts=$enableval], [enable_linker_opts=yes])
if test "x$enable_linker_opts" != "xno"; then
AC_MSG_CHECKING([whether $LD accepts --as-needed])
More information about the Xfce4-commits
mailing list