Changeset 9779c18 for configure


Ignore:
Timestamp:
2006-06-03T20:20:43Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
5973412
Parents:
a15c097 (diff), fb62f81f (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] Wilmer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    ra15c097 r9779c18  
    171171CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0`
    172172EOF
    173         echo '#define GLIB2' >> config.h
    174 elif type glib-config > /dev/null 2> /dev/null; then
    175         cat<<EOF>>Makefile.settings
    176 EFLAGS+=`glib-config --libs`
    177 CFLAGS+=`glib-config --cflags`
    178 EOF
    179         echo '#define GLIB1' >> config.h
    180 else
    181         echo 'Cannot find glib development libraries, aborting. (Install libglib-dev?)'
     173else
     174        echo 'Cannot find glib2 development libraries, aborting. (Install libglib2-dev?)'
    182175        exit 1;
    183176fi
    184 
    185 if [ -r /usr/include/iconv.h ]; then
    186         :;
    187 elif [ -r /usr/local/include/iconv.h ]; then
    188         echo CFLAGS+=-I/usr/local/include >> Makefile.settings;
    189 else
    190         echo
    191         echo 'Warning: Could not find iconv.h, you might have to install it and/or modify'
    192         echo 'Makefile.settings to tell where this file is.';
    193 fi
    194 
    195177
    196178detect_gnutls()
     
    333315
    334316echo
    335 if [ -z "$BITLBEE_VERSION" -a -d .bzr -a -x "`which bzr`" ]; then
     317if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
     318        nick=`bzr nick`
     319        if [ -n "$nick" -a "$nick" != "bitlbee" ]; then
     320                nick="-$nick"
     321        else
     322                nick=""
     323        fi
    336324        rev=`bzr revno`
    337325        echo 'Using bzr revision #'$rev' as version number'
    338         BITLBEE_VERSION=\"bzr-$rev\"
     326        BITLBEE_VERSION=\"bzr$nick-$rev\"
    339327fi
    340328
     
    409397;;
    410398*BSD )
    411         echo 'EFLAGS+=-liconv' >> Makefile.settings;
     399;;
     400Darwin )
     401;;
     402IRIX )
    412403;;
    413404SunOS )
    414405        echo 'EFLAGS+=-lresolv -lnsl -lsocket' >> Makefile.settings
    415406        echo 'STRIP=\# skip strip' >> Makefile.settings
    416         echo 'EFLAGS+=-liconv' >> Makefile.settings;
    417 ;;
    418 Darwin )
    419         echo 'EFLAGS+=-liconv' >> Makefile.settings;
    420 ;;
    421 IRIX )
    422407;;
    423408CYGWIN* )
Note: See TracChangeset for help on using the changeset viewer.