Changeset 12833 for trunk/FACT++/.macro_dir
- Timestamp:
- 02/03/12 12:46:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/.macro_dir/qt4_do_it_all.m4
r10400 r12833 38 38 done 39 39 qt4_cv_libname= 40 for libname in '-lQtCore -lQtGui ' \41 '-lQtCore4 -lQtGui4 ' \42 '-framework QtCore -framework QtGui '40 for libname in '-lQtCore -lQtGui -lQtSql' \ 41 '-lQtCore4 -lQtGui4 -lQtSql4' \ 42 '-framework QtCore -framework QtGui -framework QtSql' 43 43 do 44 44 QT4_TRY_LINK($libname) … … 155 155 AC_SUBST(QT4_CORE_LIB) 156 156 fi 157 PKG_CHECK_MODULES(QT4_FRONTEND, QtCore QtGui ,,[:])157 PKG_CHECK_MODULES(QT4_FRONTEND, QtCore QtGui QtSql,,[:]) 158 158 if test "$pkg_failed" = "no" ; then 159 159 QT4_INCLUDES=$QT4_FRONTEND_CFLAGS 160 160 dnl QT4_LDFLAGS=$QT4_FRONTEND_LIBS 161 QT4_LDFLAGS=`$PKG_CONFIG --libs-only-L QtCore QtGui `161 QT4_LDFLAGS=`$PKG_CONFIG --libs-only-L QtCore QtGui QtSql` 162 162 AC_SUBST(QT4_INCLUDES) 163 163 AC_SUBST(QT4_LDFLAGS) 164 164 QT4_VERSION=`$PKG_CONFIG --modversion QtCore` 165 165 AC_SUBST(QT4_VERSION) 166 QT4_LIB=`$PKG_CONFIG --libs-only-l QtCore QtGui `166 QT4_LIB=`$PKG_CONFIG --libs-only-l QtCore QtGui QtSql` 167 167 AC_SUBST(QT4_LIB) 168 LIBS="$LIBS `$PKG_CONFIG --libs-only-other QtCore QtGui`" 169 fi 170 PKG_CONFIG_PATH=$save_PKG_CONFIG_PATH 168 LIBS="$LIBS `$PKG_CONFIG --libs-only-other QtCore QtGui QtSql`" 169 fi 171 170 ]) 172 171 … … 190 189 if test -n "$qt4_cv_includes"; then 191 190 QT4_INCLUDES="-I$qt4_cv_includes" 192 for i in Qt QtCore QtGui ; do191 for i in Qt QtCore QtGui QtSql; do 193 192 QT4_INCLUDES="$QT4_INCLUDES -I$qt4_cv_includes/$i" 194 193 done
Note:
See TracChangeset
for help on using the changeset viewer.