Making Makefile.cvs run on gentoo-1.4rc1

Michael Matz matz at kde.org
Mon Nov 18 23:18:01 GMT 2002


Hi,

On Mon, 18 Nov 2002, Rik Hemsley wrote:

> @@ -29,7 +29,7 @@ check_autotool_versions()
>  {
>  AUTOCONF_VERSION=`$AUTOCONF --version | head -1`
>  case $AUTOCONF_VERSION in
> -  Autoconf*2.5* | autoconf*2.5* ) : ;;
> +  autoconf*2.5* | Autoconf*2.5* | autoconf*2.5* ) : ;;

Ok, I admit it, I'm blind.  But to me "autoconf*2.5*" and "autoconf*2.5*"
look the same.

> @@ -44,7 +44,7 @@ esac
>
>  AUTOHEADER_VERSION=`$AUTOHEADER --version | head -1`
>  case $AUTOHEADER_VERSION in
> -  Autoconf*2.5* | autoheader*2.5* ) : ;;
> +  autoconf*2.5* | Autoconf*2.5* | autoheader*2.5* ) : ;;

Sure?  The thing is, that the usual output from autoheader is:
autoheader (GNU Autoconf) 2.53.

So either a test for "autoheader*2.5*" or "Autoconf*2.5*" is enough...
Hey wait, the "Autoconf" one is anyway wrong.  It should read
"*Autoconf*2.5*" (the beginning '*' is missing).

> @@ -17,6 +17,8 @@ checkAutoconf()
>      AUTOCONF="`$WHICH autoconf-2.5x`"
>    elif test -x "`$WHICH autoconf-2.53`" ; then
>      AUTOCONF="`$WHICH autoconf-2.53`"
> +  elif test -x "`$WHICH autoconf-2.53a`" ; then
> +    AUTOCONF="`$WHICH autoconf-2.53a`"

Hahaha.  Another "version", how funny.


Ciao,
Michael.





More information about the kde-core-devel mailing list