mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02:00
Fix typo on defining imagemagick version.
In this patch we will fix an issue during compilation on systems, which have ImageMagick version 7, and slightly more recent version of compiler. If we define USE_MAGICK with null value, compilation will fail on preprocessor check on such defined variable.
This commit is contained in:
1 parent
3022edd060
commit
230a501d36
1 file changed
+1
-1
@@ -314,7 +314,7 @@ AS_IF([test "x$enable_magick" = "xno"],
|
||||
wm_save_CFLAGS="$CFLAGS"
|
||||
AS_IF([wm_fn_lib_try_compile "MagickWand/MagickWand.h" "MagickWand *wand;" "wand = NewMagickWand()" "$wm_cv_libchk_magick_cflags"],
|
||||
[wm_cv_libchk_magick="$wm_cv_libchk_magick_cflags % $wm_cv_libchk_magick_libs"
|
||||
wm_cv_libchk_mgick_version=7],
|
||||
wm_cv_libchk_magick_version=7],
|
||||
[wm_fn_lib_try_compile "wand/magick_wand.h" "MagickWand *wand;" "wand = NewMagickWand()" "$wm_cv_libchk_magick_cflags"],
|
||||
[wm_cv_libchk_magick="$wm_cv_libchk_magick_cflags % $wm_cv_libchk_magick_libs"
|
||||
wm_cv_libchk_magick_version=6],
|
||||
|
||||
Reference in new issue
Block a user