libstdc++: Disabling AC_LIBTOOL_DLOPEN check if building with avr-libc

The AC_LIBTOOL_DLOPEN checks were previously disabled for newlib targets.
The patch applies similar logic to avr-libc based builds.

libstdc++-v3/ChangeLog:

	* configure.ac: Skip AC_LIBTOOL_DLOPEN check if avr-libc is used.
	* configure: Regenerate.
This commit is contained in:
Vladimir Vishnevsky 2020-12-15 11:40:07 +00:00 committed by Jonathan Wakely
parent cf4ed3b415
commit a929b39aa3
2 changed files with 2 additions and 2 deletions

View file

@ -5899,7 +5899,7 @@ $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
# Libtool setup.
if test "x${with_newlib}" != "xyes"; then
if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
enable_dlopen=yes

View file

@ -90,7 +90,7 @@ AC_SYS_LARGEFILE
GLIBCXX_CONFIGURE
# Libtool setup.
if test "x${with_newlib}" != "xyes"; then
if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
AC_LIBTOOL_DLOPEN
fi
AM_PROG_LIBTOOL