Lines 624-629
Link Here
|
624 |
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${package_prefix}/share" ,[path of data]) |
624 |
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${package_prefix}/share" ,[path of data]) |
625 |
AC_SUBST(PACKAGE_DATA_DIR) |
625 |
AC_SUBST(PACKAGE_DATA_DIR) |
626 |
|
626 |
|
|
|
627 |
AC_ARG_ENABLE(v4l, |
628 |
[ --disable-v4l Disable usage of v4l], |
629 |
[case "${enableval}" in |
630 |
yes) v4l=yes ;; |
631 |
no) v4l=no ;; |
632 |
*) AC_MSG_ERROR(bad value ${enableval} for --disable-v4l) ;; |
633 |
esac],[v4l=yes]) |
634 |
|
635 |
if test "$v4l" = "yes" ; then |
636 |
|
627 |
dnl check for video4linux headers |
637 |
dnl check for video4linux headers |
628 |
AC_CHECK_HEADERS(linux/videodev.h linux/videodev2.h) |
638 |
AC_CHECK_HEADERS(linux/videodev.h linux/videodev2.h) |
629 |
if test "${ac_cv_header_linux_videodev_h}" = "yes" ; then |
639 |
if test "${ac_cv_header_linux_videodev_h}" = "yes" ; then |
Lines 690-695
Link Here
|
690 |
esac],[tests=yes]) |
700 |
esac],[tests=yes]) |
691 |
AM_CONDITIONAL(ENABLE_TESTS, test x$tests = xyes) |
701 |
AM_CONDITIONAL(ENABLE_TESTS, test x$tests = xyes) |
692 |
|
702 |
|
|
|
703 |
fi |
704 |
|
705 |
AM_CONDITIONAL(BUILD_V4L, test x$found_v4l = xyes ) |
706 |
|
693 |
|
707 |
|
694 |
dnl ################################################## |
708 |
dnl ################################################## |
695 |
dnl # Check for doxygen |
709 |
dnl # Check for doxygen |