]> Savannah Git Hosting - gnulib.git/commitdiff
selinux-h: Fix two syntax errors.
authorBruno Haible <bruno@clisp.org>
Mon, 30 Sep 2024 12:26:53 +0000 (14:26 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 30 Sep 2024 12:26:53 +0000 (14:26 +0200)
* m4/selinux-selinux-h.m4 (gl_CHECK_HEADER_SELINUX_SELINUX_H):
Terminate each 'case' clause with ';;'. Remove extraneous closing brace.

ChangeLog
m4/selinux-selinux-h.m4

index d670b9fe593491bfa917845b449a5f536ada8289..0679ed28ef8d7f9852d379a5f35be78166717832 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-09-30  Bruno Haible  <bruno@clisp.org>
+
+       selinux-h: Fix two syntax errors.
+       * m4/selinux-selinux-h.m4 (gl_CHECK_HEADER_SELINUX_SELINUX_H):
+       Terminate each 'case' clause with ';;'. Remove extraneous closing brace.
+
 2024-09-30  Bruno Haible  <bruno@clisp.org>
 
        file-has-acl: Fix compilation error (regression yesterday).
index a141defef0f8c682feebacab548406431aec4a60..cabc244baa73ebdd14ce0af0bf67d6aedbc06027 100644 (file)
@@ -1,5 +1,5 @@
 # selinux-selinux-h.m4
-# serial 9   -*- Autoconf -*-
+# serial 10   -*- Autoconf -*-
 dnl Copyright (C) 2006-2007, 2009-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -54,6 +54,7 @@ AC_DEFUN([gl_CHECK_HEADER_SELINUX_SELINUX_H],
       *:no)
         AC_MSG_WARN([libselinux was found but selinux/selinux.h is missing.])
         AC_MSG_WARN([AC_PACKAGE_NAME will be compiled without SELinux support.])
+        ;;
     esac
   else
     # Do as if <selinux/selinux.h> does not exist, even if
@@ -62,7 +63,7 @@ AC_DEFUN([gl_CHECK_HEADER_SELINUX_SELINUX_H],
   fi
   AC_SUBST([USE_SELINUX_SELINUX_H])
   AC_DEFINE_UNQUOTED([USE_SELINUX_SELINUX_H], [$USE_SELINUX_SELINUX_H],
-    [Define to 1 if <selinux/selinux.h> should be used, to 0 otherwise.])])
+    [Define to 1 if <selinux/selinux.h> should be used, to 0 otherwise.])
 ])
 
 AC_DEFUN([gl_LIBSELINUX],