Changeset 1121:476f1bd5f496 in roaraudio for plugins/xmms/configure


Ignore:
Timestamp:
01/16/09 17:55:53 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added a small usleep() of 100ms in error case, this improves the stability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/xmms/configure

    r1056 r1121  
    4343fi 
    4444 
     45echo -n "checking for pkg-config... " 
     46PKG_CONFIG=$(which pkg-config false 2> /dev/null | grep ^/ | head -n 1) 
     47if $PKG_CONFIG --help > /dev/null 2> /dev/null 
     48then 
     49 echo $PKG_CONFIG 
     50else 
     51 PKG_CONFIG='' 
     52 echo no 
     53fi 
     54 
    4555echo -n 'testing for gtk... ' 
    46 GTK_LIBS=`gtk-config --libs 2> /dev/null` 
    47 GTK_CFLAFS=`gtk-config --cflags 2> /dev/null` 
     56#pkg-config 
     57 
     58#if [ "$PKG_CONFIG" != '' ] 
     59#then 
     60# GTK_LIBS=`pkg-config --libs gtk+-2.0 2> /dev/null` 
     61# GTK_CFLAFS=`pkg-config --cflags gtk+-2.0 2> /dev/null` 
     62#else 
     63 GTK_LIBS=`gtk-config --libs 2> /dev/null` 
     64 GTK_CFLAFS=`gtk-config --cflags 2> /dev/null` 
     65#fi 
    4866 
    4967if [ "$GTK_LIBS" = '' -a "$GTK_CFLAFS" = '' ] 
Note: See TracChangeset for help on using the changeset viewer.