grub-devel
[Top][All Lists]
Advanced

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

Re: autogen.sh warnings


From: Bruce Dubbs
Subject: Re: autogen.sh warnings
Date: Mon, 07 Dec 2009 14:28:19 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11

Colin Watson wrote:
On Mon, Dec 07, 2009 at 11:38:06AM -0600, Bruce Dubbs wrote:
configure.ac:176: required file `./config.rpath' not found

The can be fixed by `touch config.rpath`

configure does actually run this, so I'd recommend copying the file from
gettext or gnulib instead.

The gettext version is a shell script about 670 lines long that is described:

# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.

I'm not sure GRUB uses or needs the output of config.rpath. I was just suppressing a warning.

automake: no `Makefile.am' found for any configure output

I created a one line Makefile.am with the contents:

SUBDIRS = . po

This also fixes a warning generated by AM_GNU_GETTEXT which needed to be changed to AM_GNU_GETTEXT([external]) to avoid a complaint about a missing intl/ directory. Adding an empty ABOUT-NLS was also needed.

This is likely to be delicate since we're not actually using Automake as
such, and we already have a separate Makefile.in which needs to not be
overwritten. I think adding a Makefile.am would make it just too easy to
clobber that by accident, even if it does suppress a warning message.

You are probably right. It looks like Makefile.in is basically destroyed. Not good. It looks like automake thinks it knows more than it's users and we'll have to live with the warning about missing SUBDIRS. I think I could print out a message to ignore the spurious warning.

Do you want a new patch?

  -- Bruce







reply via email to

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