Changes in configure.ac [856:3d8054c9c0b4:906:15c3f35412ca] in mediastreamer2
- File:
-
- 1 edited
-
configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r856 r906 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}" in 564 yes) libv4l=true ;; 565 no) libv4l=false ;; 566 *) AC_MSG_ERROR(bad value ${enableval} for --disable-libv4l) ;; 567 esac],[libv4l=true])b 568 561 569 PKG_CHECK_MODULES(LIBV4L2, libv4l2, 562 [AC_DEFINE(HAVE_LIBV4L2,1,[Defined if we have libv4l2])] 570 [AC_DEFINE(HAVE_LIBV4L2,1,[Defined if we have libv4l2]) 571 have_libv4l2=yes] 563 572 ,[echo "No libv4l2 found."] 564 573 ) 565 574 PKG_CHECK_MODULES(LIBV4L1, libv4l1, 566 [AC_DEFINE(HAVE_LIBV4L1,1,[Defined if we have libv4l1])] 575 [AC_DEFINE(HAVE_LIBV4L1,1,[Defined if we have libv4l1]) 576 have_libv4l1=yes] 567 577 ,[echo "No libv4l1 found."] 568 578 ) 579 580 if test "$found_v4l" = "yes" && test "$have_libv4l2" != "yes" ; then 581 if test "$libv4l" = "no" ; then 582 AC_MSG_ERROR( 583 [ 584 Missing libv4l2. It is highly recommended to build with 585 libv4l2 headers and library. Many camera will won't work or will crash 586 your application if libv4l2 is not installed. 587 If you know what you are doing, you can use --disable-libv4l to disable 588 this check. 589 ]) 590 fi 591 fi 569 592 570 593 dnl ##################################################
Note: See TracChangeset
for help on using the changeset viewer.
