I'm using autoconf and automake to make manage the makefiles for my project which uses xerces. And basically what I want to do is to have ./configure for my project to complain if it can't find the Xerces-C libraries and headers. If Xerces-C is installed would like ./configure to figure out where it's installed (if it's installed in a non stantard location).
Right now I'm developing on Linux with g++ using xerces 2.3. Compiling and linking 'manualy' by specifying include and library directories and what lib to use works just fine. :.:: mattias On Wed, 4 Jun 2003, Williams, Rodger wrote: > I won't be able to help you as I am a newbie myself, but I am sure one of > the experts will help you. > I am just interested to know what it is that you are doing? Are you trying > to compile your program with the Xerces-C libraries? > What platform are you developing on,what C/C++ compiler are you using, and > what version of xerces are you trying to compile with? > > > > -----Original Message----- > From: Mattias Br�ndstr�m [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 11:23 AM > To: [EMAIL PROTECTED] > Subject: making my ./configure xerces aware > > > Hello! > > I have a little question about what macros to put in my configure.ac to > make it xerces aware. I hope someone here might provide some insight. > > As I understand it I should be able to look for libxerces-c with some > thing like this: > > AC_CHECK_LIB(xerces-c, xercesc_2_3::XXercesDOMParser::XercesDOMParser()) > > or maybe just: > > AC_CHECK_LIB(xerces-c, XXercesDOMParser::XercesDOMParser()) > > Unsfortunateley this don't seem to work. Have anyone here done something > similar? Maybe there is some neat trick you can teach me! =) > > And I need something similar to find the header files don't I? > > I know I am a bit of a newbie when it comes to xerces and autoconf and > automake, but I hope that someone will have some hints for me. > > Regards, > Mattias > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
