annotate m4/sysexits.m4 @ 285:9010796c6253 2.3 2.3.1

Generated manual for distribution
author lost
date Fri, 24 Apr 2009 22:36:09 +0000
parents 2cb097e760a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
1 # sysexits.m4 serial 4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
2 dnl Copyright (C) 2003, 2005, 2007 Free Software Foundation, Inc.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
6
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
7 AC_DEFUN([gl_SYSEXITS],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
8 [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
9 AC_CHECK_HEADERS_ONCE([sysexits.h])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
10 if test $ac_cv_header_sysexits_h = yes; then
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
11 HAVE_SYSEXITS_H=1
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
12 gl_CHECK_NEXT_HEADERS([sysexits.h])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
13 AC_TRY_COMPILE([#include <sysexits.h>],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
14 [switch (0)
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
15 {
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
16 case EX_OK:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
17 case EX_USAGE:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
18 case EX_DATAERR:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
19 case EX_NOINPUT:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
20 case EX_NOUSER:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
21 case EX_NOHOST:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
22 case EX_UNAVAILABLE:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
23 case EX_SOFTWARE:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
24 case EX_OSERR:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
25 case EX_OSFILE:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
26 case EX_CANTCREAT:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
27 case EX_IOERR:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
28 case EX_TEMPFAIL:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
29 case EX_PROTOCOL:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
30 case EX_NOPERM:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
31 case EX_CONFIG:
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
32 break;
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
33 }
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
34 ],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
35 [SYSEXITS_H=],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
36 [SYSEXITS_H=sysexits.h])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
37 else
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
38 HAVE_SYSEXITS_H=0
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
39 SYSEXITS_H=sysexits.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
40 fi
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
41 AC_SUBST([HAVE_SYSEXITS_H])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
42 AC_SUBST([SYSEXITS_H])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
43 ])