Updated generated configure script.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 09 Jul 2017 23:00:43 +0200
changeset 11134e22ab7022677
parent 11133 f35f1d3141f8
child 11135 86db1a03e959
Updated generated configure script.
configure
     1.1 --- a/configure	Sun Jul 09 23:00:35 2017 +0200
     1.2 +++ b/configure	Sun Jul 09 23:00:43 2017 +0200
     1.3 @@ -21328,6 +21328,32 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 +CheckQNXVideo()
     1.8 +{
     1.9 +    if test x$enable_video = xyes; then
    1.10 +
    1.11 +$as_echo "#define SDL_VIDEO_DRIVER_QNX 1" >>confdefs.h
    1.12 +
    1.13 +        SOURCES="$SOURCES $srcdir/src/video/qnx/*.c"
    1.14 +        have_video=yes
    1.15 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lscreen -lEGL -lGLESv2"
    1.16 +        SUMMARY_video="${SUMMARY_video} qnx"
    1.17 +    fi
    1.18 +}
    1.19 +
    1.20 +CheckQNXAudio()
    1.21 +{
    1.22 +    if test x$enable_audio = xyes; then
    1.23 +
    1.24 +$as_echo "#define SDL_AUDIO_DRIVER_QSA 1" >>confdefs.h
    1.25 +
    1.26 +        SOURCES="$SOURCES $srcdir/src/audio/qsa/*.c"
    1.27 +        have_audio=yes
    1.28 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lasound"
    1.29 +        SUMMARY_audio="${SUMMARY_audio} qsa"
    1.30 +    fi
    1.31 +}
    1.32 +
    1.33  # Check whether --enable-video-opengl was given.
    1.34  if test "${enable_video_opengl+set}" = set; then :
    1.35    enableval=$enable_video_opengl;
    1.36 @@ -22227,6 +22253,10 @@
    1.37              pthread_cflags="-D_REENTRANT"
    1.38              pthread_lib=""
    1.39              ;;
    1.40 +        *-*-nto*)
    1.41 +            pthread_cflags="-D_REENTRANT"
    1.42 +            pthread_lib=""
    1.43 +            ;;
    1.44          *)
    1.45              pthread_cflags="-D_REENTRANT"
    1.46              pthread_lib="-lpthread"
    1.47 @@ -23306,7 +23336,7 @@
    1.48  CheckWarnAll
    1.49  
    1.50  case "$host" in
    1.51 -    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*)
    1.52 +    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*|*-*-nto*)
    1.53          case "$host" in
    1.54              *-raspberry-linux*)
    1.55                  # Raspberry Pi
    1.56 @@ -23371,6 +23401,9 @@
    1.57              *-*-hpux*)          ARCH=hpux ;;
    1.58              *-*-aix*)           ARCH=aix ;;
    1.59              *-*-minix*)         ARCH=minix ;;
    1.60 +            *-*-nto*)           ARCH=nto
    1.61 +                CheckQNXVideo
    1.62 +                ;;
    1.63          esac
    1.64          CheckVisibilityHidden
    1.65          CheckDeclarationAfterStatement
    1.66 @@ -23412,6 +23445,7 @@
    1.67          CheckLinuxVersion
    1.68          CheckRPATH
    1.69          CheckVivanteVideo
    1.70 +
    1.71          # Set up files for the audio library
    1.72          if test x$enable_audio = xyes; then
    1.73            case $ARCH in
    1.74 @@ -23420,6 +23454,7 @@
    1.75  $as_echo "#define SDL_AUDIO_DRIVER_SUNAUDIO 1" >>confdefs.h
    1.76  
    1.77                  SOURCES="$SOURCES $srcdir/src/audio/sun/*.c"
    1.78 +                SUMMARY_audio="${SUMMARY_audio} sun"
    1.79                  have_audio=yes
    1.80              ;;
    1.81              netbsd)  # Don't use this on OpenBSD, it's busted.
    1.82 @@ -23427,6 +23462,7 @@
    1.83  $as_echo "#define SDL_AUDIO_DRIVER_NETBSD 1" >>confdefs.h
    1.84  
    1.85                  SOURCES="$SOURCES $srcdir/src/audio/netbsd/*.c"
    1.86 +                SUMMARY_audio="${SUMMARY_audio} netbsd"
    1.87                  have_audio=yes
    1.88              ;;
    1.89              aix)
    1.90 @@ -23434,6 +23470,7 @@
    1.91  $as_echo "#define SDL_AUDIO_DRIVER_PAUDIO 1" >>confdefs.h
    1.92  
    1.93                  SOURCES="$SOURCES $srcdir/src/audio/paudio/*.c"
    1.94 +                SUMMARY_audio="${SUMMARY_audio} paudio"
    1.95                  have_audio=yes
    1.96              ;;
    1.97              android)
    1.98 @@ -23444,6 +23481,9 @@
    1.99                  SUMMARY_audio="${SUMMARY_audio} android"
   1.100                  have_audio=yes
   1.101              ;;
   1.102 +            nto)
   1.103 +                CheckQNXAudio
   1.104 +            ;;
   1.105            esac
   1.106          fi
   1.107          # Set up files for the joystick library
   1.108 @@ -23758,6 +23798,7 @@
   1.109  $as_echo "#define SDL_AUDIO_DRIVER_HAIKU 1" >>confdefs.h
   1.110  
   1.111              SOURCES="$SOURCES $srcdir/src/audio/haiku/*.cc"
   1.112 +            SUMMARY_audio="${SUMMARY_audio} haiku"
   1.113              have_audio=yes
   1.114          fi
   1.115          # Set up files for the joystick library