File: extconf.rb

package info (click to toggle)
ruby-v4l 0.1.2-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 56 kB
  • ctags: 44
  • sloc: ansic: 491; ruby: 49; makefile: 48
file content (10 lines) | stat: -rw-r--r-- 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
require 'mkmf'
exit(1) if !have_header('stdio.h') ||
  !have_header('fcntl.h') ||
  !have_header('unistd.h') ||
  !have_header('sys/types.h') ||
  !have_header('sys/stat.h') ||
  !have_header('sys/ioctl.h') ||
  !have_header('sys/mman.h') ||
  !have_header('linux/videodev.h')
create_makefile('V4l')