changeset 12878:e80cd1210452

(RANLIB): Substitute this into makefiles. Set it specially on solaris; set it by default on other systems. Fix previous Alpha change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 17 Aug 1995 17:48:58 +0000
parents e5a2fab50a4b
children 3b90cbba7dad
files configure.in
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Thu Aug 17 16:51:57 1995 +0000
+++ b/configure.in	Thu Aug 17 17:48:58 1995 +0000
@@ -164,7 +164,7 @@
     machine=alliant-2800 opsys=bsd4-3
   ;;
 
-  ;; Alpha (DEC) machines.
+  ## Alpha (DEC) machines.
   alpha-dec-osf* )
     machine=alpha opsys=osf1
   ;;
@@ -678,10 +678,12 @@
       *-sunos5.4* | *-solaris2.4* )
 		opsys=sol2-4
 		NON_GNU_CPP=/usr/ccs/lib/cpp
+		RANLIB="ar -ts"
 		;;
       *-sunos5.5* | *-solaris2.5* )
 		opsys=sol2-5
 		NON_GNU_CPP=/usr/ccs/lib/cpp
+		RANLIB="ar -ts"
 		;;
       *-sunos5* | *-solaris* )
 		opsys=sol2
@@ -826,6 +828,10 @@
   esac
 fi
 
+if test "x$RANLIB" = x; then
+  RANLIB=ranlib
+fi
+
 changequote([, ])dnl
 
 if test $unported = yes; then
@@ -1338,6 +1344,7 @@
 AC_SUBST(X_TOOLKIT_TYPE)
 AC_SUBST(machfile)
 AC_SUBST(opsysfile)
+AC_SUBST(RANLIB)
 
 AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION,  "${canonical}")
 AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}")