summaryrefslogtreecommitdiff
path: root/lib/make/configure
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-10-31 21:10:59 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-10-31 21:10:59 +0000
commitf7c3c19b8b32a48bf5c7c0e1235f9fb4ab04446c (patch)
tree336064b79e9471ab8f387d8204a39aa7375eccbd /lib/make/configure
parente3888f521cd388f8e5199459cc4de7d20bf1472c (diff)
Added LIBNAME_PREFIX and LIBNAME_SUFFIX to allow libraries to be named
differently on some architectures (e.g. NT). Removed fallback definition for GENERAL_LIBRARIES in make.configuration, and added fallback definitions for LIBNAME_PREFIX and LIBNAME_SUFFIX so old configurations should still work. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1872 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure')
-rwxr-xr-xlib/make/configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/make/configure b/lib/make/configure
index cfc352e1..8589dd31 100755
--- a/lib/make/configure
+++ b/lib/make/configure
@@ -4130,6 +4130,12 @@ fi
: ${OPTIONSEP='$(EMPTY_VAR) # a single space'}
+# How to name libraries for this system
+
+: ${LIBNAME_PREFIX='lib'}
+
+: ${LIBNAME_SUFFIX='.a'}
+
# How to link the cactus libraries
@@ -4211,6 +4217,7 @@ fi
: ${GENERAL_LIBRARIES='$(LIBDIRS:%=-L%) $(LIBS:%=-l%)'}
+
# Do we need to make sure Perl makes a backup when editting in place ?
@@ -4420,6 +4427,8 @@ s%@F90_WARN_FLAGS@%$F90_WARN_FLAGS%g
s%@CREATEEXE@%$CREATEEXE%g
s%@DIRSEP@%$DIRSEP%g
s%@OPTIONSEP@%$OPTIONSEP%g
+s%@LIBNAME_PREFIX@%$LIBNAME_PREFIX%g
+s%@LIBNAME_SUFFIX@%$LIBNAME_SUFFIX%g
s%@CACTUSLIBLINKLINE@%$CACTUSLIBLINKLINE%g
s%@C_DEPEND@%$C_DEPEND%g
s%@C_DEPEND_OUT@%$C_DEPEND_OUT%g