summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-30 00:31:06 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-30 00:31:06 +0100
commit6db952e970939d6a86f1fcef157ba6c74d27c648 (patch)
tree7bbd0eea8b78b18ea636a9eab4a0e4324254e459 /wscript
parentc9b3af92c43cb649137c88eaa48802197a4bbb06 (diff)
Fix message on config error and make it fatal.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
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)