Changeset 1742:4fbe8cb28680 in roaraudio for plugins/xmms/configure
- Timestamp:
- 05/17/09 22:47:42 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/xmms/configure
r1740 r1742 42 42 } 43 43 44 echo -n 'testing for C compiler... ' 45 CC=$(which gcc cc 2> /dev/null | head -n 1) 46 if [ -x "$CC" ] 47 then 48 echo $CC 49 else 50 echo no. 51 on_error; 52 fi 53 54 echo -n "checking for pkg-config... " 55 if [ "$PKG_CONFIG" = '' ] 56 then 57 PKG_CONFIG=$(which pkg-config false 2> /dev/null | grep ^/ | head -n 1) 58 if $PKG_CONFIG --help > /dev/null 2> /dev/null 59 then 60 echo $PKG_CONFIG 61 else 62 PKG_CONFIG='' 63 echo no 64 fi 65 else 66 echo $PKG_CONFIG '(forced)' 67 fi 44 check_cc; 45 check_pkg_config; 68 46 69 47 echo -n 'testing for gtk... ' … … 115 93 fi 116 94 117 echo -n 'testing for libroar... ' 118 if $HAVE_ROAR 119 then 120 echo 'yes (forced)' 121 else 122 cat > tests.c << EOF 123 #include <roaraudio.h> 124 int main (void) { return 0; } 125 EOF 95 check_libroar; 126 96 127 $CC -o tests tests.c -lroar 2> /dev/null128 ./tests 2> /dev/null129 130 if [ "$?" = '0' ]131 then132 echo yes133 else134 echo no.135 on_error136 fi137 fi138 97 rm -f tests tests.c 139 98
Note: See TracChangeset
for help on using the changeset viewer.