From: wolf Date: Thu, 6 Mar 2003 15:21:52 +0000 (+0000) Subject: Check for AR. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63e35fdd9400a943d9484a1c8e9c876a3e890adb;p=dealii-svn.git Check for AR. git-svn-id: https://svn.dealii.org/trunk@7270 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)