configure.incl 339 Bytes
Newer Older
1
AC_SUBST([DCADEC_CFLAGS])
Gildas Bazin's avatar
Gildas Bazin committed
2

3
DCADEC_CFLAGS="$OPT_CFLAGS"
Gildas Bazin's avatar
Gildas Bazin committed
4 5 6

AC_ARG_ENABLE([gprof],[  --enable-gprof          make a version using gprof])
if test x"$enable_gprof" = x"yes"; then
7 8 9
    AC_DEFINE([DCADEC_GPROF],,[a52dec profiling])
    DCADEC_CFLAGS=`echo "$DCADEC_CFLAGS"|sed "s/-fomit-frame-pointer//g"`
    DCADEC_CFLAGS="$DCADEC_CFLAGS -p"
Gildas Bazin's avatar
Gildas Bazin committed
10
fi