summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aclocal.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 6ca398659c..874e1907c7 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2213,7 +2213,8 @@ AC_DEFUN([FIND_GCC],[
# $1 = the variable to set
#
AC_DEFUN([FIND_READELF],[
- if test "$HostOS" != "mingw32"; then
+ if test "$HostOS" != "mingw32" &&
+ test "$HostOS" != "darwin" ; then
FP_ARG_WITH_PATH_GNU_PROG([READELF], [readelf], [readelf])
if test -z "$READELF"; then
AC_MSG_ERROR([cannot identify readelf tool])