From: <ve...@us...> - 2003-05-02 19:43:28
|
Update of /cvsroot/nsclspectcl/SpecTcl/Tape In directory sc8-pr-cvs1:/tmp/cvs-serv25929/Tape Modified Files: Tag: SpecTcl-2-0-001-fix Makefile.am Makefile.in mtblock.c Log Message: Added more functionality to the autotools stuff. This revision is known to compile and run on Linux, Tru64, and Cygwin. Index: Makefile.am =================================================================== RCS file: /cvsroot/nsclspectcl/SpecTcl/Tape/Attic/Makefile.am,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** Makefile.am 21 Mar 2003 17:23:00 -0000 1.1.2.1 --- Makefile.am 2 May 2003 19:42:54 -0000 1.1.2.2 *************** *** 1,2 **** --- 1,3 ---- + LDFLAGS = @LD_EXTRA_FLAGS@ lib_LTLIBRARIES = libtape.la libtape_la_SOURCES = mtblock.c volume.c mtmessage.c mtforbind.c Index: Makefile.in =================================================================== RCS file: /cvsroot/nsclspectcl/SpecTcl/Tape/Attic/Makefile.in,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** Makefile.in 26 Mar 2003 21:56:57 -0000 1.1.2.2 --- Makefile.in 2 May 2003 19:42:55 -0000 1.1.2.3 *************** *** 66,74 **** --- 66,77 ---- CPP = @CPP@ CXX = @CXX@ + CYG_LD_FLAGS = @CYG_LD_FLAGS@ DLLTOOL = @DLLTOOL@ ECHO = @ECHO@ EXEEXT = @EXEEXT@ F77 = @F77@ + FIX_LIBTOOL = @FIX_LIBTOOL@ LD_EXTRA_FLAGS = @LD_EXTRA_FLAGS@ + LD_TESTFILES = @LD_TESTFILES@ LEX = @LEX@ LIBTOOL = @LIBTOOL@ *************** *** 86,89 **** --- 89,93 ---- TCL_LDFLAGS = @TCL_LDFLAGS@ VERSION = @VERSION@ + WARN_FLAGS = @WARN_FLAGS@ WCHAR_T_DEF = @WCHAR_T_DEF@ XINCLUDES = @XINCLUDES@ *************** *** 96,99 **** --- 100,104 ---- have_convert = @have_convert@ + LDFLAGS = @LD_EXTRA_FLAGS@ lib_LTLIBRARIES = libtape.la libtape_la_SOURCES = mtblock.c volume.c mtmessage.c mtforbind.c *************** *** 108,112 **** DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ - LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ libtape_la_LDFLAGS = --- 113,116 ---- Index: mtblock.c =================================================================== RCS file: /cvsroot/nsclspectcl/SpecTcl/Tape/mtblock.c,v retrieving revision 4.1.2.1 retrieving revision 4.1.2.2 diff -C2 -d -r4.1.2.1 -r4.1.2.2 *** mtblock.c 21 Mar 2003 20:36:05 -0000 4.1.2.1 --- mtblock.c 2 May 2003 19:42:55 -0000 4.1.2.2 *************** *** 324,327 **** --- 324,331 ---- #include "mtinternl.h" + #ifdef SOLARIS + # include <fcntl.h> + #endif + #ifdef HAVE_DECL_MTSETBLK static struct mtop variable = { MTSETBLK, 0 }; |