[cgma-dev] r5836 - cgm/trunk
janehu at mcs.anl.gov
janehu at mcs.anl.gov
Fri Oct 26 12:29:24 CDT 2012
Author: janehu
Date: 2012-10-26 12:29:24 -0500 (Fri, 26 Oct 2012)
New Revision: 5836
Modified:
cgm/trunk/configure.ac
Log:
Remove determination phrases for CUBIT_12, since it's a cubit13 version.
Modified: cgm/trunk/configure.ac
===================================================================
--- cgm/trunk/configure.ac 2012-10-26 16:59:33 UTC (rev 5835)
+++ cgm/trunk/configure.ac 2012-10-26 17:29:24 UTC (rev 5836)
@@ -162,53 +162,6 @@
[CUBIT_CAT_DEFINES=-DACIS_TWEAK_TOOL_CAT; AC_MSG_RESULT([yes])],
[CUBIT_CAT_DEFINES=; AC_MSG_RESULT([no])])
- # Test for Cubit 13.1 and later import_solid_model
- AC_MSG_CHECKING([For Cubit 13 minor revision API])
- # Set to 1 if it looks like Cubit 13.1,
- # otherwise set to zero
- CUBIT_MINOR_API=1
- if test $CUBIT_MINOR_API = 0; then
- AC_LINK_IFELSE([AC_LANG_PROGRAM(
- [enum Model_File_Type { MFT_NOT_DEFINED = 0 };
- struct ModelImportOptions;
- class RefEntity;
- class CubitString;
- template <typename T> class DLIList;
- class GeometryQueryTool { public:
- void import_solid_model( const char*, Model_File_Type,
- ModelImportOptions&, DLIList<RefEntity*>* );
- void export_solid_model( DLIList<RefEntity*>&, const char*,
- Model_File_Type, int&, CubitString const&, ModelExportOptions );
- };],
- [GeometryQueryTool* ptr = 0;
- ModelImportOptions* opt = 0;
- DLIList<RefEntity*>* list = 0;
- CubitString* str = 0;
- int i;
- ptr->import_solid_model( 0, MFT_NOT_DEFINED, *opt, 0 );
- ptr->export_solid_model( *list, 0, MFT_NOT_DEFINED, i, *str, 0 );])],
- [CUBIT_MINOR_API=2])
- fi
- if test $CUBIT_MINOR_API = 0; then
- AC_LINK_IFELSE([AC_LANG_PROGRAM(
- [struct ModelImportOptions;
- class RefEntity;
- class CubitString;
- template <typename T> class DLIList;
- class GeometryQueryTool { public:
- void import_solid_model( const char*, const char*,
- ModelImportOptions&, DLIList<RefEntity*>* );
- };],
- [GeometryQueryTool* ptr = 0;
- ModelImportOptions* opt = 0;
- CubitString* str = 0;
- ptr->import_solid_model( 0, 0, *opt, 0 );])],
- [CUBIT_MINOR_API=1])
- fi
More information about the cgma-dev
mailing list