diff options
| author | Glenn Morris | 2018-08-30 13:56:08 -0400 |
|---|---|---|
| committer | Glenn Morris | 2018-08-30 13:56:08 -0400 |
| commit | 3cc42bb60099c32f64e57d2ee33c8321adba7942 (patch) | |
| tree | f70640ad22c470328406126c7dcb56afc018ac4b | |
| parent | 42ed35c68b7c199aa797e655fdc3547c5c3087d2 (diff) | |
| download | emacs-3cc42bb60099c32f64e57d2ee33c8321adba7942.tar.gz emacs-3cc42bb60099c32f64e57d2ee33c8321adba7942.zip | |
* configure.ac: Fix goofs in my recent ImageMagick change.
| -rw-r--r-- | configure.ac | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 85ac932688c..6f3d7338c35 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -2515,10 +2515,9 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}" | |||
| 2515 | export PKG_CONFIG_PATH="$PKG_CONFIG_PATH$PATH_SEPARATOR`$BREW --prefix imagemagick@6 2>/dev/null`/lib/pkgconfig" | 2515 | export PKG_CONFIG_PATH="$PKG_CONFIG_PATH$PATH_SEPARATOR`$BREW --prefix imagemagick@6 2>/dev/null`/lib/pkgconfig" |
| 2516 | fi | 2516 | fi |
| 2517 | 2517 | ||
| 2518 | EMACS_CHECK_MODULES([IMAGEMAGICK7], [MagickWand >= 7]) | 2518 | EMACS_CHECK_MODULES([IMAGEMAGICK], [MagickWand >= 7]) |
| 2519 | if test $HAVE_IMAGEMAGICK7 = yes; then | 2519 | if test $HAVE_IMAGEMAGICK = yes; then |
| 2520 | AC_DEFINE([HAVE_IMAGEMAGICK7], 1, [Define to 1 if using ImageMagick7.]) | 2520 | AC_DEFINE([HAVE_IMAGEMAGICK7], 1, [Define to 1 if using ImageMagick7.]) |
| 2521 | HAVE_IMAGEMAGICK = yes | ||
| 2522 | else | 2521 | else |
| 2523 | ## 6.3.5 is the earliest version known to work; see Bug#17339. | 2522 | ## 6.3.5 is the earliest version known to work; see Bug#17339. |
| 2524 | ## 6.8.2 makes Emacs crash; see Bug#13867. | 2523 | ## 6.8.2 makes Emacs crash; see Bug#13867. |
| @@ -2543,8 +2542,6 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}" | |||
| 2543 | fi | 2542 | fi |
| 2544 | if test $HAVE_IMAGEMAGICK = yes; then | 2543 | if test $HAVE_IMAGEMAGICK = yes; then |
| 2545 | AC_DEFINE([HAVE_IMAGEMAGICK], 1, [Define to 1 if using ImageMagick.]) | 2544 | AC_DEFINE([HAVE_IMAGEMAGICK], 1, [Define to 1 if using ImageMagick.]) |
| 2546 | AC_DEFINE_UNQUOTED([IMAGEMAGICK_MAJOR], [$IMAGEMAGICK_MAJOR], | ||
| 2547 | [ImageMagick major version number (from configure).]) | ||
| 2548 | else | 2545 | else |
| 2549 | IMAGEMAGICK_CFLAGS= | 2546 | IMAGEMAGICK_CFLAGS= |
| 2550 | IMAGEMAGICK_LIBS= | 2547 | IMAGEMAGICK_LIBS= |