aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNicolas Dato <nicolas.dato@gmail.com>2025-07-19 22:53:49 -0300
committerNicolas Dato <nicolas.dato@gmail.com>2025-07-19 22:53:49 -0300
commit5c271cdae60c9711fb100a544d2b014a777c3408 (patch)
treea6757ade4f9f00ee7419f4a5d7479eba6a660b88 /configure.ac
parent7b71892626c8bcb034562deef274a5762bb1c014 (diff)
downloadlibtuberia-5c271cdae60c9711fb100a544d2b014a777c3408.tar.gz
adding a simple example
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 28b21db..b6259ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,14 +49,15 @@ AC_ARG_ENABLE([tuberia-test], AS_HELP_STRING([--disable-tuberia-test], [Disable
AS_VAR_IF([has_doxygen], [no], [AS_VAR_SET([enable_doxygen], [no])], [])
AS_VAR_IF([has_valgrind], [no], [AS_VAR_SET([enable_valgrind], [no])], [])
-AS_VAR_IF([has_avcodec], [no], [AS_VAR_SET([enable_examples], [no])], [])
-AS_VAR_IF([has_avformat], [no], [AS_VAR_SET([enable_examples], [no])], [])
-AS_VAR_IF([has_avutil], [no], [AS_VAR_SET([enable_examples], [no])], [])
-AS_VAR_IF([has_swscale], [no], [AS_VAR_SET([enable_examples], [no])], [])
+AS_VAR_IF([has_avcodec], [no], [AS_VAR_SET([has_ffmpeg], [no])], [])
+AS_VAR_IF([has_avformat], [no], [AS_VAR_SET([has_ffmpeg], [no])], [])
+AS_VAR_IF([has_avutil], [no], [AS_VAR_SET([has_ffmpeg], [no])], [])
+AS_VAR_IF([has_swscale], [no], [AS_VAR_SET([has_ffmpeg], [no])], [])
AM_CONDITIONAL([DOXYGEN], [test x$enable_doxygen = xyes])
AM_CONDITIONAL([VALGRIND], [test x$enable_valgrind = xyes])
AM_CONDITIONAL([EXAMPLES], [test x$enable_examples = xyes])
+AM_CONDITIONAL([HAS_FFMPEG], [test x$has_ffmpeg = xyes])
AM_CONDITIONAL([TESTS], [test x$enable_tests = xyes])
AM_CONDITIONAL([ITCTEST], [test x$enable_itc_test = xyes])
AM_CONDITIONAL([TUBERIATEST], [test x$enable_tuberia_test = xyes])
@@ -76,6 +77,7 @@ AC_MSG_NOTICE([has avcodec: $has_avcodec])
AC_MSG_NOTICE([has avformat: $has_avformat])
AC_MSG_NOTICE([has avutil: $has_avutil])
AC_MSG_NOTICE([has swscale: $has_swscale])
+AC_MSG_NOTICE([has ffmpeg: $has_ffmpeg])
AC_MSG_NOTICE([enable doxygen: $enable_doxygen])
AC_MSG_NOTICE([enable valgrind: $enable_valgrind])
AC_MSG_NOTICE([enable examples: $enable_examples])