configure
changeset 11682 b26412a89fbb
parent 11610 6dea196ecbcb
child 11684 eccdf37f8996
     1.1 --- a/configure	Sat Nov 04 09:44:29 2017 -0700
     1.2 +++ b/configure	Sat Nov 04 15:34:14 2017 -0700
     1.3 @@ -16688,7 +16688,7 @@
     1.4    LIBS="$LIBS -lm"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"
     1.5  fi
     1.6  
     1.7 -    for ac_func in atan atan2 acos asin ceil copysign cos cosf fabs floor log pow scalbn sin sinf sqrt sqrtf tan tanf
     1.8 +    for ac_func in acos acosf asin asinf atan atanf atan2 atan2f ceil ceilf copysign copysignf cos cosf fabs fabsf floor floorf log logf pow powf scalbn scalbnf sin sinf sqrt sqrtf tan tanf
     1.9  do :
    1.10    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    1.11  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    1.12 @@ -21987,7 +21987,7 @@
    1.13  {
    1.14      if test x$enable_video = xyes -a x$enable_video_vulkan = xyes; then
    1.15          case "$host" in
    1.16 -            *-*-androideabi*)
    1.17 +            *-*-android*)
    1.18                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.19  /* end confdefs.h.  */
    1.20  
    1.21 @@ -22515,7 +22515,7 @@
    1.22  fi
    1.23  
    1.24      case "$host" in
    1.25 -         *-*-androideabi*)
    1.26 +         *-*-android*)
    1.27              pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
    1.28              pthread_lib=""
    1.29              ;;
    1.30 @@ -23722,7 +23722,7 @@
    1.31  case "$host" in
    1.32      *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*|*-*-nto*)
    1.33          case "$host" in
    1.34 -            *-*-androideabi*)
    1.35 +            *-*-android*)
    1.36                  # Android
    1.37                  ARCH=android
    1.38                  ANDROID_CFLAGS="-DGL_GLEXT_PROTOTYPES"
    1.39 @@ -23867,17 +23867,24 @@
    1.40          fi
    1.41          # Set up files for the haptic library
    1.42          if test x$enable_haptic = xyes; then
    1.43 -           if test x$use_input_events = xyes; then
    1.44 -             case $ARCH in
    1.45 -               linux)
    1.46 +          case $ARCH in
    1.47 +            linux)
    1.48 +                if test x$use_input_events = xyes; then
    1.49  
    1.50  $as_echo "#define SDL_HAPTIC_LINUX 1" >>confdefs.h
    1.51  
    1.52 -                   SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c"
    1.53 -                   have_haptic=yes
    1.54 -               ;;
    1.55 -             esac
    1.56 -           fi
    1.57 +                    SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c"
    1.58 +                    have_haptic=yes
    1.59 +                fi
    1.60 +            ;;
    1.61 +            android)
    1.62 +
    1.63 +$as_echo "#define SDL_HAPTIC_ANDROID 1" >>confdefs.h
    1.64 +
    1.65 +                SOURCES="$SOURCES $srcdir/src/haptic/android/*.c"
    1.66 +                have_haptic=yes
    1.67 +            ;;
    1.68 +          esac
    1.69          fi
    1.70          # Set up files for the power library
    1.71          if test x$enable_power = xyes; then