Changeset 4ff0966 for configure


Ignore:
Timestamp:
2006-05-28T23:13:47Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
df417ca
Parents:
cdca30b (diff), 79b6213 (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:

Merging from main/jelmer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rcdca30b r4ff0966  
    169169fi
    170170
    171 GLIB=0
    172 
    173171if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then
    174172        cat<<EOF>>Makefile.settings
     
    176174CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0`
    177175EOF
    178         echo '#define GLIB2' >> config.h
    179         GLIB=2
    180 elif type glib-config > /dev/null 2> /dev/null; then
    181         cat<<EOF>>Makefile.settings
    182 EFLAGS+=`glib-config --libs`
    183 CFLAGS+=`glib-config --cflags`
    184 EOF
    185         echo '#define GLIB1' >> config.h
    186         GLIB=1
    187 else
    188         echo 'Cannot find glib development libraries, aborting. (Install libglib-dev?)'
     176else
     177        echo 'Cannot find glib2 development libraries, aborting. (Install libglib2-dev?)'
    189178        exit 1;
    190179fi
    191 
    192 if [ GLIB = 1 -o -r /usr/include/iconv.h ]; then
    193         :;
    194 elif [ -r /usr/local/include/iconv.h ]; then
    195         echo CFLAGS+=-I/usr/local/include >> Makefile.settings
    196 else
    197         echo
    198         echo 'Warning: Could not find iconv.h, you might have to install it and/or modify'
    199         echo 'Makefile.settings to tell where this file is.'
    200 fi
    201 
    202180
    203181if [ "$events" = "libevent" ]; then
     
    223201fi
    224202echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings
    225 
    226203
    227204detect_gnutls()
     
    420397;;
    421398*BSD )
    422         echo 'EFLAGS+=-liconv' >> Makefile.settings;
     399;;
     400Darwin )
     401;;
     402IRIX )
    423403;;
    424404SunOS )
    425405        echo 'EFLAGS+=-lresolv -lnsl -lsocket' >> Makefile.settings
    426406        echo 'STRIP=\# skip strip' >> Makefile.settings
    427         echo 'EFLAGS+=-liconv' >> Makefile.settings;
    428 ;;
    429 Darwin )
    430         echo 'EFLAGS+=-liconv' >> Makefile.settings;
    431 ;;
    432 IRIX )
    433407;;
    434408CYGWIN* )
Note: See TracChangeset for help on using the changeset viewer.