[Mockpp-commits] mockpp/mockpp/config gen-config-common.sh,NONE,1.1
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-12-18 19:13:19
|
Update of /cvsroot/mockpp/mockpp/mockpp/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23206/mockpp/config Added Files: gen-config-common.sh Log Message: generation of config files --- NEW FILE: gen-config-common.sh --- #!/bin/sh echo $2 echo $3 cat >> $1 <<__EOF /* Define to turn debugging globally on. */ #undef DEBUG /* Version number of package */ #define MOCKPP_VERSION $2 /* Name of package */ #define MOCKPP_PACKAGE $3 /* Define if you have CppUnit installed. */ #define HAVE_CPPUNIT /* Define to 1 if you have the <cppunit/Message.h> header file. */ #define HAVE_CPPUNIT_MESSAGE_H 1 /* Define if you have CxxTest installed. */ #define HAVE_CXXTEST /* Define to 1 if you have the <limits> header file. */ #define HAVE_LIMITS /* Define to compile for unicode environment. */ #undef MOCKPP_UNICODE /* Define if you have the cwchar header. */ #define HAVE_CWCHAR /* Define if you have the std::wstring type. */ #define HAVE_WSTRING /* Define if you have the wcscmp function. */ #define HAVE_WCSCMP /* Define if you have the std::wcscmp function. */ #define HAVE_STD_WCSCMP /* Define to supress compiler warnings about unused variables. */ #define MOCKPP_UNUSED(x) x; __EOF echo "/* Define to enable built-in mini-stl. */" >>$1 grep MOCKPP_USE_MINI_STL ../config.h >>$1 grep CXXTEST_USE_MINI_STL ../config.h >>$1 echo >>$1 echo "/* Define to disable runtime type information. */" >>$1 grep MOCKPP_NO_RTTI ../config.h >>$1 echo >>$1 echo "/* Define to disable exceptions. */" >>$1 grep MOCKPP_NO_EXCEPTIONS ../config.h >>$1 |