Applied patches from Paul Eggert
[findutils.git] / README-CVS
blob618fb3ce859cba81c1ab0dcd88004b052039a9a6
1 This file describes how to build findutils starting from a set of code
2 checked out of CVS, rather than from a released source distribution.
4 1. Prerequisites
5  * CVS
6  * A C compiler, linker and software development libraries (the standard
7    C library)
8  * GNU Autoconf version 2.57 or later (earlier versions *may* work)
9  * GNU Automake version 1.7 or later (earlier versions *may* work)
10  * GNU m4 version 1.4 or later
11  * GNU gettext (unless you use configure --disable-nls)
13 2. Obtain a copy of Gnulib
15  To obtain a copy of the gnulib library, check it out via anonymous CVS
16  from the GNU CVS server.   Make sure you check it out into a separate 
17  directory, away from the findutils sources.
19     CVS_RSH=ssh
20     export CVS_RSH
21     cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/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 4. Generate the configure scripts and Makefile.in files.
33     aclocal -I m4 -I gnulib/m4     && \
34     autoheader                     && \
35     autoconf                       && \
36     automake --add-missing --copy
39 5. Run "configure" and "make" in the normal way.  If you have GNU
40    libintl installed, you can just run "configure".  Otherwise, run
41    "configure --disable-nls".