Updated generated configure script.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
diff --git a/configure b/configure
index 4052606..5bb39e7 100755
--- a/configure
+++ b/configure
@@ -21328,6 +21328,32 @@ $as_echo "#define SDL_VIDEO_DRIVER_DUMMY 1" >>confdefs.h
fi
}
+CheckQNXVideo()
+{
+ if test x$enable_video = xyes; then
+
+$as_echo "#define SDL_VIDEO_DRIVER_QNX 1" >>confdefs.h
+
+ SOURCES="$SOURCES $srcdir/src/video/qnx/*.c"
+ have_video=yes
+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lscreen -lEGL -lGLESv2"
+ SUMMARY_video="${SUMMARY_video} qnx"
+ fi
+}
+
+CheckQNXAudio()
+{
+ if test x$enable_audio = xyes; then
+
+$as_echo "#define SDL_AUDIO_DRIVER_QSA 1" >>confdefs.h
+
+ SOURCES="$SOURCES $srcdir/src/audio/qsa/*.c"
+ have_audio=yes
+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lasound"
+ SUMMARY_audio="${SUMMARY_audio} qsa"
+ fi
+}
+
# Check whether --enable-video-opengl was given.
if test "${enable_video_opengl+set}" = set; then :
enableval=$enable_video_opengl;
@@ -22227,6 +22253,10 @@ fi
pthread_cflags="-D_REENTRANT"
pthread_lib=""
;;
+ *-*-nto*)
+ pthread_cflags="-D_REENTRANT"
+ pthread_lib=""
+ ;;
*)
pthread_cflags="-D_REENTRANT"
pthread_lib="-lpthread"
@@ -23306,7 +23336,7 @@ fi
CheckWarnAll
case "$host" in
- *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*)
+ *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*|*-*-nto*)
case "$host" in
*-raspberry-linux*)
# Raspberry Pi
@@ -23371,6 +23401,9 @@ case "$host" in
*-*-hpux*) ARCH=hpux ;;
*-*-aix*) ARCH=aix ;;
*-*-minix*) ARCH=minix ;;
+ *-*-nto*) ARCH=nto
+ CheckQNXVideo
+ ;;
esac
CheckVisibilityHidden
CheckDeclarationAfterStatement
@@ -23412,6 +23445,7 @@ case "$host" in
CheckLinuxVersion
CheckRPATH
CheckVivanteVideo
+
# Set up files for the audio library
if test x$enable_audio = xyes; then
case $ARCH in
@@ -23420,6 +23454,7 @@ case "$host" in
$as_echo "#define SDL_AUDIO_DRIVER_SUNAUDIO 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/audio/sun/*.c"
+ SUMMARY_audio="${SUMMARY_audio} sun"
have_audio=yes
;;
netbsd) # Don't use this on OpenBSD, it's busted.
@@ -23427,6 +23462,7 @@ $as_echo "#define SDL_AUDIO_DRIVER_SUNAUDIO 1" >>confdefs.h
$as_echo "#define SDL_AUDIO_DRIVER_NETBSD 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/audio/netbsd/*.c"
+ SUMMARY_audio="${SUMMARY_audio} netbsd"
have_audio=yes
;;
aix)
@@ -23434,6 +23470,7 @@ $as_echo "#define SDL_AUDIO_DRIVER_NETBSD 1" >>confdefs.h
$as_echo "#define SDL_AUDIO_DRIVER_PAUDIO 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/audio/paudio/*.c"
+ SUMMARY_audio="${SUMMARY_audio} paudio"
have_audio=yes
;;
android)
@@ -23444,6 +23481,9 @@ $as_echo "#define SDL_AUDIO_DRIVER_ANDROID 1" >>confdefs.h
SUMMARY_audio="${SUMMARY_audio} android"
have_audio=yes
;;
+ nto)
+ CheckQNXAudio
+ ;;
esac
fi
# Set up files for the joystick library
@@ -23758,6 +23798,7 @@ fi
$as_echo "#define SDL_AUDIO_DRIVER_HAIKU 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/audio/haiku/*.cc"
+ SUMMARY_audio="${SUMMARY_audio} haiku"
have_audio=yes
fi
# Set up files for the joystick library