changeset 5613:2f3c8e5ee8df

(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>
author Sergey Poznyakoff <gray@gnu.org.ua>
date Mon, 24 Jan 2005 10:02:25 +0000
parents d215b09edc2c
children adabffc0412f
files m4/sysexits.m4
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 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])
 ])