]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix for Mandriva 2009.0
authorvsr <vsr@opencascade.com>
Fri, 9 Oct 2009 14:49:56 +0000 (14:49 +0000)
committervsr <vsr@opencascade.com>
Fri, 9 Oct 2009 14:49:56 +0000 (14:49 +0000)
adm_local/unix/config_files/check_qt.m4

index 44f238b49e4c08f58f3cc58dab8ed77140564ee0..d98fff260536b1ecdb23b1cfd7e455b0731ff292 100644 (file)
@@ -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