From: André Roth Date: Tue, 15 Apr 2014 18:39:33 +0000 (-0300) Subject: libdvbv5: build dynamic libdvbv5 by default X-Git-Tag: v4l-utils-1.2.0~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81e4a9916a2b9ab1f4a1ae9116507cdf1c808d2d;p=platform%2Fupstream%2Fv4l-utils.git libdvbv5: build dynamic libdvbv5 by default - renamed ./configure option --enable-libdvbv5 to --disable-libdvbv5 - thus libdvbv5 will be build shared by default - cleanups in configure.ac Signed-off-by: André Roth Signed-off-by: Mauro Carvalho Chehab --- diff --git a/configure.ac b/configure.ac index 4080d1e..474c681 100644 --- a/configure.ac +++ b/configure.ac @@ -216,10 +216,10 @@ AC_DEFINE_DIR([IR_KEYTABLE_USER_DIR], [keytableuserdir], [ir-keytable user defin # options AC_ARG_ENABLE(libdvbv5, - AS_HELP_STRING([--enable-libdvbv5], [enable experimental dynamic libdvbv5 compilation]), + AS_HELP_STRING([--disable-libdvbv5], [disable experimental dynamic libdvbv5 compilation]), [case "${enableval}" in yes | no ) ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-libdvbv5) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --disable-libdvbv5) ;; esac] ) @@ -227,7 +227,7 @@ AC_ARG_ENABLE(libv4l, AS_HELP_STRING([--disable-libv4l], [disable dynamic libv4l compilation]), [case "${enableval}" in yes | no ) ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-libv4l) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --disable-libv4l) ;; esac] ) @@ -235,7 +235,7 @@ AC_ARG_ENABLE(v4l-utils, AS_HELP_STRING([--disable-v4l-utils], [disable v4l-utils compilation]), [case "${enableval}" in yes | no ) ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-v4l-utils) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --disable-v4l-utils) ;; esac] ) @@ -247,17 +247,17 @@ AC_ARG_ENABLE(qv4l2, esac] ) -AM_CONDITIONAL([WITH_LIBDVBV5], [test x$enable_libdvbv5 = xyes]) -AM_CONDITIONAL([WITH_LIBV4L], [test x$enable_libv4l != xno]) -AM_CONDITIONAL([WITH_V4LUTILS], [test x$enable_v4l_utils != "xno"]) -AM_CONDITIONAL([WITH_QV4L2], [test ${qt_pkgconfig} = true -a x$enable_qv4l2 != xno]) -AM_CONDITIONAL([WITH_V4L_PLUGINS], [test x$enable_libv4l != xno -a x$enable_shared != xno]) +AM_CONDITIONAL([WITH_LIBDVBV5], [test x$enable_libdvbv5 != xno]) +AM_CONDITIONAL([WITH_LIBV4L], [test x$enable_libv4l != xno]) +AM_CONDITIONAL([WITH_V4LUTILS], [test x$enable_v4l_utils != xno]) +AM_CONDITIONAL([WITH_QV4L2], [test ${qt_pkgconfig} = true -a x$enable_qv4l2 != xno]) +AM_CONDITIONAL([WITH_V4L_PLUGINS], [test x$enable_libv4l != xno -a x$enable_shared != xno]) AM_CONDITIONAL([WITH_V4L_WRAPPERS], [test x$enable_libv4l != xno -a x$enable_shared != xno]) -AM_CONDITIONAL([WITH_QTGL], [test ${qt_pkgconfig_gl} = true]) +AM_CONDITIONAL([WITH_QTGL], [test ${qt_pkgconfig_gl} = true]) # append -static to libtool compile and link command to enforce static libs -AS_IF([test x$enable_libdvbv5 != xyes], [AC_SUBST([ENFORCE_LIBDVBV5_STATIC], ["-static"])]) -AS_IF([test x$enable_libv4l = xno], [AC_SUBST([ENFORCE_LIBV4L_STATIC], ["-static"])]) +AS_IF([test x$enable_libdvbv5 = xno], [AC_SUBST([ENFORCE_LIBDVBV5_STATIC], ["-static"])]) +AS_IF([test x$enable_libv4l = xno], [AC_SUBST([ENFORCE_LIBV4L_STATIC], ["-static"])]) # misc