bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] gnulib module for uintmax_t? (and best practice questio


From: James Youngman
Subject: Re: [Bug-gnulib] gnulib module for uintmax_t? (and best practice questions)
Date: Sat, 23 Oct 2004 01:16:18 +0100
User-agent: Mutt/1.3.28i

On Mon, Oct 18, 2004 at 05:23:29PM +0200, Bruno Haible wrote:

> Having two different config.h files is annoying. gnulib-tool --import
> creates a ,m4 file with a few m4 macros that you can use from your main
> configure.ac file. So there's no need for two configure.ac-s or for
> two config.h-s.

I've just tried to switch findutils from "gnulib-tool
--create-testdir" (which findutils uses at the moment to import
gnulib) to "gnulib-tool --import" (which is plainly the preferred
option) and the result is that I now get errors like this :-


$ aclocal -I . -I gnulib/m4 ; autoheader  ; autoconf  ; automake --add-missing 
--copy
gnulib/Makefile.am:19: required file `gnulib/waitpid.c' not found
gnulib/Makefile.am:19: required file `gnulib/strspn.c' not found
gnulib/Makefile.am:18: automatically discovered file `strftime.c' should not be 
explicitly mentioned




The gnulib-tool command line was as folows :

/home/james/source/findutils/gnulib-2004-10-22/gnulib/gnulib-tool --import 
--dir=. --lib=libgnulib --source-base=gnulib --m4-base=gnulib/m4 alloca 
argmatch dirname error fileblocks fnmatch-gnu getline getopt human idcache 
lstat malloc memcmp memset mktime modechange pathmax quotearg realloc regex 
rpmatch savedir stat stpcpy strdup strftime strstr strtol strtoul strtoull 
strtoumax xalloc xalloc-die xgetcwd xstrtol xstrtoumax yesno human filemode 
getline stpcpy wait-process

I'm using the gnulib code updated as of a couple of hours ago.  

$ nl -ba  gnulib/Makefile.am | sed -n 13,20p
    13
    14  AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
    15
    16  noinst_LIBRARIES = libgnulib.a
    17
    18  libgnulib_a_SOURCES =
    19  libgnulib_a_LIBADD = @LIBOBJS@
    20  EXTRA_DIST =


Any suggestions as to what I should look at?  If you need to see the
code the findutils CVS repository is available via the instructions at
https://savannah.gnu.org/cvs/?group=findutils and the changes I've
made so far are

http://excession.spiral-arm.org/%7Ejay/gnulib-import-proper-way.patch.txt.gz

Regards & TIA for any suggestions,
James.




reply via email to

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