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 Didn't try to reproduce, but at least be aware that using dnl like this is a bad idea. Use `[]dnl' to avoid having the dnl pasted to the last tokens of the expansion of the previous macro (here AC_ARG_WITH). This stupid example highlights what might happen. % m4 define(foo, bar) foo()dnl bardnl foo()`'dnl toto bar
- changequote Mirar
- Re: changequote Akim Demaille
- Re: changequote Mirar
- Re: changequote Akim Demaille
- Re: changequote Lars J. Aas
- Re: changequote Akim Demaille
- Re: changequote Lars J. Aas
- Re: changequote Mirar
- Re: changequote Akim Demaille
- RE: changequote Bernard Dautrevaux
- Re: changequote Akim Demaille
- Re: changequote Mirar
- Re: changequote Akim Demaille
- Re: changequote Peter Eisentraut
- RE: changequote Bernard Dautrevaux
- Re: changequote Mirar
- Re: changequote Akim Demaille
- Re: changequote Mirar
- Re: changequote Akim Demaille
- Re: changequote Bruce Korb
- Re: changequote Mirar