Changes in [908:6d6d89ca5eae:907:389f85793c06] in mediastreamer2


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r906 r856  
    456456        *) AC_MSG_ERROR(bad value ${enableval} for --disable-gsm) ;; 
    457457      esac],[gsm=true]) 
    458        
     458 
    459459if test x$gsm = xtrue; then 
    460460 
     
    559559AM_CONDITIONAL(BUILD_V4L, test x$found_v4l = xyes ) 
    560560 
    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  
    569561PKG_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])] 
    572563        ,[echo "No libv4l2 found."] 
    573564) 
    574565PKG_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])] 
    577567        ,[echo "No libv4l1 found."] 
    578568) 
    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 
    592569 
    593570dnl ################################################## 
Note: See TracChangeset for help on using the changeset viewer.