I got tired of forgetting to define the variable RM and having
problems with building the autoloads file, so I made some patches.

I modified the aclocals.m4 file to have a new test, BBDB_PROG_RM, and
I modified configure.in to contain it.  I then modified the
Makefile.in files to reference the RM variable directly.

That made everything work nicer.  I also added a - in the line that
removes the bbdb-autoloads.el file before reconstructing it, since if
the file's not there, it fails.

Jack.
(I don't think I've ever sent you guys a patch before -- whee.)
-- 
Jack Twilley
jmt at tbe dot net
http colon slash slash www dot tbe dot net slash tilde jmt slash
Index: Makefile.in
===================================================================
RCS file: /cvsroot/bbdb/bbdb/Makefile.in,v
retrieving revision 1.4
diff -a -w -r1.4 Makefile.in
6a7
> RM = @RM@
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/bbdb/bbdb/aclocal.m4,v
retrieving revision 1.1
diff -a -w -r1.1 aclocal.m4
100a101,107
> dnl Define RM if not already defined
> AC_DEFUN([BBDB_PROG_RM], 
>   [ AC_CHECK_PROG(RM, rm, rm)
>     if test "x${RM}" = "x" ; then 
>       AC_MSG_WARN([*** rm not found.])
>     fi ])
> 
Index: configure.in
===================================================================
RCS file: /cvsroot/bbdb/bbdb/configure.in,v
retrieving revision 1.2
diff -a -w -r1.2 configure.in
41a42
> BBDB_PROG_RM
Index: lisp/Makefile.in
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/Makefile.in,v
retrieving revision 1.10
diff -a -w -r1.10 Makefile.in
8a9
> RM = @RM@
94c95
< 	@$(RM) $@;
---
> 	-@$(RM) $@;
Index: tex/Makefile.in
===================================================================
RCS file: /cvsroot/bbdb/bbdb/tex/Makefile.in,v
retrieving revision 1.1
diff -a -w -r1.1 Makefile.in
8a9
> RM = @RM@
Index: texinfo/Makefile.in
===================================================================
RCS file: /cvsroot/bbdb/bbdb/texinfo/Makefile.in,v
retrieving revision 1.4
diff -a -w -r1.4 Makefile.in
15a16
> RM = @RM@
Index: utils/Makefile.in
===================================================================
RCS file: /cvsroot/bbdb/bbdb/utils/Makefile.in,v
retrieving revision 1.1
diff -a -w -r1.1 Makefile.in
8a9
> RM = @RM@

Reply via email to