pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/regress/infra-unittests



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat May 23 07:30:18 UTC 2020

Modified Files:
        pkgsrc/regress/infra-unittests: gnu-configure-strict.sh

Log Message:
regress/infra-unittests: document creative AC_ARG_WITH in lang/mono4


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/regress/infra-unittests/gnu-configure-strict.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/regress/infra-unittests/gnu-configure-strict.sh
diff -u pkgsrc/regress/infra-unittests/gnu-configure-strict.sh:1.3 pkgsrc/regress/infra-unittests/gnu-configure-strict.sh:1.4
--- pkgsrc/regress/infra-unittests/gnu-configure-strict.sh:1.3  Fri May 22 15:21:15 2020
+++ pkgsrc/regress/infra-unittests/gnu-configure-strict.sh      Sat May 23 07:30:18 2020
@@ -1,5 +1,5 @@
 #! /bin/sh
-# $NetBSD: gnu-configure-strict.sh,v 1.3 2020/05/22 15:21:15 rillig Exp $
+# $NetBSD: gnu-configure-strict.sh,v 1.4 2020/05/23 07:30:18 rillig Exp $
 #
 # Tests for GNU_CONFIGURE_STRICT handling in mk/configure/gnu-configure.mk.
 #
@@ -412,6 +412,19 @@ if test_case_begin 'configure script wit
        # or disable, but not both.  Therefore the simplest solution is to
        # scan for the common pattern ${enable_http+set}.
 
+       # In lang/mono4, the option name "libgc" creatively differs from
+       # the name "gc" that is mentioned in the help text:
+       #
+       # AC_ARG_WITH(libgc,
+       #   [  --with-gc=...],
+       #   [libgc=$with_gc],
+       #   [libgc=$libgc_default]
+       # )
+       #
+       # This way, even though --with-gc is documented in the help,
+       # specifying it triggers the "unrecognized options: --with-gc"
+       # warning 3 times, once for each configure script.
+
        create_file 'configure' <<-EOF
                if test "\${enable_http+set}" = set; then
                        :



Home | Main Index | Thread Index | Old Index