configure.incl 355 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
AC_SUBST([MPEG2DEC_CFLAGS])

MPEG2DEC_CFLAGS="$OPT_CFLAGS"

AC_ARG_ENABLE([gprof],[  --enable-gprof          make a version using gprof])
if test x"$enable_gprof" = x"yes"; then
    AC_DEFINE([MPEG2DEC_GPROF],,[mpeg2dec profiling])
    MPEG2DEC_CFLAGS=`echo "$MPEG2DEC_CFLAGS"|sed "s/-fomit-frame-pointer//g"`
    MPEG2DEC_CFLAGS="$MPEG2DEC_CFLAGS -p"
fi