Yeah, I should have used the m4_ifval :/. What platform were you
seeing badness on? I know there's something with gfortran on 64bit
linux and it seems to work on 32bit linux with gfortran.
On Jan 13, 2006, at 9:28 AM, Ralf Wildenhues wrote:
> 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],
> - 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
> devel mailing list