bug-gnulib
[Top][All Lists]
Advanced

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

Re: Qualify message about need to add "lib" to SUBDIRS?


From: Reuben Thomas
Subject: Re: Qualify message about need to add "lib" to SUBDIRS?
Date: Sat, 26 Feb 2011 16:40:00 +0000

On 26 February 2011 02:21, Bruno Haible <address@hidden> wrote:
> Reuben Thomas wrote:
>> I have an autotools project with no C in. I still want to use gnulib's
>> maintainer-makefile module, but I don't want to use C. If I leave
>> "lib" in the top-level SUBDIRS, then I'm forced to us AC_PROG_CC, or C
>> source is (correctly: dummy.c) detected, and make fails, because I
>> didn't set up a C compiler.
>
> So, if I understand it right, you use "gnulib-tool --import 
> maintainer-makefile"
> and no other modules?

This is correct.

> Is this all that needs to be changed for your situation? I would think that
> also
>  - the creation of the directory lib/,
>  - the creation of the file lib/Makefile.am
> are undesired in your case?

This is correct. However, there is no advice printed to create the
directory lib/. The two lines of advice that no longer apply are:

[Don't forget to]
  - add "lib/Makefile" to AC_CONFIG_FILES in ./configure.ac,
  - mention "lib" in SUBDIRS in Makefile.am,

(By the way, I'm very happy that the problem is as simple as
misleading suggestions; there's no problem, as far as I can discover,
with the actual functionality.)

-- 
http://rrt.sc3d.org



reply via email to

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