Revision: 41197
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41197&view=rev
Author:   erikgreenwald
Date:     2010-10-30 00:10:21 +0000 (Sat, 30 Oct 2010)

Log Message:
-----------
use the AC_LANG_SOURCE macro

Modified Paths:
--------------
    brlcad/trunk/configure.ac

Modified: brlcad/trunk/configure.ac
===================================================================
--- brlcad/trunk/configure.ac   2010-10-30 00:08:34 UTC (rev 41196)
+++ brlcad/trunk/configure.ac   2010-10-30 00:10:21 UTC (rev 41197)
@@ -1003,11 +1003,11 @@
 if test "x$build_vendor" = "xsgi" ; then
     AC_MSG_CHECKING([whether we are using the MIPSpro compiler])
     using_mipspro=no
-    AC_LINK_IFELSE([#if defined(sgi) && defined(_COMPILER_VERSION) && 
!defined(__GNUC__)
+    AC_LINK_IFELSE([AC_LANG_SOURCE([#if defined(sgi) && 
defined(_COMPILER_VERSION) && !defined(__GNUC__)
 If we get here, we are using the MIPSPro compiler (and the link should fail).
 #endif
 int main() { return 0; }
-    ], [using_mipspro=no], [using_mipspro=yes])
+    ])], [using_mipspro=no], [using_mipspro=yes])
     AC_MSG_RESULT($using_mipspro)
     if test "x$using_mipspro" = "xyes" ; then
        compiler=sgi
@@ -1018,11 +1018,11 @@
 if test "x$build_vendor" = "xsun" ; then
     AC_MSG_CHECKING([whether we are using the SUNWspro compiler])
     using_sunpro=no
-    AC_LINK_IFELSE([#if defined(sun) && defined(__SUNPRO_C) && 
!defined(__GNUC__)
+    AC_LINK_IFELSE([AC_LANG_SOURCE([#if defined(sun) && defined(__SUNPRO_C) && 
!defined(__GNUC__)
 If we get here, we are using the SUNWspro compiler (and the link should fail).
 #endif
 int main() { return 0; }
-    ], [using_sunpro=no], [using_sunpro=yes])
+    ], [using_sunpro=no], [using_sunpro=yes])])
     AC_MSG_RESULT($using_sunpro)
     if test "x$using_sunpro" = "xyes" ; then
        AR="CC -xar"


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

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to