Yosuke YAMADA <[email protected]> writes:

> Hi, developers:

Hi,

> I'm using NTEmacs 23 and MSYS shell and tried to update tramp.
> I executed the configure script with "--with-contrib" option.
> Then I got an error :
>
>> checking for password.el... ln: creating symbolic link
>> `lisp/password.el' to `../contrib/password.el'
>> : No such file or directory
>> linked to contrib directory
>
> So I made a minor change as seen below:

Thanks for reporting.

> This is a diff to the CVS head and seems to work.
> Thanks for updating.

OK, I've tried to make AC_CONFIG_LINKS working (which didn't until
now). This seems to be the more compatible solution. Could you, please,
check the appended patch?

Thanks, and best regards, Michael.

*** /home/albinus/src/tramp/aclocal.m4.~2.36~	2010-12-19 20:44:45.488035000 +0100
--- /home/albinus/src/tramp/aclocal.m4	2010-12-19 20:39:08.679973080 +0100
***************
*** 201,208 ****
      if test "${USE_CONTRIB}" = "yes"; then
        if test -e contrib/$library; then
          TRAMP_CONTRIB_FILES="$library $TRAMP_CONTRIB_FILES"
!         ln -s ../contrib/$library lisp/$library
! dnl	AC_CONFIG_LINKS(lisp/$library:contrib/$library)
          AC_MSG_RESULT(linked to contrib directory)
        elif test -z "$3"; then
          AC_MSG_RESULT(not found)
--- 201,210 ----
      if test "${USE_CONTRIB}" = "yes"; then
        if test -e contrib/$library; then
          TRAMP_CONTRIB_FILES="$library $TRAMP_CONTRIB_FILES"
! 	dnl AC_CONFIG_LINKS cannot expand $library.  Therefore, we use
! 	dnl $2 and replace it afterwards.
! 	AC_CONFIG_LINKS(lisp/$2:contrib/$2)
! 	ac_config_links=`echo $ac_config_links | sed -e s/$2/$library/g`
          AC_MSG_RESULT(linked to contrib directory)
        elif test -z "$3"; then
          AC_MSG_RESULT(not found)
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to