stdint test: Fix compilation failure on OSF/1 with DTK compiler.
[gnulib.git] / modules / pty
index f490b34..8be8e02 100644 (file)
@@ -14,13 +14,11 @@ configure.ac:
 gl_PTY_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += pty.h
-
 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' \