# HG changeset patch # User diego # Date 1169327654 0 # Node ID ad465ec1294a6b1ebe1ef294e3c0fdaecd15c229 # Parent 62bf4204eed48ba6d4eb8ebfb592a4a0d3332db4 Move ranlib setting to a more sensible place. diff -r 62bf4204eed4 -r ad465ec1294a configure --- 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 # ######################