Use config.guess and config.sub from automake
[findutils.git] / README-CVS
blob2c7f2f0a5e2447e9a159d728c79f7e486d4de5ed
1 This file describes how to build findutils starting from a set of code
2 checked out of CVS, rather than from a releasaed source distribution.
4 1. Prerequisites
5  * A C compiler
6  * GNU Autoconf version 2.57 or later (earlier versions *may* work)
7  * GNU Automake version 1.7 or later (earlier versions *may* work)
8  * CVS
10 2. Obtain a copy of Gnulib
12  To obtain a copy of the gnulib library, check it out via anonymous CVS
13  from the GNU CVS server.   Make sure you check it out into a separate 
14  directory, away from the findutils sources.
16     cvs -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/gnulib login
17  (when asked for a password, just press return)
19     cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/gnulib co gnulib
23 3. Generate a gnulib installation within the fileutils source tree
25  Change your working directory to the findutils source directory (that 
26  is, the directory containing this file).   Then run the following 
27  command:-
29     sh import-gnulib.sh   <name of the directory containing gnulib>
31 The above command may result in some errors from autoconf and
32 automake.  These are benign unless they occur again in the following
33 step - so don;t worry about them unless you see them both times.
35 4. Remove the "@FNMATCH_H@" from gnulib/lib/Makefile.am (it appears as
36    a dependency of "all-local").
38 5. Generate the configure scripts and Makefile.in files.
40     aclocal -I gnulib/m4 
41     autoheader
42     autoconf
43     automake --add-missing --copy
45 6. Run "configure" and "make" in the normal way.