From eca0abbc21a015ba8044bde343e8d49439181e30 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 20 Jan 2007 21:14:14 +0000 Subject: [PATCH] Move ranlib setting to a more sensible place. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21972 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 332d3c16f4..19dd58498d 100755 --- a/configure +++ b/configure @@ -678,6 +678,13 @@ if aix ; then _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 @@ die "no awk" 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 # ######################