configure: test whether -lresolv is needed
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 7 Jun 2009 05:40:29 +0000 (07:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Jun 2009 07:08:07 +0000 (00:08 -0700)
commit8fccb009fa539080a6c4fb18204dfea0be434433
tree3105db3376bda164d7f7a30847cccf08af80a06a
parent61dbb3c4415169194d9351cc4b68dd88788a93c5
configure: test whether -lresolv is needed

Check if -lresolv is needed for hstrerror; set NEEDS_RESOLV
accordingly, and substitute in config.mak.in.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.in
configure.ac