configure.in
changeset 10983 9f9160df4f1f
parent 10921 f426dbef4aa0
child 10984 fb6d770b08f9
     1.1 --- a/configure.in	Sat Apr 29 22:50:35 2017 +0200
     1.2 +++ b/configure.in	Mon May 01 18:39:05 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)], ,[#include <signal.h>])
     1.8 +    AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE([HAVE_SA_SIGACTION], [], [Description])], ,[#include <signal.h>])
     1.9  fi
    1.10  
    1.11  dnl AC_CHECK_SIZEOF(void*)
    1.12 @@ -1619,7 +1619,7 @@
    1.13              ],[
    1.14              ],[
    1.15              have_const_param_XextAddDisplay=yes
    1.16 -            AC_DEFINE(SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY)
    1.17 +            AC_DEFINE([SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY], [], [Description])
    1.18              ])
    1.19              AC_MSG_RESULT($have_const_param_XextAddDisplay)
    1.20  
    1.21 @@ -1637,7 +1637,7 @@
    1.22  XFreeEventData(display, cookie);
    1.23              ],[
    1.24                  have_XGenericEvent=yes
    1.25 -                AC_DEFINE(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS)
    1.26 +                AC_DEFINE([SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS], [], [Description])
    1.27              ])
    1.28              AC_MSG_RESULT($have_XGenericEvent)
    1.29  
    1.30 @@ -1751,7 +1751,7 @@
    1.31  XITouchClassInfo *t;
    1.32              	],[
    1.33              	have_xinput2_multitouch=yes
    1.34 -            	AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH)
    1.35 +            	AC_DEFINE([SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH], [], [Description])
    1.36                  SUMMARY_video_x11="${SUMMARY_video_x11} xinput2_multitouch"
    1.37              	])
    1.38              	AC_MSG_RESULT($have_xinput2_multitouch)
    1.39 @@ -2605,7 +2605,7 @@
    1.40                    sem_timedwait(NULL, NULL);
    1.41                  ],[
    1.42                  have_sem_timedwait=yes
    1.43 -                AC_DEFINE(HAVE_SEM_TIMEDWAIT)
    1.44 +                AC_DEFINE([HAVE_SEM_TIMEDWAIT], [], [Description])
    1.45                  ])
    1.46                  AC_MSG_RESULT($have_sem_timedwait)
    1.47              fi
    1.48 @@ -3345,7 +3345,7 @@
    1.49          fi
    1.50          # The Haiku platform requires special setup.
    1.51          SOURCES="$srcdir/src/main/haiku/*.cc $SOURCES"
    1.52 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
    1.53 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding -lstdc++.r4"
    1.54          ;;
    1.55      arm*-apple-darwin*|*-ios-*)
    1.56          ARCH=ios