]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixed aclocal for mac os x
authorheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Dec 2010 20:56:00 +0000 (20:56 +0000)
committerheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Dec 2010 20:56:00 +0000 (20:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@23082 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index f7575ecd0c311b264d757e743fb03fe69f8a105f..d4c439865c7d19a9f354775b7e7584acc6c6ef9b 100644 (file)
@@ -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

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.