Hello, On Tue, Sep 06, 2005 at 02:53:54PM -0700, Noah Misch wrote: > > + AC_LINK_IFELSE([], [AS_VAR_SET(ac_Search, [$ac_res])]) > > + AS_VAR_SET_IF(ac_Search, [break])dnl > > Here and throughout your patch, the first argument is constant, so these > uses do not improve the code.
I think that my patch enables this: for func in f1 f2 f3; do AC_SEARCH_LIBS([$func], [foo bar baz]) done Autoconf itself doesn't make use of it, but it could come handy to someone. > This chunk just splits the old test case into two test cases, right? Yes. Previously, the problem was hidden, because the second call of AC_SEARCH_LIBS cleaned up the trash which remained after the first one. Stepan
