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.
This commit is contained in:
Harry Moffat 2004-09-24 20:16:56 +00:00
parent 9b0b360398
commit c6108e1d32
2 changed files with 8 additions and 0 deletions

View file

@ -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@

5
configure vendored
View file

@ -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