VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.4/acinclude.m4@ 80268

最後變更 在這個檔案從80268是 65950,由 vboxsync 提交於 8 年 前

libxml 2.9.4: fix export

  • 屬性 svn:eol-style 設為 native
檔案大小: 812 位元組
 
1dnl Like AC_TRY_EVAL but also errors out if the compiler generates
2dnl _any_ output. Some compilers might issue warnings which we want
3dnl to catch.
4AC_DEFUN([AC_TRY_EVAL2],
5[{ (eval echo configure:__oline__: \"[$]$1\") 1>&AS_MESSAGE_LOG_FD; dnl
6(eval [$]$1) 2>&AS_MESSAGE_LOG_FD; _out=`eval [$]$1 2>&1` && test "x$_out" = x; }])
7
8dnl Like AC_TRY_COMPILE but calls AC_TRY_EVAL2 instead of AC_TRY_EVAL
9AC_DEFUN([AC_TRY_COMPILE2],
10[cat > conftest.$ac_ext <<EOF
11[#]line __oline__ "configure"
12#include "confdefs.h"
13[$1]
14int main(void) {
15[$2]
16; return 0; }
17EOF
18if AC_TRY_EVAL2(ac_compile); then
19 ifelse([$3], , :, [rm -rf conftest*
20 $3])
21else
22 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
23 cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
24ifelse([$4], , , [ rm -rf conftest*
25 $4
26])dnl
27fi
28rm -f conftest*])
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette