summaryrefslogtreecommitdiff
path: root/gnulib/modules/sysexits
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/sysexits')
m---------gnulib0
-rw-r--r--gnulib/modules/sysexits38
2 files changed, 38 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 4fc10daa05477586fea99b6b3ca02a87d1102fa
diff --git a/gnulib/modules/sysexits b/gnulib/modules/sysexits
new file mode 100644
index 00000000..6ec3a44b
--- /dev/null
+++ b/gnulib/modules/sysexits
@@ -0,0 +1,38 @@
+Description:
+Exit status codes for some BSD system programs.
+
+Files:
+lib/sysexits.in.h
+m4/sysexits.m4
+
+Depends-on:
+include_next
+
+configure.ac:
+gl_SYSEXITS
+
+Makefile.am:
+BUILT_SOURCES += $(SYSEXITS_H)
+
+# We need the following in order to create <sysexits.h> when the system
+# doesn't have one that works with the given compiler.
+sysexits.h: sysexits.in.h
+ $(AM_V_GEN)rm -f $@-t $@ && \
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ sed -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \
+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+ -e 's|@''NEXT_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \
+ < $(srcdir)/sysexits.in.h; \
+ } > $@-t && \
+ mv -f $@-t $@
+MOSTLYCLEANFILES += sysexits.h sysexits.h-t
+
+Include:
+<sysexits.h>
+
+License:
+LGPL
+
+Maintainer:
+Simon Josefsson