Revision ae6b5e5a
b/configure | ||
---|---|---|
737 | 737 |
########################################## |
738 | 738 |
# VNC TLS detection |
739 | 739 |
if test "$vnc_tls" = "yes" ; then |
740 |
`pkg-config gnutls` || vnc_tls="no" |
|
741 |
fi |
|
742 |
if test "$vnc_tls" = "yes" ; then |
|
743 |
vnc_tls_cflags=`pkg-config --cflags gnutls` |
|
744 |
vnc_tls_libs=`pkg-config --libs gnutls` |
|
740 |
cat > $TMPC <<EOF |
|
741 |
#include <gnutls/gnutls.h> |
|
742 |
int main(void) { gnutls_session_t s; gnutls_init(&s, GNUTLS_SERVER); return 0; } |
|
743 |
EOF |
|
744 |
vnc_tls_cflags=`pkg-config --cflags gnutls 2> /dev/null` |
|
745 |
vnc_tls_libs=`pkg-config --libs gnutls 2> /dev/null` |
|
746 |
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $vnc_tls_cflags $TMPC \ |
|
747 |
$vnc_tls_libs 2> /dev/null ; then |
|
748 |
: |
|
749 |
else |
|
750 |
vnc_tls="no" |
|
751 |
fi |
|
745 | 752 |
fi |
746 | 753 |
|
747 | 754 |
########################################## |
Also available in: Unified diff