[cgma-dev] r4620 - cgm/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Mon Mar 21 14:22:18 CDT 2011


Author: kraftche
Date: 2011-03-21 14:22:18 -0500 (Mon, 21 Mar 2011)
New Revision: 4620

Modified:
   cgm/trunk/configure.ac
Log:
add simple checks that C++ compiler works because autoconf doesn't seem to check that if the compiler is specified by the user via CXX=

Modified: cgm/trunk/configure.ac
===================================================================
--- cgm/trunk/configure.ac	2011-03-21 19:16:35 UTC (rev 4619)
+++ cgm/trunk/configure.ac	2011-03-21 19:22:18 UTC (rev 4620)
@@ -22,6 +22,8 @@
 AC_C_BIGENDIAN( [], [AM_CPPFLAGS="$AM_CPPFLAGS -DLITTLE_ENDIAN=BYTE_ORDER"] )
 FATHOM_COMPILER_FLAGS
 
+FATHOM_CHECK_CXX_WORKS([], [AC_MSG_ERROR([Cannot build without C++ compiler])])
+
 ################################################################################
 #                Fortran Stuff for ITAPS C bindings
 ################################################################################








































More information about the cgma-dev mailing list