Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: third_party/libxml/src/acinclude.m4

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libxml/src/acconfig.h ('k') | third_party/libxml/src/aclocal.m4 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl Like AC_TRY_EVAL but also errors out if the compiler generates 1 dnl Like AC_TRY_EVAL but also errors out if the compiler generates
2 dnl _any_ output. Some compilers might issue warnings which we want 2 dnl _any_ output. Some compilers might issue warnings which we want
3 dnl to catch. 3 dnl to catch.
4 AC_DEFUN([AC_TRY_EVAL2], 4 AC_DEFUN([AC_TRY_EVAL2],
5 [{ (eval echo configure:__oline__: \"[$]$1\") 1>&AC_FD_CC; dnl 5 [{ (eval echo configure:__oline__: \"[$]$1\") 1>&AS_MESSAGE_LOG_FD; dnl
6 (eval [$]$1) 2>&AC_FD_CC; _out=`eval [$]$1 2>&1` && test "x$_out" = x; }]) 6 (eval [$]$1) 2>&AS_MESSAGE_LOG_FD; _out=`eval [$]$1 2>&1` && test "x$_out" = x; }])
7 7
8 dnl Like AC_TRY_COMPILE but calls AC_TRY_EVAL2 instead of AC_TRY_EVAL 8 dnl Like AC_TRY_COMPILE but calls AC_TRY_EVAL2 instead of AC_TRY_EVAL
9 AC_DEFUN([AC_TRY_COMPILE2], 9 AC_DEFUN([AC_TRY_COMPILE2],
10 [cat > conftest.$ac_ext <<EOF 10 [cat > conftest.$ac_ext <<EOF
11 [#]line __oline__ "configure" 11 [#]line __oline__ "configure"
12 #include "confdefs.h" 12 #include "confdefs.h"
13 [$1] 13 [$1]
14 int main(void) { 14 int main(void) {
15 [$2] 15 [$2]
16 ; return 0; } 16 ; return 0; }
17 EOF 17 EOF
18 if AC_TRY_EVAL2(ac_compile); then 18 if AC_TRY_EVAL2(ac_compile); then
19 ifelse([$3], , :, [rm -rf conftest* 19 ifelse([$3], , :, [rm -rf conftest*
20 $3]) 20 $3])
21 else 21 else
22 echo "configure: failed program was:" >&AC_FD_CC 22 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
23 cat conftest.$ac_ext >&AC_FD_CC 23 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
24 ifelse([$4], , , [ rm -rf conftest* 24 ifelse([$4], , , [ rm -rf conftest*
25 $4 25 $4
26 ])dnl 26 ])dnl
27 fi 27 fi
28 rm -f conftest*]) 28 rm -f conftest*])
OLDNEW
« no previous file with comments | « third_party/libxml/src/acconfig.h ('k') | third_party/libxml/src/aclocal.m4 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698