gpg2/gnupg-broken-curl-test.patch
Sascha Peilicke 36d42ea3af Accepting request 79286 from Base:System
- libcurl.m4 tests were broken, resulting in the usage
  of a "fake" internal libcurl. (forwarded request 79279 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/79286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpg2?expand=0&rev=55
2011-08-19 07:13:11 +00:00

26 lines
882 B
Diff

--- m4/libcurl.m4.orig
+++ m4/libcurl.m4
@@ -68,13 +68,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
_libcurl_try_link=yes
- if test -d "$_libcurl_with" ; then
- LIBCURL_CPPFLAGS="-I$withval/include"
- _libcurl_ldflags="-L$withval/lib"
- AC_PATH_PROG([_libcurl_config],["$withval/bin/curl-config"])
- else
AC_PATH_PROG([_libcurl_config],[curl-config])
- fi
if test x$_libcurl_config != "x" ; then
AC_CACHE_CHECK([for the version of libcurl],
@@ -141,7 +135,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
_libcurl_save_libs=$LIBS
LIBS="$LIBCURL $LIBS"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[include <curl/curl.h>]],[[
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <curl/curl.h>]],[[
/* Try and use a few common options to force a failure if we are
missing symbols or cannot link. */
int x;