[4.5] [RFC] Move line-map.* to its own library (libloc)

Manuel López-Ibáñez lopezibanez@gmail.com
Mon Nov 17 23:22:00 GMT 2008


2008/11/15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>:
> Hello Manuel,
>
> a couple of quick comments.
>

Thanks for your comments.

>> --- libloc/Makefile.in        (revision 0)
>> +++ libloc/Makefile.in        (revision 0)
>
> FWIW, I don't see why you shouldn't be able to use automake for libloc.
> The Makefile.am file could probably be

I get the following errors:

configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
Makefile.am: required file `./INSTALL' not found
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./README' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
Makefile.am: required file `./COPYING' not found
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear
in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL


I am using your suggestion but removed everything related with translations:

## Process this file with automake to produce Makefile.in

noinst_LIBRARIES = libloc.a
libloc_a_SOURCES = line-map.c
ACLOCAL_AMFLAGS = -I .. -I ../config

WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
INCLUDES = -I$(srcdir) -I. -I$(srcdir)/../include -I$(srcdir)/include
AM_CFLAGS = $(WARN_CFLAGS) $(INCLUDES)


Cheers,

Manuel.



More information about the Gcc-patches mailing list