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). |
| 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. |
| 6 | |
| 7 | 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). So I can just remove it if it's clearer (it's also harmless though). |