Try to compile a little mmx program, set the default value of HAVE_LIBMMX. some typos fixed. Changed include path for...

Original commit message from CVS:
Try to compile a little mmx program, set the default value of HAVE_LIBMMX.
some typos fixed. Changed include path for volume.c. RTjpeg uses mmx.h
This commit is contained in:
Wim Taymans 2000-02-01 19:40:10 +00:00
parent 56a79fbfcc
commit ffd6d98e9d
2 changed files with 19 additions and 3 deletions

View file

@ -94,8 +94,24 @@ AC_EGREP_HEADER(atomic_set, asm/atomic.h,,
HAVE_ATOMIC_H=no HAVE_ATOMIC_H=no
]) ])
dnl Check for libmmx dnl Check for MMX capable compiler
AC_CHECK_HEADER(mmx.h, HAVE_LIBMMX="yes", HAVE_LIBMMX="no") AC_MSG_CHECKING(Checking MMX compilation)
AC_TRY_RUN([
#include "include/mmx.h"
main()
{ movq_r2r(mm0, mm1); return 0; }
],
[
HAVE_LIBMMX="yes"
AC_MSG_RESULT(yes)
],
HAVE_LIBMMX="no"
AC_MSG_RESULT(no)
,
HAVE_LIBMMX="no"
AC_MSG_RESULT(no)
)
dnl Check for xaudio dnl Check for xaudio
AC_CHECK_HEADER(xaudio/decoder.h,[ AC_CHECK_HEADER(xaudio/decoder.h,[

View file

@ -37,7 +37,7 @@ tmpl_sources = \
tmpl/gsttype.sgml \ tmpl/gsttype.sgml \
tmpl/gstutils.sgml \ tmpl/gstutils.sgml \
tmpl/gstxml.sgml \ tmpl/gstxml.sgml \
tmpl/plugin.sgml \ tmpl/plugin.sgml
SCANOBJS_FILES = \ SCANOBJS_FILES = \
$(DOC_MODULE).signals \ $(DOC_MODULE).signals \