Changes in [908:6d6d89ca5eae:907:389f85793c06] in mediastreamer2
- File:
-
- 1 edited
-
configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r906 r856 456 456 *) AC_MSG_ERROR(bad value ${enableval} for --disable-gsm) ;; 457 457 esac],[gsm=true]) 458 458 459 459 if test x$gsm = xtrue; then 460 460 … … 559 559 AM_CONDITIONAL(BUILD_V4L, test x$found_v4l = xyes ) 560 560 561 AC_ARG_ENABLE(libv4l,562 [ --disable-libv4l Disable usage of libv4l, really discouraged],563 [case "${enableval}" in564 yes) libv4l=true ;;565 no) libv4l=false ;;566 *) AC_MSG_ERROR(bad value ${enableval} for --disable-libv4l) ;;567 esac],[libv4l=true])b568 569 561 PKG_CHECK_MODULES(LIBV4L2, libv4l2, 570 [AC_DEFINE(HAVE_LIBV4L2,1,[Defined if we have libv4l2]) 571 have_libv4l2=yes] 562 [AC_DEFINE(HAVE_LIBV4L2,1,[Defined if we have libv4l2])] 572 563 ,[echo "No libv4l2 found."] 573 564 ) 574 565 PKG_CHECK_MODULES(LIBV4L1, libv4l1, 575 [AC_DEFINE(HAVE_LIBV4L1,1,[Defined if we have libv4l1]) 576 have_libv4l1=yes] 566 [AC_DEFINE(HAVE_LIBV4L1,1,[Defined if we have libv4l1])] 577 567 ,[echo "No libv4l1 found."] 578 568 ) 579 580 if test "$found_v4l" = "yes" && test "$have_libv4l2" != "yes" ; then581 if test "$libv4l" = "no" ; then582 AC_MSG_ERROR(583 [584 Missing libv4l2. It is highly recommended to build with585 libv4l2 headers and library. Many camera will won't work or will crash586 your application if libv4l2 is not installed.587 If you know what you are doing, you can use --disable-libv4l to disable588 this check.589 ])590 fi591 fi592 569 593 570 dnl ##################################################
Note: See TracChangeset
for help on using the changeset viewer.
