From f648261393e0092ad25a1e22b21375bdbc39c178 Mon Sep 17 00:00:00 2001 From: Aaron Carroll Date: Thu, 14 Mar 2013 16:57:41 +1100 Subject: [PATCH] Android: remove static Android configuration Android can now be configured dynamically, so remove the static config. For this we need to modify the socklen_t check #includes which appear to be wrong anyway. Signed-off-by: Aaron Carroll Signed-off-by: Jens Axboe --- configure | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/configure b/configure index 965623d7..2859891d 100755 --- a/configure +++ b/configure @@ -233,16 +233,6 @@ CYGWIN*) echo "EXTFLAGS=$CFLAGS -include config-host.h -D_GNU_SOURCE" >> $config_host_mak exit 0 ;; -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 -D_GNU_SOURCE" >> $config_host_mak - exit 0 esac if test ! -z "$cpu" ; then @@ -874,8 +864,7 @@ echo "inet_aton $inet_aton" # socklen_t probe socklen_t="no" cat > $TMPC << EOF -#include -#include +#include int main(int argc, char **argv) { socklen_t len = 0; -- 2.25.1