changeset 21954:ad465ec1294a

Move ranlib setting to a more sensible place.
author diego
date Sat, 20 Jan 2007 21:14:14 +0000
parents 62bf4204eed4
children c24e237516f6
files configure
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Jan 20 13:46:17 2007 +0000
+++ b/configure	Sat Jan 20 21:14:14 2007 +0000
@@ -678,6 +678,13 @@
   _ld_extra="$_ld_extra -lC"
 fi
 
+# If IRIX we must use ar instead of ranlib (not present on IRIX systems)
+if irix ; then
+  _ranlib='ar -r'
+elif linux ; then
+  _ranlib='true'
+fi
+
 # Check how to call 'head' and 'tail'. Newer versions spit out warnings
 # if used as 'head -1' instead of 'head -n 1', but older versions don't
 # know about '-n'.
@@ -2525,13 +2532,6 @@
 fi
 fi
 
-# If IRIX we must use ar instead of ranlib (not present on IRIX systems)
-if irix ; then
-  _ranlib='ar -r'
-elif linux ; then
-  _ranlib='true'
-fi
-
 ######################
 # MAIN TESTS GO HERE #
 ######################