diff options
author | David Shaw <[email protected]> | 2004-12-23 16:34:08 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-12-23 16:34:08 +0000 |
commit | 9756b0fc68df300c98285ef3172dc9210a4d55b8 (patch) | |
tree | a8f117057d8611656b2ff68c3a0d1d8e6a552210 | |
parent | * readline.m4: Make sure that readline is modern enough to understand (diff) | |
download | gnupg-9756b0fc68df300c98285ef3172dc9210a4d55b8.tar.gz gnupg-9756b0fc68df300c98285ef3172dc9210a4d55b8.zip |
* libcurl.m4: OSX has a problem with their curl-config script.
-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 |