diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-27 03:41:05 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-27 03:41:05 +0000 |
commit | 06c96d01d2c0b8e069bbf8efa0894a0c002e3553 (patch) | |
tree | 45790c186671b2da788a3c96d3c45c4bf1ffefae /m4 | |
parent | 83e91586ef311072c0727bb97efecfeba4294775 (diff) | |
download | curl-06c96d01d2c0b8e069bbf8efa0894a0c002e3553.tar.gz |
fix LDFLAGS preservation in CURL_CHECK_LIB_ARES
Diffstat (limited to 'm4')
-rw-r--r-- | m4/curl-confopts.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/curl-confopts.m4 b/m4/curl-confopts.m4 index ec58a47f8..81f43bc8a 100644 --- a/m4/curl-confopts.m4 +++ b/m4/curl-confopts.m4 @@ -22,7 +22,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 7 +# serial 8 dnl CURL_CHECK_OPTION_ARES @@ -366,7 +366,7 @@ AC_DEFUN([CURL_CHECK_LIB_ARES], [ if test "$want_ares" = "yes"; then dnl c-ares library support has been requested clean_CPPFLAGS="$CPPFLAGS" - clean_CFLAGS="$CFLAGS" + clean_LDFLAGS="$LDFLAGS" clean_LIBS="$LIBS" embedded_ares="unknown" configure_runpath=`pwd` @@ -424,7 +424,7 @@ AC_DEFUN([CURL_CHECK_LIB_ARES], [ AC_MSG_ERROR([c-ares library defective or too old]) dnl restore initial settings CPPFLAGS="$clean_CPPFLAGS" - CFLAGS="$clean_CFLAGS" + LDFLAGS="$clean_LDFLAGS" LIBS="$clean_LIBS" # prevent usage want_ares="no" |