diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4 index eb017b0..41c7d90 100644 --- a/m4macros/xdt-features.m4 +++ b/m4macros/xdt-features.m4 @@ -195,16 +195,18 @@ AC_DEFUN([XDT_FEATURE_LINKER_OPTS], [enable_linker_opts=$enableval], [enable_linker_opts=yes]) if test "x$enable_linker_opts" != "xno"; then - AC_MSG_CHECKING([whether $LD accepts --as-needed]) - case `$LD --as-needed -v 2>&1 &1 &1