From: vsr Date: Fri, 9 Oct 2009 14:49:56 +0000 (+0000) Subject: Fix for Mandriva 2009.0 X-Git-Tag: V5_1_3rc1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a31d4ccacb30d72bf55a703f55f8f07e6196e819;p=modules%2Fgeom.git Fix for Mandriva 2009.0 --- diff --git a/adm_local/unix/config_files/check_qt.m4 b/adm_local/unix/config_files/check_qt.m4 index 44f238b49..d98fff260 100644 --- a/adm_local/unix/config_files/check_qt.m4 +++ b/adm_local/unix/config_files/check_qt.m4 @@ -330,13 +330,14 @@ then CXXFLAGS="$CXXFLAGS $QT_INCLUDES" LIBS_old=$LIBS - if test "x$QTDIR" = "x/usr" - then + if test "x$QTDIR" = "x/usr" ; then QT_LIB_DIR="" elif test -d ${QTDIR}/lib; then QT_LIB_DIR="-L$QTDIR/lib" elif test -d ${QTDIR}/lib64; then QT_LIB_DIR="-L$QTDIR/lib64" + elif test "x$QTDIR" = "x/usr/lib/qt4" ; then + QT_LIB_DIR="" else AC_MSG_ERROR(Can't detect of Qt library directory ) qt_ok=no