[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autodetect imagemagick on macOS + Homebrew

From: Philipp Stephani
Subject: Re: Autodetect imagemagick on macOS + Homebrew
Date: Sun, 28 Jan 2018 18:35:41 +0000

Alan Third <address@hidden> schrieb am Mi., 10. Jan. 2018 um 22:38 Uhr:
When imagemagick 6 is installed on macOS using Homebrew it can be a
bit of a faff to get Emacs built with it. The attached patch
automatically adds it to PKG_CONFIG_PATH if Homebrew is detected.

I'm wondering whether these concatenations work if the packages aren't installed. `brew --prefix texinfo 2>/dev/null`/bin results in /bin if texinfo isn't installed, but this might be a bit too implicit and brittle - how certain are we that brew will print the empty string here forever? Maybe it would be better to check the return value of brew and append the path segments only if it has suceeded. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]