Fix testing canonicalize on cygwin.
[gnulib.git] / modules / wchar
index 7a61c84..7cb8db3 100644 (file)
@@ -6,7 +6,7 @@ lib/wchar_.h
 m4/wchar.m4
 
 Depends-on:
-absolute-header
+include_next
 
 configure.ac:
 gl_WCHAR_H
@@ -19,8 +19,9 @@ BUILT_SOURCES += $(WCHAR_H)
 wchar.h: wchar_.h
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         sed -e 's|@''ABSOLUTE_WCHAR_H''@|$(ABSOLUTE_WCHAR_H)|g' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
+             -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
            < $(srcdir)/wchar_.h; \
        } > $@-t
        mv $@-t $@