configure: missing Android config options
authorAaron Carroll <aaronc@cse.unsw.edu.au>
Mon, 18 Feb 2013 07:52:18 +0000 (08:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Feb 2013 07:52:18 +0000 (08:52 +0100)
We need this for the run-time endianness check to pass.  Add supported
clock monotonic while we're at it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure

index 8267e1c0b45209e4da8be760bf71aa4cb6a22083..caaf30e05608adfe1e48a2b872ed816ac36a175c 100755 (executable)
--- a/configure
+++ b/configure
@@ -227,9 +227,11 @@ CYGWIN*)
   ;;
 Android)
   output_sym "CONFIG_32BIT"
+  output_sym "CONFIG_LITTLE_ENDIAN"
   output_sym "CONFIG_SOCKLEN_T"
   output_sym "CONFIG_GETTIMEOFDAY"
   output_sym "CONFIG_CLOCK_GETTIME"
+  output_sym "CONFIG_CLOCK_MONOTONIC"
   echo "CC=$cc" >> $config_host_mak
   echo "EXTFLAGS=$CFLAGS -include config-host.h -DFIO_NO_HAVE_SHM_H -D_GNU_SOURCE" >> $config_host_mak
   exit 0