diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ChangeLog | 2 | ||||
-rw-r--r-- | m4/libcurl.m4 | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index 321bf0283..1c339e736 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,5 +1,7 @@ 2004-12-23 David Shaw <[email protected]> + * libcurl.m4: OSX has a problem with their curl-config script. + * readline.m4: Make sure that readline is modern enough to understand rl_catch_signals. 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 |