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 28
|
# PURIFY
#------------------------
# Checks for the INTROOT area
AC_DEFUN([CHECK_PURIFY],
[
AC_MSG_CHECKING([for PURIFY availability])
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_CHECK_PROG([PURIFY_CMD], [purify], [purify],[NONE])
if test "$PURIFY_CMD" = "NONE" ; then
AC_MSG_RESULT([disabled])
enable_purify=no
else
AC_MSG_RESULT([enabled])
fi
else
AC_MSG_RESULT([disabled])
fi
AM_CONDITIONAL([PURIFY], [test "x$enable_purify" = "xyes"])
])
|