configure.ac: only set AC_CONFIG_MACOS_FLAGS when using MacPorts, not HomeBrew

This commit is contained in:
Gautier Pelloux-Prayer 2015-02-24 11:41:28 +01:00
parent 46b84df670
commit 2c7b9f2cf2

View file

@ -79,7 +79,7 @@ case $target in
x86_64-apple-darwin*|i686-apple-darwin*)
MSPLUGINS_CFLAGS=""
dnl use macport installation
ACLOCAL_MACOS_FLAGS="-I /opt/local/share/aclocal"
AS_IF([test -d "/opt/local/share/aclocal"], [ACLOCAL_MACOS_FLAGS="-I /opt/local/share/aclocal"])
build_macos=yes
;;