Changeset b1bd100 for configure


Ignore:
Timestamp:
2006-05-25T16:09:15Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
1705ec3
Parents:
51a4ffb (diff), 0a69d7b (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] integration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r51a4ffb rb1bd100  
    163163fi
    164164
     165GLIB=0
     166
    165167if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then
    166168        cat<<EOF>>Makefile.settings
     
    169171EOF
    170172        echo '#define GLIB2' >> config.h
     173        GLIB=2
    171174elif type glib-config > /dev/null 2> /dev/null; then
    172175        cat<<EOF>>Makefile.settings
     
    175178EOF
    176179        echo '#define GLIB1' >> config.h
     180        GLIB=1
    177181else
    178182        echo 'Cannot find glib development libraries, aborting. (Install libglib-dev?)'
     
    180184fi
    181185
    182 if [ -r /usr/include/iconv.h ]; then
     186if [ GLIB = 1 -o -r /usr/include/iconv.h ]; then
    183187        :;
    184188elif [ -r /usr/local/include/iconv.h ]; then
Note: See TracChangeset for help on using the changeset viewer.