1 | | I'm truly not an autotools expert, but decided to google around and use something similar to what the cups people do - just find the different variants (__res_init, _res_9_init, res_init) in the usual places (nothing, -lresolv, -lbind) and link that - and the code now assumes "it is always there!" so if configure fails to find it, we'll notice, instead of silently assuming "this platform doesn't have it". |
| 1 | I'm truly not an autotools expert, but decided to google around and use something similar to what the cups people do - just find the different variants (_ _res_init, res_9_init, res_init) in the usual places (nothing, -lresolv, -lbind) and link that - and the code now assumes "it is always there!" so if configure fails to find it, we'll notice, instead of silently assuming "this platform doesn't have it". |