Commit ec473b50 authored by Sam Hocevar's avatar Sam Hocevar

* ./configure.ac.in: disabled the i420_yuy2_mmx plugin when profiling with

    gprof, because gcc is unable to build it without -fomit-frame-pointer
    (Closes: #260).
parent 359975f5
...@@ -735,6 +735,16 @@ case "${ARCH}" in ...@@ -735,6 +735,16 @@ case "${ARCH}" in
;; ;;
esac esac
dnl
dnl Enable profiling
dnl
AC_ARG_ENABLE(gprof,
[ --enable-gprof gprof profiling (default disabled)])
AC_ARG_ENABLE(cprof,
[ --enable-cprof cprof profiling (default disabled)])
AM_CONDITIONAL(GPROF, test "${enable_gprof}" = "yes")
AM_CONDITIONAL(CPROF, test "${enable_gprof}" = "yes")
dnl dnl
dnl default modules dnl default modules
dnl dnl
...@@ -759,12 +769,17 @@ PLUGINS="${PLUGINS} sap screensaver" ...@@ -759,12 +769,17 @@ PLUGINS="${PLUGINS} sap screensaver"
dnl dnl
dnl Accelerated modules dnl Accelerated modules
dnl dnl
MMX_MODULES="memcpymmx idctmmx motionmmx i420_rgb_mmx i420_yuy2_mmx i422_yuy2_mmx i420_ymga_mmx" MMX_MODULES="memcpymmx idctmmx motionmmx i420_rgb_mmx i422_yuy2_mmx i420_ymga_mmx"
MMXEXT_MODULES="memcpymmxext idctmmxext motionmmxext" MMXEXT_MODULES="memcpymmxext idctmmxext motionmmxext"
THREEDNOW_MODULES="memcpy3dn" THREEDNOW_MODULES="memcpy3dn"
SSE_MODULES="" SSE_MODULES=""
ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec" ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
if test "${enable_gprof}" != "yes"
then
MMX_MODULES="${MMX_MODULES} i420_yuy2_mmx"
fi
AC_CACHE_CHECK([if \$CC groks MMX inline assembly], AC_CACHE_CHECK([if \$CC groks MMX inline assembly],
[ac_cv_mmx_inline], [ac_cv_mmx_inline],
[CFLAGS="${CFLAGS_save}" [CFLAGS="${CFLAGS_save}"
...@@ -2652,16 +2667,6 @@ then ...@@ -2652,16 +2667,6 @@ then
AC_DEFINE(WORDS_BIGENDIAN, 1, big endian system) AC_DEFINE(WORDS_BIGENDIAN, 1, big endian system)
fi fi
dnl
dnl Profiling
dnl
AC_ARG_ENABLE(gprof,
[ --enable-gprof gprof profiling (default disabled)])
AC_ARG_ENABLE(cprof,
[ --enable-cprof cprof profiling (default disabled)])
AM_CONDITIONAL(GPROF, test "x${enable_gprof}" = "xyes")
AM_CONDITIONAL(CPROF, test "x${enable_gprof}" = "xyes")
dnl dnl
dnl GNU portable threads dnl GNU portable threads
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment