summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2010-07-19 10:16:43 (GMT)
committerToby Tomkins <toby.tomkins@nokia.com>2010-07-20 01:17:57 (GMT)
commit1cbdc34e8c75c835ad678fc25a0b7fea5a6eed58 (patch)
treee8eca2b9b9bdaeb66e417b297098c7738589ac77
parent2694769692659f1de0346ccc53dacae843d8ffeb (diff)
downloadQt-1cbdc34e8c75c835ad678fc25a0b7fea5a6eed58.zip
Qt-1cbdc34e8c75c835ad678fc25a0b7fea5a6eed58.tar.gz
Qt-1cbdc34e8c75c835ad678fc25a0b7fea5a6eed58.tar.bz2
Make configure.exe accept -no-gif again, fix comment
Reviewed-By: Jason McDonald (cherry picked from commit a545e26e1183133f4a66cb9a3bcd9051e2d77894)
-rwxr-xr-xconfigure2
-rw-r--r--tools/configure/configureapp.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 62e0863..2b4cb44 100755
--- a/configure
+++ b/configure
@@ -3636,7 +3636,7 @@ Third Party Libraries:
-no-gif ............ Do not compile GIF reading support.
* -qt-gif ............ Compile GIF reading support.
- See also src/gui/image/qgifhandler.h
+ See also src/gui/image/qgifhandler_p.h
-no-libtiff ........ Do not compile TIFF support.
-qt-libtiff ........ Use the libtiff bundled with Qt.
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 7f2d53b..c3498e3 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -581,6 +581,8 @@ void Configure::parseCmdLine()
// Image formats --------------------------------------------
else if (configCmdLine.at(i) == "-no-gif")
dictionary[ "GIF" ] = "no";
+ else if (configCmdLine.at(i) == "-qt-gif")
+ dictionary[ "GIF" ] = "yes";
else if (configCmdLine.at(i) == "-no-libtiff") {
dictionary[ "TIFF"] = "no";
@@ -1741,7 +1743,7 @@ bool Configure::displayHelp()
desc("ZLIB", "system", "-system-zlib", "Use zlib from the operating system.\nSee http://www.gzip.org/zlib\n");
desc("GIF", "no", "-no-gif", "Do not compile GIF reading support.");
- desc("GIF", "auto", "-qt-gif", "Compile GIF reading support.\nSee also src/gui/image/qgifhandler.h\n");
+ desc("GIF", "auto", "-qt-gif", "Compile GIF reading support.\nSee also src/gui/image/qgifhandler_p.h\n");
desc("LIBPNG", "no", "-no-libpng", "Do not compile PNG support.");
desc("LIBPNG", "qt", "-qt-libpng", "Use the libpng bundled with Qt.");