While trying to track down why MEM_ALIGNBYTES doesn't get defined in
our config.h even though we write it out from configure.com, I
noticed that the hints file had it at the end of the line with no
comment after it like all the other variables have. After patching
the hints file like so:

--- config_h.SH;-0      Thu Feb 22 07:20:42 2001
+++ config_h.SH Thu Feb 22 19:14:38 2001
@@ -1061,7 +1061,7 @@
  #if defined(CROSSCOMPILE) || defined(MULTIARCH)
  #  define MEM_ALIGNBYTES 8
  #else
-#define MEM_ALIGNBYTES $alignbytes
+#define MEM_ALIGNBYTES $alignbytes             /**/
  #endif

  /* ARCHLIB:
[end of patch]

munchconfig.c is then able to do the substitution, as this before and
after config.h diff shows:

--- old_config.h       Tue Feb 20 20:07:05 2001
+++ config.h    Thu Feb 22 19:21:19 2001
@@ -1044,7 +1044,7 @@
  #if defined(CROSSCOMPILE) || defined(MULTIARCH)
  #  define MEM_ALIGNBYTES 8
  #else
-#define MEM_ALIGNBYTES $alignbytes
+#define MEM_ALIGNBYTES 8               /**/
  #endif

  /* ARCHLIB:
[end of diff]

But the real question is why munchconfig.c doesn't accept a token at
the very end of the line.  Is anyone familiar enough with this to
have a crack at fixing it, or should we just patch the hints file for
now?
-- 
____________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

Reply via email to