Revision ceb42de8 configure
b/configure | ||
---|---|---|
1108 | 1108 |
fi |
1109 | 1109 |
|
1110 | 1110 |
########################################## |
1111 |
# preadv probe |
|
1112 |
cat > $TMPC <<EOF |
|
1113 |
#include <sys/types.h> |
|
1114 |
#include <sys/uio.h> |
|
1115 |
#include <unistd.h> |
|
1116 |
int main(void) { preadv; } |
|
1117 |
EOF |
|
1118 |
preadv=no |
|
1119 |
if $cc $ARCH_CFLAGS -o $TMPE $TMPC > /dev/null 2> /dev/null ; then |
|
1120 |
preadv=yes |
|
1121 |
fi |
|
1122 |
|
|
1123 |
########################################## |
|
1111 | 1124 |
# fdt probe |
1112 | 1125 |
if test "$fdt" = "yes" ; then |
1113 | 1126 |
fdt=no |
... | ... | |
1221 | 1234 |
echo "Install blobs $blobs" |
1222 | 1235 |
echo "KVM support $kvm" |
1223 | 1236 |
echo "fdt support $fdt" |
1237 |
echo "preadv support $preadv" |
|
1224 | 1238 |
|
1225 | 1239 |
if test $sdl_too_old = "yes"; then |
1226 | 1240 |
echo "-> Your SDL version is too old - please upgrade to have SDL support" |
... | ... | |
1522 | 1536 |
if test "$iovec" = "yes" ; then |
1523 | 1537 |
echo "#define HAVE_IOVEC 1" >> $config_h |
1524 | 1538 |
fi |
1539 |
if test "$preadv" = "yes" ; then |
|
1540 |
echo "#define HAVE_PREADV 1" >> $config_h |
|
1541 |
fi |
|
1525 | 1542 |
if test "$fdt" = "yes" ; then |
1526 | 1543 |
echo "#define HAVE_FDT 1" >> $config_h |
1527 | 1544 |
echo "FDT_LIBS=-lfdt" >> $config_mak |
Also available in: Unified diff