mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Qt config fix reported by Mike Meredith
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5882 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
93aabdb0d8
commit
0b7bc9ebfa
@ -1,3 +1,8 @@
|
||||
2002-12-19 John Levon <levon@movementarian.org>
|
||||
|
||||
* config/qt.m4: fix so lib is placed correctly. IRIX
|
||||
whines at us
|
||||
|
||||
2002-12-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* NEWS: update
|
||||
|
11
config/qt.m4
11
config/qt.m4
@ -81,7 +81,8 @@ AC_DEFUN(QT_FIND_MOC,
|
||||
dnl check a particular libname
|
||||
AC_DEFUN(QT_TRY_LINK,
|
||||
[
|
||||
CXXFLAGS="$BASE_CXXFLAGS $1"
|
||||
SAVE_LIBS="$LIBS"
|
||||
LIBS="$LIBS $1"
|
||||
AC_TRY_LINK([
|
||||
#include <qglobal.h>
|
||||
#include <qstring.h>
|
||||
@ -94,7 +95,7 @@ AC_DEFUN(QT_TRY_LINK,
|
||||
],
|
||||
qt_cv_libname=$1,
|
||||
)
|
||||
CXXFLAGS="$BASE_CXXFLAGS"
|
||||
LIBS="$SAVE_LIBS"
|
||||
])
|
||||
|
||||
dnl check we can do a compile
|
||||
@ -106,7 +107,7 @@ AC_DEFUN(QT_CHECK_COMPILE,
|
||||
[
|
||||
AC_LANG_CPLUSPLUS
|
||||
SAVE_CXXFLAGS=$CXXFLAGS
|
||||
BASE_CXXFLAGS="$CXXFLAGS $QT_INCLUDES $QT_LDFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $QT_INCLUDES $QT_LDFLAGS"
|
||||
|
||||
for libname in -lqt3 -lqt2 -lqt -lqt-mt;
|
||||
do
|
||||
@ -210,5 +211,7 @@ AC_DEFUN(QT_DO_IT_ALL,
|
||||
QT_LIB=$qt_cv_libname;
|
||||
AC_SUBST(QT_LIB)
|
||||
|
||||
QT_GET_VERSION
|
||||
if test -n "$qt_cv_libname"; then
|
||||
QT_GET_VERSION
|
||||
fi
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user