>> Even if we use the readline module from gnulib, we have to envelop the >> add_history calls with #if HAVE_LIBREADLINE...#endif pairs.
> Yes, or perhaps cleaner: add a AC_CHECK_FUNC(add_history) to > configure.ac, and make sure the test code links to any libreadline found > by gnulib. Then wrap the calls to add_history around #if > HAVE_ADD_HISTORY. I like this and shall incorporate this in the patch. > Another option would be to add the entire libreadline to the gnulib > module, so that it really does provide a add_history replacement as > well. But the libreadline code was rather ugly last time I checked, so > it may be difficult. I am interested in doing something about this. Let's discuss this in the gnulib lists. Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ bug-inetutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-inetutils
