1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-08 23:37:47 +02:00

* libcurl.m4: Use $LIBS instead of $LDFLAGS. This should help build

problems on Mingw32.
This commit is contained in:
David Shaw 2005-03-01 00:05:16 +00:00
parent 522ca12084
commit db82cdd26a
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-02-28 David Shaw <dshaw@jabberwocky.com>
* libcurl.m4: Use $LIBS instead of $LDFLAGS. This should help
build problems on Mingw32.
2005-02-03 David Shaw <dshaw@jabberwocky.com>
* libcurl.m4: More comments.

View File

@ -132,8 +132,8 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
[
_libcurl_save_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
_libcurl_save_ldflags=$LDFLAGS
LDFLAGS="$LDFLAGS $LIBCURL"
_libcurl_save_libs=$LIBS
LIBS="$LIBS $LIBCURL"
AC_LINK_IFELSE(AC_LANG_PROGRAM([#include <curl/curl.h>],[
/* Try and use a few common options to force a failure if we are
@ -149,9 +149,9 @@ x=CURLOPT_VERBOSE;
]),libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no)
CPPFLAGS=$_libcurl_save_cppflags
LDFLAGS=$_libcurl_save_ldflags
LIBS=$_libcurl_save_libs
unset _libcurl_save_cppflags
unset _libcurl_save_ldflags
unset _libcurl_save_libs
])
if test $libcurl_cv_lib_curl_usable = yes ; then