aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-01-27 14:47:23 +0100
committerMartin Liska <mliska@suse.cz>2022-01-27 15:34:06 +0100
commit14f339894db6ca7fe4772d5528c726694d2517c4 (patch)
tree4f258147ad59fb439d93fec151437b820f28eeb6
parent0c0f453c4af4880c522c8472c33eef42bee9eda1 (diff)
downloadgcc-14f339894db6ca7fe4772d5528c726694d2517c4.zip
gcc-14f339894db6ca7fe4772d5528c726694d2517c4.tar.gz
gcc-14f339894db6ca7fe4772d5528c726694d2517c4.tar.bz2
libstdc++: fix typo in acinclude.m4.
PR libstdc++/104259 libstdc++-v3/ChangeLog: * acinclude.m4: Fix typo. * configure: Regenerate.
-rw-r--r--libstdc++-v3/acinclude.m42
-rwxr-xr-xlibstdc++-v3/configure2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 7b6b807..a932520 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -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
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 5c6e51f..2b2f857 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -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