]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: update copyright comment prefix in M4 code (#2347)
authorAmos Jeffries <yadij@users.noreply.github.com>
Fri, 16 Jan 2026 15:49:14 +0000 (15:49 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 17 Jan 2026 12:20:21 +0000 (12:20 +0000)
Use 'dnl' instead of hash to elide the unnecessary blurbs
from generated output.

14 files changed:
CREDITS
acinclude/ax_cxx_compile_stdcxx.m4
acinclude/ax_with_prog.m4
acinclude/compiler-flags.m4
acinclude/init.m4
acinclude/krb5.m4
acinclude/ldap.m4
acinclude/lib-checks.m4
acinclude/os-deps.m4
acinclude/pam.m4
acinclude/pkg.m4
acinclude/squid-util.m4
acinclude/tdb.m4
acinclude/win32-sspi.m4

diff --git a/CREDITS b/CREDITS
index bf3058ad127adc8c0fc1db72b23841a63c9a2237..1a14fb8e365bae84b5881a0d3bd502bcd7a01fb6 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -86,21 +86,21 @@ research project called The Harvest Information Discovery and Access System:
 
 acinclude/ax_cxx_compile_stdcxx.m4:
 
-#   Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
-#   Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
-#   Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
-#   Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
-#   Copyright (c) 2015 Paul Norman <penorman@mac.com>
-#   Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
-#   Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
-#   Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
-#   Copyright (c) 2020 Jason Merrill <jason@redhat.com>
-#   Copyright (c) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
-#
-#   Copying and distribution of this file, with or without modification, are
-#   permitted in any medium without royalty provided the copyright notice
-#   and this notice are preserved. This file is offered as-is, without any
-#   warranty.
+dnl   Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
+dnl   Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
+dnl   Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
+dnl   Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
+dnl   Copyright (c) 2015 Paul Norman <penorman@mac.com>
+dnl   Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
+dnl   Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
+dnl   Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
+dnl   Copyright (c) 2020 Jason Merrill <jason@redhat.com>
+dnl   Copyright (c) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
+dnl
+dnl   Copying and distribution of this file, with or without modification, are
+dnl   permitted in any medium without royalty provided the copyright notice
+dnl   and this notice are preserved. This file is offered as-is, without any
+dnl   warranty.
 
 ==============================================================================
 
@@ -117,26 +117,26 @@ dnl   and this notice are preserved.
 
 acinclude/pkg.m4:
 
-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
+dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2 of the License, or
+dnl (at your option) any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+dnl
+dnl As a special exception to the GNU General Public License, if you
+dnl distribute this file as part of a program that contains a
+dnl configuration script generated by Autoconf, you may include it under
+dnl the same distribution terms that you use for the rest of that program.
 
 ==============================================================================
 
index aaf87d1c0f72f9ef04100c80b2d805afe4e36241..69eea0650d88d53ef85edd18645d1f472781f0bd 100644 (file)
@@ -1,54 +1,54 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
-
-# ===========================================================================
-#  https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
-# ===========================================================================
-#
-# SYNOPSIS
-#
-#   AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
-#
-# DESCRIPTION
-#
-#   Check for baseline language coverage in the compiler for the specified
-#   version of the C++ standard.  If necessary, add switches to CXX and
-#   CXXCPP to enable support.  VERSION may be '11', '14', '17', or '20' for
-#   the respective C++ standard version.
-#
-#   The second argument, if specified, indicates whether you insist on an
-#   extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
-#   -std=c++11).  If neither is specified, you get whatever works, with
-#   preference for no added switch, and then for an extended mode.
-#
-#   The third argument, if specified 'mandatory' or if left unspecified,
-#   indicates that baseline support for the specified C++ standard is
-#   required and that the macro should error out if no mode with that
-#   support is found.  If specified 'optional', then configuration proceeds
-#   regardless, after defining HAVE_CXX${VERSION} if and only if a
-#   supporting mode is found.
-#
-# LICENSE
-#
-#   Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
-#   Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
-#   Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
-#   Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
-#   Copyright (c) 2015 Paul Norman <penorman@mac.com>
-#   Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
-#   Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
-#   Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
-#   Copyright (c) 2020 Jason Merrill <jason@redhat.com>
-#   Copyright (c) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
-#
-#   Copying and distribution of this file, with or without modification, are
-#   permitted in any medium without royalty provided the copyright notice
-#   and this notice are preserved.  This file is offered as-is, without any
-#   warranty.
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
+
+dnl ===========================================================================
+dnl  https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
+dnl ===========================================================================
+dnl
+dnl SYNOPSIS
+dnl
+dnl   AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
+dnl
+dnl DESCRIPTION
+dnl
+dnl   Check for baseline language coverage in the compiler for the specified
+dnl   version of the C++ standard.  If necessary, add switches to CXX and
+dnl   CXXCPP to enable support.  VERSION may be '11', '14', '17', or '20' for
+dnl   the respective C++ standard version.
+dnl
+dnl   The second argument, if specified, indicates whether you insist on an
+dnl   extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
+dnl   -std=c++11).  If neither is specified, you get whatever works, with
+dnl   preference for no added switch, and then for an extended mode.
+dnl
+dnl   The third argument, if specified 'mandatory' or if left unspecified,
+dnl   indicates that baseline support for the specified C++ standard is
+dnl   required and that the macro should error out if no mode with that
+dnl   support is found.  If specified 'optional', then configuration proceeds
+dnl   regardless, after defining HAVE_CXX${VERSION} if and only if a
+dnl   supporting mode is found.
+dnl
+dnl LICENSE
+dnl
+dnl   Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
+dnl   Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
+dnl   Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
+dnl   Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
+dnl   Copyright (c) 2015 Paul Norman <penorman@mac.com>
+dnl   Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
+dnl   Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
+dnl   Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
+dnl   Copyright (c) 2020 Jason Merrill <jason@redhat.com>
+dnl   Copyright (c) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
+dnl
+dnl   Copying and distribution of this file, with or without modification, are
+dnl   permitted in any medium without royalty provided the copyright notice
+dnl   and this notice are preserved.  This file is offered as-is, without any
+dnl   warranty.
 
 #serial 15
 
index 125c2378ab95efd0bb86988b99bd7f4d73c25e12..f267ba37c1d4b6fc620ae5a37566d0191263eacc 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 dnl ===========================================================================
 dnl              http://autoconf-archive.cryp.to/ax_with_prog.html
index eaafbf39b5d73df9bac2fb2299665b83c8cf5ff6..343d03a5a351ff5200a54fd28111a2eb77472094 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 # check if the compiler accepts a supplied flag
 # first argument is the variable containing the result
index e347bc4f2b76c0a8e40216ad6d9bc3d7dfa2cf94..9d23a9afa6395f5a3c4d6f0e26eee33dcddb0138 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 dnl This encapsulates the nasty mess of headers we need to check when
 dnl checking types.
index a09cabd645493dfe07347f1ced200ba1ca24a27e..cdd070861dc198377ab543122621a33ee6da5ec1 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 dnl check whether the Kerberos context has a memory cache
 AC_DEFUN([SQUID_CHECK_KRB5_CONTEXT_MEMORY_CACHE],[
index 54d9801d42eba4280d670f9020d9e320f23dbc57..90547781b653178b66a421b8a420b96ef2db20ce 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 dnl checks for LDAP functionality
 AC_DEFUN([SQUID_LDAP_TEST],[
index 573ca17586f5338d5891a466a814e2cf18186139..b5d132d239b112eb5bf1aa7a5fa1f76ab45b72c9 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 AC_DEFUN([SQUID_CHECK_LIBIPHLPAPI],[
   AC_CACHE_CHECK([for libIpHlpApi],squid_cv_have_libiphlpapi,[
index 4e9599e6bb78a6888dc36795e935929ae0a4d56e..8eaec8f6744c7beb01a92238884de310527ed94b 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 dnl check that epoll actually works
 dnl sets squid_cv_epoll_works to "yes" or "no"
index 4c5f08553df04a27aff1ac6a87a6f39b06fb9332..84458390a851222b84fed5485b5f78323a1460ee 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 dnl check whether PAM's struct pam_conv takes a const (linux-style) or
 dnl non-const (solaris-style) parametrs to the conv function.
index e9224b1cbb436a5ac9f23543e017a4a23d8540b5..7564b57b3ec3619906c4c678b6adc6676eb69c91 100644 (file)
@@ -1,33 +1,33 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
-
-# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
-# serial 1 (pkg-config-0.24)
-#
-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
+
+dnl pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
+dnl serial 1 (pkg-config-0.24)
+dnl
+dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2 of the License, or
+dnl (at your option) any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+dnl
+dnl As a special exception to the GNU General Public License, if you
+dnl distribute this file as part of a program that contains a
+dnl configuration script generated by Autoconf, you may include it under
+dnl the same distribution terms that you use for the rest of that program.
 
 # PKG_PROG_PKG_CONFIG([MIN-VERSION])
 # ----------------------------------
index 7f02b68848349a4e7d64bb258da743e7c7bee4be..4fa9c695ef118303534aa9f79ed1245cc621095e 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 dnl save main environment variables to variables to the namespace defined by the
 dnl first argument (prefix)
index e1682483152c127fc6356a647db5c72149c3d8ee..e80eaa243240745cf9fe75b70d46e5a3fce1e3f3 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 dnl check for --with-tdb option
 AC_DEFUN_ONCE([SQUID_CHECK_LIBTDB],[
index 0d137bdf3e968436a2273084947f61a2b6587182..0fb87a25a40904ce64f3c430a0a61d5cb81e5518 100644 (file)
@@ -1,9 +1,9 @@
-## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
+dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
+dnl
+dnl Squid software is distributed under GPLv2+ license and includes
+dnl contributions from numerous individuals and organizations.
+dnl Please see the COPYING and CONTRIBUTORS files for details.
+dnl
 
 # Checks whether the Windows SSPI requirements are available and work.
 # Sets squid_cv_win32_sspi to "yes" or "no".