File: purify.m4

package info (click to toggle)
cpl 6.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 18,764 kB
  • sloc: ansic: 111,368; sh: 14,549; makefile: 626
file content (27 lines) | stat: -rw-r--r-- 650 bytes parent folder | download | duplicates (7)
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
# ESO_PROG_PURIFY
#----------------
# Checks for the availability of purify
AC_DEFUN([ESO_PROG_PURIFY],
[

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

    if test x"$enable_purify" = xyes ; then
    
    	AC_PATH_PROG([PURIFY], [purify])
      
    	if test -z "${PURIFY}"; then
        	enable_purify=no
			PURIFY=":"
	    fi

    fi

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