From 93815d5d0be033b6e1452a559c9f78ae0ed52dfc Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 3 Jun 2005 07:15:06 +0000 Subject: [PATCH] replace moc by MOC adding V3.3.4 support --- salome_adm/unix/config_files/check_qt.m4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/salome_adm/unix/config_files/check_qt.m4 b/salome_adm/unix/config_files/check_qt.m4 index b1557decd..63226fdcc 100644 --- a/salome_adm/unix/config_files/check_qt.m4 +++ b/salome_adm/unix/config_files/check_qt.m4 @@ -75,8 +75,14 @@ then fi fi -version=`moc -v > mocversion 2>&1;cut -c40-44 mocversion;rm -rf mocversion` +dnl E.A. : replace moc by $MOC (moc may be not in PATH) +version=`$MOC -v > mocversion 2>&1;cut -c40-44 mocversion;rm -rf mocversion` case "$version" in + dnl E.A. : adding 3.3.4 for mandrake 10.2 + 3.3.4) + QT_VERS=v3_3_4 + AC_MSG_RESULT(QT3.3.4 install detected) + qt_ok=yes;; 3.3.3) QT_VERS=v3_3_3 AC_MSG_RESULT(QT3.3.3 install detected) -- 2.39.2