* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
[gnulib.git] / modules / fcntl
index 051e8f9..68fe6ff 100644 (file)
@@ -6,7 +6,7 @@ lib/fcntl_.h
 m4/fcntl_h.m4
 
 Depends-on:
-absolute-header
+include_next
 unistd
 
 configure.ac:
@@ -20,7 +20,8 @@ BUILT_SOURCES += $(FCNTL_H)
 fcntl.h: fcntl_.h
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
+         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
              < $(srcdir)/fcntl_.h; \
        } > $@-t
        mv $@-t $@