rwrap: Fix ns_name_compress detection.
authorAndreas Schneider <asn@samba.org>
Tue, 13 Jan 2015 14:13:40 +0000 (15:13 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 13 Jan 2015 15:57:11 +0000 (16:57 +0100)
commit90de53f970a87fd4b6ade5e5f280cc58587b58ef
tree0f9e00be14b398b9377febc2d33e93b925e63dd1
parentcee8ba1252e03bd6b92000f7b66a5cf9d1b66ca1
rwrap: Fix ns_name_compress detection.

On some platforms it is a macro and not a function. So we need to
check if the macro exists.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
lib/resolv_wrapper/wscript