Kai Grossjohann <[EMAIL PROTECTED]> writes:

> Not sure what to make of this.  Hm.  Michael, do you know?
>
> I'll suggest him to set PATH appropriately.

Hmm. The autoconf macro AC_CHECK_PROG checks for executables in the
$PATH only. The following patch should do the trick:

[EMAIL PROTECTED]:[1156] diff -u aclocal.m4.sv aclocal.m4
--- aclocal.m4.sv       Sun Nov  2 22:44:49 2003
+++ aclocal.m4  Fri Jan  9 16:23:29 2004
@@ -57,7 +57,7 @@
       AC_MSG_ERROR([emacs not found])
     fi
   else
-    AC_CHECK_PROG([EMACS_test_emacs], [$EMACS], [$EMACS], [no])
+    AC_CHECK_PROG([EMACS_test_emacs], [$EMACS], [$EMACS], [no], [$PATH:/])
     if test "${EMACS_test_emacs}" = no; then
       AC_MSG_ERROR([$EMACS not found])
     fi

Eli, please report whether it works for you. I'll commit it to CVS then.

> Kai

Best regards, Michael.



_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to