diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-30 00:31:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-30 00:31:06 +0100 |
| commit | 6db952e970939d6a86f1fcef157ba6c74d27c648 (patch) | |
| tree | 7bbd0eea8b78b18ea636a9eab4a0e4324254e459 /wscript | |
| parent | c9b3af92c43cb649137c88eaa48802197a4bbb06 (diff) | |
Fix message on config error and make it fatal.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |
