Ticket #518: configure.diff

File configure.diff, 479 bytes (added by ondra@…, at 2009-08-22T16:57:12Z)

Patch to use pkg-config instead of libgnutls-config in configure script.

  • configure

    old new  
    212212
    213213detect_gnutls()
    214214{
    215         if libgnutls-config --version > /dev/null 2> /dev/null; then
     215        if $PKG_CONFIG --version gnutls > /dev/null 2> /dev/null; then
    216216                cat <<EOF>>Makefile.settings
    217 EFLAGS+=`libgnutls-config --libs`
    218 CFLAGS+=`libgnutls-config --cflags`
     217EFLAGS+=`$PKG_CONFIG --libs gnutls`
     218CFLAGS+=`$PKG_CONFIG --cflags gnutls`
    219219EOF
    220220               
    221221                ssl=gnutls