Changeset 7521 in orxonox.OLD for branches/qt_gui
- Timestamp:
- May 3, 2006, 4:17:32 PM (19 years ago)
- Location:
- branches/qt_gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/acinclude.m4
r7502 r7521 76 76 77 77 78 dnl AX_CHECK_QT([LIBDIR], [LIBRARIES], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [LIB-WEB-PAGE]) 78 79 80 dnl AX_CHECK_QT([QTDIR], [LIBRARIES], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [LIB-WEB-PAGE]) 79 81 AC_DEFUN([AX_CHECK_QT], [ 80 82 _lib_check="" … … 95 97 AC_CHECK_LIB([$_lib], [main], [_lib_check="yes"], [_lib_check="no"]) 96 98 if test "x$_lib_check" = "xyes" ; then 97 _found_lib s=$_lib99 _found_lib=$_lib 98 100 break 99 101 fi … … 101 103 102 104 if [test "x$_lib_check" = "xyes"] ; then 103 QT_LIBS="${QT_LIBS} -l$_found_lib }"105 QT_LIBS="${QT_LIBS} -l$_found_lib" 104 106 $3 105 107 else … … 125 127 126 128 AC_PATH_PROG([QT_UIC], [uic], [no], ["${QT_BIN_DIR}:${PATH}"]) 127 if test x${QT_UIC} = xno ; then128 AC_MSG_ERROR([QT UIC not found])129 fi129 # if test x${QT_UIC} = xno ; then 130 # AC_MSG_WARN([QT UIC not found]) 131 # fi 130 132 AC_SUBST([QT_UIC]) 131 133 132 134 AC_PATH_PROG([QT_RCC], [rcc], [no], ["${QT_BIN_DIR}:${PATH}"]) 133 if test x${QT_RCC} = xno ; then134 AC_MSG_ERROR([QT RCC not found])135 fi135 # if test x${QT_RCC} = xno ; then 136 # AC_MSG_WARN([QT RCC not found]) 137 # fi 136 138 AC_SUBST([QT_RCC]) 137 139 -
branches/qt_gui/configure.ac
r7502 r7521 236 236 237 237 ## QT 238 QT_PREFIX=/usr/pack/qt- 4.0.1-mo238 QT_PREFIX=/usr/pack/qt-3.3.3-mo 239 239 CPPFLAGS="${CPPFLAGS} -I${PREFIX_QT}/${ARCH}/include" 240 240 LDFLAGS="${LDFLAGS} -L${QT_PREFIX}/${ARCH}/lib -Wl,-rpath -Wl,${QT_PREFIX}/${ARCH}/lib" … … 243 243 244 244 245 QT_PREFIX=/usr/pack/qt- 4.1.1-mo245 QT_PREFIX=/usr/pack/qt-3.3.3-mo 246 246 QTDIR="${QT_PREFIX}/${ARCH}" 247 247 LDFLAGS="${LDFLAGS} -Wl,-rpath -Wl,${QT_PREFIX}/${ARCH}/lib" … … 579 579 # QT # 580 580 #----# 581 AX_CHECK_QT([${QTDIR}], [ QtCore QtCore4],, [http://www.trolltech.com])581 AX_CHECK_QT([${QTDIR}], [qt-mt],, [http://www.trolltech.com]) 582 582 if test x$have_qt = xno ; then 583 583 WITH_QT=no 584 else585 AX_CHECK_REQUIRED_LIB([QtCore QtCore4], [main],,,[http://www.trolltech.com] )586 AX_CHECK_REQUIRED_LIB([QtGui QtGui4], [main],,,[http://www.trolltech.com] )587 AX_CHECK_REQUIRED_LIB([QtOpenGL QtOpenGL4], [main],,,[http://www.trolltech.com] )584 ##else 585 # AX_CHECK_REQUIRED_LIB([QtCore QtCore4], [main],,,[http://www.trolltech.com] ) 586 # AX_CHECK_REQUIRED_LIB([QtGui QtGui4], [main],,,[http://www.trolltech.com] ) 587 # AX_CHECK_REQUIRED_LIB([QtOpenGL QtOpenGL4], [main],,,[http://www.trolltech.com] ) 588 588 589 589 fi
Note: See TracChangeset
for help on using the changeset viewer.