mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Remove support for automatic cvs check-ins
CVS use for glibc is long gone.
This commit is contained in:
12
ChangeLog
12
ChangeLog
@ -1,5 +1,17 @@
|
|||||||
2011-09-08 Ulrich Drepper <drepper@gmail.com>
|
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]
|
[BZ #13118]
|
||||||
* posix/Makefile (bug-regex32-ENV): Define.
|
* posix/Makefile (bug-regex32-ENV): Define.
|
||||||
Patch by John Stanley <jpsinthemix@verizon.net>.
|
Patch by John Stanley <jpsinthemix@verizon.net>.
|
||||||
|
12
Makefile
12
Makefile
@ -33,20 +33,11 @@ all: lib others
|
|||||||
|
|
||||||
ifneq ($(AUTOCONF),no)
|
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
|
define autoconf-it
|
||||||
@-rm -f $@.new
|
@-rm -f $@.new
|
||||||
$(AUTOCONF) $(ACFLAGS) $< > $@.new
|
$(AUTOCONF) $(ACFLAGS) $< > $@.new
|
||||||
chmod a-w$(patsubst %,$(comma)a+x,$(filter .,$(@D))) $@.new
|
chmod a-w$(patsubst %,$(comma)a+x,$(filter .,$(@D))) $@.new
|
||||||
mv -f $@.new $@
|
mv -f $@.new $@
|
||||||
$(autoconf-it-cvs)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
configure: configure.in aclocal.m4; $(autoconf-it)
|
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)
|
$(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F)
|
||||||
FAQ: scripts/gen-FAQ.pl FAQ.in
|
FAQ: scripts/gen-FAQ.pl FAQ.in
|
||||||
$(PERL) $^ > $@.new && rm -f $@ && mv $@.new $@ && chmod a-w $@
|
$(PERL) $^ > $@.new && rm -f $@ && mv $@.new $@ && chmod a-w $@
|
||||||
ifeq ($(with-cvs),yes)
|
|
||||||
test ! -d CVS || cvs $(CVSOPTS) commit -m'Regenerated: $(PERL) $^' $@
|
|
||||||
endif
|
|
||||||
FORCE:
|
FORCE:
|
||||||
|
|
||||||
iconvdata/% localedata/% po/% manual/%: FORCE
|
iconvdata/% localedata/% po/% manual/%: FORCE
|
||||||
|
@ -1452,9 +1452,6 @@ $(gpl2lgpl): %: $(..)gpl2lgpl.sed /home/gd/gnu/lib/%
|
|||||||
# So I don't edit them by mistake.
|
# So I don't edit them by mistake.
|
||||||
chmod a-w $@-tmp
|
chmod a-w $@-tmp
|
||||||
mv -f $@-tmp $@
|
mv -f $@-tmp $@
|
||||||
ifeq ($(with-cvs),yes)
|
|
||||||
test ! -d CVS || cvs $(CVSOPTS) commit -m'Updated from $^' $@
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -53,7 +53,6 @@ have-as-needed = @libc_cv_as_needed@
|
|||||||
libgcc_s_suffix = @libc_cv_libgcc_s_suffix@
|
libgcc_s_suffix = @libc_cv_libgcc_s_suffix@
|
||||||
need-nopic-initfini = @nopic_initfini@
|
need-nopic-initfini = @nopic_initfini@
|
||||||
with-fp = @with_fp@
|
with-fp = @with_fp@
|
||||||
with-cvs = @with_cvs@
|
|
||||||
old-glibc-headers = @old_glibc_headers@
|
old-glibc-headers = @old_glibc_headers@
|
||||||
unwind-find-fde = @libc_cv_gcc_unwind_find_fde@
|
unwind-find-fde = @libc_cv_gcc_unwind_find_fde@
|
||||||
have-cpp-asm-debuginfo = @libc_cv_cpp_asm_debuginfo@
|
have-cpp-asm-debuginfo = @libc_cv_cpp_asm_debuginfo@
|
||||||
|
19
configure.in
19
configure.in
@ -93,18 +93,6 @@ AC_ARG_WITH([xcoff],
|
|||||||
[if using the XCOFF object format]),
|
[if using the XCOFF object format]),
|
||||||
[xcoff=$withval],
|
[xcoff=$withval],
|
||||||
[xcoff=no])
|
[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_ARG_WITH([headers],
|
||||||
AC_HELP_STRING([--with-headers=PATH],
|
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
|
test $libc_cv_autoconf_works = yes || AUTOCONF=no
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if test "x$with_cvs" = xyes && test "x$AUTOCONF" = xno; then
|
if test "x$AUTOCONF" = xno; then
|
||||||
# If --without-cvs they probably won't change configure.in, so no complaints.
|
|
||||||
aux_missing="$aux_missing autoconf"
|
aux_missing="$aux_missing autoconf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1492,13 +1479,13 @@ __attribute__ ((destructor)) void dtor (void) { puts("dtor"); }
|
|||||||
],
|
],
|
||||||
[dnl
|
[dnl
|
||||||
AS_IF([$READELF -WS conftest$ac_exeext | $AWK '
|
AS_IF([$READELF -WS conftest$ac_exeext | $AWK '
|
||||||
{ gsub(/\@<:@ */, "@<:@") }
|
{ gsub(/\@<:@ */, "@<:@") }
|
||||||
$2 == ".ctors" || $2 == ".dtors" {
|
$2 == ".ctors" || $2 == ".dtors" {
|
||||||
size = strtonum("0x" $6)
|
size = strtonum("0x" $6)
|
||||||
align = strtonum("0x" $NF)
|
align = strtonum("0x" $NF)
|
||||||
seen@<:@$2@:>@ = 1
|
seen@<:@$2@:>@ = 1
|
||||||
stub@<:@$2@:>@ = size == align * 2
|
stub@<:@$2@:>@ = size == align * 2
|
||||||
}
|
}
|
||||||
END {
|
END {
|
||||||
ctors_ok = !seen@<:@".ctors"@:>@ || stub@<:@".ctors"@:>@
|
ctors_ok = !seen@<:@".ctors"@:>@ || stub@<:@".ctors"@:>@
|
||||||
dtors_ok = !seen@<:@".dtors"@:>@ || stub@<:@".dtors"@:>@
|
dtors_ok = !seen@<:@".dtors"@:>@ || stub@<:@".dtors"@:>@
|
||||||
|
@ -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.
|
# This file is part of the GNU C Library.
|
||||||
|
|
||||||
# The GNU C Library is free software; you can redistribute it and/or
|
# The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -53,9 +53,6 @@ generated-dirs := domaindir localedir
|
|||||||
ifneq (no,$(BISON))
|
ifneq (no,$(BISON))
|
||||||
plural.c: plural.y
|
plural.c: plural.y
|
||||||
$(BISON) $(BISONFLAGS) $@ $^
|
$(BISON) $(BISONFLAGS) $@ $^
|
||||||
ifeq ($(with-cvs),yes)
|
|
||||||
test ! -d CVS || cvs $(CVSOPTS) commit -m'$(BISON) $(BISONFLAGS) $@ $^' $@
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
$(objpfx)plural.o: plural.c
|
$(objpfx)plural.o: plural.c
|
||||||
|
|
||||||
|
@ -86,9 +86,6 @@ $(objpfx)localedef $(objpfx)locale: $(lib-modules:%=$(objpfx)%.o)
|
|||||||
C-translit.h: C-translit.h.in gen-translit.pl
|
C-translit.h: C-translit.h.in gen-translit.pl
|
||||||
$(PERL) gen-translit.pl < $< > $@.tmp
|
$(PERL) gen-translit.pl < $< > $@.tmp
|
||||||
mv -f $@.tmp $@
|
mv -f $@.tmp $@
|
||||||
ifeq ($(with-cvs),yes)
|
|
||||||
test ! -d CVS || cvs $(CVSOPTS) commit -mRegenerated $@
|
|
||||||
endif
|
|
||||||
|
|
||||||
localepath = "$(localedir):$(i18ndir)"
|
localepath = "$(localedir):$(i18ndir)"
|
||||||
|
|
||||||
|
@ -74,9 +74,6 @@ libc.pot: header.pot libc.pot.files
|
|||||||
-f $(objdir)/tmp-libc.pot-files po/$@.new
|
-f $(objdir)/tmp-libc.pot-files po/$@.new
|
||||||
rm $(objdir)/tmp-libc.pot-files
|
rm $(objdir)/tmp-libc.pot-files
|
||||||
mv -f $@.new $@
|
mv -f $@.new $@
|
||||||
ifeq ($(with-cvs),yes)
|
|
||||||
test ! -d CVS || cvs $(CVSOPTS) ci -m'Regenerated from source files' $@
|
|
||||||
endif
|
|
||||||
|
|
||||||
po-sed-cmd = \
|
po-sed-cmd = \
|
||||||
'/\/tst-/d;$(foreach S,[ch] cxx sh ksh bash,$(subst .,\.,/.$S\(.in\)*$$/p;))'
|
'/\/tst-/d;$(foreach S,[ch] cxx sh ksh bash,$(subst .,\.,/.$S\(.in\)*$$/p;))'
|
||||||
@ -116,9 +113,6 @@ ifneq (,$(pofiles))
|
|||||||
chmod 444 $@
|
chmod 444 $@
|
||||||
|
|
||||||
linguas: $(pofiles:$(podir)/%=%)
|
linguas: $(pofiles:$(podir)/%=%)
|
||||||
ifeq ($(with-cvs),yes)
|
|
||||||
test ! -d CVS || cvs $(CVSOPTS) commit -m'Copied from $(podir)' $^
|
|
||||||
endif
|
|
||||||
linguas.mo: $(pofiles:$(podir)/%.po=%.mo)
|
linguas.mo: $(pofiles:$(podir)/%.po=%.mo)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -219,16 +219,10 @@ tst-execvp3-ARGS = --test-dir=$(objpfx)
|
|||||||
testcases.h: TESTS TESTS2C.sed
|
testcases.h: TESTS TESTS2C.sed
|
||||||
sed -f TESTS2C.sed < $< > $@T
|
sed -f TESTS2C.sed < $< > $@T
|
||||||
mv -f $@T $@
|
mv -f $@T $@
|
||||||
ifeq ($(with-cvs),yes)
|
|
||||||
test ! -d CVS || cvs $(CVSOPTS) commit -mRegenerated $@
|
|
||||||
endif
|
|
||||||
|
|
||||||
ptestcases.h: PTESTS PTESTS2C.sed
|
ptestcases.h: PTESTS PTESTS2C.sed
|
||||||
sed -f PTESTS2C.sed < $< > $@T
|
sed -f PTESTS2C.sed < $< > $@T
|
||||||
mv -f $@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.
|
# Run a test on the header files we use.
|
||||||
# XXX Please note that for now we ignore the result of this test.
|
# XXX Please note that for now we ignore the result of this test.
|
||||||
|
@ -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.
|
# Free Software Foundation, Inc.
|
||||||
# This file is part of the GNU C Library.
|
# 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.
|
# Make it unwritable so noone will edit it by mistake.
|
||||||
-chmod a-w $@-tmp
|
-chmod a-w $@-tmp
|
||||||
mv -f $@-tmp $@
|
mv -f $@-tmp $@
|
||||||
ifeq ($(with-cvs),yes)
|
|
||||||
test ! -d CVS || cvs commit -m'Regenerated from $^' $@
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(subdir),stdio-common)
|
ifeq ($(subdir),stdio-common)
|
||||||
|
|
||||||
@ -63,7 +60,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(subdir),login)
|
ifeq ($(subdir),login)
|
||||||
sysdep_routines += setutxent getutxent endutxent getutxid getutxline \
|
sysdep_routines += setutxent getutxent endutxent getutxid getutxline \
|
||||||
pututxline utmpxname updwtmpx getutmpx getutmp
|
pututxline utmpxname updwtmpx getutmpx getutmp
|
||||||
|
|
||||||
sysdep_headers += utmpx.h bits/utmpx.h
|
sysdep_headers += utmpx.h bits/utmpx.h
|
||||||
endif
|
endif
|
||||||
|
@ -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.
|
# Free Software Foundation, Inc.
|
||||||
# This file is part of the GNU C Library.
|
# 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.
|
# Make it unwritable so noone will edit it by mistake.
|
||||||
-chmod a-w $(hurd)/bits/errno.h-tmp
|
-chmod a-w $(hurd)/bits/errno.h-tmp
|
||||||
$(move-if-change) $(hurd)/bits/errno.h-tmp $(hurd)/bits/errno.h
|
$(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 $@
|
touch $@
|
||||||
|
|
||||||
common-generated += errnos.d stamp-errnos
|
common-generated += errnos.d stamp-errnos
|
||||||
|
@ -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.
|
# This file is part of the GNU C Library.
|
||||||
|
|
||||||
# The GNU C Library is free software; you can redistribute it and/or
|
# 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.
|
# Make it unwritable so noone will edit it by mistake.
|
||||||
-chmod a-w $@-tmp
|
-chmod a-w $@-tmp
|
||||||
mv -f $@-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)
|
sysdep-realclean := $(sysdep-realclean) $(divrem:%=sysdeps/sparc/sparc32/%.S)
|
||||||
|
Reference in New Issue
Block a user