Mark a subsystem as dummy, not disabled, if it was intended to be compiled in.
From Tom Black:
I'm having problems initializing the sensor module. I'm compiling with a standard ./configure && make && sudo make install, and the module says it's enabled, but SDL_Init(SDL_INIT_EVERYTHING) is failing with SDL_GetError() returning "SDL not built with sensor support".
1 AC_DEFUN([AC_CHECK_DEFINE],[dnl
2 AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1,
3 AC_EGREP_CPP([YES_IS_DEFINED], [
8 ], ac_cv_define_$1=yes, ac_cv_define_$1=no)
10 if test "$ac_cv_define_$1" = "yes" ; then
11 AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE])
14 AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE])