summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-23 07:30:18 +0000
committerrillig <rillig@pkgsrc.org>2020-05-23 07:30:18 +0000
commitbbb0f5b68c844e3466c16567ccecff51a767b75f (patch)
treef72e55bd1130be05660e9314c0b317b0ebf3f249 /regress
parent77194531b6bca1beba65169d4e0ed88a0ed46837 (diff)
downloadpkgsrc-bbb0f5b68c844e3466c16567ccecff51a767b75f.tar.gz
regress/infra-unittests: document creative AC_ARG_WITH in lang/mono4
Diffstat (limited to 'regress')
-rw-r--r--regress/infra-unittests/gnu-configure-strict.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/regress/infra-unittests/gnu-configure-strict.sh b/regress/infra-unittests/gnu-configure-strict.sh
index 85f5a6100cd..56933183766 100644
--- a/regress/infra-unittests/gnu-configure-strict.sh
+++ b/regress/infra-unittests/gnu-configure-strict.sh
@@ -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 without enable_http variable'; then
# 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
: