diff options
author | Bruce Korb <bkorb@gnu.org> | 2011-05-06 08:15:59 -0700 |
---|---|---|
committer | Bruce Korb <bkorb@gnu.org> | 2011-05-06 08:15:59 -0700 |
commit | 10c1e9dc30730133dbb631c9be0a4e84ce0b0eaa (patch) | |
tree | c1ecc41b19fbec4e92c119d5cba945b8b91ac7d7 /modules/errno | |
parent | 9bccf2c3e4f68a37499615fddd51c727d6bb2624 (diff) | |
parent | d801cb77b966678e21af7a106b15a3fe598d5ec4 (diff) | |
download | gnulib-topic/libposix.tar.gz |
manual mergetopic/libposix
Diffstat (limited to 'modules/errno')
-rw-r--r-- | modules/errno | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/errno b/modules/errno index 221bebf0de..d44f377557 100644 --- a/modules/errno +++ b/modules/errno @@ -19,7 +19,8 @@ BUILT_SOURCES += $(ERRNO_H) # We need the following in order to create <errno.h> when the system # doesn't have one that is POSIX compliant. -errno.h: errno.in.h +if GL_GENERATE_ERRNO_H +errno.h: errno.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @@ -35,6 +36,10 @@ errno.h: errno.in.h < $(srcdir)/errno.in.h; \ } > $@-t && \ mv $@-t $@ +else +errno.h: $(top_builddir)/config.status + rm -f $@ +endif MOSTLYCLEANFILES += errno.h errno.h-t Include: |