20
20
# $HEADER$
21
21
#
22
22
23
- AC_DEFUN([MCA_ompi_io_romio321_POST_CONFIG ], [
24
- AM_CONDITIONAL([MCA_io_romio321_SHOULD_BUILD ], [test $1 -eq 1])
23
+ AC_DEFUN([MCA_ompi_io_romio341_POST_CONFIG ], [
24
+ AM_CONDITIONAL([MCA_io_romio341_SHOULD_BUILD ], [test $1 -eq 1])
25
25
])
26
26
27
27
28
- # MCA_io_romio321_CONFIG ([action-if-found], [action-if-not-found])
28
+ # MCA_io_romio341_CONFIG ([action-if-found], [action-if-not-found])
29
29
# -----------------------------------------------------------
30
- AC_DEFUN([MCA_ompi_io_romio321_CONFIG ],[
31
- AC_CONFIG_FILES([ompi/mca/io/romio321 /Makefile])
30
+ AC_DEFUN([MCA_ompi_io_romio341_CONFIG ],[
31
+ AC_CONFIG_FILES([ompi/mca/io/romio341 /Makefile])
32
32
33
- OPAL_VAR_SCOPE_PUSH([io_romio321_flags io_romio321_flags_define io_romio321_happy io_romio321_save_LIBS ])
33
+ OPAL_VAR_SCOPE_PUSH([io_romio341_flags io_romio341_flags_define io_romio341_happy io_romio341_save_LIBS ])
34
34
AC_ARG_ENABLE([io-romio],
35
35
[AS_HELP_STRING([--disable-io-romio],
36
36
[Disable the ROMIO MPI-IO component])])
37
37
AC_ARG_WITH([io-romio-flags],
38
38
[AS_HELP_STRING([--with-io-romio-flags= FLAGS],
39
39
[Pass FLAGS to the ROMIO distribution configuration script])])
40
- AC_DEFINE_UNQUOTED([MCA_io_romio321_USER_CONFIGURE_FLAGS ], [" $with_io_romio_flags " ], [Set of user-defined configure flags given to ROMIOs configure script via --with-io-romio-flags])
40
+ AC_DEFINE_UNQUOTED([MCA_io_romio341_USER_CONFIGURE_FLAGS ], [" $with_io_romio_flags " ], [Set of user-defined configure flags given to ROMIOs configure script via --with-io-romio-flags])
41
41
AC_MSG_CHECKING([if want ROMIO component])
42
42
AS_IF([test " $enable_io_romio " = " no" ],
43
43
[AC_MSG_RESULT([no])
@@ -53,54 +53,54 @@ AC_DEFUN([MCA_ompi_io_romio321_CONFIG],[
53
53
[AC_MSG_RESULT([yes])
54
54
55
55
AS_IF([test -n " $with_io_romio_flags " && test " $with_io_romio_flags " != " no" ],
56
- [io_romio321_flags = " $with_io_romio_flags $io_romio321_flags " ],
57
- [io_romio321_flags = ])
56
+ [io_romio341_flags = " $with_io_romio_flags $io_romio341_flags " ],
57
+ [io_romio341_flags = ])
58
58
# If ROMIO is going to end up in a DSO, all we need is
59
59
# shared library-ized objects, as we're only building a
60
60
# DSO (which is always shared). Otherwise, build with
61
61
# same flags as OMPI, as we might need any combination of
62
62
# shared and static-ized objects...
63
63
AS_IF([test " $compile_mode " = " dso" ],
64
- [io_romio321_shared = enable
65
- io_romio321_static = disable],
64
+ [io_romio341_shared = enable
65
+ io_romio341_static = disable],
66
66
[AS_IF([test " $enable_shared " = " yes" ],
67
- [io_romio321_shared = enable],
68
- [io_romio321_shared = disable])
67
+ [io_romio341_shared = enable],
68
+ [io_romio341_shared = disable])
69
69
AS_IF([test " $enable_static " = " yes" ],
70
- [io_romio321_static = enable],
71
- [io_romio321_static = disable])])
70
+ [io_romio341_static = enable],
71
+ [io_romio341_static = disable])])
72
72
AS_IF([test -n " $prefix " && test " $prefix " != " NONE" ],
73
- [io_romio321_prefix_arg = " --prefix=$prefix " ],
74
- [io_romio321_prefix_arg = ])
73
+ [io_romio341_prefix_arg = " --prefix=$prefix " ],
74
+ [io_romio341_prefix_arg = ])
75
75
76
76
AS_IF([test " $cross_compiling " = " yes" ],
77
- [AS_IF([test ! -z $build ], [io_romio321_flags = " $io_romio321_flags --build=$build " ])
78
- AS_IF([test ! -z $host ], [io_romio321_flags = " $io_romio321_flags --host=$host " ])
79
- AS_IF([test ! -z $target ], [io_romio321_flags = " $io_romio321_flags --target=$target " ])])
77
+ [AS_IF([test ! -z $build ], [io_romio341_flags = " $io_romio341_flags --build=$build " ])
78
+ AS_IF([test ! -z $host ], [io_romio341_flags = " $io_romio341_flags --host=$host " ])
79
+ AS_IF([test ! -z $target ], [io_romio341_flags = " $io_romio341_flags --target=$target " ])])
80
80
AS_IF([test " $enable_grequest_extensions " = " yes" ],
81
- [io_romio321_flags = " $io_romio321_flags --enable-grequest-extensions" ])
82
- io_romio321_flags_define = " $io_romio321_flags FROM_OMPI=yes CC='$CC ' CFLAGS='$CFLAGS -D__EXTENSIONS__' CPPFLAGS='$CPPFLAGS ' FFLAGS='$FFLAGS ' LDFLAGS='$LDFLAGS ' --$io_romio321_shared -shared --$io_romio321_static -static $io_romio321_flags $io_romio321_prefix_arg --disable-aio --disable-weak-symbols --enable-strict --disable-f77 --disable-f90"
83
- AC_DEFINE_UNQUOTED([MCA_io_romio321_COMPLETE_CONFIGURE_FLAGS ], [" $io_romio321_flags_define " ], [Complete set of command line arguments given to ROMIOs configure script])
81
+ [io_romio341_flags = " $io_romio341_flags --enable-grequest-extensions" ])
82
+ io_romio341_flags_define = " $io_romio341_flags FROM_OMPI=yes CC='$CC ' CFLAGS='$CFLAGS -D__EXTENSIONS__' CPPFLAGS='$CPPFLAGS ' FFLAGS='$FFLAGS ' LDFLAGS='$LDFLAGS ' --$io_romio341_shared -shared --$io_romio341_static -static $io_romio341_flags $io_romio341_prefix_arg --disable-aio --disable-weak-symbols --enable-strict --disable-f77 --disable-f90"
83
+ AC_DEFINE_UNQUOTED([MCA_io_romio341_COMPLETE_CONFIGURE_FLAGS ], [" $io_romio341_flags_define " ], [Complete set of command line arguments given to ROMIOs configure script])
84
84
85
- io_romio321_flags = " $io_romio321_flags FROM_OMPI=yes CC=" ' "' " $CC " ' "' " CFLAGS=" ' "' " $CFLAGS -D__EXTENSIONS__" ' "' " CPPFLAGS=" ' "' " $CPPFLAGS " ' "' " FFLAGS=" ' "' " $FFLAGS " ' "' " LDFLAGS=" ' "' " $LDFLAGS " ' "' " --$io_romio321_shared -shared --$io_romio321_static -static $io_romio321_flags $io_romio321_prefix_arg --disable-aio --disable-weak-symbols --enable-strict --disable-f77 --disable-f90"
85
+ io_romio341_flags = " $io_romio341_flags FROM_OMPI=yes CC=" ' "' " $CC " ' "' " CFLAGS=" ' "' " $CFLAGS -D__EXTENSIONS__" ' "' " CPPFLAGS=" ' "' " $CPPFLAGS " ' "' " FFLAGS=" ' "' " $FFLAGS " ' "' " LDFLAGS=" ' "' " $LDFLAGS " ' "' " --$io_romio341_shared -shared --$io_romio341_static -static $io_romio341_flags $io_romio341_prefix_arg --disable-aio --disable-weak-symbols --enable-strict --disable-f77 --disable-f90"
86
86
87
87
opal_show_subtitle " Configuring ROMIO distribution"
88
- OPAL_CONFIG_SUBDIR([3rd-party/romio321 ],
89
- [$io_romio321_flags ],
90
- [io_romio321_happy = 1], [io_romio321_happy = 0])
88
+ OPAL_CONFIG_SUBDIR([3rd-party/romio341 ],
89
+ [$io_romio341_flags ],
90
+ [io_romio341_happy = 1], [io_romio341_happy = 0])
91
91
92
- AS_IF([test " $io_romio321_happy " = " 1" ],
92
+ AS_IF([test " $io_romio341_happy " = " 1" ],
93
93
[ # grab the libraries list from ROMIO. We don't
94
94
# need this for building the component, as libtool
95
95
# will figure that part out. But we do need it for
96
96
# the wrapper settings
97
- io_romio321_save_LIBS = " $LIBS "
97
+ io_romio341_save_LIBS = " $LIBS "
98
98
LIBS=
99
- . 3rd-party/romio321 /localdefs
100
- io_romio321_LIBS = " $LIBS "
101
- LIBS= " $io_romio321_save_LIBS "
102
- OPAL_3RDPARTY_SUBDIRS= " $OPAL_3RDPARTY_SUBDIRS romio321 "
103
- OPAL_3RDPARTY_DIST_SUBDIRS= " $OPAL_3RDPARTY_DIST_SUBDIRS romio321 "
99
+ . 3rd-party/romio341 /localdefs
100
+ io_romio341_LIBS = " $LIBS "
101
+ LIBS= " $io_romio341_save_LIBS "
102
+ OPAL_3RDPARTY_SUBDIRS= " $OPAL_3RDPARTY_SUBDIRS romio341 "
103
+ OPAL_3RDPARTY_DIST_SUBDIRS= " $OPAL_3RDPARTY_DIST_SUBDIRS romio341 "
104
104
105
105
echo " ROMIO distribution configured successfully"
106
106
$1 ],
0 commit comments