Message ID | 20200810122403.GA2932346@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Make C++17 ignore --disable-libstdcxx-filesystem-ts [PR 94681] | expand |
On 10/08/20 13:24 +0100, Jonathan Wakely wrote: >The configure switch should only affect the optional Filesystem TS, not >the std::filesystem features of C++17. > >libstdc++-v3/ChangeLog: > > PR libstdc++/94681 > * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Do not depend on > $enable_libstdcxx_filesystem_ts. > * configure: Regenerate. This fixes a build failure reported in the PR. Tested x86_64-linux. Committed to trunk.
--- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -4536,7 +4536,8 @@ AC_DEFUN([GLIBCXX_ENABLE_FILESYSTEM_TS], [ ]) dnl -dnl Check whether the library calls required by the Filesystem TS are present. +dnl Check whether the library calls required by the C++17 Filesystem library +dnl and the Filesystem TS are present. dnl Defines: dnl HAVE_STRUCT_DIRENT_D_TYPE dnl _GLIBCXX_USE_REALPATH @@ -4551,7 +4552,6 @@ dnl HAVE_SYMLINK dnl AC_DEFUN([GLIBCXX_CHECK_FILESYSTEM_DEPS], [dnl dnl - if test $enable_libstdcxx_filesystem_ts = yes; then AC_LANG_SAVE AC_LANG_CPLUSPLUS ac_save_CXXFLAGS="$CXXFLAGS" @@ -4770,7 +4770,6 @@ dnl dnl CXXFLAGS="$ac_save_CXXFLAGS" AC_LANG_RESTORE - fi ]) dnl