diff --git a/config/ChangeLog b/config/ChangeLog index 5383409a85..93a62aa773 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2002-09-13 John Levon + + * qt.m4: tweak sed usage + 2002-09-12 John Levon * Makefile.am: qt.m4 not qt2.m4 diff --git a/config/qt.m4 b/config/qt.m4 index bf8ce45257..8944803b4a 100644 --- a/config/qt.m4 +++ b/config/qt.m4 @@ -146,7 +146,7 @@ AC_DEFUN(QT_GET_VERSION, EOF lyx_cv_qtversion=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | \ grep '^"%%%"' 2>/dev/null | \ - sed -e 's/^"%%%""\(.*\)""%%%"/\1/' -e 's/ //g'` + sed -e 's/"%%%"//g' -e 's/"//g'` rm -f conftest.$ac_ext CPPFLAGS=$SAVE_CPPFLAGS ])