[cgma-dev] r1218 - cgm/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Thu Jul 19 15:08:41 CDT 2007


Author: kraftche
Date: 2007-07-19 15:08:41 -0500 (Thu, 19 Jul 2007)
New Revision: 1218

Modified:
   cgm/trunk/configure.in
Log:
Make all configure options small case.  Continue to accept --with-CUBIT and --with-ACIS as well, for backwards compatibility.

Modified: cgm/trunk/configure.in
===================================================================
--- cgm/trunk/configure.in	2007-07-19 04:12:46 UTC (rev 1217)
+++ cgm/trunk/configure.in	2007-07-19 20:08:41 UTC (rev 1218)
@@ -64,8 +64,11 @@
 CUBIT_BIN_DIR=no
 HAVE_ACIS_DEF=
 
+AC_ARG_WITH( cubit,
+             AC_HELP_STRING([--with-cubit=<dir>],[Use CGM from CUBIT shared library]),
+             [CUBIT_DIR="$withval"],[CUBIT_DIR=no])
 AC_ARG_WITH( CUBIT,
-             AC_HELP_STRING([--with-CUBIT=<dir>],[Use CGM from CUBIT shared library]),
+             AC_HELP_STRING([--with-CUBIT=<dir>],[DEPRECATED.  Use --with-cubit (small case)]),
              [CUBIT_DIR="$withval"],[CUBIT_DIR=no])
 if test "x$CUBIT_DIR" == "xyes"; then
   AC_MSG_ERROR([Option --with-CUBIT without specifying Cubit directory.])
@@ -146,13 +149,16 @@
 ACIS_STEP_LIBS='-lacisstep -lxstep'
 ACIS_IGES_LIBS='-lacisiges -lxiges'
 
+AC_ARG_WITH( acis, 
+             AC_HELP_STRING([--with-acis=<dir>],[Build with ACIS support, specify directory where ACIS is installed.]),
+             [ACIS_DIR=$withval],[ACIS_DIR=no] )
 AC_ARG_WITH( ACIS, 
-             AC_HELP_STRING([--with-ACIS=<dir>],[Build with ACIS support, specify directory where ACIS is installed.]),
+             AC_HELP_STRING([--with-ACIS],[DEPRECATED.  Use --wtih-acis (small case)]),
              [ACIS_DIR=$withval],[ACIS_DIR=no] )
-AC_ARG_WITH( ACIS-system, AC_HELP_STRING([--with-ACIS-system=SYS], 
+AC_ARG_WITH( ACIS-system, AC_HELP_STRING([--with-acis-system=SYS], 
           [Specify ACIS system name (e.g. linux_so), default is to autodetect.]),
              [ACIS_SYSTEM=$withval],[ACIS_SYSTEM=] )
-AC_ARG_WITH( ACIS-version, AC_HELP_STRING([--with-ACIS-version=INT],
+AC_ARG_WITH( acis-version, AC_HELP_STRING([--with-acis-version=INT],
 [Specify ACIS version as an integer value (100*major+10*minor+point), default is to autodetect.]),
 [if ! test "$withval" -gt "600"; then
   AC_MSG_ERROR("ACIS-version must be an integer greater than 600.")




More information about the cgma-dev mailing list