File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -204,9 +204,13 @@ if test "x$have_libelf" = xyes; then
204204 esac
205205 AC_DEFINE ( [ HAVE_LIBELF] )
206206 AC_CHECK_HEADERS ( [ libelf.h libelf/libelf.h] )
207+ BUILDINFO_ITEM([ libelf] , [ yes] )
208+ else
209+ BUILDINFO_ITEM([ libelf] , [ no] )
207210fi
208211AC_SUBST ( [ LIBELF] )
209212
213+
210214AC_SEARCH_LIBS ( [ gethostent] , [ nsl] )
211215AC_SEARCH_LIBS ( [ setsockopt] , [ socket] )
212216AH_TEMPLATE ( [ HAVE_LIBUSB] ,
@@ -725,11 +729,6 @@ AC_CONFIG_FILES([avrdude.conf.tmp:avrdude.conf.in],
725729AC_OUTPUT
726730
727731
728- BUILDINFO_ITEM([ libelf] , [ yes] )
729- BUILDINFO_ITEM([ libelf] , [ no] )
730- BUILDINFO_ITEM([ libelf] , [ DO HAVE] )
731- BUILDINFO_ITEM([ libelf] , [ DON'T HAVE] )
732-
733732# print the output collected by earlier calls to BUILDINFO_ITEM()
734733BUILDINFO_OUTPUT()
735734
@@ -738,12 +737,6 @@ echo ""
738737echo "Configuration summary:"
739738echo "----------------------"
740739
741- if test "x$have_libelf" = xyes; then
742- echo "DO HAVE libelf"
743- else
744- echo "DON'T HAVE libelf"
745- fi
746-
747740if test "x$have_libusb" = xyes; then
748741 echo "DO HAVE libusb"
749742else
You can’t perform that action at this time.
0 commit comments