Mercurial > hg > freeDiameter
diff include/freeDiameter/CMakeLists.txt @ 815:958d3efb45b5
Add test for AI_ADDRCONFIG for platforms where it does not exist
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 27 Aug 2012 13:17:15 +0200 |
parents | e387d5c6b6f5 |
children | da97a5aa7976 |
line wrap: on
line diff
--- a/include/freeDiameter/CMakeLists.txt Sat Aug 25 22:24:53 2012 +0200 +++ b/include/freeDiameter/CMakeLists.txt Mon Aug 27 13:17:15 2012 +0200 @@ -157,6 +157,11 @@ SET(GCRYPT_LIBRARY ${GCRYPT_LIBRARY} PARENT_SCOPE) +# Check if AI_ADDRCONFIG is available on the system +CHECK_SYMBOL_EXISTS(AI_ADDRCONFIG "netdb.h" HAVE_AI_ADDRCONFIG) + + + ########################## # LFDPROTO_LIBS = libraries required by the libfdproto.