Commit 8d55f90d authored by Michel Lespinasse's avatar Michel Lespinasse
Browse files

added --enable-gprof configure option

parent dcec4ac6
......@@ -15,3 +15,4 @@ config.log
config.cache
libtool
config.status
gmon.out
......@@ -83,6 +83,7 @@ AC_TYPE_SIGNAL
builtin([include],[libmpeg2/configure.incl])
builtin([include],[libvo/configure.incl])
builtin([include],[src/configure.incl])
AC_ARG_ENABLE([warnings],
[ --disable-warnings do not treat warnings as errors])
......
CFLAGS = @CFLAGS@ @MPEG2DEC_CFLAGS@
bin_PROGRAMS = mpeg2dec extract_mpeg2
mpeg2dec_SOURCES = mpeg2dec.c
mpeg2dec_LDADD = $(top_builddir)/libmpeg2/libmpeg2.la \
......@@ -8,3 +10,5 @@ extract_mpeg2_SOURCES = extract_mpeg2.c
lib_LTLIBRARIES = libmpeg2dec.la
libmpeg2dec_la_SOURCES = cpu_accel.c
libmpeg2dec_la_LDFLAGS = -no-undefined
EXTRA_DIST = configure.incl
AC_SUBST([MPEG2DEC_CFLAGS])
AC_ARG_ENABLE([gprof],[ --enable-gprof make a version using gprof])
if test x"$enable_gprof" = x"yes"; then
MPEG2DEC_CFLAGS="$MPEG2DEC_CFLAGS -p"
fi
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