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"])
])
|