[Mockpp-commits] mockpp/config ac_cxx_except.m4,NONE,1.1 .cvsignore,NONE,1.1 Makefile.am,NONE,1.1
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-11-27 17:37:18
|
Update of /cvsroot/mockpp/mockpp/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9686/config Added Files: ac_cxx_except.m4 .cvsignore Makefile.am Log Message: new --- NEW FILE: .cvsignore --- Makefile.in --- NEW FILE: Makefile.am --- EXTRA_DIST = ac_cxx_rtti.m4 ac_cxx_except.m4 --- NEW FILE: ac_cxx_except.m4 --- dnl @synopsis AC_CXX_exception from CppUnit dnl dnl If the compiler supports Run-Time Type Identification (typeinfo dnl header and typeid keyword), define HAVE_exception. dnl dnl @version $Id: ac_cxx_except.m4,v 1.1 2005/11/27 17:36:55 ewald-arnold Exp $ dnl @author Luc Maisonobe dnl AC_DEFUN([EA_DISABLE_EXCEPTIONS],[ AC_ARG_ENABLE(exceptions, [ --disable-exceptions disable exception support (no)], [ disable_exceptions=yes ], [ disable_exceptions=no ]) if test "x$disable_exceptions" = xyes; then echo "*******************************************************" echo "** EXCEPTIONS are disabled" echo "*******************************************************" AC_DEFINE(MOCKPP_NO_EXCEPTIONS, 1, [Define to disable exception support.]) CXXFLAGS="$CXXFLAGS -fno-exceptions" else echo "*******************************************************" echo "** EXCEPTIONS are enabled" echo "*******************************************************" AH_TEMPLATE([MOCKPP_NO_EXCEPTIONS], [Define to disable exception support.]) fi # AC_SUBST(MOCKPP_NO_EXCEPTION) ]) |