* libcurl.m4: OSX has a problem with their curl-config script.
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 23 Dec 2004 16:34:08 +0000 (16:34 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 23 Dec 2004 16:34:08 +0000 (16:34 +0000)
m4/ChangeLog
m4/libcurl.m4

index 321bf02..1c339e7 100644 (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.
 
index 46dcee2..8062094 100644 (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