[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section |
Date: |
Mon, 6 Dec 2004 14:08:59 +0100 |
User-agent: |
KMail/1.5 |
Jim Meyering wrote:
> But that still leaves it up to me to manually add mempcpy.h somewhere
> in coreutils/lib/Makefile.am.
>
> If instead, I add this line to mempcpy.m4:
>
> AC_LIBSOURCES([mempcpy.c, mempcpy.h])
>
> or even just this one (IMO the above is better):
>
> AC_LIBSOURCE([mempcpy.h])
>
> then automake adds mempcpy.h, too.
In gnulib we achieve this through the
lib_SOURCES += mempcpy.h
line in the modules description file.
I don't understand the philosophy of registering filenames through
autoconf macros. I thought lists of filenames and compilation rules and
flags belong in Makefile.am, and stuff that is needed for "configure"
belongs in autoconf macros.
Bruno
- [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Jim Meyering, 2004/12/06
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section,
Bruno Haible <=
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Jim Meyering, 2004/12/06
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Stepan Kasal, 2004/12/06
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Jim Meyering, 2004/12/06
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Stepan Kasal, 2004/12/06
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Jim Meyering, 2004/12/08
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Stepan Kasal, 2004/12/08
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Bruno Haible, 2004/12/06
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Bruno Haible, 2004/12/06
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Jim Meyering, 2004/12/07
- Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section, Karl Berry, 2004/12/07