added --with-purify-to-file option

This commit is contained in:
treadway 2000-08-28 21:05:59 +00:00
parent c239dd52bc
commit 4fc4d63c22
2 changed files with 319 additions and 271 deletions

569
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -167,6 +167,27 @@ AC_ARG_WITH(purify, [\
fi
)
AC_ARG_WITH(purify-to-file, [\
--with-purify-to-file direct purify output to the file \"purify.log\"],
if test "$casc_user_chose_compilers" = "no"
then
CC=cc
CXX=CC
CFLAGS="$CFLAGS -g"
CXXFLAGS="$CXXFLAGS -g"
casc_user_chose_compilers=yes
fi
if test "$withval" = "no"
then
PREPEND=""
elif test "$withval" = "yes"
then
PREPEND="purify -log-file=purify.log -append-logfile=yes -best-effort"
else
PREPEND="purify $withval"
fi
)
AC_ARG_WITH(cegdb, [\
--with-cegdb assign gcc and g++ as the c and c++ compilers
and -g as the compiler flag and link in -lcegdb and