libstdc++: fix typo in acinclude.m4.
authorMartin Liska <mliska@suse.cz>
Thu, 27 Jan 2022 13:47:23 +0000 (14:47 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 27 Jan 2022 14:34:06 +0000 (15:34 +0100)
PR libstdc++/104259

libstdc++-v3/ChangeLog:

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

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

index 7b6b807..a932520 100644 (file)
@@ -4744,7 +4744,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 5c6e51f..2b2f857 100755 (executable)
@@ -77080,7 +77080,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