Changeset 1050:f822683268ac in roaraudio for plugins/ao
- Timestamp:
- 12/23/08 23:35:17 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- plugins/ao
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/ao/Makefile
r1049 r1050 12 12 13 13 libroar.so: ao_roar.c 14 cc -shared - lroar -o libroar.so ao_roar.c14 cc -shared -L../../lib -lroar -o libroar.so ao_roar.c 15 15 16 16 ao_roar.c: -
plugins/ao/configure
r1048 r1050 2 2 3 3 INSTALL_DIR=/usr/lib/ao/plugins-2/ 4 5 HAVE_ROAR=false 4 6 5 7 while [ "$1" != '' ] … … 9 11 INSTALL_DIR="$2" 10 12 shift; 13 ;; 14 --force-have-roar) 15 HAVE_ROAR=true 11 16 ;; 12 17 --help|-h) … … 66 71 on_error 67 72 fi 68 rm -f tests tests.c69 73 70 74 echo -n 'testing for libroar... ' 71 cat > tests.c << EOF 75 if $HAVE_ROAR 76 then 77 echo 'yes (forced)' 78 else 79 cat > tests.c << EOF 72 80 #include <roaraudio.h> 73 81 int main (void) { return 0; } 74 82 EOF 75 83 76 $CC -lroar -o tests tests.c 2> /dev/null77 ./tests 2> /dev/null84 $CC -lroar -o tests tests.c 2> /dev/null 85 ./tests 2> /dev/null 78 86 79 if [ "$?" = '0' ] 80 then 81 echo yes 82 else 83 echo no. 84 on_error 87 if [ "$?" = '0' ] 88 then 89 echo yes 90 else 91 echo no. 92 on_error 93 fi 85 94 fi 86 95 rm -f tests tests.c
Note: See TracChangeset
for help on using the changeset viewer.