End of a nightmare: patch for GiNaC's acinclude.m4

Richard B. Kreckel kreckel at thep.physik.uni-mainz.de
Tue Jan 15 12:55:03 CET 2002


On Tue, 15 Jan 2002, Roberto Bagnara wrote:
> diff -rcp GiNaC-1.0.3.orig/acinclude.m4 GiNaC-1.0.3/acinclude.m4
> *** GiNaC-1.0.3.orig/acinclude.m4	Tue Nov 20 18:42:05 2001
> --- GiNaC-1.0.3/acinclude.m4	Tue Jan 15 09:56:33 2002
> *************** if test "x${ginac_error}" = "xyes"; then
> *** 86,93 ****
>       if test "x${ginac_warning_txt}" != "x"; then
>           echo "${ginac_warning_txt}"
>       fi
> !     echo "deleting cache ${cache_file}"
> !     rm -f $cache_file
>       else 
>           if test x$ginac_warning = xyes; then
>               echo "=== The following minor problems have been detected by configure."
> --- 86,95 ----
>       if test "x${ginac_warning_txt}" != "x"; then
>           echo "${ginac_warning_txt}"
>       fi
> !     if test "x$cache_file" != "x/dev/null"
> !         echo "deleting cache ${cache_file}"
> !         rm -f $cache_file
> !     fi
>       else 
>           if test x$ginac_warning = xyes; then
>               echo "=== The following minor problems have been detected by configure."

Fixed in CVS.  Thanks a lot!  Brown paper bag applied.

BTW: this particular piece of error/warning accumulator was lifted from
another package.  It is not an uncommon macro, so I suspect other packages
are broken in the same way.  It was latent with the older autoconf but the
switch to autoconf 2.50 made it surface: `config.cache' is now disabled by
default (because it tended to confuse new users) and must be switched on 
explicitly with `./configure -C'.

Ouch, this hurts
             -richy.
-- 
Richard B. Kreckel
<Richard.Kreckel at Uni-Mainz.DE>
<http://wwwthep.physik.uni-mainz.de/~kreckel/>





More information about the GiNaC-devel mailing list