From: jfa Date: Wed, 7 Dec 2005 13:10:16 +0000 (+0000) Subject: PAL10716: Using native qwt on mandriva 2006.0. A fix by Erwan ADAM. X-Git-Tag: T_3_1_0pre~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c87ce942b65f603b2819247a9f1b10dcb7256b62;p=modules%2Fkernel.git PAL10716: Using native qwt on mandriva 2006.0. A fix by Erwan ADAM. --- 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