2007-12-30 17:41:49 +01:00
|
|
|
dnl ---- configure.ac for gb.v4l
|
|
|
|
|
|
|
|
AC_INIT(configure.ac)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2007-12-30 17:41:49 +01:00
|
|
|
GB_INIT(gb.v4l)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
2009-08-25 23:54:26 +02:00
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
v4lconvert,
|
|
|
|
V4LCONVERT,
|
|
|
|
[Video For Linux conversion library],
|
|
|
|
[src],
|
|
|
|
libv4lconvert)
|
|
|
|
|
2007-12-30 17:41:49 +01:00
|
|
|
GB_COMPONENT(
|
|
|
|
v4l,
|
|
|
|
V4L,
|
|
|
|
[Video For Linux component],
|
|
|
|
[src],
|
|
|
|
[GB_FIND(png.h jpeglib.h linux/videodev.h linux/videodev2.h, /usr/local/lib /usr/local /usr/lib /usr, include)],
|
|
|
|
[GB_FIND(libpng.$SHLIBEXT libjpeg.$SHLIBEXT, /usr/local /usr, lib)],
|
|
|
|
[$C_LIB -ljpeg -lpng])
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
|
|
|
)
|