]> https://gitweb.dealii.org/ - dealii.git/commitdiff
no message
authorrschulz <rschulz@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Dec 2004 07:53:07 +0000 (07:53 +0000)
committerrschulz <rschulz@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Dec 2004 07:53:07 +0000 (07:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@9855 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure.in

index 993b894081176e44445f98fd672883039417a0fb..f3d1fddb8dcc0738b772d8262996beda8298b120 100644 (file)
@@ -263,18 +263,27 @@ AC_ARG_ENABLE(shared,
 
 dnl On AIX 4.x and alpha, shared libs don't work for us at present, so 
 dnl disable them (we should probably use libtool there). Likewise on
-dnl CygWin Windows and Mac OS X systems, where we don't know how to
-dnl create shared libs at all (at least at present)
+dnl Mac OS X systems, where we don't know how to create shared libs 
+dnl at all (at least at present)
+
+dnl For Cygwin Windows systems, the shared library suffix becomes ".dll".
+
 shared_lib_suffix=".so"
 static_lib_suffix=".a"
 
 case "$target" in
-   *-aix4* | alpha*-linux* | alpha*-osf[45]* | *cygwin | powerpc-apple-darwin* | hppa64-unknown-linux-gnu )
+   *-aix4* | alpha*-linux* | alpha*-osf[45]* | powerpc-apple-darwin* | hppa64-unknown-linux-gnu )
           AC_MSG_WARN(Shared libraries not supported on $target. Using static libs instead)
           enableshared=no 
           ;;
 esac
 
+case "$target" in
+   *cygwin )
+           shared_lib_suffix=".dll"
+           ;;
+esac  
+
 AC_SUBST(enableshared)
 AC_SUBST(static_lib_suffix)
 AC_SUBST(shared_lib_suffix)

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.