1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>
Autoconf Macro: ax_f90_module
</title>
<link rel="stylesheet" type="text/css" href="ac-archive.css">
</head>
<body>
<table summary="web navigation" style="width:100%;">
<tbody>
<tr>
<td style="width:50%;" align="center">
<a href="http://autoconf-archive.cryp.to/ax_f90_module.m4">Download M4
Source</a>
</td>
<td style="width:50%;" align="center">
<a href="macros-by-category.html">Macro Index Page</a>
</td>
</tr>
</tbody>
</table>
<hr>
<h1>
ax_f90_module
</h1>
<h2>
Synopsis
</h2>
<p class="indent" style="white-space:nowrap;">
<code>AX_F90_MODULE(MODULE, MODULE-REGEXP, FUNCTION-BODY [, SEARCH-PATH [,
ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])</code>
</p>
<h2>
Description
</h2>
<div class="indent">
<p>
Set up the compiler flags to use a given fortran 90 module MODULE is the
name of the module. MODULE-REGEXP is a regular expression (used by find)
matched by the filename of the module. FUNCTION-BODY is the body of a
function (including the 'use' statement and the call to a function defined
by the module) SEARCH-PATH is a colon-separated list of directories that
will be recursively searched for modules files. If empty, the search path
will be composed of $prefix, $ac_default_prefix, and all directories
exactly one level *above* the directories in $LD_LIBRARY_PATH (the
rationale is that when libraries are put in /some/path/lib, the modules are
often put in a directory like /some/path/include or /some/path/mod or
something similar). An output variable named F90_MODULE_xxx will be set up
with the proper flag for substitution in Makefiles (xxx is built from the
first argument, with autoconf traditional escapes).
</p>
</div>
<h2>
Author
</h2>
<p class="indent">
Luc Maisonobe <luc@spaceroots.org>
</p>
<h2>
Last Modified
</h2>
<p class="indent">
2005-01-14
</p>
<h2>
M4 Source Code
</h2>
<div class="indent">
<pre class="m4source">
AC_DEFUN([AX_F90_MODULE],[
AC_REQUIRE([AX_F90_MODULE_FLAG])
AX_F90_INTERNAL_HEADMOD([$1 fortran 90 module],[$2],"$ax_f90_modflag",
[$3],AS_TR_SH(F90_MODULE_$1),[$4],[$5],[$6])
])
</pre>
</div>
</body>
</html>
|