Changeset 1742:4fbe8cb28680 in roaraudio for plugins/audacious
- Timestamp:
- 05/17/09 22:47:42 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/audacious/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 on_error; 65 fi 66 else 67 echo $PKG_CONFIG '(forced)' 68 fi 44 check_cc; 45 check_pkg_config; 69 46 70 47 echo -n 'testing for gtk... ' … … 124 101 fi 125 102 126 echo -n 'testing for libroar... ' 127 if $HAVE_ROAR 128 then 129 echo 'yes (forced)' 130 else 131 cat > tests.c << EOF 132 #include <roaraudio.h> 133 int main (void) { return 0; } 134 EOF 103 check_libroar; 135 104 136 $CC -o tests tests.c -lroar 2> /dev/null137 ./tests 2> /dev/null138 139 if [ "$?" = '0' ]140 then141 echo yes142 else143 echo no.144 on_error145 fi146 fi147 105 rm -f tests tests.c 148 106
Note: See TracChangeset
for help on using the changeset viewer.