Undo invalid optimization in last commit.
authorBruno Haible <bruno@clisp.org>
Sat, 15 Aug 2009 00:38:33 +0000 (02:38 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 15 Aug 2009 00:38:33 +0000 (02:38 +0200)
ChangeLog
m4/wchar.m4

index 10490eb9377ebace70349ea27961acdd41f9d3ae..7c47443fc033f38e42f9b91ad2355122bea9a133 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-14  Bruno Haible  <bruno@clisp.org>
+
+       * m4/wchar.m4 (gl_WCHAR_H): Undo invalid optimization in last commit.
+
 2009-08-14  Joel E. Denny  <jdenny@clemson.edu>
 
        maint.mk: support update-copyright-env
index 08cb078dc4a01e3f4eef0ae71b0e5f03978d1023..ce53a45cf5c4a8481933f2307f3e44f7a90ba0d4 100644 (file)
@@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
 
 dnl Written by Eric Blake.
 
-# wchar.m4 serial 24
+# wchar.m4 serial 25
 
 AC_DEFUN([gl_WCHAR_H],
 [
@@ -45,9 +45,7 @@ wchar_t w;]],
     HAVE_WCHAR_H=0
   fi
   AC_SUBST([HAVE_WCHAR_H])
-  if test -n "$WCHAR_H"; then
-    gl_CHECK_NEXT_HEADERS([wchar.h])
-  fi
+  gl_CHECK_NEXT_HEADERS([wchar.h])
 ])
 
 dnl Unconditionally enables the replacement of <wchar.h>.