]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable shared libs on CygWin.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 11 Sep 2000 07:23:53 +0000 (07:23 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 11 Sep 2000 07:23:53 +0000 (07:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@3316 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure
deal.II/configure.in

index 8086fe3441025e303f965c0e5230a900ee06b954..c62bf4385b352ce1d05e200641adac67bb7b550d 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.30 
+# From configure.in Revision: 1.31 
 
 
 
@@ -694,7 +694,7 @@ fi
 
 
 case "$target" in
-   *-aix* | alpha*-linux* 
+   *-aix* | alpha*-linux* | *cygwin )
           echo "configure: warning: Shared libraries not supported on $target. Using static libs instead" 1>&2
           enableshared=no 
           ;;
@@ -1730,7 +1730,7 @@ EOF
 if { (eval echo configure:1731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   
-               deal_II_isnan_flag="-DHAVE_ISNAN $testflag"
+                                               deal_II_isnan_flag="-DHAVE_ISNAN $testflag"
                break;
            
 else
@@ -1738,7 +1738,7 @@ else
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   
-       
+                           
 fi
 rm -f conftest*
        done
@@ -1802,7 +1802,7 @@ EOF
 if { (eval echo configure:1803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   
-               deal_II_isnan_flag="-DHAVE_ISNAN $testflag"
+                                               deal_II_isnan_flag="-DHAVE_ISNAN $testflag"
                break;
            
 else
@@ -1810,7 +1810,7 @@ else
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   
-       
+                           
 fi
 rm -f conftest*
        done
index 2e25f3ecf054b8cae6513d49f678f094180f1f3e..2e6569f39aa37c815712fe935024987817292b3b 100644 (file)
@@ -48,9 +48,11 @@ AC_ARG_ENABLE(shared,
     enableshared=yes)
 
 dnl On AIX and alpha, shared libs don't work for us at present, so 
-dnl disable them (we should probably use libtool there)
+dnl disable them (we should probably use libtool there). Likewise on
+dnl CygWin Windows systems, where we don't know how to create shared
+dnl libs at all (at least at present)
 case "$target" in
-   *-aix* | alpha*-linux* 
+   *-aix* | alpha*-linux* | *cygwin )
           AC_MSG_WARN(Shared libraries not supported on $target. Using static libs instead)
           enableshared=no 
           ;;

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.