From: Martin Liska Date: Thu, 27 Jan 2022 13:47:23 +0000 (+0100) Subject: libstdc++: fix typo in acinclude.m4. X-Git-Tag: releases/gcc-11.5.0~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e33ffd543257a1a599b51201e9db95b070dbf84;p=thirdparty%2Fgcc.git libstdc++: fix typo in acinclude.m4. PR libstdc++/104259 libstdc++-v3/ChangeLog: * acinclude.m4: Fix typo. * configure: Regenerate. (cherry picked from commit 14f339894db6ca7fe4772d5528c726694d2517c4) --- diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 696756a6df6a..e2a12607d5de 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -4834,7 +4834,7 @@ dnl [glibcxx_cv_fdopendir=yes], [glibcxx_cv_fdopendir=no]) ]) - if test $glibcxx_cv_truncate = yes; then + if test $glibcxx_cv_fdopendir = yes; then AC_DEFINE(HAVE_FDOPENDIR, 1, [Define if fdopendir is available in .]) fi dnl diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 316c19a2c95a..64f2552afe5d 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -76851,7 +76851,7 @@ fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5 $as_echo "$glibcxx_cv_fdopendir" >&6; } - if test $glibcxx_cv_truncate = yes; then + if test $glibcxx_cv_fdopendir = yes; then $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h