Yes, this was my impression as well.
My suggestion:
ifelse(eval( index(AC_ACVERSION,.) > 0 && substr(AC_ACVERSION, 0, index(AC_ACVERSION,.)) >= 2 && ( substr(AC_ACVERSION, 0, index(AC_ACVERSION,.)) > 2 || substr(AC_ACVERSION, index(+AC_ACVERSION,.)) >= 50 ) ),1,[ if test "x$cache_file" = "x/dev/null"; then cache_file=./config.cache if test -r "$cache_file"; then echo "loading cache $cache_file" . $cache_file else echo "creating cache $cache_file" > $cache_file fi fi ], [ PIKE_MSG_WARN([configure script has been generated with autoconf 2.13 or earlier.]) ])
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-09-01 18:05: Subject: Re: Gentoo Linux ebuilds for pike-7.4.20 available
2003-08-31 23:44: Subject: Re: Gentoo Linux ebuilds for pike-7.4.20 available
if test "x`expr AC_ACVERSION '>=' 2.50`" = "x1"; then
expr only knows about integers. You could split AC_ACVERSION at the decimal point and do two tests, I guess, or trade your bc dependency for awk..
Best would probably to do it directly in m4.
Dan Nelson dnelson@allantgroup.com
/ Henrik Grubbström (Lysator)