>>>>> OKUJI Yoshinori writes:
OY> You use pkglib_DATA for stage1, stage1.5 and stage2, but DATA
OY> is for architecture-independent files, and shouldn't be installed
OY> in libdir.
I use DATA because it is the only way to get grub to install a
``miscellaneous file''. It doesn't violate anything (except maybe
elegance) to force it to install into libdir.
OY> I think these should be installed in libexecdir, or an
OY> user-defined directory, say, grubdir.
I thought that somewhere in libdir was the right place to put GRUB's
files, according to the GNU standards:
`libdir'
The directory for object files and libraries of object code.
GRUB's data files fit this description, to my reading.
I may end up putting them in datadir, once the architecture is wired
into the filename (something like $(datadir)/grub/i386). Does that
sound like a good idea?
OY> And, this is not a bug, but AC_PROG_INSTALL in the configure.in
OY> file is redundant because AM_INIT_AUTOMAKE will call it
OY> automatically.
Okay, I've fixed this.
OY> By the way, autoconf seems to have a bug that AC_OUTPUT_MAKE_DEFS
OY> can't deal with any macro that has arguments, but the configure
OY> script has been fixed. Did you modify it manually, or did you
OY> write a patch for the bug?
Oops... I forgot about this. I wrote a patch and submitted it to
[EMAIL PROTECTED] a little while ago. It's attached (note: you may
need to delete your autoconf.m4f to activate the change if you apply
this directly to /usr/share/autoconf/acgeneral.m4).
--
Gordon Matzigkeit <[EMAIL PROTECTED]> //\ I'm a FIG (http://www.fig.org/)
Committed to freedom and diversity \// I use GNU (http://www.gnu.org/)
--- acgeneral.m4~ Mon Mar 1 08:36:12 1999
+++ acgeneral.m4 Mon Mar 1 08:36:28 1999
@@ -2007,7 +2007,7 @@
# Protect against Makefile macro expansion.
cat > conftest.defs <<\EOF
changequote(<<, >>)dnl
-s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
+s%<<#define>> \([^ ][^ ]*\) *\(.*\)%-D\1=\2%g
s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g