cmake: Fix ns_name_compress detection.
authorAndreas Schneider <asn@samba.org>
Tue, 13 Jan 2015 10:37:31 +0000 (11:37 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 13 Jan 2015 14:11:34 +0000 (15:11 +0100)
commit2924b90ea6ceea662410d42ed0c293c1cbbf4f45
tree534bfcc9b9cd33856b16c978376037b3a28764f4
parentdbb889b839419cc672c7ca65674e24482a896a5b
cmake: 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>
CMakeLists.txt
ConfigureChecks.cmake