Changeset 1606:2ad931efb277 in roaraudio for plugins/xmms
- Timestamp:
- 04/20/09 19:38:57 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/xmms/configure
r1121 r1606 6 6 do 7 7 case "$1" in 8 --inst -dir)8 --install-dir|--inst-dir) 9 9 INSTALL_DIR="$2" 10 shift; 11 ;; 12 --pkg-config) 13 PKG_CONFIG="$2" 10 14 shift; 11 15 ;; … … 18 22 19 23 Options: 20 --help - Show this help 21 --inst-dir DIR - Install dir 24 --help - Show this help 25 --inst-dir DIR - Install dir 26 --force-have-roar - Force to assume libroar is ok 27 --pkg-config PKGCONF - Set filename for pkg-config 22 28 EOF 23 29 ;; … … 44 50 45 51 echo -n "checking for pkg-config... " 46 PKG_CONFIG=$(which pkg-config false 2> /dev/null | grep ^/ | head -n 1) 47 if $PKG_CONFIG --help > /dev/null 2> /dev/null 52 if [ "$PKG_CONFIG" = '' ] 48 53 then 49 echo $PKG_CONFIG 54 PKG_CONFIG=$(which pkg-config false 2> /dev/null | grep ^/ | head -n 1) 55 if $PKG_CONFIG --help > /dev/null 2> /dev/null 56 then 57 echo $PKG_CONFIG 58 else 59 PKG_CONFIG='' 60 echo no 61 fi 50 62 else 51 PKG_CONFIG='' 52 echo no 63 echo $PKG_CONFIG '(forced)' 53 64 fi 54 65
Note: See TracChangeset
for help on using the changeset viewer.