mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 10:38:27 +00:00
build: check for patch and fix yasm check
Add configure checking for GNU patch tools and fixed configure checking YASM to correct sequence. Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=756690
This commit is contained in:
parent
a8c973e960
commit
3a2430c789
1 changed files with 16 additions and 6 deletions
22
configure.ac
22
configure.ac
|
@ -96,12 +96,6 @@ AC_ARG_VAR([GIT], [Path to git program, if any])
|
|||
AC_PATH_PROG([GIT], [git])
|
||||
AM_CONDITIONAL([HAVE_GIT], [test -n "$GIT"])
|
||||
|
||||
AC_ARG_VAR([YASM], [Path to yasm program, if any])
|
||||
AC_PATH_PROG([YASM], [yasm])
|
||||
if test -z "$YASM" -a "$enable_builtin_libvpx" = "yes"; then
|
||||
AC_MSG_ERROR([yasm is needed to build libvpx sources])
|
||||
fi
|
||||
|
||||
dnl Initialize libtool
|
||||
LT_PREREQ([2.2])
|
||||
LT_INIT
|
||||
|
@ -156,6 +150,22 @@ AC_ARG_WITH([glapi],
|
|||
[build with the specified OpenGL APIs @<:@default=default_glapi@:>@]),
|
||||
[GLAPI="$with_glapi"], [GLAPI=default_glapi])
|
||||
|
||||
|
||||
dnl Check fr YASM
|
||||
AC_ARG_VAR([YASM], [Path to yasm program, if any])
|
||||
AC_PATH_PROG([YASM], [yasm])
|
||||
if test -z "$YASM" -a "$enable_builtin_libvpx" = "yes"; then
|
||||
AC_MSG_ERROR([yasm is needed to build libvpx sources])
|
||||
fi
|
||||
|
||||
dnl Check for PATCH
|
||||
AC_ARG_VAR([PATCH], [Path to patch program, if any])
|
||||
AC_PATH_PROG([PATCH], [patch])
|
||||
if test -z "$PATCH" -a "$enable_builtin_videoparsers" = "yes"; then
|
||||
AC_MSG_ERROR([patch is needed to apply patches for built videoparsers
|
||||
sources])
|
||||
fi
|
||||
|
||||
dnl Check for basic libraries
|
||||
AC_CHECK_LIB(m, tan)
|
||||
|
||||
|
|
Loading…
Reference in a new issue