comparison configure @ 21954:ad465ec1294a

Move ranlib setting to a more sensible place.
author diego
date Sat, 20 Jan 2007 21:14:14 +0000
parents d46c88125495
children c24e237516f6
comparison
equal deleted inserted replaced
21953:62bf4204eed4 21954:ad465ec1294a
674 _inc_extra="$_inc_extra -I/usr/local/include" 674 _inc_extra="$_inc_extra -I/usr/local/include"
675 fi 675 fi
676 676
677 if aix ; then 677 if aix ; then
678 _ld_extra="$_ld_extra -lC" 678 _ld_extra="$_ld_extra -lC"
679 fi
680
681 # If IRIX we must use ar instead of ranlib (not present on IRIX systems)
682 if irix ; then
683 _ranlib='ar -r'
684 elif linux ; then
685 _ranlib='true'
679 fi 686 fi
680 687
681 # Check how to call 'head' and 'tail'. Newer versions spit out warnings 688 # Check how to call 'head' and 'tail'. Newer versions spit out warnings
682 # if used as 'head -1' instead of 'head -n 1', but older versions don't 689 # if used as 'head -1' instead of 'head -n 1', but older versions don't
683 # know about '-n'. 690 # know about '-n'.
2523 echo "If you don't need VIDIX, you can use configure --disable-vidix instead." 2530 echo "If you don't need VIDIX, you can use configure --disable-vidix instead."
2524 die "no awk" 2531 die "no awk"
2525 fi 2532 fi
2526 fi 2533 fi
2527 2534
2528 # If IRIX we must use ar instead of ranlib (not present on IRIX systems)
2529 if irix ; then
2530 _ranlib='ar -r'
2531 elif linux ; then
2532 _ranlib='true'
2533 fi
2534
2535 ###################### 2535 ######################
2536 # MAIN TESTS GO HERE # 2536 # MAIN TESTS GO HERE #
2537 ###################### 2537 ######################
2538 2538
2539 2539