From: heltai Date: Tue, 28 Dec 2010 20:56:00 +0000 (+0000) Subject: Fixed aclocal for mac os x X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc31475fb1bfb13ddaf1127711b1eeb1c8cdb5e6;p=dealii-svn.git Fixed aclocal for mac os x git-svn-id: https://svn.dealii.org/trunk@23082 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index f7575ecd0c..d4c439865c 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1727,9 +1727,9 @@ AC_DEFUN(DEAL_II_CHECK_DYNAMIC_CAST_BUG, AC_DEFINE(DEAL_II_HAVE_DARWIN_DYNACAST_BUG, 1, [Defined if the compiler has a bug with dynamic casting and dynamic libraries]) - CXXFLAGSG="$CXXFLAGSG -mmacosx-version-min=10.4" - CXXFLAGSO="$CXXFLAGSO -mmacosx-version-min=10.4" - LDFLAGS="$LDFLAGS -mmacosx-version-min=10.4" + CXXFLAGSG="$CXXFLAGSG -mmacosx-version-min=`uname -r`" + CXXFLAGSO="$CXXFLAGSO -mmacosx-version-min=`uname -r`" + LDFLAGS="$LDFLAGS -mmacosx-version-min=`uname -r`" fi rm -f contrib/config/tests/darwin-dynamic-cast/libDynamicCastTestLib.dylib rm -f contrib/config/tests/darwin-dynamic-cast/main.o