On Wed, Sep 17, 2008 at 9:06 AM, Benjamin Kirk <[EMAIL PROTECTED]> wrote:
> I am about to check in a substantial change set that prefixes every variable
> in include/base/libmesh_config.h with LIBMESH_ to avoid conflicts with
> external packages.
>
> I found an autoconf macro designed to do just that.  The process is a little
> convoluted and deserves some explanation.
>
> Because of all the builtin variables (SIZEOF_INT, etc...) it is not as
> simple as changing all out AC_DEFINES(HAVE_ to AC_DEFINE(LIBMESH_HAVE_
> What happens is the last step of ./configure goes through libmesh_config.h
> and prefixes everything with LIBMESH_

Awesome!

I added a #define recently with a LIBMESH_ prefix for PETSc.  Feel
free to change that so it's not LIBMESH_LIBMESH_BLAH :-)

Also... are you doing this all from your blackberry or is your
internet already back?

-- 
John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to