* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
[pspp] / modules / fcntl
index d8b04bc3bb9f8c5d725860d5b6eff8f7824dc43a..68fe6ffa63b66fcb10d6de95374d8bb63e44c7a3 100644 (file)
@@ -6,7 +6,7 @@ lib/fcntl_.h
 m4/fcntl_h.m4
 
 Depends-on:
-absolute-header
+include_next
 unistd
 
 configure.ac:
@@ -20,8 +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' \
-             -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
+         sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+             -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
              < $(srcdir)/fcntl_.h; \
        } > $@-t
        mv $@-t $@