From: wolf Date: Mon, 11 Sep 2000 07:23:53 +0000 (+0000) Subject: Disable shared libs on CygWin. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0b83f8335b85b1600d0fbe5b1e4a0b90dafc49b;p=dealii-svn.git Disable shared libs on CygWin. git-svn-id: https://svn.dealii.org/trunk@3316 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/configure b/deal.II/configure index 8086fe3441..c62bf4385b 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -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 diff --git a/deal.II/configure.in b/deal.II/configure.in index 2e25f3ecf0..2e6569f39a 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -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 ;;