From 6db952e970939d6a86f1fcef157ba6c74d27c648 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 30 Jan 2024 00:31:06 +0100 Subject: [PATCH] Fix message on config error and make it fatal. --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index d813c536..ba74aa0f 100644 --- a/wscript +++ b/wscript @@ -131,7 +131,8 @@ def configure(conf): image = conf.check_cfg(package='ImageMagick++', args='--cflags --libs', uselib_store='MAGICK', mandatory=False) graphics = conf.check_cfg(package='GraphicsMagick++', args='--cflags --libs', uselib_store='MAGICK', mandatory=False) if image is None and graphics is None: - Logs.error('Neither ImageMagick++ nor GraphicsMagick++ found: one or the other is required unless you ./waf configure --disable-examples --disable-dcpdumpimage') + Logs.error('Neither ImageMagick++ nor GraphicsMagick++ found: one or the other is required unless you ./waf configure --disable-examples --disable-dumpimage') + sys.exit(1) conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=False) -- 2.30.2