aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2004-12-21 15:05:21 +0000
committertradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2004-12-21 15:05:21 +0000
commitc31b0c60912046dae604a7f5f86389de31e79357 (patch)
tree6335a150370f4a5fd9a033ebb24e73133bc249d4
parent8625c8664416f9983ad42fbd0862cb0a95784dd6 (diff)
Set a makefile variable HAVE_FLEXIO to let other thorns (optionally using the
capability 'FlexIO') know that it is available. This should be done automatically by the CST. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@74 21a6bef8-4479-4f54-8f8d-0db94a2919ef
-rw-r--r--FlexIO.pl19
-rw-r--r--configuration.ccl4
2 files changed, 21 insertions, 2 deletions
diff --git a/FlexIO.pl b/FlexIO.pl
new file mode 100644
index 0000000..135a6e2
--- /dev/null
+++ b/FlexIO.pl
@@ -0,0 +1,19 @@
+#! /usr/bin/perl -w
+#/*@@
+# @file FlexIO.pl
+# @date Tue 21 December 2004
+# @author Thomas Radke
+# @desc
+# Configures Cactus with the FlexIO library provided by this thorn
+# @enddesc
+# @version $Header$
+#@@*/
+
+# just set a makefile variable telling other thorns that FlexIO is there
+print <<EOF;
+BEGIN MAKE_DEFINITION
+HAVE_FLEXIO = 1
+END MAKE_DEFINITION
+EOF
+
+exit (0);
diff --git a/configuration.ccl b/configuration.ccl
index 9f53177..fab2f76 100644
--- a/configuration.ccl
+++ b/configuration.ccl
@@ -3,6 +3,6 @@
PROVIDES FlexIO
{
- SCRIPT
- LANG
+ SCRIPT FlexIO.pl
+ LANG perl
}