mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
#6874 prepare configure based build with Qt4 frameworks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35524 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
edef4cb8df
commit
d18995cd79
@ -28,7 +28,7 @@ AC_DEFUN([QT4_CHECK_COMPILE],
|
||||
AC_LANG_CPLUSPLUS
|
||||
SAVE_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS="$CXXFLAGS $QT4_INCLUDES $QT4_LDFLAGS"
|
||||
for libname in -lQtCore -lQtCore4
|
||||
for libname in -lQtCore -lQtCore4 '-framework XQtCore'
|
||||
do
|
||||
QT4_TRY_LINK($libname)
|
||||
if test -n "$qt4_cv_libname"; then
|
||||
@ -38,7 +38,8 @@ AC_DEFUN([QT4_CHECK_COMPILE],
|
||||
done
|
||||
qt4_cv_libname=
|
||||
for libname in '-lQtCore -lQtGui' \
|
||||
'-lQtCore4 -lQtGui4'
|
||||
'-lQtCore4 -lQtGui4' \
|
||||
'-framework XQtCore -framework XQtGui'
|
||||
do
|
||||
QT4_TRY_LINK($libname)
|
||||
if test -n "$qt4_cv_libname"; then
|
||||
|
Loading…
Reference in New Issue
Block a user