aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-01-27 16:25:24 -0800
committerPaul Eggert2011-01-27 16:25:24 -0800
commitc7e95b9146337a09f112c9789a4843ac48f6aefd (patch)
treeef4d7f61c766ef72ef57dcabde3f33f42a09e97f
parent8937ef6e5e4dc50227bfde55a640d59311b5eafb (diff)
downloademacs-c7e95b9146337a09f112c9789a4843ac48f6aefd.tar.gz
emacs-c7e95b9146337a09f112c9789a4843ac48f6aefd.zip
improve fix for MS-DOS file name clash
* Makefile.in (DOS_gnulib_comp.m4): Renamed from DOS-gnulib-comp.m4, for portability to POSIX make. Reported by Bruno Haible. (sync-from-gnulib): Copy gl-comp.m4 (if present) back to gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib files from accumulating as garbage. Also reported by Bruno Haible.
-rw-r--r--ChangeLog9
-rw-r--r--Makefile.in7
2 files changed, 13 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 04d6899d67a..27c010fc6dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
12011-01-28 Paul Eggert <eggert@cs.ucla.edu>
2
3 improve fix for MS-DOS file name clash
4 * Makefile.in (DOS_gnulib_comp.m4): Renamed from DOS-gnulib-comp.m4,
5 for portability to POSIX make. Reported by Bruno Haible.
6 (sync-from-gnulib): Copy gl-comp.m4 (if present) back to
7 gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib
8 files from accumulating as garbage. Also reported by Bruno Haible.
9
12011-01-27 Paul Eggert <eggert@cs.ucla.edu> 102011-01-27 Paul Eggert <eggert@cs.ucla.edu>
2 11
3 fix two m4/gnulib-*.m4 file names that clashed under MS-DOS 12 fix two m4/gnulib-*.m4 file names that clashed under MS-DOS
diff --git a/Makefile.in b/Makefile.in
index 92d67361824..63fd8332797 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -325,7 +325,7 @@ $(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. 327# A shorter name that satisfies MS-DOS 8+3 constraints.
328DOS-gnulib-comp.m4 = gl-comp.m4 328DOS_gnulib_comp.m4 = gl-comp.m4
329 329
330# Update modules from gnulib, for maintainers, who should have it in 330# Update modules from gnulib, for maintainers, who should have it in
331# $(gnulib_srcdir) (relative to $(srcdir) and should have build tools 331# $(gnulib_srcdir) (relative to $(srcdir) and should have build tools
@@ -334,10 +334,11 @@ GNULIB_MODULES = dtoastr getopt-gnu mktime
334GNULIB_TOOL_FLAGS = \ 334GNULIB_TOOL_FLAGS = \
335 --import --no-changelog --no-vc-files --makefile-name=gnulib.mk 335 --import --no-changelog --no-vc-files --makefile-name=gnulib.mk
336sync-from-gnulib: $(gnulib_srcdir) 336sync-from-gnulib: $(gnulib_srcdir)
337 -cd $(srcdir)/m4 && cp $(DOS_gnulib_comp.m4) gnulib-comp.m4
337 cd $(srcdir) && \ 338 cd $(srcdir) && \
338 $(gnulib_srcdir)/gnulib-tool $(GNULIB_TOOL_FLAGS) $(GNULIB_MODULES) 339 $(gnulib_srcdir)/gnulib-tool $(GNULIB_TOOL_FLAGS) $(GNULIB_MODULES)
339 cd $(srcdir)/m4 && rm gnulib-cache.m4 warn-on-use.m4 340 cd $(srcdir)/m4 && rm gnulib-cache.m4 warn-on-use.m4
340 cd $(srcdir)/m4 && mv gnulib-comp.m4 $(DOS-gnulib-comp.m4) 341 cd $(srcdir)/m4 && mv gnulib-comp.m4 $(DOS_gnulib_comp.m4)
341 cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc 342 cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc
342 cp \ 343 cp \
343 $(gnulib_srcdir)/build-aux/config.sub \ 344 $(gnulib_srcdir)/build-aux/config.sub \
@@ -410,7 +411,7 @@ AUTOCONF_INPUTS = @MAINT@ $(srcdir)/configure.in $(srcdir)/aclocal.m4
410$(srcdir)/configure: $(AUTOCONF_INPUTS) 411$(srcdir)/configure: $(AUTOCONF_INPUTS)
411 cd ${srcdir} && autoconf 412 cd ${srcdir} && autoconf
412 413
413ACLOCAL_INPUTS = @MAINT@ $(srcdir)/m4/$(DOS-gnulib-comp.m4) 414ACLOCAL_INPUTS = @MAINT@ $(srcdir)/m4/$(DOS_gnulib_comp.m4)
414$(srcdir)/aclocal.m4: $(ACLOCAL_INPUTS) 415$(srcdir)/aclocal.m4: $(ACLOCAL_INPUTS)
415 cd $(srcdir) && aclocal -I m4 416 cd $(srcdir) && aclocal -I m4
416 417