[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bzflag-commits
Subject:    SF.net SVN: bzflag:[22789] trunk/bzflag/m4/ax_cxx_compile_stdcxx_0x.m4
From:       bullet_catcher () users ! sourceforge ! net
Date:       2013-05-31 6:45:17
Message-ID: E1UiJ5V-0000Ua-Cm () sfs-ml-3 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 22789
          http://sourceforge.net/p/bzflag/code/22789
Author:   bullet_catcher
Date:     2013-05-31 06:45:17 +0000 (Fri, 31 May 2013)
Log Message:
-----------
Do not assume that "g++" is the name of the c++ compiler.

Modified Paths:
--------------
    trunk/bzflag/m4/ax_cxx_compile_stdcxx_0x.m4

Modified: trunk/bzflag/m4/ax_cxx_compile_stdcxx_0x.m4
===================================================================
--- trunk/bzflag/m4/ax_cxx_compile_stdcxx_0x.m4	2013-05-31 06:07:58 UTC (rev 22788)
+++ trunk/bzflag/m4/ax_cxx_compile_stdcxx_0x.m4	2013-05-31 06:45:17 UTC (rev 22789)
@@ -24,7 +24,7 @@
 
 AU_ALIAS([AC_CXX_COMPILE_STDCXX_0X], [AX_CXX_COMPILE_STDCXX_0X])
 AC_DEFUN([AX_CXX_COMPILE_STDCXX_0X], [
-  AC_CACHE_CHECK(if g++ supports C++0x features without additional flags,
+  AC_CACHE_CHECK(if $CXX supports C++0x features without additional flags,
   ax_cv_cxx_compile_cxx0x_native,
   [AC_LANG_SAVE
   AC_LANG_CPLUSPLUS
@@ -47,7 +47,7 @@
   AC_LANG_RESTORE
   ])
 
-  AC_CACHE_CHECK(if g++ supports C++0x features with -std=c++0x,
+  AC_CACHE_CHECK(if $CXX supports C++0x features with -std=c++0x,
   ax_cv_cxx_compile_cxx0x_cxx,
   [AC_LANG_SAVE
   AC_LANG_CPLUSPLUS
@@ -73,7 +73,7 @@
   AC_LANG_RESTORE
   ])
 
-  AC_CACHE_CHECK(if g++ supports C++0x features with -std=gnu++0x,
+  AC_CACHE_CHECK(if $CXX supports C++0x features with -std=gnu++0x,
   ax_cv_cxx_compile_cxx0x_gxx,
   [AC_LANG_SAVE
   AC_LANG_CPLUSPLUS
@@ -102,6 +102,6 @@
   if test "$ax_cv_cxx_compile_cxx0x_native" = yes ||
      test "$ax_cv_cxx_compile_cxx0x_cxx" = yes ||
      test "$ax_cv_cxx_compile_cxx0x_gxx" = yes; then
-    AC_DEFINE(HAVE_STDCXX_0X,,[Define if g++ supports C++0x features. ])
+    AC_DEFINE(HAVE_STDCXX_0X,,[Define if the c++ compiler supports C++0x features. \
])  fi
 ])

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
BZFlag-commits mailing list
BZFlag-commits@lists.SourceForge.net
https://lists.SourceForge.net/lists/listinfo/bzflag-commits
irc: #BZFlag @ irc.freenode.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic