From: vsr Date: Mon, 16 Nov 2009 14:40:38 +0000 (+0000) Subject: Additional small fix to make correct check of QTDIR environment variable even if... X-Git-Tag: V5_1_3rc3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e0892270667fa3eeffe4ac49f906da3ab642fc1;p=tools%2Fhxx2salome.git Additional small fix to make correct check of QTDIR environment variable even if it is specified (wrongly) with leading slash symbols (e.g. /usr/lib/qt3/) --- diff --git a/config_files/check_qt.m4 b/config_files/check_qt.m4 index d98fff2..0f28aef 100644 --- a/config_files/check_qt.m4 +++ b/config_files/check_qt.m4 @@ -51,6 +51,8 @@ fi qt_ok=yes +QTDIR=$(echo $QTDIR | sed 's%[/]\+$%%') + AC_LANG_SAVE AC_LANG_CPLUSPLUS