diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2024-02-10 11:34:03 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2024-02-10 11:35:08 +0000 |
commit | 486b5454763e730868d39ebbdf89ad261d212bf8 (patch) | |
tree | ea6de3a01b1d1f7225c83c75ead7204844013831 | |
parent | 09f57bf609142b280a3b86a0d5f434d9ff5ceb7b (diff) |
Remove orc.m4 and stop shipping it
If there are still any autotools projects that use this,
they can just copy it into their source tree instead.
Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/168>
-rw-r--r-- | RELEASE | 6 | ||||
-rw-r--r-- | meson.build | 3 | ||||
-rw-r--r-- | orc.m4 | 70 |
3 files changed, 6 insertions, 73 deletions
@@ -1,3 +1,9 @@ +0.4.38 (unreleased) +====== + +- orc.m4 for autotools is no longer shipped. If anyone still uses + it they can copy it into their source tree. + 0.4.37 ====== diff --git a/meson.build b/meson.build index 786a060..1743658 100644 --- a/meson.build +++ b/meson.build @@ -209,9 +209,6 @@ pkg.generate (orc_lib, extra_cflags: orc_dep_cargs, libraries_private : orc_dependencies) -# Install m4 macro that other projects use -install_data('orc.m4', install_dir : 'share/aclocal') - configure_file(output : 'config.h', configuration : cdata) # summary @@ -1,70 +0,0 @@ -dnl pkg-config-based checks for Orc - -dnl specific: -dnl ORC_CHECK([REQUIRED_VERSION]) - -AC_DEFUN([ORC_CHECK], -[ - ORC_REQ=ifelse([$1], , "0.4.6", [$1]) - - AC_ARG_ENABLE(orc, - AC_HELP_STRING([--enable-orc],[use Orc if installed]), - [case "${enableval}" in - auto) enable_orc=auto ;; - yes) enable_orc=yes ;; - no) enable_orc=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-orc) ;; - esac - ], - [enable_orc=auto]) dnl Default value - - if test "x$enable_orc" != "xno" ; then - PKG_CHECK_MODULES(ORC, orc-0.4 >= $ORC_REQ, [ - AC_DEFINE(HAVE_ORC, 1, [Use Orc]) - HAVE_ORC=yes - if test "x$ORCC" = "x" ; then - AC_MSG_CHECKING(for usable orcc) - ORCC=`$PKG_CONFIG --variable=orcc orc-0.4` - dnl check whether the orcc found by pkg-config can be run from the build environment - dnl if this is not the case (e.g. when cross-compiling) fall back to orcc from PATH - AS_IF([$ORCC --version 1> /dev/null 2> /dev/null], [], [ORCC=`which orcc`]) - AC_MSG_RESULT($ORCC) - fi - AC_SUBST(ORCC) - ORCC_FLAGS="--compat $ORC_REQ" - AC_SUBST(ORCC_FLAGS) - AS_IF([test "x$ORCC" = "x"], [HAVE_ORCC=no], [HAVE_ORCC=yes]) - ], [ - if test "x$enable_orc" = "xyes" ; then - AC_MSG_ERROR([--enable-orc specified, but Orc >= $ORC_REQ not found]) - fi - AC_DEFINE(DISABLE_ORC, 1, [Disable Orc]) - HAVE_ORC=no - HAVE_ORCC=no - ]) - else - AC_DEFINE(DISABLE_ORC, 1, [Disable Orc]) - HAVE_ORC=no - HAVE_ORCC=no - fi - AM_CONDITIONAL(HAVE_ORC, [test "x$HAVE_ORC" = "xyes"]) - AM_CONDITIONAL(HAVE_ORCC, [test "x$HAVE_ORCC" = "xyes"]) - -])) - -AC_DEFUN([ORC_OUTPUT], -[ - if test "$HAVE_ORC" = yes ; then - printf "configure: *** Orc acceleration enabled.\n" - else - if test "x$enable_orc" = "xno" ; then - printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n" - printf " will be used.\n" - else - printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n" - printf " not found. Slower code paths will be used.\n" - fi - fi - printf "\n" -]) - |