autoconf: modernize and modularize
[tftp-hpa.git] / autoconf / m4 / pa_option_profiling.m4
blob39a3f6cf7f00ce0ef627de4a9e7f604fef37ec3a
1 dnl --------------------------------------------------------------------------
2 dnl PA_OPTION_PROFILING(with_profiling, without_profiling)
3 dnl
4 dnl Try to enable profiling if --enable-profiling is set.
5 dnl --------------------------------------------------------------------------
6 AC_DEFUN([PA_OPTION_PROFILING],
7 [PA_ARG_ENABLED([profiling], [compile with profiling (-pg option)],
8 [PA_ADD_LANGFLAGS([-pg])])])