Ensure to rebuild generated .h files when config.status has changed.
[pspp] / modules / pty
index a740cac1ae9bc5038e35d17c188a9957c4f2bc69..8be8e02e52c8dffb542a0babc932fadbf8723a50 100644 (file)
@@ -18,12 +18,13 @@ BUILT_SOURCES += pty.h
 
 # We need the following in order to create <pty.h> when the system
 # doesn't have one that works with the given compiler.
-pty.h: pty.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
+pty.h: pty.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
        $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''HAVE_PTY_H''@|$(HAVE_PTY_H)|g' \
              -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
              -e 's|@''NEXT_PTY_H''@|$(NEXT_PTY_H)|g' \
              -e 's|@''GNULIB_FORKPTY''@|$(GNULIB_FORKPTY)|g' \
              -e 's|@''GNULIB_OPENPTY''@|$(GNULIB_OPENPTY)|g' \