From c6108e1d32113c501a0ab34fd5fc31e1b0db2a0c Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 24 Sep 2004 20:16:56 +0000 Subject: [PATCH] Added USE_DLL variable and its controls. Takes care of a bug that krept in for compiles with MSVC++v.6.0 while trying to stand up MSVC++v7.0 compiles. --- Makefile.in | 3 +++ configure | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/Makefile.in b/Makefile.in index 7aa782abd..a480931f8 100755 --- a/Makefile.in +++ b/Makefile.in @@ -19,6 +19,7 @@ os_is_win = @OS_IS_WIN@ incl_user_code = @INCL_USER_CODE@ do_ranlib = @DO_RANLIB@ compact_install = @COMPACT_INSTALL@ +use_dll = @USE_CLIB_DLL@ prefix=@prefix@ @@ -98,8 +99,10 @@ win-kernel-install: @INSTALL@ -d @ct_libdir@ rm -f @ct_libdir@/* @INSTALL@ -m 644 @buildlib@/*.lib @ct_libdir@ +ifeq ($(use_dll),1) @INSTALL@ -m 644 @buildlib@/*.dll @ct_libdir@ @INSTALL@ -m 644 @buildlib@/*.exp @ct_libdir@ +endif data-install: @INSTALL@ -d @ct_datadir@ diff --git a/configure b/configure index f6c1df298..3390faad4 100755 --- a/configure +++ b/configure @@ -59,6 +59,11 @@ USE_VISUAL_STUDIO=${USE_VISUAL_STUDIO:="y"} # build the Matlab interface. FORTRAN_LIB_DIR="D:\Program Files\Microsoft Visual Studio\DF98\LIB" +# +# If you are using Visual Studio, set this variable to indicates +# whether you want to use DLL's. Note you need this for MSVCv7.0 +# but this is turned off for MSVCv6.0 +# USE_DLL=yes #---------------------------------------------------------------------- # Language Interfaces