fix code to detect g++ version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3614 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-02-28 17:30:10 +00:00
parent 9dafe9b9a5
commit 46d5911af1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxinclude.m4 (LYX_PROG_CXX): use -dumpversion instead of
--version to get version info from gcc.
2002-01-26 Angus Leeming <a.leeming@ic.ac.uk>
* qt2.m4: small tweaks to the -lqt recognition stuff..

View File

@ -199,7 +199,7 @@ esac
# set the debug flags correctly.
if test x$GXX = xyes; then
dnl Useful for global version info
gxx_version=`${CXX} --version`
gxx_version=`${CXX} -dumpversion`
CXX_VERSION="($gxx_version)"
if test "$ac_test_CXXFLAGS" = set; then