gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / m4 / wctype.m4
index 93c50d3..49ce7da 100644 (file)
@@ -1,5 +1,5 @@
-# wctype.m4 serial 1
-dnl Copyright (C) 2011 Free Software Foundation, Inc.
+# wctype.m4 serial 2
+dnl Copyright (C) 2011-2013 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.
@@ -8,7 +8,5 @@ AC_DEFUN([gl_FUNC_WCTYPE],
 [
   AC_REQUIRE([gl_WCTYPE_H_DEFAULTS])
   AC_REQUIRE([gl_WCTYPE_H])
-  if test $HAVE_WCTYPE_T = 0; then
-    AC_LIBOBJ([wctype])
-  fi
+  HAVE_WCTYPE=$HAVE_WCTYPE_T
 ])