Changeset b27cce7 in mod_gnutls


Ignore:
Timestamp:
May 16, 2015, 2:43:23 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
c5d5942
Parents:
f71e6ce
git-author:
Thomas Klute <thomas2.klute@…> (05/16/15 14:40:33)
git-committer:
Thomas Klute <thomas2.klute@…> (05/16/15 14:43:23)
Message:

Fix MSVA conditional

Disabling the MSVA test if the user disabled MSVA didn't always work
correctly. Fix this by checking that "$use_msva" != "no" for enabling.

The commit also includes a few whitespace fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rf71e6ce rb27cce7  
    4242SRP_CFLAGS=""
    4343if test "$use_srp" != "no"; then
    44         SRP_CFLAGS="-DENABLE_SRP=1"
     44        SRP_CFLAGS="-DENABLE_SRP=1"
    4545fi
    4646
     
    6262               [enable Monkeysphere client certificate verification]),
    6363       use_msva=$enableval, use_msva=no)
    64 AM_CONDITIONAL([USE_MSVA], [test "$use_msva" = "$enableval"])
     64AM_CONDITIONAL([USE_MSVA], [test "$use_msva" != "no"])
    6565
    6666MSVA_CFLAGS=""
    6767if test "$use_msva" != "no"; then
    68         AC_CHECK_HEADERS([msv/msv.h], [],
     68        AC_CHECK_HEADERS([msv/msv.h], [],
    6969                         [AC_MSG_ERROR([*** No libmsv headers found!])])
    7070        AC_SEARCH_LIBS([msv_query_agent], [msv], [],
    7171                         [AC_MSG_ERROR([*** No libmsv found with msv_query_agent!])])
    72         MSVA_CFLAGS="-DENABLE_MSVA=1"
     72        MSVA_CFLAGS="-DENABLE_MSVA=1"
    7373fi
    7474
Note: See TracChangeset for help on using the changeset viewer.