From c87ce942b65f603b2819247a9f1b10dcb7256b62 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 7 Dec 2005 13:10:16 +0000 Subject: [PATCH] PAL10716: Using native qwt 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 5803c5e92..13bf90914 100644 --- a/salome_adm/unix/config_files/check_qwt.m4 +++ b/salome_adm/unix/config_files/check_qwt.m4 @@ -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 -- 2.39.2