]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Check for AR.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Mar 2003 15:21:52 +0000 (15:21 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Mar 2003 15:21:52 +0000 (15:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@7270 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/Make.global_options.in
deal.II/configure.in

index 2468a4522267313fecdb605ab8b162b5286d6ab1..8cc58b56343577e6a9d5420648b960a7948b46ba 100644 (file)
@@ -23,6 +23,7 @@ CC                   = @CC@
 CXX                  = @CXX@
 GXX-VERSION          = @GXX_VERSION@
 SHLIBLD              = @SHLIBLD@
+AR                   = @AR@
 RANLIB               = @RANLIB@
 LDFLAGS              = @LDFLAGS@
 F77                  = @F77@
index 9d72ce61b381980ac517fa9d8b0810492481f194..5459bbf8cc549dd4f03736d133193a067842b8d6 100644 (file)
@@ -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)
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.