summaryrefslogtreecommitdiffstats
path: root/client_examples/ppmtest.c
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-09-11 22:50:14 +0300
committerChristian Beier <dontmind@freeshell.org>2012-09-14 18:47:32 +0200
commit2d18f3cdcfa0bca29dd83720d311682269b7d813 (patch)
tree86692e341925405912096d59f0d14ab32e201d6c /client_examples/ppmtest.c
parent4c148e5f74f764bccbe8b519494addb4aa0d79d0 (diff)
downloadlibtdevnc-2d18f3cdcfa0bca29dd83720d311682269b7d813.tar.gz
libtdevnc-2d18f3cdcfa0bca29dd83720d311682269b7d813.zip
Do not hardcode the need for libresolv.
libresolv is only present on systems which use glibc; platforms such as FreeBSD have __b64_ntop as part of libc itself. Improve the detection process and only link against libresolv if it exists on the system, and remember to reset CMAKE_REQUIRED_LIBRARIES after performing the necessary tests, since we do not always want to link against libresolv.
Diffstat (limited to 'client_examples/ppmtest.c')
0 files changed, 0 insertions, 0 deletions