Commit cf872241 authored by Niels Möller's avatar Niels Möller
Browse files

* argp-eexst.c [!HAVE_SYSEXITS_H]: Hardcode EX_USAGE = 64.

* configure.ac: Check for sysexits.h.

Rev: src/argp/ChangeLog:1.18
Rev: src/argp/argp-eexst.c:1.2
Rev: src/argp/configure.ac:1.14
parent c37af622
2004-03-01 Niels Mller <niels@s3.kth.se>
* argp-eexst.c [!HAVE_SYSEXITS_H]: Hardcode EX_USAGE = 64.
* configure.ac: Check for sysexits.h.
2004-02-23 Niels Mller <niels@s3.kth.se> 2004-02-23 Niels Mller <niels@s3.kth.se>
* configure.ac: Bumped version to standalone-1.3. * configure.ac: Bumped version to standalone-1.3.
......
...@@ -22,7 +22,11 @@ ...@@ -22,7 +22,11 @@
#include <config.h> #include <config.h>
#endif #endif
#include <sysexits.h> #if HAVE_SYSEXITS_H
# include <sysexits.h>
#else
# define EX_USAGE 64
#endif
#include "argp.h" #include "argp.h"
......
...@@ -26,7 +26,7 @@ fi ...@@ -26,7 +26,7 @@ fi
# Checks for header files. # Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
AC_CHECK_HEADERS(limits.h malloc.h unistd.h) AC_CHECK_HEADERS(limits.h malloc.h unistd.h sysexits.h)
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST AC_C_CONST
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment