Changeset 68b518d6 for configure


Ignore:
Timestamp:
2006-05-26T09:03:38Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
cdca30b
Parents:
41ca004 (diff), c53911e (diff), 7bfd574 (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 development tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r41ca004 r68b518d6  
    169169fi
    170170
     171GLIB=0
     172
    171173if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then
    172174        cat<<EOF>>Makefile.settings
     
    175177EOF
    176178        echo '#define GLIB2' >> config.h
     179        GLIB=2
    177180elif type glib-config > /dev/null 2> /dev/null; then
    178181        cat<<EOF>>Makefile.settings
     
    181184EOF
    182185        echo '#define GLIB1' >> config.h
     186        GLIB=1
    183187else
    184188        echo 'Cannot find glib development libraries, aborting. (Install libglib-dev?)'
     
    186190fi
    187191
    188 if [ -r /usr/include/iconv.h ]; then
     192if [ GLIB = 1 -o -r /usr/include/iconv.h ]; then
    189193        :;
    190194elif [ -r /usr/local/include/iconv.h ]; then
Note: See TracChangeset for help on using the changeset viewer.