Changeset 643dfc4 for configure


Ignore:
Timestamp:
2005-12-17T01:25:58Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
e3fb678
Parents:
4146a07 (diff), 32c632f (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

    r4146a07 r643dfc4  
    145145fi
    146146
    147 if type pkg-config > /dev/null 2>/dev/null && pkg-config glib-2.0; then
     147if [ -z "$PKG_CONFIG" ]; then
     148        PKG_CONFIG=pkg-config
     149fi
     150
     151if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then
    148152        cat<<EOF>>Makefile.settings
    149 EFLAGS+=`pkg-config --libs glib-2.0 gmodule-2.0`
    150 CFLAGS+=`pkg-config --cflags glib-2.0 gmodule-2.0`
     153EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0`
     154CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0`
    151155EOF
    152156        echo '#define GLIB2' >> config.h
     
    190194detect_nss()
    191195{
    192         if type pkg-config > /dev/null 2>/dev/null && pkg-config mozilla-nss; then
     196        if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG mozilla-nss; then
    193197                cat<<EOF>>Makefile.settings
    194 EFLAGS+=`pkg-config --libs mozilla-nss`
    195 CFLAGS+=`pkg-config --cflags mozilla-nss`
     198EFLAGS+=`$PKG_CONFIG --libs mozilla-nss`
     199CFLAGS+=`$PKG_CONFIG --cflags mozilla-nss`
    196200EOF
    197201               
Note: See TracChangeset for help on using the changeset viewer.