From: Tom H. <tom...@us...> - 2003-10-01 01:56:19
|
Update of /cvsroot/rccparser/rccserializer In directory sc8-pr-cvs1:/tmp/cvs-serv19769 Modified Files: ChangeLog Makefile.am NEWS acinclude.m4 configure.ac Log Message: 2003-10-01 Tom Howard <tom...@us...> * ./Makefile.am * ./NEWS * ./acinclude.m4 * ./configure.ac * ./src/rcconlinecoachserializer.cpp * ./src/rcconlinecoachserializer.hpp * ./src/rccplayerserializer.cpp clang usage is now optional Index: ChangeLog =================================================================== RCS file: /cvsroot/rccparser/rccserializer/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ChangeLog 1 Oct 2003 00:12:51 -0000 1.4 --- ChangeLog 1 Oct 2003 01:56:14 -0000 1.5 *************** *** 1,4 **** --- 1,15 ---- 2003-10-01 Tom Howard <tom...@us...> + * ./Makefile.am + * ./NEWS + * ./acinclude.m4 + * ./configure.ac + * ./src/rcconlinecoachserializer.cpp + * ./src/rcconlinecoachserializer.hpp + * ./src/rccplayerserializer.cpp + clang usage is now optional + + 2003-10-01 Tom Howard <tom...@us...> + * ./src/rcccoachserializer.cpp * ./src/rccofflinecoachserializer.cpp Index: Makefile.am =================================================================== RCS file: /cvsroot/rccparser/rccserializer/Makefile.am,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Makefile.am 25 Mar 2003 17:03:01 -0000 1.1.1.1 --- Makefile.am 1 Oct 2003 01:56:14 -0000 1.2 *************** *** 10,15 **** NEWS \ README \ ! INSTALL \ ! config.h.in CLEANFILES = \ --- 10,14 ---- NEWS \ README \ ! INSTALL CLEANFILES = \ *************** *** 17,24 **** core \ *.tar.gz \ ! *.tmp ! ! pkginclude_HEADERS = \ ! config.h branch-major: commit --- 16,20 ---- core \ *.tar.gz \ ! *.tmp branch-major: commit Index: NEWS =================================================================== RCS file: /cvsroot/rccparser/rccserializer/NEWS,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NEWS 1 Oct 2003 00:12:51 -0000 1.3 --- NEWS 1 Oct 2003 01:56:14 -0000 1.4 *************** *** 2,5 **** --- 2,22 ---- * Fixed missing includes + * Clients that use CLang can now do so optionally. If you wish to + use clang, you must link your executable with rcssclangparser and + either add -DHAVE_LIBRCSSCLANGPARSER=1 to the CPPFLAGS, or put + + #define HAVE_LIBRCSSCLANGPARSER 1 + + in config.h and add -DHAVE_CONFIG_H=1 to your CPPFLAGS. If you + are using autotools, this can be done by having the following lines + in you configure.{in,ac} + + AM_CONFIG_HEADER(config.h) + AC_LIB_RCSSCLANGPARSER([LIBS="$LIBS -lrcssclangparser" + AC_DEFINE(HAVE_LIBRCSSCLANGPARSER,1, + [Define to 1 if rcssclangparser is available])]) + + and adding ac_lib_rcssclangparser.m4 to you acinclude.m4 + [0.0.0] * Initial release. Please see the README file for some basic Index: acinclude.m4 =================================================================== RCS file: /cvsroot/rccparser/rccserializer/acinclude.m4,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** acinclude.m4 25 Mar 2003 17:03:01 -0000 1.1.1.1 --- acinclude.m4 1 Oct 2003 01:56:14 -0000 1.2 *************** *** 1,3706 **** - # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- - ## Copyright 1996, 1997, 1998, 1999, 2000, 2001 - ## Free Software Foundation, Inc. - ## Originally by Gordon Matzigkeit <go...@gn...>, 1996 - ## - ## This program is free software; you can redistribute it and/or modify - ## it under the terms of the GNU General Public License as published by - ## the Free Software Foundation; either version 2 of the License, or - ## (at your option) any later version. - ## [...3706 lines suppressed...] - AC_CACHE_CHECK(whether the rcssclangparser library is available, ac_cv_lib_rcssclangparser, - [AC_LANG_PUSH(C++) - OLD_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -lrcssclangparser" - AC_LINK_IFELSE([@%:@include <rcssserver/clangrulemsg.h> - int main() - { - rcss::clang::RuleMsg rule; - return 0; - }], - [AS_VAR_SET(ac_lib_rcssclangparser, yes)], - [AS_VAR_SET(ac_lib_rcssclangparser, no) - LDFLAGS="$OLD_LDFLAGS" - ]) - AC_LANG_POP(C++) - ]) - AS_IF([test AS_VAR_GET(ac_lib_rcssclangparser) = yes], [$1], [$2]) - AS_VAR_POPDEF([ac_lib_rcssclangparser])dnl - ])# AC_LIB_RCSSCLANGPARSER --- 36,37 ---- Index: configure.ac =================================================================== RCS file: /cvsroot/rccparser/rccserializer/configure.ac,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** configure.ac 25 Mar 2003 17:31:01 -0000 1.2 --- configure.ac 1 Oct 2003 01:56:14 -0000 1.3 *************** *** 48,60 **** dnl Checks for library functions. - AC_LIB_RCSSCLANGPARSER([AC_SUBST(ONLINEC_LIBS, "-lrcssclangparser")],[AC_MSG_WARN([ - - The rcssclangparser library could not be found. This means that you - will not be able to use the rcc::OnlineCoachSerializer::say() function - unless you link you executable with the rcssclangparser library - ]) - ]) - - dnl optional features --- 48,51 ---- |