summaryrefslogtreecommitdiff
path: root/modules/sysexits
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sysexits')
-rw-r--r--modules/sysexits28
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/sysexits b/modules/sysexits
new file mode 100644
index 0000000000..8a4f1c8c58
--- /dev/null
+++ b/modules/sysexits
@@ -0,0 +1,28 @@
+Description:
+Exit status codes for some BSD system programs.
+
+Files:
+lib/sysexit_.h
+m4/sysexits.m4
+
+Depends-on:
+
+configure.ac:
+gl_SYSEXITS
+
+Makefile.am:
+EXTRA_DIST += sysexit_.h
+
+# We need the following in order to create a <sysexits.h> when the system
+# doesn't have one that works with the given compiler.
+all-local $(lib_OBJECTS): @SYSEXITS_H@
+sysexits.h: sysexit_.h
+ cp $(srcdir)/sysexit_.h sysexits.h-t
+ mv sysexits.h-t sysexits.h
+MOSTLYCLEANFILES += sysexits.h sysexits.h-t
+
+Include:
+#include <sysexits.h>
+
+Maintainer:
+Simon Josefsson