[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] auctex 11.85 configure hangs
From: |
David Kastrup |
Subject: |
Re: [Bug-AUCTeX] auctex 11.85 configure hangs |
Date: |
Thu, 12 Jun 2008 23:02:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Ralf Angeli <address@hidden> writes:
> After this line and before the next echo statement in the configure
> script there are some while loops. Perhaps those are a problem. Here
> is one of them:
>
> while :;do case "$tmpdir" in *\$*) __ac_tmp__='s/[\`"-"]/\\&/g'
> eval "tmpdir=`sed ${__ac_tmp__} <<EOF
> $tmpdir
> EOF
> `";; *) break ;; esac; done
>
> Do you perhaps know if such a construct is supported by your shell?
> (Frankly I am not an expert here.) Also, is sed installed?
Well, the construct loops while there is a $ in "$tmpdir". It breaks
out of the loop when there isn't. That's quite straightforward. The
sed command replaces the three characters \ ` " with \ followed by the
characters. That gives an additional level of quoting which the eval
(which is there for expanding $ until none is left) then strips again.
It would be interesting to see what happens on the system where it
fails. One thing that might help is writing
's/[\\`"-"]/
instead, doubling the initial \ in case sed misinterprets the range (I
am not sure why we have "-" instead of just ", probably to stop syntax
highlighting from going complete bonkers).
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- [Bug-AUCTeX] auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/10
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs, Ralf Angeli, 2008/06/10
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/10
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs, Ralf Angeli, 2008/06/11
- Message not available
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs, Ralf Angeli, 2008/06/12
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/12
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs, Ralf Angeli, 2008/06/12
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/12
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs, Ralf Angeli, 2008/06/12
- Re: [Bug-AUCTeX] auctex 11.85 configure hangs,
David Kastrup <=
- [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/13
- [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Ralf Angeli, 2008/06/19
- [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/20
- Re: [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Ralf Angeli, 2008/06/20
- [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/20
- Re: [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Ralf Angeli, 2008/06/20
- Re: [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/20
- Re: [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Ralf Angeli, 2008/06/21
- Re: [Bug-AUCTeX] Re: auctex 11.85 configure hangs, Rodney Sparapani, 2008/06/26
- Re: [Bug-AUCTeX] Re: auctex 11.85 configure hangs, David Kastrup, 2008/06/26