configure.in
changeset 10984 fb6d770b08f9
parent 10983 9f9160df4f1f
child 10985 f6970c9a4434
     1.1 --- a/configure.in	Mon May 01 18:39:05 2017 -0400
     1.2 +++ b/configure.in	Tue May 02 11:16:58 2017 -0400
     1.3 @@ -276,7 +276,7 @@
     1.4      AC_CHECK_LIB(iconv, iconv_open, [LIBS="$LIBS -liconv"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"])
     1.5      AC_CHECK_FUNCS(iconv)
     1.6  
     1.7 -    AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE([HAVE_SA_SIGACTION], [], [Description])], ,[#include <signal.h>])
     1.8 +    AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE([HAVE_SA_SIGACTION], 1, [Description])], ,[#include <signal.h>])
     1.9  fi
    1.10  
    1.11  dnl AC_CHECK_SIZEOF(void*)
    1.12 @@ -1479,8 +1479,8 @@
    1.13            #endif
    1.14          ],[
    1.15          ],[
    1.16 -        AC_DEFINE(SDL_VIDEO_DRIVER_NACL)
    1.17 -        AC_DEFINE(SDL_AUDIO_DRIVER_NACL)
    1.18 +        AC_DEFINE(SDL_VIDEO_DRIVER_NACL, 1, [ ])
    1.19 +        AC_DEFINE(SDL_AUDIO_DRIVER_NACL, 1, [ ])
    1.20          AC_DEFINE(HAVE_POW, 1, [ ])
    1.21          AC_DEFINE(HAVE_OPENGLES2, 1, [ ])
    1.22          AC_DEFINE(SDL_VIDEO_OPENGL_ES2, 1, [ ])
    1.23 @@ -1619,7 +1619,7 @@
    1.24              ],[
    1.25              ],[
    1.26              have_const_param_XextAddDisplay=yes
    1.27 -            AC_DEFINE([SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY], [], [Description])
    1.28 +            AC_DEFINE([SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY], 1, [ ])
    1.29              ])
    1.30              AC_MSG_RESULT($have_const_param_XextAddDisplay)
    1.31  
    1.32 @@ -1637,7 +1637,7 @@
    1.33  XFreeEventData(display, cookie);
    1.34              ],[
    1.35                  have_XGenericEvent=yes
    1.36 -                AC_DEFINE([SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS], [], [Description])
    1.37 +                AC_DEFINE([SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS], 1, [ ])
    1.38              ])
    1.39              AC_MSG_RESULT($have_XGenericEvent)
    1.40  
    1.41 @@ -2605,7 +2605,7 @@
    1.42                    sem_timedwait(NULL, NULL);
    1.43                  ],[
    1.44                  have_sem_timedwait=yes
    1.45 -                AC_DEFINE([HAVE_SEM_TIMEDWAIT], [], [Description])
    1.46 +                AC_DEFINE([HAVE_SEM_TIMEDWAIT], 1, [ ])
    1.47                  ])
    1.48                  AC_MSG_RESULT($have_sem_timedwait)
    1.49              fi
    1.50 @@ -3502,7 +3502,7 @@
    1.51          
    1.52          # Set up files for the timer library
    1.53          if test x$enable_timers = xyes; then
    1.54 -            AC_DEFINE(SDL_TIMER_UNIX)
    1.55 +            AC_DEFINE(SDL_TIMER_UNIX, 1, [ ])
    1.56              SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
    1.57              have_timers=yes
    1.58          fi