Changeset e8a6211 for configure


Ignore:
Timestamp:
2006-10-22T17:00:15Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f0071b7
Parents:
66f783f (diff), 6237ded (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from main tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r66f783f re8a6211  
    3131
    3232events=glib
    33 ldap=auto
     33ldap=0
    3434ssl=auto
    3535
    3636arch=`uname -s`
    3737cpu=`uname -m`
     38
     39GLIB_MIN_VERSION=2.4
    3840
    3941echo BitlBee configure
     
    175177
    176178if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then
    177         cat<<EOF>>Makefile.settings
     179        if $PKG_CONFIG glib-2.0 --atleast-version=$GLIB_MIN_VERSION; then
     180                cat<<EOF>>Makefile.settings
    178181EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0`
    179182CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0`
    180183EOF
    181 else
     184        else
     185                echo
     186                echo 'Found glib2 '`$PKG_CONFIG glib-2.0 --modversion`', but version '$GLIB_MIN_VERSION' or newer is required.'
     187                exit 1
     188        fi
     189else
     190        echo
    182191        echo 'Cannot find glib2 development libraries, aborting. (Install libglib2-dev?)'
    183         exit 1;
     192        exit 1
    184193fi
    185194
     
    290299elif [ "$ssl" = "bogus" ]; then
    291300        echo
    292         echo 'Using bogus SSL code. This means some features have to be disabled.'
     301        echo 'Using bogus SSL code. This means some features will not work properly.'
    293302       
    294303        ## Yes, you, at the console! How can you authenticate if you don't have any SSL!?
Note: See TracChangeset for help on using the changeset viewer.