Changeset 4af7b4f


Ignore:
Timestamp:
2008-04-02T14:34:57Z (12 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
69aaf14, f9dbc99
Parents:
fa75134
Message:

Use pkg-config file for gnutls if possible.

This allows building against a gnutls built for a an architecture other
than the host architecture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rfa75134 r4af7b4f  
    213213detect_gnutls()
    214214{
    215         if libgnutls-config --version > /dev/null 2> /dev/null; then
     215        if $PKG_CONFIG --exists gnutls; then
     216                cat <<EOF>>Makefile.settings
     217EFLAGS+=`$PKG_CONFIG --libs gnutls`
     218CFLAGS+=`$PKG_CONFIG --cflags gnutls`
     219EOF
     220                ssl=gnutls
     221                ret=1
     222        elif libgnutls-config --version > /dev/null 2> /dev/null; then
    216223                cat <<EOF>>Makefile.settings
    217224EFLAGS+=`libgnutls-config --libs`
Note: See TracChangeset for help on using the changeset viewer.