From bfe50bc81ae6dba1cbe2075acb383af21ac2e483 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 2 Dec 2005 09:59:49 +0000 Subject: [PATCH] PAL10716: Using native gwt on mandriva 2006.0. A fix by Erwan ADAM. --- salome_adm/unix/config_files/check_qwt.m4 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/salome_adm/unix/config_files/check_qwt.m4 b/salome_adm/unix/config_files/check_qwt.m4 index 760cc7dac..38ec5f91b 100644 --- a/salome_adm/unix/config_files/check_qwt.m4 +++ b/salome_adm/unix/config_files/check_qwt.m4 @@ -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 -- 2.39.2