diff options
author | Riku Voipio <riku.voipio@iki.fi> | 2009-06-29 17:26:11 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@iki.fi> | 2009-07-08 17:01:08 +0300 |
commit | 67ba57f63da7cfbc6f34917ff5875f67dfbea9ba (patch) | |
tree | a8f5ca3396d1426cf9821029efabcee795c17226 /configure | |
parent | 7b8118e82381b813767a47fed7003a4f949f4226 (diff) | |
download | qemu-67ba57f63da7cfbc6f34917ff5875f67dfbea9ba.zip qemu-67ba57f63da7cfbc6f34917ff5875f67dfbea9ba.tar.gz qemu-67ba57f63da7cfbc6f34917ff5875f67dfbea9ba.tar.bz2 |
configure: remove bogus linux-user check
linux-user=yes is not a reliable identifier that linux-user targets
have been selected. user targets can be selected via --target-list
as well.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -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 |