Or better yet, an `autogen.sh'-like build-from-scratch script? :-) It's not clear whether people building from the working tree are supposed to run automake, or use the pregenerated `Makefile.in's (which are still present). I tried both. Using automake failed because I only have automake 1.4, not the required 1.4a. Where did you get 1.4a? The main GNU ftp site still only has 1.4. Don't mind depending on bleeding edge tools, but have to be able to find them. :-) Building the old way ./configure --prefix=/usr/local make failed because lib/Makefile contains some unsubstituted autoconf macros. I assume this is related to the recent automake switchover. Here's my lib/Makefile; search for "@AMDEP@" to see where the lossage starts: # Generated automatically from Makefile.in by configure. # Makefile.in generated automatically by automake 1.4a from Makefile.am # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = /bin/sh srcdir = . top_srcdir = .. prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${prefix}/info mandir = ${prefix}/man includedir = ${prefix}/include oldincludedir = /usr/include pkgdatadir = $(datadir)/cvs pkglibdir = $(libdir)/cvs pkgincludedir = $(includedir)/cvs top_builddir = .. ACLOCAL = aclocal AUTOCONF = autoconf AUTOMAKE = automake AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL_PROGRAM} INSTALL_STRIP_FLAG = transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : AMDEP = @AMDEP@ AMTAR = @AMTAR@ AWK = mawk CC = gcc CPP = gcc -E CXX = @CXX@ CXXCPP = @CXXCPP@ DEPDIR = @DEPDIR@ ETAGS = @ETAGS@ ETAGS_INCLUDE_OPTION = @ETAGS_INCLUDE_OPTION@ GSSAPI = /usr/cygnus/kerbnet KRB4 = /usr/kerberos LN_S = ln -s MAKEINFO = makeinfo PACKAGE = cvs PS2PDF = /usr/bin/ps2pdf RANLIB = ranlib ROFF = /usr/bin/groff VERSION = 1.11.0.1 YACC = bison -y csh_path = /bin/csh includeopt = install_sh = @install_sh@ perl_path = /usr/local/bin/perl pr_path = /usr/bin/pr # Makefile for library files used by GNU CVS. # Copyright (C) 1986, 1988-1994, 2000 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # For now we need to include $(top_srcdir)/src because some systems # (at least 'AIX rioscpu2 3 4 000030498200', # 'HP-UX hp60 B.10.20 A 9000/770 hp60 two-user license', & # 'IRIX64 sgiop110 6.5 07151433 IP30') have trouble finding error.h # when compiling savecwd.c # # FIXME - the fact that compiling on my Linux 2.2.16 system finds # /usr/include/error.h instead of $(top_srcdir)/src/error.h but # everything compiles and tests anyhow implies that src/error.h may # be unecessary now. Should look more deeply into this # # $(includeopt) is CVS specific and set by configure INCLUDES = -I$(top_srcdir)/src $(includeopt) noinst_LIBRARIES = libcvs.a # Always use CVS's regular expression matcher regex.o, because of # variations in regular expression syntax - we want to be the same # across systems and (probably) compared with old versions of CVS too. # # On a more mundane/detail level, having regex.h match regex.c can be # an issue if we aren't careful. # # Also should look into unifying regular expression matching in CVS # with the diff library (perhaps to have the caller, CVS, do the # matching?) libcvs_a_SOURCES = \ argmatch.c \ ftruncate.c \ getdate.y \ getline.c \ getopt.c \ getopt1.c \ md5.c \ regex.c \ savecwd.c \ sighandle.c \ stripslash.c \ xgetwd.c \ yesno.c \ getline.h \ getopt.h \ fnmatch.h \ regex.h \ system.h \ wait.h \ md5.h \ savecwd.h libcvs_a_LIBADD = EXTRA_DIST = \ .cvsignore \ ChangeLog.fsf \ build_lib.com subdir = lib mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h ../src/options.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. -I../src CPPFLAGS = LDFLAGS = LIBS = -lcrypt libcvs_a_AR = $(AR) cru libcvs_a_DEPENDENCIES = am_libcvs_a_OBJECTS = argmatch.o ftruncate.o getdate.o getline.o \ getopt.o getopt1.o md5.o regex.o savecwd.o sighandle.o stripslash.o \ xgetwd.o yesno.o libcvs_a_OBJECTS = $(am_libcvs_a_OBJECTS) AR = ar COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CFLAGS = -g -O2 CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(libcvs_a_SOURCES) depcomp = $(SHELL) $(top_srcdir)/depcomp DEP_FILES = @AMDEP@ $(DEPDIR)/argmatch.Po $(DEPDIR)/dup2.Po \ $(DEPDIR)/fncase.Po $(DEPDIR)/fnmatch.Po $(DEPDIR)/ftruncate.Po \ $(DEPDIR)/getdate.Po $(DEPDIR)/getline.Po $(DEPDIR)/getopt.Po \ $(DEPDIR)/getopt1.Po $(DEPDIR)/hostname.Po $(DEPDIR)/md5.Po \ $(DEPDIR)/memmove.Po $(DEPDIR)/mkdir.Po $(DEPDIR)/regex.Po \ $(DEPDIR)/rename.Po $(DEPDIR)/savecwd.Po $(DEPDIR)/sighandle.Po \ $(DEPDIR)/strerror.Po $(DEPDIR)/stripslash.Po $(DEPDIR)/strstr.Po \ $(DEPDIR)/strtoul.Po $(DEPDIR)/valloc.Po $(DEPDIR)/waitpid.Po \ $(DEPDIR)/xgetwd.Po $(DEPDIR)/yesno.Po DIST_COMMON = ChangeLog Makefile.am Makefile.in dup2.c fncase.c \ fnmatch.c getdate.c hostname.c memmove.c mkdir.c rename.c strerror.c \ strstr.c strtoul.c valloc.c waitpid.c DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) GZIP_ENV = --best SOURCES = $(libcvs_a_SOURCES) OBJECTS = $(am_libcvs_a_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .c .h .o .y $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-noinstLIBRARIES: clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) distclean-noinstLIBRARIES: maintainer-clean-noinstLIBRARIES: mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: libcvs.a: $(libcvs_a_OBJECTS) $(libcvs_a_DEPENDENCIES) -rm -f libcvs.a $(libcvs_a_AR) libcvs.a $(libcvs_a_OBJECTS) $(libcvs_a_LIBADD) $(RANLIB) libcvs.a .y.c: $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c if test -f y.tab.h; then \ if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \ else :; fi tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ unique=`for i in $$list ; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || $(ETAGS) $(ETAGS_ARGS) $$tags $$unique $(LISP) GTAGS: here=`CDPATH=: && cd $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $$here mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: @AMDEP@include $(DEPDIR)/argmatch.Po @AMDEP@include $(DEPDIR)/dup2.Po @AMDEP@include $(DEPDIR)/fncase.Po @AMDEP@include $(DEPDIR)/fnmatch.Po @AMDEP@include $(DEPDIR)/ftruncate.Po @AMDEP@include $(DEPDIR)/getdate.Po @AMDEP@include $(DEPDIR)/getline.Po @AMDEP@include $(DEPDIR)/getopt.Po @AMDEP@include $(DEPDIR)/getopt1.Po @AMDEP@include $(DEPDIR)/hostname.Po @AMDEP@include $(DEPDIR)/md5.Po @AMDEP@include $(DEPDIR)/memmove.Po @AMDEP@include $(DEPDIR)/mkdir.Po @AMDEP@include $(DEPDIR)/regex.Po @AMDEP@include $(DEPDIR)/rename.Po @AMDEP@include $(DEPDIR)/savecwd.Po @AMDEP@include $(DEPDIR)/sighandle.Po @AMDEP@include $(DEPDIR)/strerror.Po @AMDEP@include $(DEPDIR)/stripslash.Po @AMDEP@include $(DEPDIR)/strstr.Po @AMDEP@include $(DEPDIR)/strtoul.Po @AMDEP@include $(DEPDIR)/valloc.Po @AMDEP@include $(DEPDIR)/waitpid.Po @AMDEP@include $(DEPDIR)/xgetwd.Po @AMDEP@include $(DEPDIR)/yesno.Po mostlyclean-depend: clean-depend: distclean-depend: -rm -rf $(DEPDIR) maintainer-clean-depend: @AMDEP@CCDEPMODE = @CCDEPMODE@ .c.o: @AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pR $$d/$$file $(distdir) \ || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile $(LIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: -rm -f Makefile.in -test -z "getdate.c" || rm -f getdate.c mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstLIBRARIES distclean-compile \ distclean-tags distclean-depend distclean-generic \ clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags mostlyclean-depend distclean-depend \ clean-depend maintainer-clean-depend distdir info-am info dvi-am dvi \ check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all install-strip \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # for backwards compatibility with the old makefiles realclean: maintainer-clean .PHONY: realclean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: _______________________________________________ Bug-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-cvs