summaryrefslogtreecommitdiff
path: root/m4/empathy-args.m4
blob: 3daacbabaf5cab375f52a17c7140af6ae4229aad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
dnl configure-time options for Empathy

dnl EMPATHY_ARG_VALGRIND

AC_DEFUN([EMPATHY_ARG_VALGRIND],
[
  dnl valgrind inclusion
  AC_ARG_ENABLE(valgrind,
    AC_HELP_STRING([--enable-valgrind],[enable valgrind checking and run-time detection]),
    [
      case "${enableval}" in
        yes|no) enable="${enableval}" ;;
        *)   AC_MSG_ERROR(bad value ${enableval} for --enable-valgrind) ;;
      esac
    ],
    [enable=no])

  EMPATHY_VALGRIND($enable, [2.1])
])