annotate m4macros/Makefile.am @ 22269:0e68dab2a362

Patch from oliver: In message.c in the escape & unescape functions the loops are not optimal, doing a strlen() for each character in the message string. valgrind/callgrind identified especially msim_unescape() as a expensive because of that (guess there is more unescaping going on than escaping). The attached patch moves the strlen() out of the loop header for both functions. Closes #4790.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 09 Feb 2008 02:22:30 +0000
parents 402236ee7981
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15903
402236ee7981 Rename gaim.m4 to purple.m4. This is for other applications that
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
1 installed_m4=purple.m4
11147
616feca04ada [gaim-migrate @ 13226]
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2
11318
519dc2186438 [gaim-migrate @ 13521]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11147
diff changeset
3 EXTRA_DIST=$(installed_m4)
11147
616feca04ada [gaim-migrate @ 13226]
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4
616feca04ada [gaim-migrate @ 13226]
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 m4datadir=$(datadir)/aclocal
616feca04ada [gaim-migrate @ 13226]
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 m4data_DATA=$(installed_m4)