summaryrefslogtreecommitdiff
path: root/lib/make/configure.in
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-05-11 13:16:28 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-05-11 13:16:28 +0000
commit5172df62c449e5b5da7665f6475ae654bfde1224 (patch)
tree3d1aab0e40ff3a201d1b8b90b10bcf5fd6c5c0d4 /lib/make/configure.in
parent7534325f2e90544b831375336ea400fae51cf497 (diff)
Added optional use of ranlib to create archoive indices.
A known-architecture file or the config line can now set USE_RANLIB=yes to have the make system use ranlib. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2174 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure.in')
-rw-r--r--lib/make/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/make/configure.in b/lib/make/configure.in
index f31b2bb8..687ac646 100644
--- a/lib/make/configure.in
+++ b/lib/make/configure.in
@@ -315,6 +315,10 @@ X_INC_DIR="$x_includes"
AC_SUBST(ARFLAGS)
: ${ARFLAGS=rucs}
+# Some architectures can't pass the 's' flag to ar so need to use ranlib
+# to create an index in an archive file.
+AC_SUBST(USE_RANLIB)
+: ${USE_RANLIB=no}
AC_SUBST(F90FLAGS)
AC_SUBST(F77FLAGS)