emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with EDE


From: Chong Yidong
Subject: Re: Problems with EDE
Date: Fri, 09 Oct 2009 14:08:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Sascha Wilde <address@hidden> writes:
>
>> 1. Setup of the autotools infrastructure:
>>
>>     -*- mode: compilation; default-directory: "/tmp/cedettest/" -*-
>>     Compilation started at Fri Oct  9 14:23:30
>>
>>     aclocal;automake --add-missing;autoreconf;
>
> That should be replaced by a single call to "autoreconf -i".
>
>>    This might be actually due to an automake bug, because IMO 
>>    `automake --add-missing' should generate ltmain.sh -- anyway it
>>    doesn't (tested with automake 1.10.1 on Debian Lenny).
>
> ltmain.sh is part of libtool, not automake.
>
>>    Calling libtoolize manually fixes this.
>
> Since autoreconf is not called with --install, it won't run libtoolize.

Sascha, could you try with this patch?

*** emacs/lisp/cedet/ede/pconf.el.~1.3.~        2009-10-03 13:42:57.000000000 
-0400
--- emacs/lisp/cedet/ede/pconf.el       2009-10-09 14:07:14.000000000 -0400
***************
*** 99,111 ****
         (ede-map-targets this 'ede-proj-tweak-autoconf)))
      ;; Now save
      (save-buffer)
!     ;; Verify aclocal
!     (setq postcmd "aclocal;")
!     ;; Always add missing files as needed.
!     (setq postcmd (concat postcmd "automake --add-missing;"))
! 
!     ;; Always do autoreconf
!     (setq postcmd (concat postcmd "autoreconf;"))
      ;; Verify a bunch of files that are required by automake.
      (ede-proj-configure-test-required-file this "AUTHORS")
      (ede-proj-configure-test-required-file this "NEWS")
--- 99,105 ----
         (ede-map-targets this 'ede-proj-tweak-autoconf)))
      ;; Now save
      (save-buffer)
!     (setq postcmd "autoreconf -i;")
      ;; Verify a bunch of files that are required by automake.
      (ede-proj-configure-test-required-file this "AUTHORS")
      (ede-proj-configure-test-required-file this "NEWS")

Diff finished.  Fri Oct  9 14:08:11 2009




reply via email to

[Prev in Thread] Current Thread [Next in Thread]