Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2006-01-13 09:28:09

Hi Brian,

Did you mean this in your recent changes to the trunk?
I'm not quite sure, I don't really understand the code
at a glance.

Without it, configure barfs over here because it contains
  if ...; then
somewhere, which is a shell syntax error.


Index: config/f77_check.m4
--- config/f77_check.m4 (revision 8684)
+++ config/f77_check.m4 (working copy)
@@ -70,12 +70,10 @@
             # Look for a corresponding C type (will abort by itself if the
             # type isn't found and we need it)
- if test "$3" != ""; then
- OMPI_FIND_TYPE([$1], [$3], [$2], [$ofc_type_size], [ofc_c_type])
- if test -z "$ofc_c_type"; then
- ofc_have_type=
- fi
- fi
+ m4_ifval([$3], [OMPI_FIND_TYPE([$1], [$3], [$2], [$ofc_type_size], [ofc_c_type])
+ if test -z "$ofc_c_type"; then
+ ofc_have_type=
+ fi])
             # Get the alignment of the type
             if test "$ofc_have_type" = "1"; then