[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10220: Make check errors!

From: Paul Eggert
Subject: bug#10220: Make check errors!
Date: Mon, 05 Dec 2011 14:07:33 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

Thanks for reporting that.  I installed the following
fix into the trunk, and something like it should appear
in the next coreutils version.  If you want to work around
it by hand without installing the autotools, you can
substitute \043 for \# in src/Makefile before typing

2011-12-05  Paul Eggert  <address@hidden>

        maint: don't assume GNU make \# syntax
        Problem reported by Basavaraj B (Bug#10220).
        (fs_normalize_perl_subst): Use \043 rather than \#.
        \043 is portable to all ASCIIish platforms, whereas \# is portable
        only to platforms that are compatible with GNU make (and are
        incompatible with POSIX make).  Porting this to EBCDIC is left as
        an exercise for the reader....

diff --git a/src/Makefile.am b/src/Makefile.am
index b0b7eb5..f36e138 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -571,11 +571,11 @@ fs_normalize_perl_subst =                 \
   -e 's/(\s+0x)(\X{6})\b/$${1}00$$2/;'         \
   -e 's/(\s+0x)(\X{7})\b/$${1}0$$2/;'          \
   -e 's/^\s+//;'                               \
-  -e 's/^\#define\s+//;'                       \
+  -e 's/^\043define\s+//;'                     \
   -e 's/^_(XIAFS)/$$1/;'                       \
   -e 's/^USBDEVICE/USBDEVFS/;'                 \
   -e 's/NTFS_SB/NTFS/;'                                \
-  -e 's/^/\# define S_MAGIC_/;'                        \
+  -e 's/^/\043 define S_MAGIC_/;'              \
   -e 's,\s*/\* .*? \*/,,;'
 CLEANFILES += fs-magic

reply via email to

[Prev in Thread] Current Thread [Next in Thread]