Automake requires GNU m4, so point out that the reader needs that.
[findutils.git] / README-CVS
blob99d5885b55ecfb1b31eb8a3d0a9d2737cddd6a1a
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:ext:anoncvs@savannah.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 4. Generate the configure scripts and Makefile.in files.
33     autoreconf -i
35    ... or use the alternative method ... 
37     aclocal -I m4 -I gnulib/m4     && \
38     autoheader                     && \
39     autoconf                       && \
40     automake --add-missing --copy
43 5. Run "configure" and "make" in the normal way.  If you have GNU
44    libintl installed, you can just run "configure".  Otherwise, run
45    "configure --disable-nls".