diff options
author | Brian J. Tarricone <brian@tarricone.org> | 2009-09-19 14:04:39 -0700 |
---|---|---|
committer | Brian J. Tarricone <brian@tarricone.org> | 2009-09-19 14:06:01 -0700 |
commit | e1e347ca0f4df390b56d3ace890743c39ec7cf69 (patch) | |
tree | 96596b3fb89744f24f447ce2cd54bfbc96af0032 /m4macros | |
parent | 924e31f91d6f111b0c6ea65fa8b4cfbaf8043592 (diff) | |
download | xfce4-dev-tools-e1e347ca0f4df390b56d3ace890743c39ec7cf69.tar.gz |
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)
Diffstat (limited to 'm4macros')
-rw-r--r-- | 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]) |