1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-18 00:49:50 +02:00

* libcurl.m4: OSX has a problem with their curl-config script.

This commit is contained in:
David Shaw 2004-12-23 16:34:08 +00:00
parent 7c67985457
commit 9756b0fc68
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2004-12-23 David Shaw <dshaw@jabberwocky.com>
* 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.

View File

@ -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