mirror of
git://git.gnupg.org/gnupg.git
synced 2025-06-13 18:21:03 +02:00
* libcurl.m4: Use $LIBS instead of $LDFLAGS. This should help build
problems on Mingw32.
This commit is contained in:
parent
522ca12084
commit
db82cdd26a
@ -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>
|
2005-02-03 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* libcurl.m4: More comments.
|
* libcurl.m4: More comments.
|
||||||
|
@ -132,8 +132,8 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
|
|||||||
[
|
[
|
||||||
_libcurl_save_cppflags=$CPPFLAGS
|
_libcurl_save_cppflags=$CPPFLAGS
|
||||||
CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
|
||||||
_libcurl_save_ldflags=$LDFLAGS
|
_libcurl_save_libs=$LIBS
|
||||||
LDFLAGS="$LDFLAGS $LIBCURL"
|
LIBS="$LIBS $LIBCURL"
|
||||||
|
|
||||||
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
|
/* 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)
|
]),libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no)
|
||||||
|
|
||||||
CPPFLAGS=$_libcurl_save_cppflags
|
CPPFLAGS=$_libcurl_save_cppflags
|
||||||
LDFLAGS=$_libcurl_save_ldflags
|
LIBS=$_libcurl_save_libs
|
||||||
unset _libcurl_save_cppflags
|
unset _libcurl_save_cppflags
|
||||||
unset _libcurl_save_ldflags
|
unset _libcurl_save_libs
|
||||||
])
|
])
|
||||||
|
|
||||||
if test $libcurl_cv_lib_curl_usable = yes ; then
|
if test $libcurl_cv_lib_curl_usable = yes ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user