From ed21da23c01270fb9a172dfe25110e7f7c63bce1 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Thu, 17 Mar 2022 18:39:09 +0200
Subject: [PATCH 47/47] Meson: Hint about EXTRA_CONFIG in ack_experimental
 error message

See osdn #44071

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index b50891717e..b99b4f292c 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,8 @@
 project('freeciv', ['c', 'cpp'], meson_version: '>= 0.48.0')
 
 if not get_option('ack_experimental')
-  error('Autotools are still the only fully supported way to build freeciv.\nSet configure option "ack_experimental" to true if you really want to do experimental meson build.')
+  error('Autotools are still the only fully supported way to build freeciv.\nSet configure option "ack_experimental" to true if you really want to do experimental meson build.\n' +
+        'Most scripts that do freeciv build with meson allow you to pass configure options\nvia environment variable EXTRA_CONFIG.')
 endif
 
 add_global_arguments('-Wno-nonnull-compare', language : 'c')
-- 
2.35.1