summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorBrian J. Tarricone <brian@tarricone.org>2009-09-19 13:48:25 -0700
committerBrian J. Tarricone <brian@tarricone.org>2009-09-19 13:48:25 -0700
commit924e31f91d6f111b0c6ea65fa8b4cfbaf8043592 (patch)
treefb309285e7169e0c16f244d80162fac9877daaf0 /m4macros
parent90d686411e994a0adfe822e917b1954538d95b74 (diff)
downloadxfce4-dev-tools-924e31f91d6f111b0c6ea65fa8b4cfbaf8043592.tar.gz
Revert "Fix XDT_FEATURE_LINKER_OPTS and XDT_FEATURE_VISIBILITY."
This reverts commit 90d686411e994a0adfe822e917b1954538d95b74.
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/xdt-features.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index dc9b68b..5ec90d5 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -61,6 +61,8 @@ AC_DEFUN([XDT_FEATURE_DEBUG],
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]),
[enable_debug=$enableval], [enable_debug=m4_default([$1], [minimum])])
AC_MSG_CHECKING([whether to build with debugging support])
@@ -129,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=no])
+ [], [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])
@@ -178,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=no])
+ [], [enable_linker_opts=yes])
if test "x$enable_linker_opts" != "xno"; then
AC_MSG_CHECKING([whether $LD accepts --as-needed])