wctrans: Move AC_LIBOBJ invocations to module description.
[gnulib.git] / m4 / wctrans.m4
index f09b3fc..7b956d8 100644 (file)
@@ -1,4 +1,4 @@
-# wctrans.m4 serial 1
+# wctrans.m4 serial 2
 dnl Copyright (C) 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,
@@ -8,7 +8,5 @@ AC_DEFUN([gl_FUNC_WCTRANS],
 [
   AC_REQUIRE([gl_WCTYPE_H_DEFAULTS])
   AC_REQUIRE([gl_WCTYPE_H])
-  if test $HAVE_WCTRANS_T = 0; then
-    AC_LIBOBJ([wctrans])
-  fi
+  HAVE_WCTRANS=$HAVE_WCTRANS_T
 ])