Changes between Initial Version and Version 1 of Ticket #27212, comment 91


Ignore:
Timestamp:
04/10/19 12:25:33 (3 years ago)
Author:
embray
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27212, comment 91

    initial v1  
    33> And, by the way, what's that break doing there? I gather it's to interrupt loops, but there is no loop here...
    44
    5 Remember, most of these autoconf macros expand to shell code.  So that's where the loop is, and you can see what a break would do there by looking at the expanded macro in the actual `configure` script.  However, I think it's superfluous in this case.  It would break out of the loop if `AC_SEARCH_LIBS` finds that you can link the test program without explicitly passing `-lgmp`, but I don't think that would ever be the case (it is the case sometimes with other libraries, such as libm, which may be linked automatically).
     5Remember, most of these autoconf macros expand to shell code.  So that's where the loop is, and you can see what a break would do there by looking at the expanded macro in the actual `configure` script.
     6
     7However, I think it's superfluous in this case.  It would break out of the loop if `AC_SEARCH_LIBS` finds that you can link the test program without explicitly passing `-lgmp`, but I don't think that would ever be the case (it is the case sometimes with other libraries, such as libm, which may be linked automatically).  So I can just remove it if it's clearer (it's also harmless though).