libstdc++: Disabling AC_LIBTOOL_DLOPEN check if building with avr-libc
[gcc.git] / libstdc++-v3 / configure
index d7a4826b8e209978b0a135fde6ea4bd96e2fd368..e6f30a1a706315946e60bf5974dfca5fd2ee119d 100755 (executable)
@@ -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