Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
52908636
Commit
52908636
authored
Oct 21, 2010
by
Roland Levillain
Browse files
Revamp the handling of Qt.
* configure.ac: Here. Use autotroll.m4's features instead of duplicating them.
parent
637d70cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
52908636
2010-10-21 Roland Levillain <roland@lrde.epita.fr>
Revamp the handling of Qt.
* configure.ac: Here.
Use autotroll.m4's features instead of duplicating them.
2010-10-21 Roland Levillain <roland@lrde.epita.fr>
Revamp the handling of Boost libraries.
...
...
configure.ac
View file @
52908636
...
...
@@ -228,23 +228,14 @@ AM_CONDITIONAL(HAVE_MAGICKXX, test "x$oln_have_magickxx" = xyes)
## Qt. ##
## --- ##
oln_have_qt=no
if test "x$with_qt" != xno; then
AT_WITH_QT([+xml], [], [],
AC_MSG_WARN([Qt dependent programs will be disabled.]))
if test "x$QT_VERSION_MAJOR" != x; then
AT_REQUIRE_QT_VERSION([4], AC_MSG_WARN([Your Qt version is too old! Qt dependent programs will be disabled.]),
AC_DEFINE([HAVE_QT], 1,
[Define to 1 if we can use Qt]) oln_have_qt=yes)
if test "x$QT_VERSION_MAJOR" = x4; then
oln_have_qt=yes
fi
fi
AT_WITH_QT([xml], [], [], [], [oln_have_qt=yes])
if test $oln_have_qt = yes; then
AT_REQUIRE_QT_VERSION([4],
AC_MSG_WARN([Qt-dependent programs will be disabled.]),
oln_have_expected_qt_version=yes)
fi
AM_CONDITIONAL([HAVE_QT], [test "x$oln_have_expected_qt_version" = xyes])
AM_CONDITIONAL([HAVE_QT], [test "x$oln_have_qt" = xyes])
## ---------- ##
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment