Hi all, See http://trac.mcs.anl.gov/projects/ITAPS/browser/MOAB/trunk/configure.in, lines 31-33. If the script finds a fortran compiler, it runs that macro. That generates definitions for FC_FUNC and FC_FUNC_. Then, at line 869 in configure.in, AC_CONFIG_HEADERS is called to produce MBCN_FCDefs.h, which contains substituted definitions for FC_FUNC and FC_FUNC_. Those macros are used in iMesh_protos.h (http://trac.mcs.anl.gov/projects/ITAPS/browser/MOAB/trunk/tools/iMesh/iMesh_...) to mangle the imesh function names. If you're doing this in FMDB, it's probably easier to eliminate going through MBCN_FCDefs.h or equivalent and call AC_CONFIG_HEADERS directly on iMesh.h, though you'll have to make a iMesh.h.in file for that to work properly. Any questions, let me know. - tim -- ================================================================ "You will keep in perfect peace him whose mind is steadfast, because he trusts in you." Isaiah 26:3 Tim Tautges Argonne National Laboratory ([email protected]) (telecommuting from UW-Madison) phone: (608) 263-8485 1500 Engineering Dr. fax: (608) 263-4499 Madison, WI 53706
participants (1)
-
Tim Tautges