[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: changequote
From: |
Bernard Dautrevaux |
Subject: |
RE: changequote |
Date: |
Thu, 21 Dec 2000 15:46:34 +0100 |
> -----Original Message-----
> From: Mirar [mailto:address@hidden
> Sent: Wednesday, December 20, 2000 6:21 PM
> To: Autoconf List
> Subject: changequote
>
>
> I have some problems with a newer autoconf,
> I have some code (I'm not the author) that looks like
>
> changequote({,})dnl
> 81: AC_MSG_CHECKING(for JAVA_HOME)
>
> and gives the following disaster:
>
> /usr/local/bin/autoheader: unexpected EOF while looking for `''
> /usr/local/bin/autoheader: /tmp/ah17363/traces.sh: line 4:
> syntax error
> Running autoconf in ./modules/Java
> configure.in:81: /usr/bin/m4: Bad regular expression
> `[\([`""]\)]': Unmatched ) or \)
> [configure.in:81[: error: [[[back quotes and double quotes
> should not be escaped in: [[$as_me:__oline__: checking for
> JAVA_HOME]]]]]]
> ][
> ][
> ][
> ][
> ][
> [snip]
> ][
> ]configure.in:81: /usr/bin/m4: ERROR: Recursion limit of
> 250 exceeded, use -L<N> to change it
>
> Does this mean changequote no longer works?
> Any other hints?
>
> /Mirar
>
>
I don't know if this is related, but with a CVS autoconf I've installed
about two months ago, I keep running into the same kind of problem; simply
suppressing the "dnl" at the end of a macro call (be it an AC_XXX one or
simply a changequote) seems to cure the problem.
I don't understand why but for example a lot of 'configure.in's contains
constructs like:
AC_ARG_WITH(mmalloc,
[ --with-mmalloc Use memory mapped malloc package],
[case "${withval}" in
yes) want_mmalloc=true ;;
no) want_mmalloc=false;;
*) AC_MSG_ERROR(bad value ${withval} for GDB with-mmalloc option)
;;
esac],[want_mmalloc=false])dnl
With the final "dnl" I get the same "unexpected EOF" error; deleting the
"dnl" (which should only add an unneeded blank line in the configure script:
no big deal) everything works well...
I don't know if that still true with current CVS autoconf as I've not
upgraded fro a while (and was now used to deleting all "dnl"s at end of
line) but this may be connected to your problem.
HTH
Bernard
--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel: +33 (0) 1 47 68 80 80
Fax: +33 (0) 1 47 88 97 85
e-mail: address@hidden
address@hidden
--------------------------------------------
- Re: changequote, (continued)
- Re: changequote, Mirar, 2000/12/21
- Re: changequote, Akim Demaille, 2000/12/22
- Re: changequote, Mirar, 2000/12/22
- Re: changequote, Akim Demaille, 2000/12/22
- Re: changequote, Mirar, 2000/12/22
- Re: changequote, Akim Demaille, 2000/12/22
- Re: changequote, Pavel Roskin, 2000/12/25
- Re: changequote, Thomas Dickey, 2000/12/25
- Re: changequote, Bruce Korb, 2000/12/22
- Re: changequote, Akim Demaille, 2000/12/22
RE: changequote,
Bernard Dautrevaux <=
RE: changequote, Bernard Dautrevaux, 2000/12/21