Oops, that doesn't work if AC_ACVERSION isn't defined.
ifelse(ifdef([AC_ACVERSION], [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 ) )],0),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:18: Subject: Re: Gentoo Linux ebuilds for pike-7.4.20 available
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!)