From d18995cd7998c5f445b259aa7947b30693993627 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Tue, 28 Sep 2010 15:07:07 +0000 Subject: [PATCH] #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 --- config/qt4.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/qt4.m4 b/config/qt4.m4 index 7166e88f78..3d3d6d9a18 100644 --- a/config/qt4.m4 +++ b/config/qt4.m4 @@ -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