File: purify.m4

package info (click to toggle)
cpl-plugin-vimos 2.9.15%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 18,560 kB
  • ctags: 6,341
  • sloc: ansic: 148,777; sh: 11,457; cpp: 724; makefile: 606; python: 287; perl: 10
file content (27 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# PURIFY
#------------------------
# Checks for the INTROOT area
AC_DEFUN([CHECK_PURIFY],
[

    AC_MSG_CHECKING([for PURIFY])

    AC_ARG_ENABLE(purify,
      AC_HELP_STRING([--disable-purify],
        [disalbes the check for the PURIFY installation]),
        enable_purify=$enableval,
        enable_purify=yes)

    if test "x$enable_purify" = xyes ; then
      AC_MSG_RESULT([enabled])
      AC_CHECK_PROG([PURIFY_CMD], [purify], [purify],[NONE])
      if test "$PURIFY_CMD" = "NONE" ; then
        AC_MSG_WARN([Disabling purify support])
        enable_purify=no
      fi
    else
      AC_MSG_RESULT([disabled])
    fi

    AM_CONDITIONAL([PURIFY], [test "x$enable_purify" = "xyes"])
])