From: vsr Date: Mon, 16 Nov 2009 14:39:39 +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=8318d7879253d38cb2c99bb28178c56628bd9ae0;p=modules%2Fgeom.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/adm_local/unix/config_files/check_qt.m4 b/adm_local/unix/config_files/check_qt.m4 index d98fff260..0f28aef7d 100644 --- a/adm_local/unix/config_files/check_qt.m4 +++ b/adm_local/unix/config_files/check_qt.m4 @@ -51,6 +51,8 @@ fi qt_ok=yes +QTDIR=$(echo $QTDIR | sed 's%[/]\+$%%') + AC_LANG_SAVE AC_LANG_CPLUSPLUS