Author: scantor
Date: Fri Jul 7 20:44:16 2017
New Revision: 1801210
URL: http://svn.apache.org/viewvc?rev=1801210&view=rev
Log:
XERCESC-2084 - Fix AC_LANG_SOURCE quoting to eliminate warnings
Modified:
xerces/c/trunk/m4/cxx_have_lstring.m4
xerces/c/trunk/m4/xerces_curl_prefix.m4
xerces/c/trunk/m4/xerces_icu_prefix.m4
Modified: xerces/c/trunk/m4/cxx_have_lstring.m4
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/m4/cxx_have_lstring.m4?rev=1801210&r1=1801209&r2=1801210&view=diff
==============================================================================
--- xerces/c/trunk/m4/cxx_have_lstring.m4 (original)
+++ xerces/c/trunk/m4/cxx_have_lstring.m4 Fri Jul 7 20:44:16 2017
@@ -14,8 +14,8 @@ ac_cv_cxx_have_lstring,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_COMPILE_IFELSE(
- AC_LANG_SOURCE(
- [[const wchar_t* s=L"wide string";]]),
+ [AC_LANG_SOURCE(
+ [[const wchar_t* s=L"wide string";]])],
ac_cv_cxx_have_lstring=yes, ac_cv_cxx_have_lstring=no)
AC_LANG_RESTORE
])
Modified: xerces/c/trunk/m4/xerces_curl_prefix.m4
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/m4/xerces_curl_prefix.m4?rev=1801210&r1=1801209&r2=1801210&view=diff
==============================================================================
--- xerces/c/trunk/m4/xerces_curl_prefix.m4 (original)
+++ xerces/c/trunk/m4/xerces_curl_prefix.m4 Fri Jul 7 20:44:16 2017
@@ -68,7 +68,7 @@ AC_DEFUN([XERCES_CURL_PREFIX],
LIBS="$curl_libs $LIBS"
AC_LINK_IFELSE(
- AC_LANG_SOURCE[[
+ [AC_LANG_SOURCE([
#include <curl/curl.h>
#include <curl/multi.h>
#include <curl/easy.h>
@@ -78,7 +78,7 @@ AC_DEFUN([XERCES_CURL_PREFIX],
curl_multi_init();
return 0;
}
- ]],
+ ])],
[], [xerces_cv_curl_present=no])
LIBS=$orig_libs
Modified: xerces/c/trunk/m4/xerces_icu_prefix.m4
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/m4/xerces_icu_prefix.m4?rev=1801210&r1=1801209&r2=1801210&view=diff
==============================================================================
--- xerces/c/trunk/m4/xerces_icu_prefix.m4 (original)
+++ xerces/c/trunk/m4/xerces_icu_prefix.m4 Fri Jul 7 20:44:16 2017
@@ -86,7 +86,7 @@ AC_DEFUN([XERCES_ICU_PREFIX],
LIBS="$icu_libs $LIBS"
AC_LINK_IFELSE(
- AC_LANG_SOURCE[[
+ [AC_LANG_SOURCE([
#include <unicode/ucnv.h>
int main ()
@@ -94,7 +94,7 @@ AC_DEFUN([XERCES_ICU_PREFIX],
ucnv_open (0, 0);
return 0;
}
- ]],
+ ])],
[], [xerces_cv_icu_present=no])
LIBS=$orig_libs
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]