strerror: Move AC_LIBOBJ invocations to module description.
[gnulib.git] / m4 / strerror.m4
index 5e1c011..25edd91 100644 (file)
@@ -1,4 +1,4 @@
-# strerror.m4 serial 11
+# strerror.m4 serial 12
 dnl Copyright (C) 2002, 2007-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -37,10 +37,6 @@ AC_DEFUN([gl_FUNC_STRERROR],
     dnl to <errno.h>. Replace it.
     REPLACE_STRERROR=1
   fi
-  if test $REPLACE_STRERROR = 1; then
-    AC_LIBOBJ([strerror])
-    gl_PREREQ_STRERROR
-  fi
 ])
 
 # Prerequisites of lib/strerror.c.