This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for fix libgui compile under VC++


On Fri, 22 Feb 2002 02:42:22 -0800
Mo DeJong <supermo@bayarea.net> wrote:

> I noticed that the recent import of tkTable 2.7 has broken the
> libgui build under VC++.

A short chat with Keith has convinced me to revise my suggested
patch to instead define -DSTATIC_BUILD when building libgui.
This patch also includes the patch change for src/Makefile.in.

cheers
Mo

2002-02-22  Mo DeJong  <supermo@bayarea.net>

	* src/Makefile.am: Add -DSTATIC_BUILD so
	that no __declspec() is used in function
	delarations. This fixes the build under VC++.
	* src/Makefile.in: Regen.

Index: src/Makefile.am
===================================================================
RCS file: /cvs/src/src/libgui/src/Makefile.am,v
retrieving revision 1.5
diff -u -r1.5 Makefile.am
--- Makefile.am	2002/02/05 23:16:15	1.5
+++ Makefile.am	2002/02/22 22:44:07
@@ -47,7 +47,8 @@
 $(TKHDIR)/../unix $(TKHDIR)/../win \
 -DTBL_VERSION=\"$(TBL_VERSION)\"\
 -DTBL_COMMAND=\"$(TBL_COMMAND)\"\
--DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"$(guidir)\"
+-DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"$(guidir)\"\
+-DSTATIC_BUILD
 
 TKTABLE_SOURCES = tkTable.c tkTableCell.c tkTableCellSort.c \
 tkTableCmds.c tkTableEdit.c tkTableTag.c tkTableWin.c tkTableUtil.c
Index: src/Makefile.in
===================================================================
RCS file: /cvs/src/src/libgui/src/Makefile.in,v
retrieving revision 1.10
diff -u -r1.10 Makefile.in
--- Makefile.in	2002/02/05 23:16:16	1.10
+++ Makefile.in	2002/02/22 22:44:08
@@ -172,7 +173,8 @@
 $(TKHDIR)/../unix $(TKHDIR)/../win \
 -DTBL_VERSION=\"$(TBL_VERSION)\"\
 -DTBL_COMMAND=\"$(TBL_COMMAND)\"\
--DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"$(guidir)\"
+-DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"$(guidir)\"\
+-DSTATIC_BUILD
 
 
 TKTABLE_SOURCES = tkTable.c tkTableCell.c tkTableCellSort.c \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]