small sed tweak

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5296 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-09-13 01:47:29 +00:00
parent b77165653d
commit 99bf5f0e00
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-09-13 John Levon <levon@movementarian.org>
* qt.m4: tweak sed usage
2002-09-12 John Levon <levon@movementarian.org>
* Makefile.am: qt.m4 not qt2.m4

View File

@ -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
])