Remove support for automatic cvs check-ins
authorUlrich Drepper <drepper@gmail.com>
Fri, 9 Sep 2011 03:19:04 +0000 (23:19 -0400)
committerUlrich Drepper <drepper@gmail.com>
Fri, 9 Sep 2011 03:19:04 +0000 (23:19 -0400)
CVS use for glibc is long gone.

12 files changed:
ChangeLog
Makefile
Makerules
config.make.in
configure.in
intl/Makefile
locale/Makefile
po/Makefile
posix/Makefile
sysdeps/gnu/Makefile
sysdeps/mach/hurd/Makefile
sysdeps/sparc/sparc32/Makefile

index 2d8747d0a56f4bdd409764ca806ad1ebe2c50e59..6b12f3b76bf6ee62cbaacdefb977b96b920c27d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
 
+       * Makefile: Remove support for automatic cvs check-ins.
+       * Makerules: Likewise.
+       * config.make.in: Likewise.
+       * configure.in: Likewise.
+       * intl/Makefile: Likewise.
+       * locale/Makefile: Likewise.
+       * po/Makefile: Likewise.
+       * posix/Makefile: Likewise.
+       * sysdeps/gnu/Makefile: Likewise.
+       * sysdeps/mach/hurd/Makefile: Likewise.
+       * sysdeps/sparc/sparc32/Makefile: Likewise.
+
        [BZ #13118]
        * posix/Makefile (bug-regex32-ENV): Define.
        Patch by John Stanley <jpsinthemix@verizon.net>.
index 8cfffad1d05158d602a4c3a8c61cfcb1a43cd09c..08134e9195097d48ced23059e4bf80350797fdc0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,20 +33,11 @@ all: lib others
 \f
 ifneq ($(AUTOCONF),no)
 
-ifeq ($(with-cvs),yes)
-define autoconf-it-cvs
-test ! -d CVS || cvs $(CVSOPTS) commit -m'Regenerated: autoconf $(ACFLAGS) $<' $@
-endef
-else
-autoconf-it-cvs =
-endif
-
 define autoconf-it
 @-rm -f $@.new
 $(AUTOCONF) $(ACFLAGS) $< > $@.new
 chmod a-w$(patsubst %,$(comma)a+x,$(filter .,$(@D))) $@.new
 mv -f $@.new $@
-$(autoconf-it-cvs)
 endef
 
 configure: configure.in aclocal.m4; $(autoconf-it)
@@ -414,9 +405,6 @@ manual/dir-add.texi manual/dir-add.info: FORCE
        $(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F)
 FAQ: scripts/gen-FAQ.pl FAQ.in
        $(PERL) $^ > $@.new && rm -f $@ && mv $@.new $@ && chmod a-w $@
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs $(CVSOPTS) commit -m'Regenerated:  $(PERL) $^' $@
-endif
 FORCE:
 
 iconvdata/% localedata/% po/% manual/%: FORCE
index a8b575c019c1c4673375631ae40f595b2cbf928a..03e08ef17bca567ea736fac1c44c239692b586b3 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -1452,9 +1452,6 @@ $(gpl2lgpl): %: $(..)gpl2lgpl.sed /home/gd/gnu/lib/%
 # So I don't edit them by mistake.
        chmod a-w $@-tmp
        mv -f $@-tmp $@
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs $(CVSOPTS) commit -m'Updated from $^' $@
-endif
 endif
 endif
 
index 407ebc1b68ae0d1c9a7e31c9c354c3eeb26bb004..8308d1d2067cb12e6a430b0aa814aa52bb33fad0 100644 (file)
@@ -53,7 +53,6 @@ have-as-needed = @libc_cv_as_needed@
 libgcc_s_suffix = @libc_cv_libgcc_s_suffix@
 need-nopic-initfini = @nopic_initfini@
 with-fp = @with_fp@
-with-cvs = @with_cvs@
 old-glibc-headers = @old_glibc_headers@
 unwind-find-fde = @libc_cv_gcc_unwind_find_fde@
 have-cpp-asm-debuginfo = @libc_cv_cpp_asm_debuginfo@
index 65ace27b76a18bd78c65b39084db45c56cc125fb..2ad790635368d34d06029b841814b2d18bca4f5e 100644 (file)
@@ -93,18 +93,6 @@ AC_ARG_WITH([xcoff],
                           [if using the XCOFF object format]),
            [xcoff=$withval],
            [xcoff=no])
-AC_ARG_WITH([cvs],
-           AC_HELP_STRING([--without-cvs],
-                          [if CVS should not be used]),
-           [with_cvs=$withval],
-           [with_cvs=yes])
-if test "$with_cvs" = yes; then
-  if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
-  then
-    with_cvs=no
-  fi
-fi
-AC_SUBST(with_cvs)
 
 AC_ARG_WITH([headers],
            AC_HELP_STRING([--with-headers=PATH],
@@ -1061,8 +1049,7 @@ whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works, libc_cv_autoconf_works, [dnl
   test $libc_cv_autoconf_works = yes || AUTOCONF=no
   ;;
 esac
-if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
-  # If --without-cvs they probably won't change configure.in, so no complaints.
+if test "x$AUTOCONF" = xno; then
   aux_missing="$aux_missing autoconf"
 fi
 
@@ -1492,13 +1479,13 @@ __attribute__ ((destructor))  void dtor (void) { puts("dtor"); }
 ],
                [dnl
       AS_IF([$READELF -WS conftest$ac_exeext | $AWK '
-        { gsub(/\@<:@ */, "@<:@") }
+       { gsub(/\@<:@ */, "@<:@") }
        $2 == ".ctors" || $2 == ".dtors" {
          size = strtonum("0x" $6)
          align = strtonum("0x" $NF)
          seen@<:@$2@:>@ = 1
          stub@<:@$2@:>@ = size == align * 2
-        }
+       }
        END {
          ctors_ok = !seen@<:@".ctors"@:>@ || stub@<:@".ctors"@:>@
          dtors_ok = !seen@<:@".dtors"@:>@ || stub@<:@".dtors"@:>@
index 1511edd490cd9c623fb099217a4a2f3f453a0646..ee5383699848a3e41ec0b6d49072b67de978498a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-2003, 2005, 2008 Free Software Foundation, Inc.
+# Copyright (C) 1995-2003, 2005, 2008, 2011 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -53,9 +53,6 @@ generated-dirs := domaindir localedir
 ifneq (no,$(BISON))
 plural.c: plural.y
        $(BISON) $(BISONFLAGS) $@ $^
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs $(CVSOPTS) commit -m'$(BISON) $(BISONFLAGS) $@ $^' $@
-endif
 endif
 $(objpfx)plural.o: plural.c
 
index ccaebf190f37eed2b2de7949dc22b5d977e83072..cd221774adff5b9481c7f9fb200a3f2e47fd1656 100644 (file)
@@ -86,9 +86,6 @@ $(objpfx)localedef $(objpfx)locale: $(lib-modules:%=$(objpfx)%.o)
 C-translit.h: C-translit.h.in gen-translit.pl
        $(PERL) gen-translit.pl < $< > $@.tmp
        mv -f $@.tmp $@
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs $(CVSOPTS) commit -mRegenerated $@
-endif
 
 localepath = "$(localedir):$(i18ndir)"
 
index 4d2f406525aba36ae26e774a2a1633735167a05b..55314e0b4f7c7998444a2963844046e8c8a5cd08 100644 (file)
@@ -74,9 +74,6 @@ libc.pot: header.pot libc.pot.files
                           -f $(objdir)/tmp-libc.pot-files po/$@.new
        rm $(objdir)/tmp-libc.pot-files
        mv -f $@.new $@
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs $(CVSOPTS) ci -m'Regenerated from source files' $@
-endif
 
 po-sed-cmd = \
   '/\/tst-/d;$(foreach S,[ch] cxx sh ksh bash,$(subst .,\.,/.$S\(.in\)*$$/p;))'
@@ -116,9 +113,6 @@ ifneq (,$(pofiles))
        chmod 444 $@
 
 linguas: $(pofiles:$(podir)/%=%)
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs $(CVSOPTS) commit -m'Copied from $(podir)' $^
-endif
 linguas.mo: $(pofiles:$(podir)/%.po=%.mo)
 
 endif
index b200342117f171351d839407570a94dde1b0b154..40e8d5fb731facdc458903dfc876baff900c3c69 100644 (file)
@@ -219,16 +219,10 @@ tst-execvp3-ARGS = --test-dir=$(objpfx)
 testcases.h: TESTS TESTS2C.sed
        sed -f TESTS2C.sed < $< > $@T
        mv -f $@T $@
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs $(CVSOPTS) commit -mRegenerated $@
-endif
 
 ptestcases.h: PTESTS PTESTS2C.sed
        sed -f PTESTS2C.sed < $< > $@T
        mv -f $@T $@
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs $(CVSOPTS) commit -mRegenerated $@
-endif
 
 # Run a test on the header files we use.
 # XXX Please note that for now we ignore the result of this test.
index b33d1004a5493d5fd36b0f0e5de36bec4ccd796d..44ee61db43db47dd625f179b4e1f6f1d96428d21 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1996,1997,1998,1999,2001,2002,2003,2004,2005,2006,2010
+# Copyright (C) 1996,1997,1998,1999,2001,2002,2003,2004,2005,2006,2010,2011
 #      Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -26,9 +26,6 @@ $(..)sysdeps/gnu/errlist.c: $(..)sysdeps/gnu/errlist.awk \
 # Make it unwritable so noone will edit it by mistake.
        -chmod a-w $@-tmp
        mv -f $@-tmp $@
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs commit -m'Regenerated from $^' $@
-endif
 
 ifeq ($(subdir),stdio-common)
 
@@ -63,7 +60,7 @@ endif
 
 ifeq ($(subdir),login)
 sysdep_routines += setutxent getutxent endutxent getutxid getutxline \
-                   pututxline utmpxname updwtmpx getutmpx getutmp
+                  pututxline utmpxname updwtmpx getutmpx getutmp
 
 sysdep_headers += utmpx.h bits/utmpx.h
 endif
index 95d7ba3800d500eebb7fdd45409f273b1855da5b..93058ffaa273bda4cd20c61a30c76f72259002e7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1993,94,95,96,97,98,99,2000,2001,2002,2003,2004,2009
+# Copyright (C) 1993,94,95,96,97,98,99,2000,2001,2002,2003,2004,2009,2011
 #      Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -94,10 +94,6 @@ $(common-objpfx)stamp-errnos: $(hurd)/errnos.awk $(errno.texinfo) \
 # Make it unwritable so noone will edit it by mistake.
        -chmod a-w $(hurd)/bits/errno.h-tmp
        $(move-if-change) $(hurd)/bits/errno.h-tmp $(hurd)/bits/errno.h
-ifeq ($(with-cvs),yes)
-       test ! -d $(hurd)/CVS || \
-         (cd $(hurd) && cvs commit -m'Regenerated from $^' bits/errno.h)
-endif
        touch $@
 
 common-generated += errnos.d stamp-errnos
index 6529ad897bf0660a12677420a04c7eb3d3dc6573..c5245f2a9b76bfd38f025139d7ee0d441189fa36 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991,92,93,94,95,96,97,98,2000 Free Software Foundation, Inc.
+# Copyright (C) 1991-1998, 2000, 2011 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -50,8 +50,5 @@ $(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S): $(sysdep_dir)/sparc/sparc32/divrem.
 # Make it unwritable so noone will edit it by mistake.
        -chmod a-w $@-tmp
        mv -f $@-tmp $@
-ifeq ($(with-cvs),yes)
-       test ! -d CVS || cvs commit -m'Regenerated from $<' $@
-endif
 
 sysdep-realclean := $(sysdep-realclean) $(divrem:%=sysdeps/sparc/sparc32/%.S)