[MOAB-dev] r2737 - MOAB/trunk/cmake

pppebay at sandia.gov pppebay at sandia.gov
Fri Mar 20 15:25:23 CDT 2009


Author: pebay
Date: 2009-03-20 15:25:22 -0500 (Fri, 20 Mar 2009)
New Revision: 2737

Modified:
   MOAB/trunk/cmake/GetAcInitVersion.cmake
Log:
COMP: track switch to configure.ac


Modified: MOAB/trunk/cmake/GetAcInitVersion.cmake
===================================================================
--- MOAB/trunk/cmake/GetAcInitVersion.cmake	2009-03-20 18:47:09 UTC (rev 2736)
+++ MOAB/trunk/cmake/GetAcInitVersion.cmake	2009-03-20 20:25:22 UTC (rev 2737)
@@ -9,7 +9,7 @@
 
 macro ( get_ac_init_version )
 
-file( READ "configure.in" configure_IN )
+file( READ "configure.ac" configure_IN )
 string( REGEX REPLACE "^.*AC_INIT *\\([^,]+, *([^, )]+).*$" "\\1" VERSION_STRING "${configure_IN}" )
 string( REGEX REPLACE "^([0-9]+)(\\..*)?$" "\\1" MAJOR_VERSION "${VERSION_STRING}" )
 string( REGEX REPLACE "^[0-9]+\\.([0-9]+)(\\..*)?$" "\\1" MINOR_VERSION "${VERSION_STRING}" )



More information about the moab-dev mailing list