diff options
author | Bruno Haible <bruno@clisp.org> | 2007-03-26 10:16:08 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-03-26 10:16:08 +0000 |
commit | af7308e5e6af8afd55c64386f23977070f8aa657 (patch) | |
tree | aa4d26fbe2bfc79c3495cad1ba0965961a1bf145 /modules/sysexits | |
parent | 578b78a0f92cb6732d1b76d76933b376be85de55 (diff) | |
download | gnulib-af7308e5e6af8afd55c64386f23977070f8aa657.tar.gz |
If <sysexits.h> exists but is missing values, fill in the missing values.
Diffstat (limited to 'modules/sysexits')
-rw-r--r-- | modules/sysexits | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/sysexits b/modules/sysexits index c979b9ede8..e9e5688449 100644 --- a/modules/sysexits +++ b/modules/sysexits @@ -17,7 +17,9 @@ BUILT_SOURCES += $(SYSEXITS_H) # doesn't have one that works with the given compiler. sysexits.h: sysexit_.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - cat $(srcdir)/sysexit_.h; \ + sed -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \ + -e 's|@''ABSOLUTE_SYSEXITS_H''@|$(ABSOLUTE_SYSEXITS_H)|g' \ + < $(srcdir)/sysexit_.h; \ } > $@-t mv -f $@-t $@ MOSTLYCLEANFILES += sysexits.h sysexits.h-t |