about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPranav Kant <prka@google.com>2023-12-28 22:49:45 +0000
committerPranav Kant <prka@google.com>2023-12-28 22:49:47 +0000
commit0778e25fe1f34789794689f99e25b0c5ff001795 (patch)
tree61bda12e5355af4e4b21bca074eccca136ffbc0b
parent5ac69deee6f89df25fffc3db356e4acedc8ec09f (diff)
downloadglibc-0778e25fe1f34789794689f99e25b0c5ff001795.tar.gz
glibc-0778e25fe1f34789794689f99e25b0c5ff001795.tar.xz
glibc-0778e25fe1f34789794689f99e25b0c5ff001795.zip
Sync configure.ac with configure script
Fallback from bade6276d16523f81a1dedf22e591730592f15d6
-rw-r--r--configure.ac6
1 files changed, 0 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index b1a1530dba..69bbbded5a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1091,14 +1091,8 @@ if test -n "$CXX"; then
   if test "$with_clang" != no; then
   find_cxx_header () {
     echo "#include <$1>" | $CXX -M -MP -x c++ - 2>/dev/null \
-	 | sed -n "\,^[o.-]*[ :] /.*/$1 [\]$,{s,^[o.-]*[ :] /,/,;s/ [\]$//;p}"
-  }
-  else
-  find_cxx_header () {
-    echo "#include <$1>" | $CXX -M -MP -x c++ - 2>/dev/null \
 	 | sed -n "\,$1:,{s/:\$//;p}"
   }
-  fi
   CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)"
   CXX_CMATH_HEADER="$(find_cxx_header cmath)"
   CXX_BITS_STD_ABS_H="$(find_cxx_header bits/std_abs.h)"