mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
same changes as in gst-plugins module also, PKG_CHECK_MODULES does the pkg-config checking for us
Original commit message from CVS: same changes as in gst-plugins module also, PKG_CHECK_MODULES does the pkg-config checking for us
This commit is contained in:
parent
9ee758f076
commit
65423bdc5a
1 changed files with 6 additions and 11 deletions
17
configure.ac
17
configure.ac
|
@ -72,26 +72,21 @@ dnl ##############################
|
|||
dnl Check for tools:
|
||||
dnl ================
|
||||
|
||||
dnl modify pkg-config path
|
||||
AC_ARG_WITH(pkg-config-path,
|
||||
AC_HELP_STRING([--with-pkg-config-path],[colon-separated list of pkg-config(1) dirs]),
|
||||
[export PKG_CONFIG_PATH=${withval}])
|
||||
|
||||
dnl Check for nasm
|
||||
AC_PATH_PROG(NASM_PATH, nasm, no)
|
||||
AC_SUBST(NASM_PATH)
|
||||
if test x$NASM_PATH = xno; then
|
||||
AC_MSG_WARN(Couldn't find nasm)
|
||||
HAVE_NASM="no"
|
||||
else
|
||||
AC_DEFINE(HAVE_NASM, 1, [Define if NASM, the netwide assembler, is available])
|
||||
else AC_DEFINE(HAVE_NASM, 1, [Define if NASM, the netwide assembler, is available])
|
||||
HAVE_NASM="yes"
|
||||
fi
|
||||
|
||||
dnl fix pkg-config's broken default search path
|
||||
if test -z $PKG_CONFIG_PATH; then
|
||||
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
|
||||
fi
|
||||
export PKG_CONFIG_PATH
|
||||
|
||||
dnl Check for pkgconfig
|
||||
AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, true, false)
|
||||
|
||||
dnl check for gtk-doc
|
||||
AC_ARG_WITH(html-dir, [ --with-html-dir=PATH path to installed docs ])
|
||||
|
||||
|
|
Loading…
Reference in a new issue