From 6bb7283ccd3c6798d8379f64075f703b3291a47e Mon Sep 17 00:00:00 2001 From: rschulz Date: Mon, 20 Dec 2004 07:53:07 +0000 Subject: [PATCH] no message git-svn-id: https://svn.dealii.org/trunk@9855 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/configure.in | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/deal.II/configure.in b/deal.II/configure.in index 993b894081..f3d1fddb8d 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -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) -- 2.39.5