Jean-Marc Lasgouttes wrote: >>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >>>>>> writes: > > Angus> Given that "Debian unstable" ships with automake 1.4 by default > Angus> and that "Debian testing" and "Debian stable" do the same, I'd > Angus> like to propose the following patch to autogen.sh. > > It seems reasonable. > > Angus> +case $automake_version in + *' '1\.[5-7].*) + ;; + *) > > Are you sure you need the "\."? This is globbing, not regexps.
It appears that you are right. Thanks. > Also, update INSTALL to explain the requirement. AFAIK they are > > autoconf 2.5x > automake >= 1.5 > gettext >=0.12 > > If you feel like it, you could also update the part about gcc version :) Let me see... > JMarc $ cat trial.sh #! /bin/sh test_it() { case "$1" in *' '1.[5-7]*) echo "Can use $1" ;; *) echo "Cannot use $1" ;; esac } automake_16="automake (GNU automake) 1.6.3 Written by Tom Tromey <[EMAIL PROTECTED]>. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." automake_14="automake (GNU automake) 1.4-p6 Copyright (C) 1999, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." automake_16=`echo "$automake_16" | head -n1` automake_14=`echo "$automake_14" | head -n1` test_it "$automake_16" test_it "$automake_14" -- Angus