Undo last commit. Add comment instead.
[gnulib.git] / m4 / lib-ignore.m4
index e518f81..0236cb5 100644 (file)
@@ -1,6 +1,6 @@
 # If possible, ignore libraries that are not depended on.
 
-dnl Copyright (C) 2006 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -26,13 +26,13 @@ AC_DEFUN([gl_IGNORE_UNUSED_LIBRARIES],
      # native cc issues annoying warnings and then ignores it,
      # which would cause us to incorrectly conclude that it worked.
      for gl_flags in \
-       '-Wl,--as-needed' \
-       '-Wl,-z,ignore' \
-       '-z ignore'
+        '-Wl,--as-needed' \
+        '-Wl,-z,ignore' \
+        '-z ignore'
      do
        LDFLAGS="$gl_flags $LDFLAGS"
        AC_LINK_IFELSE([AC_LANG_PROGRAM()],
-        [gl_cv_ignore_unused_libraries=$gl_flags])
+         [gl_cv_ignore_unused_libraries=$gl_flags])
        LDFLAGS=$gl_saved_ldflags
        test "$gl_cv_ignore_unused_libraries" != none && break
      done