[LyX/master] Correct moc compiler version extractor regex for patch level greater 9.

Stephan Witt switt at lyx.org
Fri Jul 16 15:56:39 UTC 2021


commit c93c94fd22b30841e3d36fc8fc583a70091cc72f
Author: Stephan Witt <switt at lyx.org>
Date:   Fri Jul 16 18:12:33 2021 +0200

    Correct moc compiler version extractor regex for patch level greater 9.
---
 config/qt.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/qt.m4 b/config/qt.m4
index 7fe329f..d41332a 100644
--- a/config/qt.m4
+++ b/config/qt.m4
@@ -272,7 +272,7 @@ AC_DEFUN([QT_DO_IT_ALL],
 	QT_FIND_TOOL([QT_RCC], [rcc])
 
 	dnl Safety check
-	mocqtver=`$QT_MOC -v 2>&1 | sed -e 's/.*\([[0-9]]\.[[0-9]]*\.[[0-9]]\).*/\1/'`
+	mocqtver=`$QT_MOC -v 2>&1 | sed -e 's/.*\([[0-9]]\.[[0-9]]*\.[[0-9]]*\).*/\1/'`
 	if test "x$mocqtver" != "x$QTLIB_VERSION"; then
 		LYX_WARNING([The found moc compiler is for Qt $mocqtver but the Qt library version is $QTLIB_VERSION.])
 	fi


More information about the lyx-cvs mailing list