Changeset 83e47ec for configure


Ignore:
Timestamp:
2010-10-17T06:44:35Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
79b5c41
Parents:
3fc6c32
Message:

Use gcrypt for 3DES encryption (used for new MSN authentication) so we
mostly don't need lib/des.c anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r3fc6c32 r83e47ec  
    269269        if $PKG_CONFIG --exists gnutls; then
    270270                cat <<EOF>>Makefile.settings
    271 EFLAGS+=`$PKG_CONFIG --libs gnutls`
    272 CFLAGS+=`$PKG_CONFIG --cflags gnutls`
     271EFLAGS+=`$PKG_CONFIG --libs gnutls` `libgcrypt-config --libs`
     272CFLAGS+=`$PKG_CONFIG --cflags gnutls` `libgcrypt-config --cflags`
    273273EOF
    274274                ssl=gnutls
     
    276276        elif libgnutls-config --version > /dev/null 2> /dev/null; then
    277277                cat <<EOF>>Makefile.settings
    278 EFLAGS+=`libgnutls-config --libs`
    279 CFLAGS+=`libgnutls-config --cflags`
     278EFLAGS+=`libgnutls-config --libs` `libgcrypt-config --libs`
     279CFLAGS+=`libgnutls-config --cflags` `libgcrypt-config --cflags`
    280280EOF
    281281               
     
    427427fi;
    428428
    429 if [ "$msn" = "1" -a "$ssl" != "openssl" ]; then
     429if [ "$msn" = "1" -a "$ssl" != "openssl" -a "$ssl" != "gnutls" ]; then
    430430        # Needed for MSN only. OpenSSL exports nice cipher functions already,
    431         # others don't, so use our own 3des code.
     431        # in case of GnuTLS we should be able to use gcrypt. Otherwise, use
     432        # built-in stuff. (Since right now those are the only two supported
     433        # SSL modules anyway, this is mostly unnecessary.)
    432434        echo 'DES=des.o' >> Makefile.settings
    433435fi
Note: See TracChangeset for help on using the changeset viewer.