[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sharutils configuration
From: |
Bruno Haible |
Subject: |
Re: sharutils configuration |
Date: |
Fri, 19 Feb 2010 12:03:02 +0100 |
User-agent: |
KMail/1.9.9 |
Bruce Korb wrote:
> > ${glib} --import ${gnulib_libs}
> >
> > ( echo
> > echo '## begin sharutils stuff'
> > echo
> > echo "EXTRA_DIST += ${extra_libs}"
> > ) >> lib/Makefile.am
>
> yielding this as the end of lib/Makefile.am:
>
> > ## begin sharutils stuff
> >
> > EXTRA_DIST += \
> > basename.h exit.h gen-uio liballoca.h md5.c \
> > md5.h stpcpy.h system.h whoami.c xstrdup.c
An alternative to this is to pass to gnulib-tool the option
--makefile-name=Makefile.gnulib, and have Makefile.am written by
hand that looks roughly like this:
include Makefile.gnulib
EXTRA_DIST += \
basename.h exit.h gen-uio liballoca.h md5.c \
md5.h stpcpy.h system.h whoami.c xstrdup.c
Btw, exit.h existed in gnulib earlier and has been merged into stdlib.h.
stpcpy.h existed in gnulib earlier and has been merged into string.h.
A function 'xstrdup' is already defined by module 'xalloc' (file xmalloc.c).
Bruno
- Re: error: redefinition of 'struct option', (continued)
- Re: error: redefinition of 'struct option', Bruce Korb, 2010/02/18
- Re: error: redefinition of 'struct option', Bruno Haible, 2010/02/18
- Re: error: redefinition of 'struct option', Bruce Korb, 2010/02/18
- Re: error: redefinition of 'struct option', Bruce Korb, 2010/02/18
- Re: error: redefinition of 'struct option', Bruno Haible, 2010/02/18
- Re: error: redefinition of 'struct option', Bruce Korb, 2010/02/18
- new gnulib-tool option --find, Bruno Haible, 2010/02/19
- Re: error: redefinition of 'struct option', Bruce Korb, 2010/02/18
- Re: error after adding #includes to config.h, Bruno Haible, 2010/02/18
- Re: error after adding #includes to config.h, Bruce Korb, 2010/02/18
- Re: sharutils configuration,
Bruno Haible <=
- Re: sharutils configuration, Bruce Korb, 2010/02/19