[cgma-dev] r2181 - in cgm/trunk: . itaps

tautges at mcs.anl.gov tautges at mcs.anl.gov
Wed Oct 29 13:50:15 CDT 2008


Author: tautges
Date: 2008-10-29 13:50:15 -0500 (Wed, 29 Oct 2008)
New Revision: 2181

Modified:
   cgm/trunk/configure.in
   cgm/trunk/itaps/Makefile.am
Log:
Adding a warning message when linking against CUBIT, saying you have to set LD_LIBRARY_PATH to point to cubit libs.

Changing case in one of the fields in the Makefile.


Modified: cgm/trunk/configure.in
===================================================================
--- cgm/trunk/configure.in	2008-10-29 16:46:16 UTC (rev 2180)
+++ cgm/trunk/configure.in	2008-10-29 18:50:15 UTC (rev 2181)
@@ -410,3 +410,8 @@
 	   )
 
 AC_OUTPUT
+if test "x$CUBIT_DIR" != "xno" && test "x$CUBIT_DIR" != "x"; then
+   AC_MSG_WARN([Linking against Cubit-based CGM; you'll need to add Cubit's 'bin' directory
+                to your LD_LIBRARY_PATH before linking, or add -R (linux) or equivalent (non-linux)
+                to your link statement to link applications.])
+fi

Modified: cgm/trunk/itaps/Makefile.am
===================================================================
--- cgm/trunk/itaps/Makefile.am	2008-10-29 16:46:16 UTC (rev 2180)
+++ cgm/trunk/itaps/Makefile.am	2008-10-29 18:50:15 UTC (rev 2181)
@@ -20,7 +20,7 @@
 
 libiGeom_la_includedir = $(includedir)
 
-libiGeom_la_libadd = $(top_builddir)/libcgm.la
+libiGeom_la_LIBADD = ../libcgm.la
 
 INCLUDES = -I$(top_srcdir)/util \
            -I$(top_srcdir)/geom \




More information about the cgma-dev mailing list