]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PAL10716: Using native gwt on mandriva 2006.0. A fix by Erwan ADAM.
authorjfa <jfa@opencascade.com>
Fri, 2 Dec 2005 09:59:49 +0000 (09:59 +0000)
committerjfa <jfa@opencascade.com>
Fri, 2 Dec 2005 09:59:49 +0000 (09:59 +0000)
salome_adm/unix/config_files/check_qwt.m4

index 760cc7dac0f336b70f161c11f93f1c60cff6b0e1..38ec5f91bd0fa4c2e67984b149954a73f91cdb17 100644 (file)
@@ -47,9 +47,12 @@ if test -z $QWTHOME; then
   if test "x$exits_ok" = "xyes"; then
      if test -z $QWT_INCLUDES; then
         QWT_INCLUDES=$QWTHOME"/include/qwt"
-       if test ! -d $QWTHOME"/include/qwt" ; then
+        if test ! -f $QWT_INCLUDES/qwt.h ; then
           QWT_INCLUDES=$QWTHOME"/include"
-       fi
+        fi
+        if test ! -f $QWT_INCLUDES/qwt.h ; then
+          QWT_INCLUDES=/usr/lib/qt3/include/qwt
+        fi
      fi
   fi
 else