On Sep 3, 2010, at 5:55 PM, Tom Browder wrote: > Attached is an m4 source file to be input to m4 to generate a special > header file in the include directory to satisfy my itch to have some > cpp-usable macros for conditional compilation. Note that it doesn't > have to be used by anyone, but it does do the job if anyone wants to > use it.
Thanks for sharing those, Tom. I don't consider the version management a settled issue in the least so it's good to simply be reminded along with details and progress. > Note that the m4 file is fragile unless you really know what you are > doing (and it was hit and miss for me even with help from the boys on > the m4 mailing list--everyone has a different idea). Fragile in what sense? > I have tried to get it into the build system but haven't succeeded > yet; however, I have a simple Makefile attached for testing. Make sure you're not fighting the cache. Adding new m4 macro files requires rebuilding via aclocal along with sometimes needing to wipe out the autom4te.cache. The autogen.sh script will do some of this for you, but it can still be a hassle every once in a while. A fresh checkout with the mods added before attempting to build Cheers! Sean ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
