summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh3
-rw-r--r--configure.ac1
2 files changed, 4 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index a49d17b..8185af0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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"
diff --git a/configure.ac b/configure.ac
index 0d7f710..f42f0f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,7 @@ AC_CONFIG_AUX_DIR([autostuff])
# We require at least automake 1.11 (needed for 'silent rules').
AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign std-options])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AH_TOP([#ifndef SRD_CONFIG_H
#define SRD_CONFIG_H /* To stop multiple inclusions. */])