]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PAL10716: Using native qwt on mandriva 2006.0. A fix by Erwan ADAM.
authorjfa <jfa@opencascade.com>
Wed, 7 Dec 2005 13:10:16 +0000 (13:10 +0000)
committerjfa <jfa@opencascade.com>
Wed, 7 Dec 2005 13:10:16 +0000 (13:10 +0000)
salome_adm/unix/config_files/check_qwt.m4

index 5803c5e92dc4aff097deb2b8504a147a75996311..13bf909147ba480271412e1db79e227c3a09d191 100644 (file)
@@ -47,8 +47,11 @@ 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 $QWT_INCLUDES; then
-           QWT_INCLUDES=$QWTHOME"/include"
+        if test ! -f $QWT_INCLUDES/qwt.h ; then
+          QWT_INCLUDES=$QWTHOME"/include"
+        fi
+        if test ! -f $QWT_INCLUDES/qwt.h ; then
+          QWT_INCLUDES=/usr/lib/qt3/include/qwt
         fi
      fi
   fi