----- "Mike Frysinger" <vap...@gentoo.org> wrote: > i believe a recent autoconf update triggered a bug in m4 while > processing > crappy m4 code. the project in question is "rezound": > http://rezound.sf.net/ (version 0.12.3_beta to be exact) > > the reduced test case is: > $ cat configure.ac > AC_INIT > ajv_CXX_FLAG(-g) > AC_OUTPUT > $ cat aclocal.m4 > AC_DEFUN(ajv_CXX_FLAG, > [AC_MSG_CHECKING(if $CXX accepts $1 )] > AC_MSG_RESULT(yes) > ) > $ autoconf > <hang here in m4>
That's a bug in the user's configure.ac script for not quoting things correctly in the first place. Autoconf can't work around every piece of bad code thrown at it, and my recommendation would be to fix rezound rather than trying to throw more workarounds in autoconf to avoid this bad code at the expense of penalizing performance on good code. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org