configure.ac
changeset 13184 398670c70a02
parent 13180 60b1290fe381
child 13241 1fb1880d5edf
     1.1 --- a/configure.ac	Thu Oct 24 21:17:52 2019 -0400
     1.2 +++ b/configure.ac	Thu Oct 24 21:41:03 2019 -0400
     1.3 @@ -1335,6 +1335,7 @@
     1.4              AC_DEFINE(SDL_ARM_SIMD_BLITTERS)
     1.5  dnl            SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-simd*.c"
     1.6              SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-simd*.S"
     1.7 +            WARN_ABOUT_ARM_SIMD_ASM_MIT="yes"
     1.8          fi
     1.9      fi
    1.10  }
    1.11 @@ -1373,6 +1374,7 @@
    1.12              AC_DEFINE(SDL_ARM_NEON_BLITTERS)
    1.13  dnl            SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-neon*.c"
    1.14              SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-neon*.S"
    1.15 +            WARN_ABOUT_ARM_NEON_ASM_MIT="yes"
    1.16          fi
    1.17      fi
    1.18  }
    1.19 @@ -4324,6 +4326,23 @@
    1.20  else
    1.21      SUMMARY="${SUMMARY}Using fcitx         : NO\n"
    1.22  fi
    1.23 +
    1.24 +if test x$WARN_ABOUT_ARM_SIMD_ASM_MIT = xyes; then
    1.25 +    SUMMARY="${SUMMARY}\nSDL is being built with ARM SIMD optimizations, which\n"
    1.26 +    SUMMARY="${SUMMARY}uses code licensed under the MIT license. If this is a\n"
    1.27 +    SUMMARY="${SUMMARY}problem, please disable that code by rerunning the\n"
    1.28 +    SUMMARY="${SUMMARY}configure script with:\n"
    1.29 +    SUMMARY="${SUMMARY}\n    --disable-arm-simd\n"
    1.30 +fi
    1.31 +
    1.32 +if test x$WARN_ABOUT_ARM_NEON_ASM_MIT = xyes; then
    1.33 +    SUMMARY="${SUMMARY}\nSDL is being built with ARM NEON optimizations, which\n"
    1.34 +    SUMMARY="${SUMMARY}uses code licensed under the MIT license. If this is a\n"
    1.35 +    SUMMARY="${SUMMARY}problem, please disable that code by rerunning the\n"
    1.36 +    SUMMARY="${SUMMARY}configure script with:\n"
    1.37 +    SUMMARY="${SUMMARY}\n    --disable-arm-neon\n"
    1.38 +fi
    1.39 +
    1.40  AC_CONFIG_COMMANDS([summary], [echo -en "$SUMMARY"], [SUMMARY="$SUMMARY"])
    1.41  
    1.42  AC_OUTPUT