[Top][All Lists]

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

Re: configure-generated *.in's

From: J.T. Conklin
Subject: Re: configure-generated *.in's
Date: Fri, 31 Dec 2004 14:56:31 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix)

Stepan Kasal <address@hidden> writes:
> On Thu, Dec 30, 2004 at 08:19:41PM -0800, J.T. Conklin wrote:
>> However, if I add foo.pc to AC_CONFIG_FILES, autoconf complains that
>> does not exist (which it does not).  However, if I omit it,
>> is generated at configure-time, but foo.pc is not.
> If I add a file name to AC_CONFIG_FILES, my autoconf 2.59 doesn't complain.
> Which version do you use?

I'm using autoconf 2.59 too.

I've since learned that the problem isn't in autoconf, but in
automake.  There appears to be no way to tell automake that a
AC_CONFIG_FILE file will be generated earlier in the configure script,
so rewrite_inputs_into_dependencies() fails when it can't find the file.

> Of course, when I run the configure script and the .in file is not available
> at the moment AC_OUTPUT is executed, configure fails.

The AC_CONFIG_PKGCONFIG_IN macro generates file at the time
it's invoked, so that shouldn't be a problem, assuming I can get the
autotools to cooperate.


J.T. Conklin

reply via email to

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