--- /usr/bin/aclocal	Tue Mar 12 12:12:30 2002
+++ /usr/bin/aclocal.PATCHED	Tue Mar 12 12:14:02 2002
@@ -111,13 +111,22 @@ VER_MIN=`echo $VER | awk -F. '{print $2}
 # Set the PATH appropriately
 if [ "x${VER_MIN}" != "x" ] ; then
   if (( ${VER_MIN} <= 13 )) ; then
+    if [ ! -x ${AUTO_STABLE}/bin/aclocal ] ; then
+      exit 1
+    fi
     export PATH=${AUTO_STABLE}/bin:${PATH} 
     export M4PATH=${AUTO_STABLE}/share/aclocal:/usr/share/aclocal:${AUTO_STABLE}/share/automake:${AUTO_STABLE}/share/autoconf
   else
+    if [ ! -x ${AUTO_DEVEL}/bin/aclocal ] ; then
+      exit 1
+    fi
     export PATH=${AUTO_DEVEL}/bin:${PATH}
     export M4PATH=${AUTO_DEVEL}/share/aclocal:/usr/share/aclocal:${AUTO_DEVEL}/share/automake:${AUTO_DEVEL}/share/automake/am:${AUTO_DEVEL}/share/autoconf
   fi
 else
+  if [ ! -x ${AUTO_DEVEL}/bin/aclocal ] ; then
+    exit 1
+  fi
   export PATH=${AUTO_DEVEL}/bin:${PATH}
   export M4PATH=${AUTO_DEVEL}/share/aclocal:/usr/share/aclocal:${AUTO_DEVEL}/share/automake:${AUTO_DEVEL}/share/automake/am:${AUTO_DEVEL}/share/autoconf
 fi
