diff mbox

[2/2] configure: Drop CONFIG_ATFILE test

Message ID 1370126121-22975-3-git-send-email-peter.maydell@linaro.org
State Accepted
Commit 66926895433a56b657f79d14f371831cf79fd43e
Headers show

Commit Message

Peter Maydell June 1, 2013, 10:35 p.m. UTC
Nobody uses the CONFIG_ATFILE test now, so just drop it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 configure |   26 --------------------------
 1 file changed, 26 deletions(-)
diff mbox

Patch

diff --git a/configure b/configure
index 918dc36..034e3c3 100755
--- a/configure
+++ b/configure
@@ -2595,29 +2595,6 @@  EOF
   fi
 fi
 
-#
-# Check for xxxat() functions when we are building linux-user
-# emulator.  This is done because older glibc versions don't
-# have syscall stubs for these implemented.
-#
-atfile=no
-cat > $TMPC << EOF
-#define _ATFILE_SOURCE
-#include <sys/types.h>
-#include <fcntl.h>
-#include <unistd.h>
-
-int
-main(void)
-{
-	/* try to unlink nonexisting file */
-	return (unlinkat(AT_FDCWD, "nonexistent_file", 0));
-}
-EOF
-if compile_prog "" "" ; then
-  atfile=yes
-fi
-
 # Check for inotify functions when we are building linux-user
 # emulator.  This is done because older glibc versions don't
 # have syscall stubs for these implemented.  In that case we
@@ -3758,9 +3735,6 @@  fi
 if test "$curses" = "yes" ; then
   echo "CONFIG_CURSES=y" >> $config_host_mak
 fi
-if test "$atfile" = "yes" ; then
-  echo "CONFIG_ATFILE=y" >> $config_host_mak
-fi
 if test "$utimens" = "yes" ; then
   echo "CONFIG_UTIMENSAT=y" >> $config_host_mak
 fi