diff options
Diffstat (limited to '')
-rw-r--r-- | m4/libcurl.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/libcurl.m4 b/m4/libcurl.m4 index 46dcee272..80620945e 100644 --- a/m4/libcurl.m4 +++ b/m4/libcurl.m4 @@ -32,6 +32,15 @@ AC_DEFUN([GNUPG_CHECK_LIBCURL], fi if test x"$LIBCURL" = "x" ; then LIBCURL=`curl-config --libs` + + # This is so silly, but Apple actually has a bug in their + # curl-config script! + + case "${host}" in + powerpc-apple-darwin*) + LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'` + ;; + esac fi _have_config=yes else |