aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac12
1 files changed, 9 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index eb7e5ee2607..a09ae6a5922 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1269,10 +1269,10 @@ AC_SUBST([PAXCTL_notdumped])
1269 1269
1270# Makeinfo on macOS is ancient, check whether there is a more recent 1270# Makeinfo on macOS is ancient, check whether there is a more recent
1271# version installed by Homebrew. 1271# version installed by Homebrew.
1272AC_CHECK_PROG(HAVE_BREW, [brew], [yes]) 1272AC_CHECK_PROGS(BREW, [brew])
1273if test -n "$HAVE_BREW"; then 1273if test -n "$BREW"; then
1274 AC_PATH_PROG([MAKEINFO], [makeinfo], [], 1274 AC_PATH_PROG([MAKEINFO], [makeinfo], [],
1275 [`brew --prefix texinfo 2>/dev/null`/bin$PATH_SEPARATOR$PATH]) 1275 [`$BREW --prefix texinfo 2>/dev/null`/bin$PATH_SEPARATOR$PATH])
1276fi 1276fi
1277 1277
1278## Require makeinfo >= 4.13 (last of the 4.x series) to build the manuals. 1278## Require makeinfo >= 4.13 (last of the 4.x series) to build the manuals.
@@ -2535,6 +2535,12 @@ fi
2535HAVE_IMAGEMAGICK=no 2535HAVE_IMAGEMAGICK=no
2536if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}" = "yes"; then 2536if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}" = "yes"; then
2537 if test "${with_imagemagick}" != "no"; then 2537 if test "${with_imagemagick}" != "no"; then
2538 if test -n "$BREW"; then
2539 # Homebrew doesn't link ImageMagick 6 by default, so make sure
2540 # pkgconfig can find it.
2541 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH$PATH_SEPARATOR`$BREW --prefix imagemagick@6 2>/dev/null`/lib/pkgconfig"
2542 fi
2543
2538 ## 6.3.5 is the earliest version known to work; see Bug#17339. 2544 ## 6.3.5 is the earliest version known to work; see Bug#17339.
2539 ## 6.8.2 makes Emacs crash; see Bug#13867. 2545 ## 6.8.2 makes Emacs crash; see Bug#13867.
2540 ## 7 and later have not been ported to; See Bug#25967. 2546 ## 7 and later have not been ported to; See Bug#25967.