Author skrah
Recipients akuchling, asmodai, mark.dickinson, r.david.murray, rpetrov, skrah
Date 2010-04-24.09:33:12
SpamBayes Score 3.44335e-07
Marked as misclassified No
Message-id <1272101594.86.0.296567037165.issue7384@psf.upfronthosting.co.za>
In-reply-to
Content
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:

[stefan@freebsd-i386 ~]$ echo 'int main() { readline(); }' > test_readline.c
[stefan@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -ltermcap -lncurses -lncursesw
[stefan@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -lncurses -lncursesw
[stefan@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -lncursesw


On OpenSolaris with suncc, ld does not have -warn-common.
History
Date User Action Args
2010-04-24 09:33:14skrahsetrecipients: + skrah, akuchling, mark.dickinson, asmodai, rpetrov, r.david.murray
2010-04-24 09:33:14skrahsetmessageid: <1272101594.86.0.296567037165.issue7384@psf.upfronthosting.co.za>
2010-04-24 09:33:13skrahlinkissue7384 messages
2010-04-24 09:33:12skrahcreate