File: extconf.rb

package info (click to toggle)
libvorbisfile-ruby 0.2-8.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze, wheezy
  • size: 84 kB
  • ctags: 35
  • sloc: ansic: 371; makefile: 52; ruby: 45
file content (9 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
require 'mkmf'

exit 1 unless have_library("vorbis",      "vorbis_analysis")
exit 1 unless have_library("vorbisfile",  "ov_open_callbacks")

exit 1 unless have_header("vorbis/codec.h")
exit 1 unless have_header("vorbis/vorbisfile.h")

create_makefile("vorbisfile")