lyx_mirror/config
Enrico Forestieri 0c7bd9a57f Check path of Qt tools if qtchooser is detected
The full path of the tools is retained only if the Qt directory is
specified using --with-qt-dir. Now, when qtchooser was detected it
was blindly assumed that the corresponding system tools were being
used. These tools discriminate between Qt4 and Qt5 through the
option -qt=qt4 or -qt=qt5. However, the original Qt tools don't
understand these options, so that if they come first in the PATH,
configuration fails. So, only use those options if we are reasonably
sure that the system Qt is wanted. This is achieved by comparing the
paths of qtchooser and tools as, typically, they are located in the
same directory. In this way, if one prepends the bin directory of a
custom Qt build to PATH (and accordingly adjusts PKG_CONFIG_PATH),
configuration succeeds even if --with-qt-dir is not specified.
2016-07-17 12:31:24 +02:00
..
.gitignore Autotools: configure AR program 2015-05-06 17:08:56 +02:00
common.am Remove support for precompiled headers for autotools 2015-09-25 12:05:40 +02:00
config.rpath put the 0.16.1 code from gettext back 2008-06-09 13:50:05 +00:00
lyxinclude.m4 Use a proper test for detecting usable std::regex 2016-07-06 15:12:53 +02:00
lyxpython.m4 Autotool python support: allow to set version in configure.ac. 2015-03-24 12:09:21 +01:00
Makefile.am Autotools: check for python >= 2.7.0 or >= 3.3.0 2015-03-24 10:34:08 +01:00
pkg.m4 Add pkg.m4 to config/ and autogen.sh. 2006-08-06 20:45:31 +00:00
qt4.m4 Check path of Qt tools if qtchooser is detected 2016-07-17 12:31:24 +02:00
spell.m4 Configure included hunspell with autotools 2016-05-29 17:55:44 -04:00