From 7a50bf00a7ce66bab207b9baa6f2b901d15661cb Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 23 Jul 2010 14:31:00 +0000 Subject: [PATCH] Bring over patch 21561. git-svn-id: https://svn.dealii.org/branches/releases/Branch-6-3@21562 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/configure | 3 +++ deal.II/configure.in | 3 +++ deal.II/doc/news/changes.h | 10 +++++++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/deal.II/configure b/deal.II/configure index 6c287fd267..695fbcfccc 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -12027,14 +12027,17 @@ case "$target" in *-aix4* | alpha*-linux* | alpha*-osf45* | hppa64-unknown-linux-gnu ) { $as_echo "$as_me:$LINENO: WARNING: Shared libraries not supported on $target. Using static libs instead" >&5 $as_echo "$as_me: WARNING: Shared libraries not supported on $target. Using static libs instead" >&2;} + static_lib_suffix=".a" enableshared=no ;; *cygwin ) shared_lib_suffix=".dll" + static_lib_suffix=".a" cygwin_shared_lib="yes" ;; *-apple-darwin* ) shared_lib_suffix=".dylib" + static_lib_suffix=".a" darwin_shared_lib="yes" ;; * ) diff --git a/deal.II/configure.in b/deal.II/configure.in index 9dcbfa9f54..7640fa3166 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -275,14 +275,17 @@ dnl on Mac OS X it is .dylib. case "$target" in *-aix4* | alpha*-linux* | alpha*-osf[45]* | hppa64-unknown-linux-gnu ) AC_MSG_WARN(Shared libraries not supported on $target. Using static libs instead) + static_lib_suffix=".a" enableshared=no ;; *cygwin ) shared_lib_suffix=".dll" + static_lib_suffix=".a" cygwin_shared_lib="yes" ;; *-apple-darwin* ) shared_lib_suffix=".dylib" + static_lib_suffix=".a" darwin_shared_lib="yes" ;; * ) diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index 67c82ec151..9dcddefa92 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -38,7 +38,14 @@ inconvenience this causes.

General

    -
  1. None so far. +
  2. +

    Fixed: On all non-linux platforms, if static libraries were selected + and ./configure was instructed to use Trilinos (which also + was compiled with static libraries), a failure would occur. This should + now be fixed. +
    + (WB 2010/07/23) +

@@ -59,6 +66,7 @@ inconvenience this causes. +

deal.II

-- 2.39.5