Needed for example to compile Qt Jambi.
Signed-off-by: Marius Brehler <[email protected]>
---
rules/qt4.in | 9 +++++++++
rules/qt4.make | 7 ++++++-
2 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/rules/qt4.in b/rules/qt4.in
index bec21ab..5683907 100644
--- a/rules/qt4.in
+++ b/rules/qt4.in
@@ -77,6 +77,15 @@ choice
Build Qt for X11
endchoice
+config QT4_ACCESSIBILITY
+ bool
+ prompt "accessibility"
+ help
+ Compile Accessibility support.
+
+endmenu
+
+
endmenu
if QT4_PLATFORM_EMBEDDED
diff --git a/rules/qt4.make b/rules/qt4.make
index efeb016..71538a2 100644
--- a/rules/qt4.make
+++ b/rules/qt4.make
@@ -89,7 +89,6 @@ QT4_AUTOCONF := \
-release \
-no-rpath \
-no-fast \
- -no-accessibility \
-no-sql-ibase \
-no-sql-mysql \
-no-sql-odbc \
@@ -117,6 +116,12 @@ QT4_AUTOCONF := \
-make libs \
-nomake docs
+ifdef PTXCONF_QT4_ACCESSIBILITY
+QT4_AUTOCONF += -accessibility
+else
+QT4_AUTOCONF += -no-accessibility
+endif
+
QT4_AUTOCONF-$(call ptx/ifdef, PTXCONF_ICONV,y,no) += iconv
QT4_AUTOCONF-$(call ptx/ifdef, PTXCONF_GLOBAL_LARGE_FILE,y,no) += largefile
--
1.7.5.4
--
ptxdist mailing list
[email protected]