Re: New autoconf macro
Jan-Ake Larsson <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
David Kastrup wrote:
>
> Hi, I did some changes in aclocal.m4 and tex-site.el.in, mostly as
> proof-of-concept.
>
> Try this with
>
> ./configure --with-auto-dir=woozle
> and
> ./configure --with-auto-dir=/woozle
>
> and see the result in tex-site.el. The Lisp removes possible double
> slashes, and adds a single slash at the end.
>
> AC_LISPIFY_DIR should be good for all such directories.
Yep. IIRC the _expanded variables were introduced for the purpose of
using them in lisp code where ${prefix} and suchlike does not make
sense. With the new AC_LISPIFY_DIR (that I think would correctly
expand those), we can get rid of the _expanded variables.
Only one of the variables (lispdir_expanded) is used in Makefile
(masked as auctexdir), and even that wasn't the case until three days
ago. The shell syntax can be used there, so I think we can go back to
using plain, unexpanded variables in Makefile.
The only other place the _expanded variables are used are in
tex-site.el, which is handled by the new code. Getting rid of them
would take quite a few lines off our autoconf macros.
/JÃ
--
C Code. C code run. Run, code, run! (please?)