From: Harlan Stenn Date: Wed, 14 Nov 2012 09:35:24 +0000 (-0800) Subject: [Bug 2120] no sysexits.h under QNX X-Git-Tag: NTP_4_2_7P322~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69f04d57deacf9dad1abc66493a583a881a18e1e;p=thirdparty%2Fntp.git [Bug 2120] no sysexits.h under QNX bk: 50a365dcWGDpd7Y-PqsFaG6SOGulnA --- diff --git a/ChangeLog b/ChangeLog index 85a5f0fc3..187a0619f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ * [Bug 1223] Allow configurable values for RLIMIT_STACK and RLIMIT_MEMLOCK. * [Bug 1320] Log ntpd's initial command-line parameters. (updated fix) +* [Bug 2120] no sysexits.h under QNX. (4.2.7p321) 2012/11/13 Released by Harlan Stenn * [Bug 1320] Log ntpd's initial command-line parameters. (4.2.7p320) 2012/11/12 Released by Harlan Stenn diff --git a/sntp/configure.ac b/sntp/configure.ac index 348a4fdb9..afc885c5a 100644 --- a/sntp/configure.ac +++ b/sntp/configure.ac @@ -110,6 +110,7 @@ AC_SEARCH_LIBS([openlog], [gen syslog]) # Checks for header files. AC_CHECK_HEADERS([netdb.h string.h strings.h syslog.h]) +NTP_SYSEXITS_H NTP_FACILITYNAMES # Checks for typedefs, structures, and compiler characteristics. diff --git a/sntp/m4/ntp_sysexits.m4 b/sntp/m4/ntp_sysexits.m4 new file mode 100644 index 000000000..48a529d41 --- /dev/null +++ b/sntp/m4/ntp_sysexits.m4 @@ -0,0 +1,11 @@ +dnl ###################################################################### +dnl sysexits.h +AC_DEFUN([NTP_SYSEXITS_H], [ + +AC_CHECK_HEADERS([sysexits.h], [],[ +AC_DEFINE([EX_OK], [0], [successful termination]) +AC_DEFINE([EX_SOFTWARE], [70], [internal software error]) +])dnl + +])dnl +dnl ======================================================================