From: wolf Date: Thu, 6 Jul 2006 13:12:53 +0000 (+0000) Subject: Use *apple-darwin* instead of powerpc-apple-darwin, to also support the new X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=276512c7332ac0663f5dcca76c88c64d4e932cf6;p=dealii-svn.git Use *apple-darwin* instead of powerpc-apple-darwin, to also support the new Intel Macs git-svn-id: https://svn.dealii.org/trunk@13343 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 5b352eb8df..b412868bf5 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -3431,7 +3431,7 @@ AC_DEFUN(DEAL_II_CHECK_WEAK_LINKAGE_BUG, dnl [ DARWIN_GCC_WEAK_LINKAGE_BUG="no" case "$target" in - powerpc-apple-darwin* ) + *-apple-darwin* ) AC_MSG_CHECKING(for weak linkage bug (Apple gcc.3.3) ) diff --git a/deal.II/configure b/deal.II/configure index 1520e327e7..76cab4f55d 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.231 . +# From configure.in Revision: 1.232 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for deal.II 5.3.pre. # @@ -6361,7 +6361,7 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext DARWIN_GCC_WEAK_LINKAGE_BUG="no" case "$target" in - powerpc-apple-darwin* ) + *-apple-darwin* ) echo "$as_me:$LINENO: checking for weak linkage bug (Apple gcc.3.3) " >&5 echo $ECHO_N "checking for weak linkage bug (Apple gcc.3.3) ... $ECHO_C" >&6 @@ -10223,7 +10223,7 @@ esac case "$target" in - powerpc-apple-darwin* ) + *-apple-darwin* ) shared_lib_suffix=".dylib" darwin_shared_lib="yes" ;; @@ -10239,7 +10239,7 @@ if test "x$enableshared" = "xyes" ; then SHLIBFLAGS="-shared" case "$target" in - powerpc-apple-darwin* ) + *-apple-darwin* ) SHLIBFLAGS="-dynamiclib" ;; esac @@ -10247,7 +10247,7 @@ if test "x$enableshared" = "xyes" ; then else LDFLAGSSTATIC="-static" case "$target" in - powerpc-apple-darwin* ) + *-apple-darwin* ) LDFLAGSSTATIC="" ;; esac diff --git a/deal.II/configure.in b/deal.II/configure.in index 5905276c24..bd8c9bb787 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -296,7 +296,7 @@ esac dnl TODO Maybe the major version number should be inserted before .dylib dnl (.5.dylib for example). case "$target" in - powerpc-apple-darwin* ) + *-apple-darwin* ) shared_lib_suffix=".dylib" darwin_shared_lib="yes" ;; @@ -312,7 +312,7 @@ if test "x$enableshared" = "xyes" ; then SHLIBFLAGS="-shared" case "$target" in - powerpc-apple-darwin* ) + *-apple-darwin* ) SHLIBFLAGS="-dynamiclib" ;; esac @@ -323,7 +323,7 @@ dnl other compilers do not like this flag we should introduce a dnl LDFLAGSSTATIC variable and check -static through AC_TRY_LINK. LDFLAGSSTATIC="-static" case "$target" in - powerpc-apple-darwin* ) + *-apple-darwin* ) LDFLAGSSTATIC="" ;; esac