Diff for /embedaddon/libxml2/acinclude.m4 between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:37:58 version 1.1.1.2, 2014/06/15 19:53:29
Line 2  dnl Like AC_TRY_EVAL but also errors out if the compil Line 2  dnl Like AC_TRY_EVAL but also errors out if the compil
 dnl _any_ output. Some compilers might issue warnings which we want  dnl _any_ output. Some compilers might issue warnings which we want
 dnl to catch.  dnl to catch.
 AC_DEFUN([AC_TRY_EVAL2],  AC_DEFUN([AC_TRY_EVAL2],
[{ (eval echo configure:__oline__: \"[$]$1\") 1>&AC_FD_CC; dnl[{ (eval echo configure:__oline__: \"[$]$1\") 1>&AS_MESSAGE_LOG_FD; dnl
(eval [$]$1) 2>&AC_FD_CC; _out=`eval [$]$1 2>&1` && test "x$_out" = x; }])(eval [$]$1) 2>&AS_MESSAGE_LOG_FD; _out=`eval [$]$1 2>&1` && test "x$_out" = x; }])
   
 dnl Like AC_TRY_COMPILE but calls AC_TRY_EVAL2 instead of AC_TRY_EVAL  dnl Like AC_TRY_COMPILE but calls AC_TRY_EVAL2 instead of AC_TRY_EVAL
 AC_DEFUN([AC_TRY_COMPILE2],  AC_DEFUN([AC_TRY_COMPILE2],
Line 19  if AC_TRY_EVAL2(ac_compile); then Line 19  if AC_TRY_EVAL2(ac_compile); then
   ifelse([$3], , :, [rm -rf conftest*    ifelse([$3], , :, [rm -rf conftest*
   $3])    $3])
 else  else
  echo "configure: failed program was:" >&AC_FD_CC  echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
  cat conftest.$ac_ext >&AC_FD_CC  cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
 ifelse([$4], , , [  rm -rf conftest*  ifelse([$4], , , [  rm -rf conftest*
   $4    $4
 ])dnl  ])dnl

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>