Leopard ships with an older version (1.4.6) of Gnu M4, the macro programming language used mostly by Gnu Autotools. You might therefore get this error when trying to build a configure script:
/usr/bin/gm4: INTERNAL ERROR: recursive push_string!
autom4te: /usr/bin/gm4 failed with exit status: 1
Once you learn that this is a well-documented bug in m4 1.4.6, you'll immediately go to the Gnu M4 Downloads page and retrieve the latest version. However, version 1.4.10 seems to have a bug which makes it fail to write most of the output on OS X 10.5 (even though it works fine on Linux). Instead, get 1.4.9, and all will be well.
Comments (0)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20080101160622573