mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
search also for libQtCore4 etc, not only libQtCore etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13304 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9a1d905662
commit
0605e01f44
@ -1,6 +1,7 @@
|
||||
2006-03-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* qt.m4 (add QtCore include directory)
|
||||
* qt.m4: add QtCore include directory
|
||||
* qt.m4: search also for libQtCore4 etc.
|
||||
|
||||
2006-03-06 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
|
10
config/qt.m4
10
config/qt.m4
@ -367,7 +367,14 @@ AC_DEFUN([QT4_CHECK_COMPILE],
|
||||
AC_LANG_CPLUSPLUS
|
||||
SAVE_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS="$CXXFLAGS $QT4_INCLUDES $QT4_LDFLAGS"
|
||||
QT4_TRY_LINK(-lQtCore)
|
||||
for libname in '-lQtCore -lQtGui -lQtXml -lQt3Support' \
|
||||
'-lQtCore4 -lQtGui4 -lQtXml4 -lQt3Support4'
|
||||
do
|
||||
QT4_TRY_LINK($libname)
|
||||
if test -n "$qt4_cv_libname"; then
|
||||
break;
|
||||
fi
|
||||
done
|
||||
CXXFLAGS=$SAVE_CXXFLAGS
|
||||
])
|
||||
|
||||
@ -377,7 +384,6 @@ AC_DEFUN([QT4_CHECK_COMPILE],
|
||||
AC_MSG_ERROR([Cannot compile a simple Qt 4 executable. Check you have the right \$QT4DIR !])
|
||||
fi
|
||||
else
|
||||
qt4_cv_libname="$qt4_cv_libname -lQtGui -lQt3Support"
|
||||
AC_MSG_RESULT([$qt4_cv_libname])
|
||||
fi
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user