From 14b38c67067d2bc14b47cb8f5ffa7f71ac23d933 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 6 Mar 2003 15:21:52 +0000 Subject: [PATCH] Check for AR. git-svn-id: https://svn.dealii.org/trunk@7270 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/Make.global_options.in | 1 + deal.II/configure.in | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/deal.II/common/Make.global_options.in b/deal.II/common/Make.global_options.in index 2468a45222..8cc58b5634 100644 --- a/deal.II/common/Make.global_options.in +++ b/deal.II/common/Make.global_options.in @@ -23,6 +23,7 @@ CC = @CC@ CXX = @CXX@ GXX-VERSION = @GXX_VERSION@ SHLIBLD = @SHLIBLD@ +AR = @AR@ RANLIB = @RANLIB@ LDFLAGS = @LDFLAGS@ F77 = @F77@ diff --git a/deal.II/configure.in b/deal.II/configure.in index 9d72ce61b3..5459bbf8cc 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -270,10 +270,14 @@ dnl Also look for RANLIB, since some rather old systems (ah, and MAC OS X!) dnl still require it for statically linked libraries. On other systems, dnl RANLIB is not available, so skip the second check that tries to get dnl the full path for the executable that was found in the first one. +dnl We also check for AR, since on some systems we will want to pass different +dnl flags to AR if for example both 32- and 64-bit binaries are supported +AC_CHECK_PROG(AR,ar) AC_PROG_RANLIB if test "$RANLIB" != ":" ; then AC_PATH_PROG(RANLIB,$RANLIB) fi +AC_SUBST(AR) AC_SUBST(RANLIB) -- 2.39.5