Remove -audio-backend command line option

This option hasn't done anything for quite some time, let's
get rid of it.

Change-Id: Ic6f2830aaf69ba2d054ce21f0d144a61ddf5d06b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
Lars Knoll 2016-05-31 12:02:43 +02:00
parent d54b77d554
commit f35560ff12
3 changed files with 2 additions and 34 deletions

17
configure vendored
View File

@ -665,7 +665,6 @@ CFG_BUILD_PARTS=""
CFG_NOBUILD_PARTS="" CFG_NOBUILD_PARTS=""
CFG_SKIP_MODULES="" CFG_SKIP_MODULES=""
CFG_COMPILE_EXAMPLES=yes CFG_COMPILE_EXAMPLES=yes
CFG_AUDIO_BACKEND=auto
CFG_QML_DEBUG=yes CFG_QML_DEBUG=yes
CFG_PKGCONFIG=auto CFG_PKGCONFIG=auto
CFG_STACK_PROTECTOR_STRONG=auto CFG_STACK_PROTECTOR_STRONG=auto
@ -2055,13 +2054,6 @@ while [ "$#" -gt 0 ]; do
silent) silent)
CFG_SILENT="$VAL" CFG_SILENT="$VAL"
;; ;;
audio-backend)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_AUDIO_BACKEND="$VAL"
else
UNKNOWN_OPT=yes
fi
;;
icu) icu)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_ICU="$VAL" CFG_ICU="$VAL"
@ -5423,10 +5415,6 @@ if [ "$CFG_ALSA" = "auto" ]; then
fi fi
fi fi
if [ "$CFG_AUDIO_BACKEND" = "auto" ]; then
CFG_AUDIO_BACKEND=yes
fi
# detect GStreamer support # detect GStreamer support
if [ "$CFG_GSTREAMER" = "auto" ] || [ "$CFG_GSTREAMER" = "yes" ]; then if [ "$CFG_GSTREAMER" = "auto" ] || [ "$CFG_GSTREAMER" = "yes" ]; then
if compileTest unix/gstreamer "GStreamer 1.0" -config gst-1.0; then if compileTest unix/gstreamer "GStreamer 1.0" -config gst-1.0; then
@ -5811,11 +5799,6 @@ fi
CFG_CONCURRENT="yes" CFG_CONCURRENT="yes"
QT_CONFIG="$QT_CONFIG concurrent" QT_CONFIG="$QT_CONFIG concurrent"
# ### Vestige
if [ "$CFG_AUDIO_BACKEND" = "yes" ]; then
QT_CONFIG="$QT_CONFIG audio-backend"
fi
# ### Vestige # ### Vestige
if [ "$CFG_WEBKIT" = "debug" ]; then if [ "$CFG_WEBKIT" = "debug" ]; then
QMAKE_CONFIG="$QMAKE_CONFIG webkit-debug" QMAKE_CONFIG="$QMAKE_CONFIG webkit-debug"

View File

@ -4,14 +4,14 @@
# A typical configure line looks like this: # A typical configure line looks like this:
# <path-to-qt-src>/configure -opensource -confirm-license -release -make libs -make examples -optimized-qmake # <path-to-qt-src>/configure -opensource -confirm-license -release -make libs -make examples -optimized-qmake
# -platform linux-g++-64 -device linux-arm-hisilicon-hix5hd2-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- # -platform linux-g++-64 -device linux-arm-hisilicon-hix5hd2-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf-
# -opengl es2 -no-qml-debug -no-directfb -no-kms -no-xcb -no-alsa -no-audio-backend -qt-zlib -qt-libjpeg -qt-libpng # -opengl es2 -no-qml-debug -no-directfb -no-kms -no-xcb -no-alsa -qt-zlib -qt-libjpeg -qt-libpng
# -no-icu -no-nis -sysroot <path-to-rootfs> -extprefix <path-to-targetinstall> -hostprefix <path-to-hostinstall> # -no-icu -no-nis -sysroot <path-to-rootfs> -extprefix <path-to-targetinstall> -hostprefix <path-to-hostinstall>
# -prefix <path-to-prefix> # -prefix <path-to-prefix>
# #
# such as # such as
# ./configure -opensource -confirm-license -release -make libs -make examples -optimized-qmake # ./configure -opensource -confirm-license -release -make libs -make examples -optimized-qmake
# -platform linux-g++-64 -device linux-arm-hisilicon-hix5hd2-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- # -platform linux-g++-64 -device linux-arm-hisilicon-hix5hd2-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf-
# -opengl es2 -no-qml-debug -no-directfb -no-kms -no-xcb -no-alsa -no-audio-backend -qt-zlib -qt-libjpeg -qt-libpng # -opengl es2 -no-qml-debug -no-directfb -no-kms -no-xcb -no-alsa -qt-zlib -qt-libjpeg -qt-libpng
# -no-icu -no-nis -sysroot /home/abc/project/sysbase # -no-icu -no-nis -sysroot /home/abc/project/sysbase
# -extprefix /home/abc/project/sysbase/qt_install # -extprefix /home/abc/project/sysbase/qt_install
# -hostprefix /home/abc/project/qtdir/qtbase_hostinstall # -hostprefix /home/abc/project/qtdir/qtbase_hostinstall

View File

@ -155,7 +155,6 @@ Configure::Configure(int& argc, char** argv) : verbose(0)
dictionary[ "AVX2" ] = "auto"; dictionary[ "AVX2" ] = "auto";
dictionary[ "AVX512" ] = "auto"; dictionary[ "AVX512" ] = "auto";
dictionary[ "SYNCQT" ] = "auto"; dictionary[ "SYNCQT" ] = "auto";
dictionary[ "AUDIO_BACKEND" ] = "auto";
dictionary[ "WMF_BACKEND" ] = "no"; dictionary[ "WMF_BACKEND" ] = "no";
dictionary[ "WMSDK" ] = "auto"; dictionary[ "WMSDK" ] = "auto";
dictionary[ "QML_DEBUG" ] = "yes"; dictionary[ "QML_DEBUG" ] = "yes";
@ -830,10 +829,6 @@ void Configure::parseCmdLine()
dictionary[ "DBUS" ] = "linked"; dictionary[ "DBUS" ] = "linked";
} else if (configCmdLine.at(i) == "-dbus-runtime") { } else if (configCmdLine.at(i) == "-dbus-runtime") {
dictionary[ "DBUS" ] = "runtime"; dictionary[ "DBUS" ] = "runtime";
} else if (configCmdLine.at(i) == "-audio-backend") {
dictionary[ "AUDIO_BACKEND" ] = "yes";
} else if (configCmdLine.at(i) == "-no-audio-backend") {
dictionary[ "AUDIO_BACKEND" ] = "no";
} else if (configCmdLine.at(i) == "-wmf-backend") { } else if (configCmdLine.at(i) == "-wmf-backend") {
dictionary[ "WMF_BACKEND" ] = "yes"; dictionary[ "WMF_BACKEND" ] = "yes";
} else if (configCmdLine.at(i) == "-no-wmf-backend") { } else if (configCmdLine.at(i) == "-no-wmf-backend") {
@ -1876,8 +1871,6 @@ bool Configure::displayHelp()
desc("DBUS", "no", "-no-dbus", "Do not compile in D-Bus support."); desc("DBUS", "no", "-no-dbus", "Do not compile in D-Bus support.");
desc("DBUS", "linked", "-dbus-linked", "Compile in D-Bus support and link to libdbus-1.\n"); desc("DBUS", "linked", "-dbus-linked", "Compile in D-Bus support and link to libdbus-1.\n");
desc("DBUS", "runtime", "-dbus-runtime", "Compile in D-Bus support and load libdbus-1\ndynamically."); desc("DBUS", "runtime", "-dbus-runtime", "Compile in D-Bus support and load libdbus-1\ndynamically.");
desc("AUDIO_BACKEND", "no","-no-audio-backend", "Do not compile in the platform audio backend into\nQt Multimedia.");
desc("AUDIO_BACKEND", "yes","-audio-backend", "Compile in the platform audio backend into Qt Multimedia.\n");
desc("WMF_BACKEND", "no","-no-wmf-backend", "Do not compile in the windows media foundation backend\ninto Qt Multimedia."); desc("WMF_BACKEND", "no","-no-wmf-backend", "Do not compile in the windows media foundation backend\ninto Qt Multimedia.");
desc("WMF_BACKEND", "yes","-wmf-backend", "Compile in the windows media foundation backend into Qt Multimedia.\n"); desc("WMF_BACKEND", "yes","-wmf-backend", "Compile in the windows media foundation backend into Qt Multimedia.\n");
desc("QML_DEBUG", "no", "-no-qml-debug", "Do not build the in-process QML debugging support."); desc("QML_DEBUG", "no", "-no-qml-debug", "Do not build the in-process QML debugging support.");
@ -2145,8 +2138,6 @@ bool Configure::checkAvailability(const QString &part)
&& !QStandardPaths::findExecutable(QStringLiteral("xgConsole.exe")).isEmpty(); && !QStandardPaths::findExecutable(QStringLiteral("xgConsole.exe")).isEmpty();
} else if (part == "WMSDK") { } else if (part == "WMSDK") {
available = findFile("wmsdk.h"); available = findFile("wmsdk.h");
} else if (part == "AUDIO_BACKEND") {
available = true;
} else if (part == "WMF_BACKEND") { } else if (part == "WMF_BACKEND") {
available = findFile("mfapi.h") && findFile("mf.lib"); available = findFile("mfapi.h") && findFile("mf.lib");
} else if (part == "DIRECTWRITE") { } else if (part == "DIRECTWRITE") {
@ -2317,8 +2308,6 @@ void Configure::autoDetection()
dictionary["DBUS"] = checkAvailability("DBUS") ? "linked" : "runtime"; dictionary["DBUS"] = checkAvailability("DBUS") ? "linked" : "runtime";
if (dictionary["QML_DEBUG"] == "auto") if (dictionary["QML_DEBUG"] == "auto")
dictionary["QML_DEBUG"] = dictionary["QML"] == "yes" ? "yes" : "no"; dictionary["QML_DEBUG"] = dictionary["QML"] == "yes" ? "yes" : "no";
if (dictionary["AUDIO_BACKEND"] == "auto")
dictionary["AUDIO_BACKEND"] = checkAvailability("AUDIO_BACKEND") ? "yes" : "no";
if (dictionary["WMF_BACKEND"] == "auto") if (dictionary["WMF_BACKEND"] == "auto")
dictionary["WMF_BACKEND"] = checkAvailability("WMF_BACKEND") ? "yes" : "no"; dictionary["WMF_BACKEND"] = checkAvailability("WMF_BACKEND") ? "yes" : "no";
if (dictionary["WMSDK"] == "auto") if (dictionary["WMSDK"] == "auto")
@ -2772,10 +2761,6 @@ void Configure::generateOutputVars()
else if (dictionary[ "DBUS" ] == "linked") else if (dictionary[ "DBUS" ] == "linked")
qtConfig += "dbus dbus-linked"; qtConfig += "dbus dbus-linked";
// ### Vestige
if (dictionary["AUDIO_BACKEND"] == "yes")
qtConfig += "audio-backend";
if (dictionary["QML_DEBUG"] == "no") if (dictionary["QML_DEBUG"] == "no")
qtConfig += "no-qml-debug"; qtConfig += "no-qml-debug";