Skip to content

Commit bd5be06

Browse files
committed
BBB libelf
1 parent 10950b8 commit bd5be06

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/configure.ac

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff 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])
207210
fi
208211
AC_SUBST([LIBELF])
209212

213+
210214
AC_SEARCH_LIBS([gethostent], [nsl])
211215
AC_SEARCH_LIBS([setsockopt], [socket])
212216
AH_TEMPLATE([HAVE_LIBUSB],
@@ -725,11 +729,6 @@ AC_CONFIG_FILES([avrdude.conf.tmp:avrdude.conf.in],
725729
AC_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()
734733
BUILDINFO_OUTPUT()
735734

@@ -738,12 +737,6 @@ echo ""
738737
echo "Configuration summary:"
739738
echo "----------------------"
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-
747740
if test "x$have_libusb" = xyes; then
748741
echo "DO HAVE libusb"
749742
else

0 commit comments

Comments
 (0)