]> sigrok.org Git - libsigrok.git/blobdiff - autogen.sh
sr/srd/cli: Fix compiling with Homebrew.
[libsigrok.git] / autogen.sh
index 0177bd3b67a9bab9ea038d83349a615ec8995b1d..9ee4cd4c4329ea63163b28f95d32b601298a9a99 100755 (executable)
@@ -32,6 +32,9 @@ if [ "x$OS" = "xDarwin" ]; then
        elif [ -d /opt/local/share/aclocal ]; then
                # Macports installs aclocal macros here
                ACLOCAL_DIR="-I /opt/local/share/aclocal"
+       elif [ -d /usr/local/share/aclocal ]; then
+               # Homebrew installs aclocal macros here
+               ACLOCAL_DIR="-I /usr/local/share/aclocal"
        elif [ -d /usr/share/aclocal ]; then
                # Xcode installs aclocal macros here
                ACLOCAL_DIR="-I /usr/share/aclocal"