From: Sergey Poznyakoff <gray@gnu.org.ua>
Date: Mon, 24 Jan 2005 10:02:25 +0000 (+0000)
Subject: (gl_SYSEXITS): Reverted logic. SYSEXITS_H
X-Git-Tag: cvs-readonly~3573
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=344b475fa38c60c90b9150c214d425d1ef3e3e7b;p=gnulib.git

(gl_SYSEXITS): Reverted logic. SYSEXITS_H
must be defined if the header file was not found, in order
to provide a replacement. Reported by Todd Vierling <tv@duh.org>
---

diff --git a/m4/sysexits.m4 b/m4/sysexits.m4
index aaa94e8493..69d20917be 100644
--- a/m4/sysexits.m4
+++ b/m4/sysexits.m4
@@ -1,5 +1,5 @@
 # sysexits.m4 serial 2
-dnl Copyright (C) 2003 Free Software Foundation, Inc.
+dnl Copyright (C) 2003,2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_SYSEXITS],
 [
   AC_CHECK_HEADERS(sysexits.h,
-    [SYSEXITS_H=sysexits.h],
-    [SYSEXITS_H=])
+    [SYSEXITS_H=],
+    [SYSEXITS_H=sysexits.h])
   AC_SUBST([SYSEXITS_H])
 ])