summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-07-09 15:09:27 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-09 15:09:27 -0500
commit2152390dca9975b1aaaa6f0518ebdd359477905b (patch)
tree142ccb7c60f9eba302a5c35715158121e885fded /configure
parent94c5495dd16ca3311cbc95705e58d28a45899d1d (diff)
parent666bcd913b1f3e4be8f92995c217498e05379493 (diff)
downloadqemu-2152390dca9975b1aaaa6f0518ebdd359477905b.tar.gz
qemu-2152390dca9975b1aaaa6f0518ebdd359477905b.tar.bz2
qemu-2152390dca9975b1aaaa6f0518ebdd359477905b.zip
Merge commit 'linux-user/linux-user-for-upstream' into tmp-staging
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 6 insertions, 10 deletions
diff --git a/configure b/configure
index 088e47243e..ed58b0af54 100755
--- a/configure
+++ b/configure
@@ -1249,8 +1249,7 @@ fi
# have syscall stubs for these implemented.
#
atfile=no
-if [ "$linux_user" = "yes" ] ; then
- cat > $TMPC << EOF
+cat > $TMPC << EOF
#define _ATFILE_SOURCE
#include <sys/types.h>
#include <fcntl.h>
@@ -1263,9 +1262,8 @@ main(void)
return (unlinkat(AT_FDCWD, "nonexistent_file", 0));
}
EOF
- if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null > /dev/null ; then
- atfile=yes
- fi
+if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null > /dev/null ; then
+ atfile=yes
fi
# Check for inotify functions when we are building linux-user
@@ -1274,8 +1272,7 @@ fi
# don't provide them even if kernel supports them.
#
inotify=no
-if [ "$linux_user" = "yes" ] ; then
- cat > $TMPC << EOF
+cat > $TMPC << EOF
#include <sys/inotify.h>
int
@@ -1285,9 +1282,8 @@ main(void)
return inotify_init();
}
EOF
- if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null > /dev/null ; then
- inotify=yes
- fi
+if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null > /dev/null ; then
+ inotify=yes
fi
# check if utimensat and futimens are supported