aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-01-26 23:27:41 -0800
committerPaul Eggert2011-01-26 23:27:41 -0800
commit6bead3366761b64a2a30509fb41bb4d0fca68fbe (patch)
tree70114f0d55427e2e4cc9e306ab2cece34151ad3a
parent11ea68ce8ab1b5e0bde08f2f150b09abcffb4283 (diff)
parent125c3718c28a9f7ebba9d4a96f6c75a07f8797b6 (diff)
downloademacs-6bead3366761b64a2a30509fb41bb4d0fca68fbe.tar.gz
emacs-6bead3366761b64a2a30509fb41bb4d0fca68fbe.zip
Merge: fix two m4/gnulib-*.m4 file names that clashed under MS-DOS
-rw-r--r--ChangeLog15
-rw-r--r--Makefile.in8
-rw-r--r--aclocal.m42
-rwxr-xr-xconfig.guess17
-rwxr-xr-xconfig.sub6
-rwxr-xr-xconfigure22
-rw-r--r--lib/Makefile.in4
-rw-r--r--m4/gl-comp.m4 (renamed from m4/gnulib-comp.m4)0
-rw-r--r--m4/gnulib-cache.m437
-rw-r--r--src/config.in5
10 files changed, 57 insertions, 59 deletions
diff --git a/ChangeLog b/ChangeLog
index 012274ce944..04d6899d67a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
12011-01-27 Paul Eggert <eggert@cs.ucla.edu>
2
3 fix two m4/gnulib-*.m4 file names that clashed under MS-DOS
4 * Makefile.in (DOS-gnulib-comp.m4): New macro.
5 (sync-from-gnulib): Rename m4/gnulib-comp.m4 to m4/gl-comp.m4 to avoid
6 problems with MS-DOS 8+3 file name restrictions.
7 Remove m4/gnulib-cache.m4, as we can live without it. If we kept
8 it, it would also cause problems when extracting Emacs distribution
9 tarballs on MS-DOS hosts.
10 (ACLOCAL_INPUTS): Adjust to file renaming.
11 * aclocal.m4, configure, lib/Makefile.in, src/config.in: Regenerate.
12 * config.guess, config.sub: Sync from gnulib.
13 * m4/gnulib-cache.m4: Remove from repository.
14 * m4/gl-comp.m4: Rename from m4/gnulib-comp.m4.
15
12011-01-25 Glenn Morris <rgm@gnu.org> 162011-01-25 Glenn Morris <rgm@gnu.org>
2 17
3 * README: Add a note about ranges in copyright years. 18 * README: Add a note about ranges in copyright years.
diff --git a/Makefile.in b/Makefile.in
index e45cb927c5e..92d67361824 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -324,6 +324,9 @@ gnulib_srcdir = ../gnulib
324$(gnulib_srcdir): 324$(gnulib_srcdir):
325 git clone git://git.savannah.gnu.org/gnulib.git $@ 325 git clone git://git.savannah.gnu.org/gnulib.git $@
326 326
327# A shorter name that satisfies MS-DOS 8+3 constraints.
328DOS-gnulib-comp.m4 = gl-comp.m4
329
327# Update modules from gnulib, for maintainers, who should have it in 330# Update modules from gnulib, for maintainers, who should have it in
328# $(gnulib_srcdir) (relative to $(srcdir) and should have build tools 331# $(gnulib_srcdir) (relative to $(srcdir) and should have build tools
329# as per $(gnulib_srcdir)/DEPENDENCIES. 332# as per $(gnulib_srcdir)/DEPENDENCIES.
@@ -333,7 +336,8 @@ GNULIB_TOOL_FLAGS = \
333sync-from-gnulib: $(gnulib_srcdir) 336sync-from-gnulib: $(gnulib_srcdir)
334 cd $(srcdir) && \ 337 cd $(srcdir) && \
335 $(gnulib_srcdir)/gnulib-tool $(GNULIB_TOOL_FLAGS) $(GNULIB_MODULES) 338 $(gnulib_srcdir)/gnulib-tool $(GNULIB_TOOL_FLAGS) $(GNULIB_MODULES)
336 rm $(srcdir)/m4/warn-on-use.m4 339 cd $(srcdir)/m4 && rm gnulib-cache.m4 warn-on-use.m4
340 cd $(srcdir)/m4 && mv gnulib-comp.m4 $(DOS-gnulib-comp.m4)
337 cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc 341 cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc
338 cp \ 342 cp \
339 $(gnulib_srcdir)/build-aux/config.sub \ 343 $(gnulib_srcdir)/build-aux/config.sub \
@@ -406,7 +410,7 @@ AUTOCONF_INPUTS = @MAINT@ $(srcdir)/configure.in $(srcdir)/aclocal.m4
406$(srcdir)/configure: $(AUTOCONF_INPUTS) 410$(srcdir)/configure: $(AUTOCONF_INPUTS)
407 cd ${srcdir} && autoconf 411 cd ${srcdir} && autoconf
408 412
409ACLOCAL_INPUTS = @MAINT@ $(srcdir)/m4/gnulib-comp.m4 413ACLOCAL_INPUTS = @MAINT@ $(srcdir)/m4/$(DOS-gnulib-comp.m4)
410$(srcdir)/aclocal.m4: $(ACLOCAL_INPUTS) 414$(srcdir)/aclocal.m4: $(ACLOCAL_INPUTS)
411 cd $(srcdir) && aclocal -I m4 415 cd $(srcdir) && aclocal -I m4
412 416
diff --git a/aclocal.m4 b/aclocal.m4
index a152fd34537..8fca11b5414 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -988,8 +988,8 @@ m4_include([m4/00gnulib.m4])
988m4_include([m4/c-strtod.m4]) 988m4_include([m4/c-strtod.m4])
989m4_include([m4/extensions.m4]) 989m4_include([m4/extensions.m4])
990m4_include([m4/getopt.m4]) 990m4_include([m4/getopt.m4])
991m4_include([m4/gl-comp.m4])
991m4_include([m4/gnulib-common.m4]) 992m4_include([m4/gnulib-common.m4])
992m4_include([m4/gnulib-comp.m4])
993m4_include([m4/include_next.m4]) 993m4_include([m4/include_next.m4])
994m4_include([m4/mktime.m4]) 994m4_include([m4/mktime.m4])
995m4_include([m4/multiarch.m4]) 995m4_include([m4/multiarch.m4])
diff --git a/config.guess b/config.guess
index 4c8f032e786..78553c4ea07 100755
--- a/config.guess
+++ b/config.guess
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# Free Software Foundation, Inc. 5# 2011 Free Software Foundation, Inc.
6 6
7timestamp='2010-09-24' 7timestamp='2011-01-23'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@ GNU config.guess ($timestamp)
57 57
58Originally written by Per Bothner. 58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free 602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
61Software Foundation, Inc. 61Software Foundation, Inc.
62 62
63This is free software; see the source for copying conditions. There is NO 63This is free software; see the source for copying conditions. There is NO
@@ -92,7 +92,7 @@ if test $# != 0; then
92 exit 1 92 exit 1
93fi 93fi
94 94
95trap 'exit 1' HUP INT TERM 95trap 'exit 1' 1 2 15
96 96
97# CC_FOR_BUILD -- compiler used by this script. Note that the use of a 97# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
98# compiler to aid in system detection is discouraged as it requires 98# compiler to aid in system detection is discouraged as it requires
@@ -106,7 +106,7 @@ trap 'exit 1' HUP INT TERM
106 106
107set_cc_for_build=' 107set_cc_for_build='
108trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; 108trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
109trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ; 109trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
110: ${TMPDIR=/tmp} ; 110: ${TMPDIR=/tmp} ;
111 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || 111 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
112 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || 112 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
@@ -270,7 +270,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
270 # A Xn.n version is an unreleased experimental baselevel. 270 # A Xn.n version is an unreleased experimental baselevel.
271 # 1.2 uses "1.2" for uname -r. 271 # 1.2 uses "1.2" for uname -r.
272 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 272 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
273 exit ;; 273 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
274 exitcode=$?
275 trap '' 0
276 exit $exitcode ;;
274 Alpha\ *:Windows_NT*:*) 277 Alpha\ *:Windows_NT*:*)
275 # How do we know it's Interix rather than the generic POSIX subsystem? 278 # How do we know it's Interix rather than the generic POSIX subsystem?
276 # Should we change UNAME_MACHINE based on the output of uname instead 279 # Should we change UNAME_MACHINE based on the output of uname instead
diff --git a/config.sub b/config.sub
index 3ec94f181e3..2d8169626d7 100755
--- a/config.sub
+++ b/config.sub
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# Free Software Foundation, Inc. 5# 2011 Free Software Foundation, Inc.
6 6
7timestamp='2010-12-11' 7timestamp='2011-01-01'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
diff --git a/configure b/configure
index d3a0f3a9376..c8b5263db17 100755
--- a/configure
+++ b/configure
@@ -4007,6 +4007,17 @@ case "${canonical}" in
4007 CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS" 4007 CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS"
4008 ;; 4008 ;;
4009 4009
4010 ia64*-hp-hpux1[1-9]* )
4011 machine=hp800 opsys=hpux11
4012 ## FIXME. Peter O'Gorman reports that dumping using unexelf.o doesn't
4013 ## work either: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6811
4014 CANNOT_DUMP=yes
4015 ;;
4016
4017 hppa*-*-linux-gnu* )
4018 machine=hp800 opsys=gnu-linux
4019 ;;
4020
4010 ## IBM machines 4021 ## IBM machines
4011 rs6000-ibm-aix4.[23]* ) 4022 rs6000-ibm-aix4.[23]* )
4012 machine=ibmrs6000 opsys=aix4-2 4023 machine=ibmrs6000 opsys=aix4-2
@@ -6552,15 +6563,16 @@ rm -f core conftest.err conftest.$ac_objext \
6552CPP=`eval "echo $CPP"` 6563CPP=`eval "echo $CPP"`
6553 6564
6554 6565
6555CANNOT_DUMP=no 6566test "x$CANNOT_DUMP" = "x" && CANNOT_DUMP=no
6556case "$opsys" in 6567case "$opsys" in
6557 your-opsys-here) 6568 your-opsys-here) CANNOT_DUMP=yes ;;
6558 CANNOT_DUMP=yes 6569esac
6570
6571test "$CANNOT_DUMP" = "yes" && \
6559 6572
6560$as_echo "#define CANNOT_DUMP 1" >>confdefs.h 6573$as_echo "#define CANNOT_DUMP 1" >>confdefs.h
6561 6574
6562 ;; 6575
6563esac
6564 6576
6565 6577
6566 6578
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 36304c3e118..2ac0278f7ec 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -51,8 +51,8 @@ subdir = lib
51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ 52am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
53 $(top_srcdir)/m4/c-strtod.m4 $(top_srcdir)/m4/extensions.m4 \ 53 $(top_srcdir)/m4/c-strtod.m4 $(top_srcdir)/m4/extensions.m4 \
54 $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gnulib-common.m4 \ 54 $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gl-comp.m4 \
55 $(top_srcdir)/m4/gnulib-comp.m4 \ 55 $(top_srcdir)/m4/gnulib-common.m4 \
56 $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/mktime.m4 \ 56 $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/mktime.m4 \
57 $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/stddef_h.m4 \ 57 $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/stddef_h.m4 \
58 $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \ 58 $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \
diff --git a/m4/gnulib-comp.m4 b/m4/gl-comp.m4
index 32d3cce4307..32d3cce4307 100644
--- a/m4/gnulib-comp.m4
+++ b/m4/gl-comp.m4
diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4
deleted file mode 100644
index 4a2928d966d..00000000000
--- a/m4/gnulib-cache.m4
+++ /dev/null
@@ -1,37 +0,0 @@
1# Copyright (C) 2002-2011 Free Software Foundation, Inc.
2#
3# This file is free software, distributed under the terms of the GNU
4# General Public License. As a special exception to the GNU General
5# Public License, this file may be distributed as part of a program
6# that contains a configuration script generated by Autoconf, under
7# the same distribution terms as the rest of that program.
8#
9# Generated by gnulib-tool.
10#
11# This file represents the specification of how gnulib-tool is used.
12# It acts as a cache: It is written and read by gnulib-tool.
13# In projects that use version control, this file is meant to be put under
14# version control, like the configure.ac and various Makefile.am files.
15
16
17# Specification in the form of a command-line invocation:
18# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files dtoastr getopt-gnu mktime
19
20# Specification in the form of a few gnulib-tool.m4 macro invocations:
21gl_LOCAL_DIR([])
22gl_MODULES([
23 dtoastr
24 getopt-gnu
25 mktime
26])
27gl_AVOID([])
28gl_SOURCE_BASE([lib])
29gl_M4_BASE([m4])
30gl_PO_BASE([])
31gl_DOC_BASE([doc])
32gl_TESTS_BASE([tests])
33gl_LIB([libgnu])
34gl_MAKEFILE_NAME([gnulib.mk])
35gl_MACRO_PREFIX([gl])
36gl_PO_DOMAIN([])
37gl_VC_FILES([false])
diff --git a/src/config.in b/src/config.in
index f414f81fb43..c08f10be178 100644
--- a/src/config.in
+++ b/src/config.in
@@ -1,8 +1,9 @@
1/* src/config.in. Generated from configure.in by autoheader. */ 1/* src/config.in. Generated from configure.in by autoheader. */
2 2
3/* GNU Emacs site configuration template file. 3/* GNU Emacs site configuration template file.
4 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005, 4
5 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. 5Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2011
6 Free Software Foundation, Inc.
6 7
7This file is part of GNU Emacs. 8This file is part of GNU Emacs.
8 9