configure.ac: remove gprof support

gprof is obsolete, it's better to use perfcounters in every aspect.
This commit is contained in:
Max Kellermann 2011-10-09 17:35:01 +02:00
parent 4104593180
commit 75ad90abc7

View File

@ -214,11 +214,6 @@ AC_ARG_ENABLE(gme,
[enable Blargg's game music emulator plugin]),,
enable_gme=auto)
AC_ARG_ENABLE(gprof,
AS_HELP_STRING([--enable-gprof],
[enable profiling via gprof (default: disabled)]),,
enable_gprof=no)
AC_ARG_ENABLE(httpd-output,
AS_HELP_STRING([--enable-httpd-output],
[enables the HTTP server output]),,
@ -1512,12 +1507,6 @@ then
MPD_CHECK_FLAG([-pedantic])
fi
dnl ------------------------------ gprof profiler -----------------------------
if test "x$enable_gprof" = xyes; then
MPD_CFLAGS="$MPD_CFLAGS -pg"
MPD_LIBS="$MPD_LIBS -pg"
fi
dnl ---------------------------- warnings as errors ---------------------------
if test "x$enable_werror" = xyes; then
AM_CFLAGS="$AM_CFLAGS -Werror -pedantic-errors"