[cig-commits] r4673 - short/3D/PyLith/trunk

brad at geodynamics.org brad at geodynamics.org
Fri Sep 29 19:51:19 PDT 2006


Author: brad
Date: 2006-09-29 19:51:19 -0700 (Fri, 29 Sep 2006)
New Revision: 4673

Modified:
   short/3D/PyLith/trunk/configure.ac
Log:
Added tests for pyrexc and pyrexembed in configure.

Modified: short/3D/PyLith/trunk/configure.ac
===================================================================
--- short/3D/PyLith/trunk/configure.ac	2006-09-30 02:47:39 UTC (rev 4672)
+++ short/3D/PyLith/trunk/configure.ac	2006-09-30 02:51:19 UTC (rev 4673)
@@ -67,6 +67,22 @@
 PYTHONPATH="${pyexecdir}${PYTHONPATH:+:${PYTHONPATH}}"; export PYTHONPATH
 AC_SUBST([PYTHONPATH])
 
+# PYREX/PYREXEMBED
+AC_CHECK_PROG([have_pyrex],
+  [pyrexc],
+  [yes],
+  [no])
+if test "$have_pyrex" = "no"; then
+  AC_MSG_ERROR([Pyrex not found in current path.])
+fi
+AC_CHECK_PROG([have_pyrexembed],
+  [pyrexembed],
+  [yes],
+  [no])
+if test "$have_pyrexembed" = "no"; then
+  AC_MSG_ERROR([Pyrexembed not found in current path.])
+fi
+
 # CPPUNIT
 AM_CONDITIONAL([ENABLE_TESTING], [test "$enable_testing" = yes])
 if test "$enable_testing" = "yes" ; then



More information about the cig-commits mailing list