Message104071
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. |
|
Date |
User |
Action |
Args |
2010-04-24 09:33:14 | skrah | set | recipients:
+ skrah, akuchling, mark.dickinson, asmodai, rpetrov, r.david.murray |
2010-04-24 09:33:14 | skrah | set | messageid: <1272101594.86.0.296567037165.issue7384@psf.upfronthosting.co.za> |
2010-04-24 09:33:13 | skrah | link | issue7384 messages |
2010-04-24 09:33:12 | skrah | create | |
|