bug-gnulib
[Top][All Lists]
Advanced

[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




reply via email to

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