-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Sean Boudreau on 9/30/2007 4:10 PM: > Hello:
Hello Sean, and adding bug-gnulib, > > Would it be possible to not bring in freading.c and fpurge.c > and to disable the associated tests if fflush() behaves as > you expect? For m4 1.4.x: If fflush completely obeys POSIX (note that even glibc has bugs here, when it comes to properly flushing at program exit), then freading.c and fpurge.c might still be compiled because of the configure-time tests for those modules, but they will not be linked into the final m4 executable because their symbols are not directly referenced from the main body of m4 source code - that is one of the properties of a static library. Compiling them as part of libgnu.a is therefore a slight waste of time, but otherwise harmless. Now for m4 2.0, which uses dynamic libraries, you are correct that the final dynamic library will therefore be slightly bloated by the addition of symbols for freading and fpurge, even though nothing in the rest of the library or the main program uses it. But I don't know if anything can be done (or is worth doing) to avoid that. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAChY84KuGfSFAYARAjANAKCqNZR2cm0ZRVzyqjai5P8UlE4NzACg2Wyy lO8UuMznNYScF0ac8UzeVo4= =OAu1 -----END PGP SIGNATURE-----