mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
Test for nasm - define HAVE_NASM in config.h if we have it, and AC_SUBST
Original commit message from CVS: Test for nasm - define HAVE_NASM in config.h if we have it, and AC_SUBST NASM_PATH for use when using nasm.
This commit is contained in:
parent
284ecaecca
commit
d840ef3e7d
3 changed files with 14 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
#undef HAVE_LIBMMX
|
||||
#undef HAVE_XAUDIO
|
||||
#undef HAVE_CSSAUTH
|
||||
#undef HAVE_NASM
|
||||
|
||||
#undef HAVE_ATOMIC_H
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#undef HAVE_LIBMMX
|
||||
#undef HAVE_XAUDIO
|
||||
#undef HAVE_CSSAUTH
|
||||
#undef HAVE_NASM
|
||||
|
||||
#undef HAVE_ATOMIC_H
|
||||
|
||||
|
|
12
configure.in
12
configure.in
|
@ -42,6 +42,18 @@ dnl ##############################
|
|||
dnl # Do automated configuration #
|
||||
dnl ##############################
|
||||
|
||||
dnl Check for tools:
|
||||
dnl ================
|
||||
|
||||
dnl Check for nasm
|
||||
AC_PATH_PROG(NASM_PATH, nasm, no)
|
||||
if test x$NASM_PATH = xno; then
|
||||
AC_MSG_WARN(Couldn't find nasm)
|
||||
else
|
||||
AC_DEFINE(HAVE_NASM)
|
||||
AC_SUBST(NASM_PATH)
|
||||
fi
|
||||
|
||||
dnl Check for essential libraries first:
|
||||
dnl ====================================
|
||||
|
||||
|
|
Loading…
Reference in a new issue