mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
fix LDFLAGS preservation in CURL_CHECK_LIB_ARES
This commit is contained in:
parent
83e91586ef
commit
06c96d01d2
@ -22,7 +22,7 @@
|
|||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 7
|
# serial 8
|
||||||
|
|
||||||
|
|
||||||
dnl CURL_CHECK_OPTION_ARES
|
dnl CURL_CHECK_OPTION_ARES
|
||||||
@ -366,7 +366,7 @@ AC_DEFUN([CURL_CHECK_LIB_ARES], [
|
|||||||
if test "$want_ares" = "yes"; then
|
if test "$want_ares" = "yes"; then
|
||||||
dnl c-ares library support has been requested
|
dnl c-ares library support has been requested
|
||||||
clean_CPPFLAGS="$CPPFLAGS"
|
clean_CPPFLAGS="$CPPFLAGS"
|
||||||
clean_CFLAGS="$CFLAGS"
|
clean_LDFLAGS="$LDFLAGS"
|
||||||
clean_LIBS="$LIBS"
|
clean_LIBS="$LIBS"
|
||||||
embedded_ares="unknown"
|
embedded_ares="unknown"
|
||||||
configure_runpath=`pwd`
|
configure_runpath=`pwd`
|
||||||
@ -424,7 +424,7 @@ AC_DEFUN([CURL_CHECK_LIB_ARES], [
|
|||||||
AC_MSG_ERROR([c-ares library defective or too old])
|
AC_MSG_ERROR([c-ares library defective or too old])
|
||||||
dnl restore initial settings
|
dnl restore initial settings
|
||||||
CPPFLAGS="$clean_CPPFLAGS"
|
CPPFLAGS="$clean_CPPFLAGS"
|
||||||
CFLAGS="$clean_CFLAGS"
|
LDFLAGS="$clean_LDFLAGS"
|
||||||
LIBS="$clean_LIBS"
|
LIBS="$clean_LIBS"
|
||||||
# prevent usage
|
# prevent usage
|
||||||
want_ares="no"
|
want_ares="no"
|
||||||
|
Loading…
Reference in New Issue
Block a user