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
  fi
somewhere, which is a shell syntax error.

Cheers,
Ralf

Index: config/f77_check.m4
===================================================================
--- config/f77_check.m4 (revision 8684)
+++ config/f77_check.m4 (working copy)
@@ -70,12 +70,10 @@
         else
             # 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

Reply via email to