2005-03-23 Martin Hunt <hunt@redhat.com>
authorMartin Hunt <hunt@redhat.com>
Wed, 23 Mar 2005 19:17:42 +0000 (19:17 +0000)
committerMartin Hunt <hunt@redhat.com>
Wed, 23 Mar 2005 19:17:42 +0000 (19:17 +0000)
        * configure.ac: Remove -fwritable-strings from CFLAGS.
        * configure: Regenerate.

gdb/ChangeLog
gdb/configure
gdb/configure.ac

index 2a81f8b..920928f 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-23  Martin Hunt  <hunt@redhat.com>
+
+       * configure.ac: Remove -fwritable-strings from CFLAGS.
+       * configure: Regenerate.
+
 2005-03-21  Michael Snyder  <msnyder@redhat.com>
 
        * mn10300-prologue.c (fix_frame_pointer): Delete.
index c30726e..49368cc 100755 (executable)
            fi
 
            ENABLE_CFLAGS="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
-          # Tcl/Tk 8.1 require -fwritable strings.  I don't
-           # know whether 8.2 will or not, but I bet it will.
-           # I don't have to worry about 7.x since we don't support it.
-           GDBTK_CFLAGS=""
-          if test "$GCC" = "yes"; then
-               if test "$TCL_VERSION" != "8.0" ; then
-                   GDBTK_CFLAGS="-fwritable-strings"
-              fi
-           fi
 
           # Include some libraries that Tcl and Tk want.
           TCL_LIBS='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
index 3318c2c..1503a5d 100644 (file)
@@ -1264,15 +1264,6 @@ if test "${enable_gdbtk}" = "yes"; then
            fi
 
            ENABLE_CFLAGS="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
-          # Tcl/Tk 8.1 require -fwritable strings.  I don't
-           # know whether 8.2 will or not, but I bet it will.
-           # I don't have to worry about 7.x since we don't support it.
-           GDBTK_CFLAGS=""
-          if test "$GCC" = "yes"; then
-               if test "$TCL_VERSION" != "8.0" ; then
-                   GDBTK_CFLAGS="-fwritable-strings"
-              fi
-           fi
 
           # Include some libraries that Tcl and Tk want.
           TCL_LIBS='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'