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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
|
--- configure.orig 2023-06-07 20:28:42 UTC
+++ configure
@@ -1082,8 +1082,6 @@ hwlocsrcdir
HAVE_ROMIO
hwloclib
hwlocsrcdir
-jsonlib
-jsonsrcdir
mpllib
mpllibdir
mplsrcdir
@@ -32056,359 +32054,7 @@ fi
-# json-c
-jsonsrcdir=""
-
-jsonlib=""
-
-
-jsonlib="modules/json-c/libjson-c.la"
-if test -e "${use_top_srcdir}/modules/PREBUILT" -a -e "$jsonlib"; then
- jsonsrcdir=""
-else
-
-
- if test -z "${pac_save_CFLAGS_nesting}" ; then
- pac_save_CFLAGS_nesting=0
- fi
- eval pac_save_CFLAGS_${pac_save_CFLAGS_nesting}='"$CFLAGS"'
- pac_save_CFLAGS_nesting=`expr ${pac_save_CFLAGS_nesting} + 1`
-
-
- if test -z "${pac_save_CPPFLAGS_nesting}" ; then
- pac_save_CPPFLAGS_nesting=0
- fi
- eval pac_save_CPPFLAGS_${pac_save_CPPFLAGS_nesting}='"$CPPFLAGS"'
- pac_save_CPPFLAGS_nesting=`expr ${pac_save_CPPFLAGS_nesting} + 1`
-
-
- if test -z "${pac_save_CXXFLAGS_nesting}" ; then
- pac_save_CXXFLAGS_nesting=0
- fi
- eval pac_save_CXXFLAGS_${pac_save_CXXFLAGS_nesting}='"$CXXFLAGS"'
- pac_save_CXXFLAGS_nesting=`expr ${pac_save_CXXFLAGS_nesting} + 1`
-
-
- if test -z "${pac_save_FFLAGS_nesting}" ; then
- pac_save_FFLAGS_nesting=0
- fi
- eval pac_save_FFLAGS_${pac_save_FFLAGS_nesting}='"$FFLAGS"'
- pac_save_FFLAGS_nesting=`expr ${pac_save_FFLAGS_nesting} + 1`
-
-
- if test -z "${pac_save_FCFLAGS_nesting}" ; then
- pac_save_FCFLAGS_nesting=0
- fi
- eval pac_save_FCFLAGS_${pac_save_FCFLAGS_nesting}='"$FCFLAGS"'
- pac_save_FCFLAGS_nesting=`expr ${pac_save_FCFLAGS_nesting} + 1`
-
-
- if test -z "${pac_save_LDFLAGS_nesting}" ; then
- pac_save_LDFLAGS_nesting=0
- fi
- eval pac_save_LDFLAGS_${pac_save_LDFLAGS_nesting}='"$LDFLAGS"'
- pac_save_LDFLAGS_nesting=`expr ${pac_save_LDFLAGS_nesting} + 1`
-
-
- if test -z "${pac_save_LIBS_nesting}" ; then
- pac_save_LIBS_nesting=0
- fi
- eval pac_save_LIBS_${pac_save_LIBS_nesting}='"$LIBS"'
- pac_save_LIBS_nesting=`expr ${pac_save_LIBS_nesting} + 1`
-
-
-
- if test "$FROM_MPICH" = "yes" ; then
- CFLAGS="$USER_CFLAGS"
- CPPFLAGS="$USER_CPPFLAGS"
- CXXFLAGS="$USER_CXXFLAGS"
- FFLAGS="$USER_FFLAGS"
- FCFLAGS="$USER_FCFLAGS"
- LDFLAGS="$USER_LDFLAGS"
- LIBS="$USER_LIBS"
- fi
-
-
- pac_dir="modules/json-c"
- { $as_echo "$as_me:${as_lineno-$LINENO}: ===== configuring modules/json-c =====" >&5
-$as_echo "$as_me: ===== configuring modules/json-c =====" >&6;}
-
- pac_abs_srcdir=`(cd $srcdir && pwd)`
-
- if test -f $pac_abs_srcdir/modules/json-c/setup ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: sourcing $pac_abs_srcdir/modules/json-c/setup" >&5
-$as_echo "$as_me: sourcing $pac_abs_srcdir/modules/json-c/setup" >&6;}
- . $pac_abs_srcdir/modules/json-c/setup
- fi
-
- # Adapted for MPICH from the autoconf-2.67 implementation of
- # AC_CONFIG_SUBDIRS. Search for "MPICH note:" for relevant commentary and
- # local modifications.
-
- # Remove --cache-file, --srcdir, and --disable-option-checking arguments
- # so they do not pile up. Otherwise relative paths (like --srcdir=.. from
- # make distcheck) will be incorrect.
- pac_sub_configure_args="--enable-embedded --disable-werror"
- pac_prev=
- eval "set x $ac_configure_args"
- shift
- for pac_arg
- do
- if test -n "$pac_prev"; then
- pac_prev=
- continue
- fi
- case $pac_arg in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- pac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
- | --c=*)
- ;;
- --config-cache | -C)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- pac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- pac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- ;;
- --disable-option-checking)
- ;;
- *)
- # MPICH note: this is a more robust version of the "precious
- # variable" propagation code that was present in the previous
- # incarnation of this macro
- for pac_pvar in $ac_precious_vars ; do
- # check if configure argument token contains the
- # precious variable, i.e. "name_of_prec_var=".
- if ( echo $pac_arg | grep "^$pac_pvar=" >/dev/null 2>&1 ) ; then
- # check if current precious variable is set in env
- eval pvar_set=\${$pac_pvar+set}
- if test "$pvar_set" = "set" ; then
- # Append 'name_of_prec_var=value_of_prec_var'
- # to the subconfigure arguments list, where
- # value_of_prec_var is fetched from the env.
- # this also overrides any value set on the command line
- eval pac_pval=\${$pac_pvar}
- pac_arg="$pac_pvar=$pac_pval"
- break
- fi
- fi
- done
- case $pac_arg in
- *\'*) pac_arg=`$as_echo "$pac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append pac_sub_configure_args " '$pac_arg'" ;;
- esac
- done
-
- # Always prepend --prefix to ensure using the same prefix
- # in subdir configurations.
- # MPICH note: see tt#983 for an example of why this is necessary
- pac_arg="--prefix=$prefix"
- case $pac_arg in
- *\'*) pac_arg=`$as_echo "$pac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- pac_sub_configure_args="'$pac_arg' $pac_sub_configure_args"
-
- # Pass --silent
- if test "$silent" = yes; then
- pac_sub_configure_args="--silent $pac_sub_configure_args"
- fi
-
- # Always prepend --disable-option-checking to silence warnings, since
- # different subdirs can have different --enable and --with options.
- pac_sub_configure_args="--disable-option-checking $pac_sub_configure_args"
-
- pac_popdir=`pwd`
-
- # Do not complain, so a configure script can configure whichever
- # parts of a large source tree are present.
- test -d "$srcdir/$pac_dir" || continue
-
- # MPICH note: modified to remove the internal "_AS_*" macro usage, also
- # msg is already printed at top
- as_dir="$pac_dir"; as_fn_mkdir_p
- # MPICH note: we leave this internal macro reference for now. We can clone
- # the macro locally if this turns out to be non-portable across several autoconf
- # versions. It sets the following variables: ac_builddir,
- # ac_top_builddir_sub, ac_top_build_prefix, ac_srcdir, ac_top_srcdir,
- # ac_abs_top_builddir, ac_abs_builddir, ac_abs_top_srcdir, ac_abs_srcdir
- ac_builddir=.
-
-case "$pac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$pac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- cd "$pac_dir"
-
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- pac_sub_configure=$ac_srcdir/configure.gnu
- elif test -f "$ac_srcdir/configure"; then
- pac_sub_configure=$ac_srcdir/configure
- elif test -f "$ac_srcdir/configure.ac"; then
- # This should be Cygnus configure.
- pac_sub_configure=$ac_aux_dir/configure
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $pac_dir" >&5
-$as_echo "$as_me: WARNING: no configuration information is in $pac_dir" >&2;}
- pac_sub_configure=
- fi
-
- # The recursion is here.
- if test -n "$pac_sub_configure"; then
- # MPICH note: overriding the cache file on purpose to prevent strange
- # issues resulting from inter-dir caching
- pac_sub_cache_file="/dev/null"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $pac_sub_configure $pac_sub_configure_args --cache-file=$pac_sub_cache_file --srcdir=$ac_srcdir" >&5
-$as_echo "$as_me: running $SHELL $pac_sub_configure $pac_sub_configure_args --cache-file=$pac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
- # The eval makes quoting arguments work.
- # MPICH note: we want to execute the provided actions, not be silent
- # or error out if the subconfigure succeeded/failed
- if eval "\$SHELL \"\$pac_sub_configure\" $pac_sub_configure_args \
- --cache-file=\"\$pac_sub_cache_file\" --srcdir=\"\$ac_srcdir\""
- then
- # restore the current dir for the provided actions
- cd "$pac_popdir"
-
- else
- # restore the current dir for the provided actions
- cd "$pac_popdir"
- as_fn_error $? "json-c configure failed" "$LINENO" 5
- fi
- fi
-
- cd "$pac_popdir"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: ===== done with modules/json-c configure =====" >&5
-$as_echo "$as_me: ===== done with modules/json-c configure =====" >&6;}
-
- # Check for any localdefs files. These may be created, so we
- # look in the local directory first.
- if test -f modules/json-c/localdefs ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: sourcing modules/json-c/localdefs" >&5
-$as_echo "$as_me: sourcing modules/json-c/localdefs" >&6;}
- . modules/json-c/localdefs
- elif test -f $pac_abs_srcdir/modules/json-c/localdefs ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: sourcing $pac_abs_srcdir/modules/json-c/localdefs" >&5
-$as_echo "$as_me: sourcing $pac_abs_srcdir/modules/json-c/localdefs" >&6;}
- . $pac_abs_srcdir/modules/json-c/localdefs
- fi
-
-
-
- pac_save_CFLAGS_nesting=`expr ${pac_save_CFLAGS_nesting} - 1`
- eval CFLAGS="\$pac_save_CFLAGS_${pac_save_CFLAGS_nesting}"
- eval pac_save_CFLAGS_${pac_save_CFLAGS_nesting}=""
-
-
- pac_save_CPPFLAGS_nesting=`expr ${pac_save_CPPFLAGS_nesting} - 1`
- eval CPPFLAGS="\$pac_save_CPPFLAGS_${pac_save_CPPFLAGS_nesting}"
- eval pac_save_CPPFLAGS_${pac_save_CPPFLAGS_nesting}=""
-
-
- pac_save_CXXFLAGS_nesting=`expr ${pac_save_CXXFLAGS_nesting} - 1`
- eval CXXFLAGS="\$pac_save_CXXFLAGS_${pac_save_CXXFLAGS_nesting}"
- eval pac_save_CXXFLAGS_${pac_save_CXXFLAGS_nesting}=""
-
-
- pac_save_FFLAGS_nesting=`expr ${pac_save_FFLAGS_nesting} - 1`
- eval FFLAGS="\$pac_save_FFLAGS_${pac_save_FFLAGS_nesting}"
- eval pac_save_FFLAGS_${pac_save_FFLAGS_nesting}=""
-
-
- pac_save_FCFLAGS_nesting=`expr ${pac_save_FCFLAGS_nesting} - 1`
- eval FCFLAGS="\$pac_save_FCFLAGS_${pac_save_FCFLAGS_nesting}"
- eval pac_save_FCFLAGS_${pac_save_FCFLAGS_nesting}=""
-
-
- pac_save_LDFLAGS_nesting=`expr ${pac_save_LDFLAGS_nesting} - 1`
- eval LDFLAGS="\$pac_save_LDFLAGS_${pac_save_LDFLAGS_nesting}"
- eval pac_save_LDFLAGS_${pac_save_LDFLAGS_nesting}=""
-
-
- pac_save_LIBS_nesting=`expr ${pac_save_LIBS_nesting} - 1`
- eval LIBS="\$pac_save_LIBS_${pac_save_LIBS_nesting}"
- eval pac_save_LIBS_${pac_save_LIBS_nesting}=""
-
-
- jsonsrcdir="${main_top_builddir}/modules/json-c"
-fi
-
-
-
- if test x$pac_has_fgrep_word = "xyes"; then
- if echo "$CPPFLAGS" | $FGREP -w -e "-I${use_top_srcdir}/modules/json-c" >/dev/null 2>&1; then :
- echo "CPPFLAGS(='$CPPFLAGS') contains '-I${use_top_srcdir}/modules/json-c', not appending" >&5
-else
- echo "CPPFLAGS(='$CPPFLAGS') does not contain '-I${use_top_srcdir}/modules/json-c', appending" >&5
- CPPFLAGS="$CPPFLAGS -I${use_top_srcdir}/modules/json-c"
-
-
-fi
- else
- echo "CPPFLAGS(='$CPPFLAGS') does not contain '-I${use_top_srcdir}/modules/json-c', appending" >&5
- CPPFLAGS="$CPPFLAGS -I${use_top_srcdir}/modules/json-c"
-
- fi
-
-
-
-
-
- if test x$pac_has_fgrep_word = "xyes"; then
- if echo "$CPPFLAGS" | $FGREP -w -e "-I${main_top_builddir}/modules/json-c" >/dev/null 2>&1; then :
- echo "CPPFLAGS(='$CPPFLAGS') contains '-I${main_top_builddir}/modules/json-c', not appending" >&5
-else
- echo "CPPFLAGS(='$CPPFLAGS') does not contain '-I${main_top_builddir}/modules/json-c', appending" >&5
- CPPFLAGS="$CPPFLAGS -I${main_top_builddir}/modules/json-c"
-
-
-fi
- else
- echo "CPPFLAGS(='$CPPFLAGS') does not contain '-I${main_top_builddir}/modules/json-c', appending" >&5
- CPPFLAGS="$CPPFLAGS -I${main_top_builddir}/modules/json-c"
-
- fi
-
-
-
# ----------------------------------------------------------------------------
# HWLOC / NETLOC
# ----------------------------------------------------------------------------
@@ -39394,6 +39040,7 @@ addarg=$pac_cv_prog_f77_mismatched_args_parm
fi
addarg=$pac_cv_prog_f77_mismatched_args_parm
+FFLAGS="$FFLAGS $addarg"
if test "X$addarg" != "X" ; then
# Code using mpif.h interface will likely need this flag to compile.
@@ -44745,6 +44392,9 @@ else
$as_echo_n "(cached) " >&6
else
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_wchar_t" "$ac_includes_default
+#ifdef STDC_HEADERS
+# include <stddef.h>
+#endif
#ifndef offsetof
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
#endif
|