]> git.lyx.org Git - lyx.git/blobdiff - acinclude.m4
patch from Dekel
[lyx.git] / acinclude.m4
index cac10cb462fbcf6123fd9d6a8bba9455959ff376..ac8165def8da673ab01613e99fda1a5e1e0e6dd8 100644 (file)
@@ -176,7 +176,7 @@ dnl normal versions of a library), tasteless as that idea is.
   ac_save_CXXFLAGS="$CXXFLAGS"
   CXXFLAGS=
 dnl Check the version of g++
-  gxx_version=`g++ --version`
+  gxx_version=`${CXX} --version`
   
   AC_PROG_CXX_G
   if test "$ac_test_CXXFLAGS" = set; then