]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do set static_lib_suffix correctly for non-linux platforms.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 23 Jul 2010 14:28:03 +0000 (14:28 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 23 Jul 2010 14:28:03 +0000 (14:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@21561 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure
deal.II/configure.in
deal.II/doc/news/changes.h

index f8c8591cc27d1bddb3c908967c88e5646680395c..4529e1b87bd4f24f888b47815e9cb4023afdd96f 100755 (executable)
@@ -12032,14 +12032,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"
            ;;
    * )
index c67a64bb95d69e5ad0c19d5001a386f895a34e72..b23589e17550fe4a1436678477a0317e17e3aa1b 100644 (file)
@@ -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"
            ;;
    * )
index a8d949a1ff44e75bada53439fa969b81a8686d6b..8d59c25c9312c83152e83f702c4bc6c8992b5239 100644 (file)
@@ -38,9 +38,18 @@ inconvenience this causes.
 <h3>General</h3>
 
 <ol>
+  <li>
+  <p>Fixed: On all non-linux platforms, if static libraries were selected
+  and <code>./configure</code> was instructed to use Trilinos (which also
+  was compiled with static libraries), a failure would occur. This should
+  now be fixed.
+  <br>
+  (WB 2010/07/23)
+  </p>
+
   <li>
   <p>Fixed: The step-33 tutorial program can not be built with GCC versions
-  4.5.x. There are in fact two problems, on that pertains to uses of
+  4.5.x. There are in fact two problems, one that pertains to uses of
   <code>std::make_pair</code> that don't work any more with the upcoming
   C++ 1x standard that GCC 4.5.x already follows, and some in which the
   Trilinos package Sacado is incompatible with GCC 4.5.x, at least up to
@@ -166,7 +175,7 @@ inconvenience this causes.
   </p></li>
 
 </ol>
-  
+
 
 
 <a name="deal.II"></a>

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.