--- ./configure.orig	Mon Jan  8 10:53:10 2007
+++ ./configure	Mon Jan  8 10:53:31 2007
@@ -2254,7 +2254,7 @@
 
    echo "$as_me:$LINENO: checking for automake version >= 1.6" >&5
 echo $ECHO_N "checking for automake version >= 1.6... $ECHO_C" >&6
-   sf_am_version=`automake --version | head -n 1 | awk '/^automake/ {print $NF}'`
+   sf_am_version=`automake19 --version | head -n 1 | awk '/^automake/ {print $NF}'`
 
   # Used to indicate true or false condition
   ax_compare_version=false
@@ -2333,7 +2333,7 @@
 echo "${ECHO_T}no" >&6
 fi
 
-    if test `autoconf --version | grep "2.58" | wc -c` -ne 0 ; then
+    if test `autoconf259 --version | grep "2.58" | wc -c` -ne 0 ; then
         { echo "$as_me:$LINENO: WARNING: \"Autoconf 2.58 was found on system.  If you are a maintainer of this library it has known incompatilities.  If you are not a maintainer, 2.58 has serious bugs and you should consider upgrading autoconf\"" >&5
 echo "$as_me: WARNING: \"Autoconf 2.58 was found on system.  If you are a maintainer of this library it has known incompatilities.  If you are not a maintainer, 2.58 has serious bugs and you should consider upgrading autoconf\"" >&2;};
     fi
