Commit 918a608b10607b1db528946689c9b591ca59cd7d
Committed by
Blue Swirl
1 parent
8d316b00
build system: Silence failing configure tests
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Showing
1 changed file
with
6 additions
and
6 deletions
configure
| @@ -822,7 +822,7 @@ cat > $TMPC <<EOF | @@ -822,7 +822,7 @@ cat > $TMPC <<EOF | ||
| 822 | #include <xs.h> | 822 | #include <xs.h> |
| 823 | int main(void) { xs_daemon_open; xc_interface_open; } | 823 | int main(void) { xs_daemon_open; xc_interface_open; } |
| 824 | EOF | 824 | EOF |
| 825 | - if $cc $ARCH_CFLAGS -c -o $TMPO $TMPC -lxenstore -lxenctrl 2> /dev/null ; then | 825 | + if $cc $ARCH_CFLAGS -c -o $TMPO $TMPC -lxenstore -lxenctrl 2> /dev/null > /dev/null ; then |
| 826 | : | 826 | : |
| 827 | else | 827 | else |
| 828 | xen="no" | 828 | xen="no" |
| @@ -920,7 +920,7 @@ EOF | @@ -920,7 +920,7 @@ EOF | ||
| 920 | vnc_sasl_cflags="" | 920 | vnc_sasl_cflags="" |
| 921 | vnc_sasl_libs="-lsasl2" | 921 | vnc_sasl_libs="-lsasl2" |
| 922 | if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $vnc_sasl_cflags $TMPC \ | 922 | if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $vnc_sasl_cflags $TMPC \ |
| 923 | - $vnc_sasl_libs 2> /dev/null ; then | 923 | + $vnc_sasl_libs 2> /dev/null > /dev/null ; then |
| 924 | : | 924 | : |
| 925 | else | 925 | else |
| 926 | vnc_sasl="no" | 926 | vnc_sasl="no" |
| @@ -1140,7 +1140,7 @@ cat > $TMPC << EOF | @@ -1140,7 +1140,7 @@ cat > $TMPC << EOF | ||
| 1140 | #include <pthread.h> | 1140 | #include <pthread.h> |
| 1141 | int main(void) { pthread_mutex_t lock; return 0; } | 1141 | int main(void) { pthread_mutex_t lock; return 0; } |
| 1142 | EOF | 1142 | EOF |
| 1143 | - if $cc $ARCH_CFLAGS -o $TMPE $PTHREADLIBS $TMPC 2> /dev/null ; then | 1143 | + if $cc $ARCH_CFLAGS -o $TMPE $PTHREADLIBS $TMPC 2> /dev/null > /dev/null ; then |
| 1144 | pthread=yes | 1144 | pthread=yes |
| 1145 | PTHREADLIBS="-lpthread" | 1145 | PTHREADLIBS="-lpthread" |
| 1146 | fi | 1146 | fi |
| @@ -1184,7 +1184,7 @@ if test "$fdt" = "yes" ; then | @@ -1184,7 +1184,7 @@ if test "$fdt" = "yes" ; then | ||
| 1184 | cat > $TMPC << EOF | 1184 | cat > $TMPC << EOF |
| 1185 | int main(void) { return 0; } | 1185 | int main(void) { return 0; } |
| 1186 | EOF | 1186 | EOF |
| 1187 | - if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lfdt 2> /dev/null ; then | 1187 | + if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lfdt 2> /dev/null > /dev/null ; then |
| 1188 | fdt=yes | 1188 | fdt=yes |
| 1189 | fi | 1189 | fi |
| 1190 | fi | 1190 | fi |
| @@ -1209,7 +1209,7 @@ main(void) | @@ -1209,7 +1209,7 @@ main(void) | ||
| 1209 | return (unlinkat(AT_FDCWD, "nonexistent_file", 0)); | 1209 | return (unlinkat(AT_FDCWD, "nonexistent_file", 0)); |
| 1210 | } | 1210 | } |
| 1211 | EOF | 1211 | EOF |
| 1212 | - if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then | 1212 | + if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null > /dev/null ; then |
| 1213 | atfile=yes | 1213 | atfile=yes |
| 1214 | fi | 1214 | fi |
| 1215 | fi | 1215 | fi |
| @@ -1231,7 +1231,7 @@ main(void) | @@ -1231,7 +1231,7 @@ main(void) | ||
| 1231 | return inotify_init(); | 1231 | return inotify_init(); |
| 1232 | } | 1232 | } |
| 1233 | EOF | 1233 | EOF |
| 1234 | - if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then | 1234 | + if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null > /dev/null ; then |
| 1235 | inotify=yes | 1235 | inotify=yes |
| 1236 | fi | 1236 | fi |
| 1237 | fi | 1237 | fi |