configure.ac
changeset 13389 7bcf24416ca6
parent 13377 9d653cdc1797
child 13526 2b708d63875d
     1.1 --- a/configure.ac	Mon Dec 30 17:56:56 2019 -0800
     1.2 +++ b/configure.ac	Tue Dec 31 10:40:30 2019 -0800
     1.3 @@ -3856,6 +3856,12 @@
     1.4          #    have_haptic=yes
     1.5          #    EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
     1.6          #fi
     1.7 +        # Set up files for the sensor library
     1.8 +        if test x$enable_sensor = xyes; then
     1.9 +            AC_DEFINE(SDL_SENSOR_COREMOTION, 1, [ ])
    1.10 +            SOURCES="$SOURCES $srcdir/src/sensor/coremotion/*.m"
    1.11 +            have_sensor=yes
    1.12 +        fi
    1.13          # Set up files for the power library
    1.14          if test x$enable_power = xyes; then
    1.15              AC_DEFINE(SDL_POWER_UIKIT, 1, [ ])