Commit 4b93e1053798297c92314eee7edd9a0fcabc97a0

Authored by knodlseder
1 parent fe9fdc66

avoid double checking of headers

Showing 1 changed file with 1 additions and 1 deletions
m4/ac_find_lib_headers.m4
... ... @@ -173,7 +173,7 @@ AC_DEFUN([AC_FIND_LIB_HEADER],[
173 173  
174 174 # Kluge to set include directives
175 175 if test "x$3" != "x" -a "$ac_find_lib_status" = yes; then
176   - AC_CHECK_HEADERS([$header $3])
  176 + AC_CHECK_HEADERS([$header $3], [break])
177 177 fi
178 178  
179 179 # echo "out: "$LIBS $LDFLAGS $CPPFLAGS
... ...