Changeset f71e6ce in mod_gnutls for configure.ac


Ignore:
Timestamp:
May 16, 2015, 2:22:14 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
b27cce7
Parents:
7813802
Message:

Check if available GnuTLS library supports SRP

SRP is enabled by default. Fedora (and possibly other distributions)
ships GnuTLS without SRP support, and the module fails to load with
"undefined symbol: gnutls_srp_server_get_username" if the user does not
manually disable it ("./configure --disable-srp"). This commit adds a
check that automatically disables SRP if gnutls_srp_server_get_username
is not available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r7813802 rf71e6ce  
    3636               [unconditionally disable the SRP functionality]),
    3737       use_srp=$enableval, use_srp=yes)
     38
     39# check if the available GnuTLS library supports SRP
     40AC_SEARCH_LIBS([gnutls_srp_server_get_username], [gnutls], [], [use_srp="no"])
    3841
    3942SRP_CFLAGS=""
Note: See TracChangeset for help on using the changeset viewer.