Skip to content

Commit 850300a

Browse files
AMPI/ROMIO: Disable spurious warnings during configure step
1 parent 244a8be commit 850300a

File tree

4 files changed

+7
-96
lines changed

4 files changed

+7
-96
lines changed

src/libs/ck-libs/ampi/romio/README.AMPI

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ ROMIO integrated into AMPI:
1010
* Configure tests that build MPI executables have been changed to only
1111
compile object files, breaking a circular dependency between ROMIO and the
1212
rest of AMPI. See confdb/aclocal_romio.m4.
13+
* The "Your make does not allow comments in target code" and "File locks may
14+
not work with NFS" warnings generated during the configure step have been
15+
disabled as being spurious.
1316
* Used MPI_Info_* calls from AMPI, and darray calls from ROMIO.
1417
* Set -DHAVE_STATUS_SET_BYTES in configure and configure.in, and
1518
add status setting call in adio/common/status_setb.c

src/libs/ck-libs/ampi/romio/confdb/aclocal_make.m4

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -71,55 +71,6 @@ else
7171
fi
7272
])dnl
7373

74-
dnl/*D
75-
dnl PAC_PROG_MAKE_ALLOWS_COMMENTS - Check whether comments are allowed in
76-
dnl shell commands in a makefile
77-
dnl
78-
dnl Synopsis:
79-
dnl PAC_PROG_MAKE_ALLOWS_COMMENTS([false text])
80-
dnl
81-
dnl Output Effect:
82-
dnl Issues a warning message if comments are not allowed in a makefile.
83-
dnl Executes the argument if one is given.
84-
dnl
85-
dnl Notes:
86-
dnl Some versions of OSF V3 make do not all comments in action commands.
87-
dnl
88-
dnl See Also:
89-
dnl PAC_PROG_MAKE
90-
dnl D*/
91-
dnl
92-
AC_DEFUN([PAC_PROG_MAKE_ALLOWS_COMMENTS],[
93-
AC_CACHE_CHECK([whether make allows comments in actions],
94-
pac_cv_prog_make_allows_comments,[
95-
AC_REQUIRE([PAC_PROG_MAKE_PROGRAM])
96-
# This is needed for Mac OSX 10.5
97-
rm -rf conftest.dSYM
98-
rm -f conftest
99-
cat > conftest <<.
100-
SHELL=/bin/sh
101-
ALL:
102-
@# This is a valid comment!
103-
@echo "success"
104-
.
105-
pac_str=`$MAKE -f conftest 2>&1`
106-
# This is needed for Mac OSX 10.5
107-
rm -rf conftest.dSYM
108-
rm -f conftest
109-
if test "$pac_str" != "success" ; then
110-
pac_cv_prog_make_allows_comments="no"
111-
else
112-
pac_cv_prog_make_allows_comments="yes"
113-
fi
114-
])
115-
if test "$pac_cv_prog_make_allows_comments" = "no" ; then
116-
AC_MSG_WARN([Your make does not allow comments in target code.
117-
Using this make may cause problems when building programs.
118-
You should consider using gnumake instead.])
119-
ifelse([$1],,[$1])
120-
fi
121-
])dnl
122-
12374
dnl/*D
12475
dnl PAC_PROG_MAKE_VPATH - Check whether make supports source-code paths.
12576
dnl
@@ -302,7 +253,6 @@ AC_DEFUN([PAC_PROG_MAKE],[
302253
PAC_PROG_MAKE_PROGRAM
303254
PAC_PROG_MAKE_CLOCK_SKEW
304255
PAC_PROG_MAKE_INCLUDE
305-
PAC_PROG_MAKE_ALLOWS_COMMENTS
306256
PAC_PROG_MAKE_VPATH
307257
AC_SUBST(SET_CFLAGS)
308258
dnl AM_IGNORE(SET_CFLAGS)

src/libs/ck-libs/ampi/romio/configure

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -13028,46 +13028,6 @@ else
1302813028
fi
1302913029

1303013030

13031-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether make allows comments in actions" >&5
13032-
$as_echo_n "checking whether make allows comments in actions... " >&6; }
13033-
if ${pac_cv_prog_make_allows_comments+:} false; then :
13034-
$as_echo_n "(cached) " >&6
13035-
else
13036-
13037-
13038-
# This is needed for Mac OSX 10.5
13039-
rm -rf conftest.dSYM
13040-
rm -f conftest
13041-
cat > conftest <<.
13042-
SHELL=/bin/sh
13043-
ALL:
13044-
@# This is a valid comment!
13045-
@echo "success"
13046-
.
13047-
pac_str=`$MAKE -f conftest 2>&1`
13048-
# This is needed for Mac OSX 10.5
13049-
rm -rf conftest.dSYM
13050-
rm -f conftest
13051-
if test "$pac_str" != "success" ; then
13052-
pac_cv_prog_make_allows_comments="no"
13053-
else
13054-
pac_cv_prog_make_allows_comments="yes"
13055-
fi
13056-
13057-
fi
13058-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pac_cv_prog_make_allows_comments" >&5
13059-
$as_echo "$pac_cv_prog_make_allows_comments" >&6; }
13060-
if test "$pac_cv_prog_make_allows_comments" = "no" ; then
13061-
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your make does not allow comments in target code.
13062-
Using this make may cause problems when building programs.
13063-
You should consider using gnumake instead." >&5
13064-
$as_echo "$as_me: WARNING: Your make does not allow comments in target code.
13065-
Using this make may cause problems when building programs.
13066-
You should consider using gnumake instead." >&2;}
13067-
13068-
fi
13069-
13070-
1307113031

1307213032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for virtual path format" >&5
1307313033
$as_echo_n "checking for virtual path format... " >&6; }
@@ -22049,10 +22009,8 @@ if test -n "$file_system_nfs" ; then
2204922009

2205022010
$as_echo "#define ROMIO_NFS 1" >>confdefs.h
2205122011

22052-
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: File locks may not work with NFS. See the Installation and
22053-
users manual for instructions on testing and if necessary fixing this" >&5
22054-
$as_echo "$as_me: WARNING: File locks may not work with NFS. See the Installation and
22055-
users manual for instructions on testing and if necessary fixing this" >&2;}
22012+
# AC_MSG_WARN([File locks may not work with NFS. See the Installation and
22013+
# users manual for instructions on testing and if necessary fixing this])
2205622014
fi
2205722015

2205822016
if test -n "$file_system_panfs"; then

src/libs/ck-libs/ampi/romio/configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,8 @@ AC_MSG_RESULT([$FILE_SYSTEM])
781781

782782
if test -n "$file_system_nfs" ; then
783783
AC_DEFINE(ROMIO_NFS,1,[Define for ROMIO with NFS])
784-
AC_MSG_WARN([File locks may not work with NFS. See the Installation and
785-
users manual for instructions on testing and if necessary fixing this])
784+
# AC_MSG_WARN([File locks may not work with NFS. See the Installation and
785+
# users manual for instructions on testing and if necessary fixing this])
786786
fi
787787

788788
if test -n "$file_system_panfs"; then

0 commit comments

Comments
 (0)