提交 918a608b 编写于 作者: J Jan Kiszka 提交者: Blue Swirl

build system: Silence failing configure tests

Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
上级 8d316b00
...@@ -822,7 +822,7 @@ cat > $TMPC <<EOF ...@@ -822,7 +822,7 @@ cat > $TMPC <<EOF
#include <xs.h> #include <xs.h>
int main(void) { xs_daemon_open; xc_interface_open; } int main(void) { xs_daemon_open; xc_interface_open; }
EOF EOF
if $cc $ARCH_CFLAGS -c -o $TMPO $TMPC -lxenstore -lxenctrl 2> /dev/null ; then if $cc $ARCH_CFLAGS -c -o $TMPO $TMPC -lxenstore -lxenctrl 2> /dev/null > /dev/null ; then
: :
else else
xen="no" xen="no"
...@@ -920,7 +920,7 @@ EOF ...@@ -920,7 +920,7 @@ EOF
vnc_sasl_cflags="" vnc_sasl_cflags=""
vnc_sasl_libs="-lsasl2" vnc_sasl_libs="-lsasl2"
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $vnc_sasl_cflags $TMPC \ if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $vnc_sasl_cflags $TMPC \
$vnc_sasl_libs 2> /dev/null ; then $vnc_sasl_libs 2> /dev/null > /dev/null ; then
: :
else else
vnc_sasl="no" vnc_sasl="no"
...@@ -1140,7 +1140,7 @@ cat > $TMPC << EOF ...@@ -1140,7 +1140,7 @@ cat > $TMPC << EOF
#include <pthread.h> #include <pthread.h>
int main(void) { pthread_mutex_t lock; return 0; } int main(void) { pthread_mutex_t lock; return 0; }
EOF EOF
if $cc $ARCH_CFLAGS -o $TMPE $PTHREADLIBS $TMPC 2> /dev/null ; then if $cc $ARCH_CFLAGS -o $TMPE $PTHREADLIBS $TMPC 2> /dev/null > /dev/null ; then
pthread=yes pthread=yes
PTHREADLIBS="-lpthread" PTHREADLIBS="-lpthread"
fi fi
...@@ -1184,7 +1184,7 @@ if test "$fdt" = "yes" ; then ...@@ -1184,7 +1184,7 @@ if test "$fdt" = "yes" ; then
cat > $TMPC << EOF cat > $TMPC << EOF
int main(void) { return 0; } int main(void) { return 0; }
EOF EOF
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lfdt 2> /dev/null ; then if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lfdt 2> /dev/null > /dev/null ; then
fdt=yes fdt=yes
fi fi
fi fi
...@@ -1209,7 +1209,7 @@ main(void) ...@@ -1209,7 +1209,7 @@ main(void)
return (unlinkat(AT_FDCWD, "nonexistent_file", 0)); return (unlinkat(AT_FDCWD, "nonexistent_file", 0));
} }
EOF EOF
if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null > /dev/null ; then
atfile=yes atfile=yes
fi fi
fi fi
...@@ -1231,7 +1231,7 @@ main(void) ...@@ -1231,7 +1231,7 @@ main(void)
return inotify_init(); return inotify_init();
} }
EOF EOF
if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null > /dev/null ; then
inotify=yes inotify=yes
fi fi
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册