- TEST=""
- test "${PACKAGE_VERSION%*alpha*}" != "$PACKAGE_VERSION" && TEST="yes"
- test "$TEST" = "yes" && DEBUG="yes"
+ AC_ARG_ENABLE([gprof-libc],
+ AC_HELP_STRING([--enable-gprof-libc],[Link against libc with profiling support [[default=no]]]),
+ [PROFLC=$enableval], [PROFLC="no"])
+
+ if test "$PROFLC" = "yes"; then
+ PROF="yes" # always enable profiling then
+ fi