97 |
|
AC_CHECK_MODSUFFIX |
98 |
|
dnl Fortran 90 module path specifier |
99 |
|
AC_CHECK_MODDIRFLAG |
100 |
+ |
AC_LANG_POP |
101 |
|
|
102 |
+ |
dnl check for system getopt |
103 |
+ |
AC_LANG_PUSH(C) |
104 |
+ |
adl_FUNC_GETOPT_LONG |
105 |
+ |
|
106 |
|
dnl check for strong optimization options |
107 |
|
|
108 |
|
case $debug in |
131 |
|
|
132 |
|
AC_ARG_WITH(mpi, |
133 |
|
[AC_HELP_STRING([--with-mpi=<prefix>], |
134 |
< |
[compile with MPI libraries in <prefix> [default=no]])], |
134 |
> |
[compile with MPI installed in <prefix> [default=no]])], |
135 |
|
with_mpi=$withval, |
136 |
|
with_mpi="no") |
137 |
|
|
138 |
|
case "x$with_mpi" in |
139 |
|
xyes | "x") USE_MPI=yes;; |
140 |
|
xno) USE_MPI=no ;; |
141 |
< |
*) MPI="$with_mpi"; USE_MPI=yes ;; |
142 |
< |
esac |
143 |
< |
if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then |
144 |
< |
MPI="/usr/local" |
145 |
< |
fi |
141 |
> |
*) MPI="$with_mpi"; USE_MPI=yes ;; |
142 |
> |
esac |
143 |
> |
if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then |
144 |
> |
MPI="/usr/local" |
145 |
> |
fi |
146 |
|
if test "$USE_MPI" = "yes"; then |
142 |
– |
echo "MPI = $MPI" |
147 |
|
ACX_MPI |
148 |
|
fi |
149 |
|
AC_SUBST(USE_MPI) |
150 |
|
|
151 |
+ |
AC_ARG_WITH(sprng, |
152 |
+ |
[AC_HELP_STRING([--with-sprng=<prefix>], |
153 |
+ |
[compile with SPRNG installed in <prefix> [default=/usr/local]])], |
154 |
+ |
with_sprng=$withval, |
155 |
+ |
with_sprng="/usr/local") |
156 |
|
|
157 |
< |
AM_PATH_SPRNG |
157 |
> |
case "x$with_sprng" in |
158 |
> |
xyes | "x") USE_SPRNG=yes;; |
159 |
> |
xno) USE_SPRNG=no ;; |
160 |
> |
*) SPRNG="$with_sprng"; USE_SPRNG=yes ;; |
161 |
> |
esac |
162 |
> |
if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then |
163 |
> |
SPRNG="/usr/local" |
164 |
> |
fi |
165 |
> |
if test "$USE_SPRNG" = "yes"; then |
166 |
> |
ACX_SPRNG |
167 |
> |
fi |
168 |
> |
AC_SUBST(USE_SPRNG) |
169 |
> |
|
170 |
> |
|
171 |
|
CHECK_MKL |
172 |
|
|
173 |
|
|