mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 03:40:06 +00:00
configure: Suppress expected compiler error message
This commit is contained in:
parent
f8bf87face
commit
c2528fef3b
@ -1,3 +1,7 @@
|
|||||||
|
2017-06-13 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* configure.ac (find_cxx_header): Suppress compiler error message.
|
||||||
|
|
||||||
2017-06-13 Florian Weimer <fweimer@redhat.com>
|
2017-06-13 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* malloc/dynarray-skeleton.c: List begin/end as defined functions.
|
* malloc/dynarray-skeleton.c: List begin/end as defined functions.
|
||||||
|
3
configure
vendored
3
configure
vendored
@ -5337,7 +5337,8 @@ fi
|
|||||||
# copy of those headers in Makerules.
|
# copy of those headers in Makerules.
|
||||||
if test -n "$CXX"; then
|
if test -n "$CXX"; then
|
||||||
find_cxx_header () {
|
find_cxx_header () {
|
||||||
echo "#include <$1>" | $CXX -M -MP -x c++ - | sed -n "\,$1:,{s/:\$//;p}"
|
echo "#include <$1>" | $CXX -M -MP -x c++ - 2>/dev/null \
|
||||||
|
| sed -n "\,$1:,{s/:\$//;p}"
|
||||||
}
|
}
|
||||||
CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)"
|
CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)"
|
||||||
CXX_CMATH_HEADER="$(find_cxx_header cmath)"
|
CXX_CMATH_HEADER="$(find_cxx_header cmath)"
|
||||||
|
@ -1187,7 +1187,8 @@ AC_SUBST(CXX_SYSINCLUDES)
|
|||||||
# copy of those headers in Makerules.
|
# copy of those headers in Makerules.
|
||||||
if test -n "$CXX"; then
|
if test -n "$CXX"; then
|
||||||
find_cxx_header () {
|
find_cxx_header () {
|
||||||
echo "#include <$1>" | $CXX -M -MP -x c++ - | sed -n "\,$1:,{s/:\$//;p}"
|
echo "#include <$1>" | $CXX -M -MP -x c++ - 2>/dev/null \
|
||||||
|
| sed -n "\,$1:,{s/:\$//;p}"
|
||||||
}
|
}
|
||||||
CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)"
|
CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)"
|
||||||
CXX_CMATH_HEADER="$(find_cxx_header cmath)"
|
CXX_CMATH_HEADER="$(find_cxx_header cmath)"
|
||||||
|
Loading…
Reference in New Issue
Block a user