Tcl Source Code

Artifact [1e6cfd784e]
Login

Artifact 1e6cfd784e376d82bd5ec68e66a84e090299dd78:

Attachment "osf.patch" to ticket [748957ffff] added by mdejong 2003-06-26 01:57:54.
2003-06-25  Mo DeJong  <[email protected]>

	* unix/configure: Regen.
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when
	compiling with cc and add -mieee when compiling
	with gcc under OSF1-V5 "Tru64" systems.
	[Bug 748957]

Index: unix/tcl.m4
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/tcl.m4,v
retrieving revision 1.104
diff -u -r1.104 tcl.m4
--- unix/tcl.m4	9 Jun 2003 22:48:52 -0000	1.104
+++ unix/tcl.m4	25 Jun 2003 18:56:02 -0000
@@ -1354,8 +1354,10 @@
 	    LDFLAGS=""
 	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
 	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
-	    if test "$GCC" != "yes" ; then
-		EXTRA_CFLAGS="-DHAVE_TZSET -std1"
+	    if test "$GCC" = "yes" ; then
+		EXTRA_CFLAGS="-mieee"
+            else
+		EXTRA_CFLAGS="-DHAVE_TZSET -std1 -ieee"
 	    fi
 	    # see pthread_intro(3) for pthread support on osf1, k.furukawa
 	    if test "${TCL_THREADS}" = "1" ; then