]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: fix typo in acinclude.m4.
authorMartin Liska <mliska@suse.cz>
Thu, 27 Jan 2022 13:47:23 +0000 (14:47 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 27 Jun 2024 13:22:26 +0000 (14:22 +0100)
PR libstdc++/104259

libstdc++-v3/ChangeLog:

* acinclude.m4: Fix typo.
* configure: Regenerate.

(cherry picked from commit 14f339894db6ca7fe4772d5528c726694d2517c4)

libstdc++-v3/acinclude.m4
libstdc++-v3/configure

index 696756a6df6ad4742100198beb6890094923d5f0..e2a12607d5dee8611f7d3a63e3573e4df2b91ca6 100644 (file)
@@ -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 <dirent.h>.])
   fi
 dnl
index 316c19a2c95a8c4b01170eefb13fdbf0df647509..64f2552afe5d952ba4557592d588df1d8b30feab 100755 (executable)
@@ -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