3
# Libtool doesn't advertise AR nor AR_FLAGS in case the user wishes to
4
# override them. Further, certain systems require a different archiver.
5
# RANLIB may also be affected.
6
# Use this prior to LT_INIT.
9
# ar - all known systems
10
# sxar - special to NEC/NEC64
13
AC_ARG_VAR([AR], [archiver used by libtool (default: ar)])
14
AC_ARG_VAR([AR_FLAGS], [archiver flags used by libtool (default: cru)])
15
AC_ARG_VAR([RANLIB], [generates index to archive (default: ranlib)])
16
AS_IF([test "x$AR" = x],
17
[AS_CASE([$ga_cv_target], [NEC|NEC64], [AR=sxar])])
18
AS_IF([test "x$RANLIB" = x],
19
[AS_CASE([$ga_cv_target], [NEC|NEC64], [RANLIB=true])])