Am Dienstag, 1. März 2005 20:13 schrieb Georg Baum: > Am Dienstag, 1. März 2005 10:15 schrieb Hartmut Haase: > > After updating from suse90 to suse92, autogen.sh gave the following > messages: > > Remove autom4te.cache and lib/reLyX/autom4te.cache and rerun autogen.sh. > Everything should be fine after that. > I remember that somebody wanted to change autogen.sh to remove the cache > directories. Am I wrong or are there any reasons for not doing so?
The attached patch implements that. OK to apply? Georg
diff -p -r -U 3 -X excl.tmp lyx-1.4-clean/autogen.sh lyx-1.4-cvs/autogen.sh --- lyx-1.4-clean/autogen.sh 2005-03-05 19:24:35.000000000 +0100 +++ lyx-1.4-cvs/autogen.sh 2005-03-05 19:32:11.000000000 +0100 @@ -68,6 +68,10 @@ else echo `which $GNUM4` fi +# Delete old cache directories. +# automake will stop if their contents was created by an earlier version. +rm -rf autom4te.cache lib/reLyX/autom4te.cache + # Generate acinclude.m4 echo -n "Generate acinclude.m4... " rm -f acinclude.m4 diff -p -r -U 3 -X excl.tmp lyx-1.4-clean/ChangeLog lyx-1.4-cvs/ChangeLog --- lyx-1.4-clean/ChangeLog 2005-03-05 19:24:35.000000000 +0100 +++ lyx-1.4-cvs/ChangeLog 2005-03-05 20:06:29.000000000 +0100 @@ -1,3 +1,7 @@ +2005-03-05 Georg Baum <[EMAIL PROTECTED]> + + * autogen.sh: remove autom4te.cache directories + 2005-03-05 Angus Leeming <[EMAIL PROTECTED]> * autogen.sh: remove test for gettext. Belongs in configure.