diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-16 15:33:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-16 15:33:44 (GMT) |
commit | dae178c6fb5d174b35f7b985caf0d8669349aeb3 (patch) | |
tree | e64d146c10212507004adccaceac4987225b1bf8 /unix/Makefile.in | |
parent | e2b504bf3a2dc5aabd16dd640f75e87553dcf25a (diff) | |
download | tk-dae178c6fb5d174b35f7b985caf0d8669349aeb3.zip tk-dae178c6fb5d174b35f7b985caf0d8669349aeb3.tar.gz tk-dae178c6fb5d174b35f7b985caf0d8669349aeb3.tar.bz2 |
Don't compile Tk with -DTCL_NO_DEPRECATED by default
any more, it might hurt when we compile Tk 8.x
against Tcl 8.y with y > x, because new deprecated constructs might be
added in higher Tcl versions (except for Tk 8.6, for now, because there
is no higher 8.x yet)
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 3f99fd8..53579f9 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -189,7 +189,7 @@ KEYSYM_FLAGS = # Tk does not used deprecated Tcl constructs so it should # compile fine with -DTCL_NO_DEPRECATED. To remove its own # set of deprecated code uncomment the second line. -NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED +NO_DEPRECATED_FLAGS = #NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED -DTK_NO_DEPRECATED # Some versions of make, like SGI's, use the following variable to @@ -329,7 +329,7 @@ CC_SWITCHES_NO_STUBS = ${CFLAGS} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} \ ${@TK_WINDOWINGSYSTEM@_INCLUDES} ${AC_FLAGS} ${PROTO_FLAGS} ${SECURITY_FLAGS} \ ${MEM_DEBUG_FLAGS} ${KEYSYM_FLAGS} ${NO_DEPRECATED_FLAGS} @EXTRA_CC_SWITCHES@ -CC_SWITCHES = $(CC_SWITCHES_NO_STUBS) ${TCL_STUB_FLAGS} +CC_SWITCHES = $(CC_SWITCHES_NO_STUBS) ${TCL_STUB_FLAGS} APP_CC_SWITCHES = $(CC_SWITCHES_NO_STUBS) @EXTRA_APP_CC_SWITCHES@ @@ -1500,7 +1500,7 @@ BUILD_HTML = \ # # Targets to build Solaris package of the distribution for the current # architecture. To build stream packages for both sun4 and i86pc -# architectures: +# architectures: # # On the sun4 machine, execute the following: # make distclean; ./configure @@ -1556,7 +1556,7 @@ package-common: # Build and install the architecture specific files in the dist directory. # -package-binaries: +package-binaries: cd $(DISTDIR)/unix/`arch`; \ $(MAKE); \ $(MAKE) install-binaries prefix=$(DISTDIR)/SUNWtcl/$(TCLVERSION) \ |