Commit 7f8fc1c9 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo Committed by Ben Gamari

aclocal.m4: Do not check for readelf on darwin

Tested on darwin and linux. Not tested on mingw32.
parent 525ada5a
...@@ -2213,7 +2213,8 @@ AC_DEFUN([FIND_GCC],[ ...@@ -2213,7 +2213,8 @@ AC_DEFUN([FIND_GCC],[
# $1 = the variable to set # $1 = the variable to set
# #
if test "$HostOS" != "mingw32"; then if test "$HostOS" != "mingw32" &&
test "$HostOS" != "darwin" ; then
FP_ARG_WITH_PATH_GNU_PROG([READELF], [readelf], [readelf]) FP_ARG_WITH_PATH_GNU_PROG([READELF], [readelf], [readelf])
if test -z "$READELF"; then if test -z "$READELF"; then
AC_MSG_ERROR([cannot identify readelf tool]) AC_MSG_ERROR([cannot identify readelf tool])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment