Stefan Krah <stefan-use...@bytereef.org> added the comment: I'm not against sorting things out in configure.in, but I'm not quite sure that it will be more portable than ldd:
On FreeBSD (the problem system!) I can't get this to work: [ste...@freebsd-i386 ~]$ echo 'int main() { readline(); }' > test_readline.c [ste...@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -ltermcap -lncurses -lncursesw [ste...@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -lncurses -lncursesw [ste...@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -lncursesw On OpenSolaris with suncc, ld does not have -warn-common. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7384> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com