diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-19 12:07:03 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-19 12:07:03 +0000 |
commit | 361468f226cb99fdebd8fabb3d9428a3632dc2d1 (patch) | |
tree | a2286ad73499b75b7bd612831fded958147162fa /configure.ac | |
parent | 210dd78238dc99d1ba27318bf81393237620b72b (diff) | |
download | glibc-361468f226cb99fdebd8fabb3d9428a3632dc2d1.tar.gz glibc-361468f226cb99fdebd8fabb3d9428a3632dc2d1.tar.xz glibc-361468f226cb99fdebd8fabb3d9428a3632dc2d1.zip |
Remove -fgnu89-inline configure test.
There is a configure test for -fgnu89-inline. This option was added in GCC 4.2, so the test is obsolete; this patch removes it. Tested for x86_64 (testsuite, and that installed shared libraries are unchanged by the patch). * configure.ac (libc_cv_gnu89_inline): Remove configure test. * configure: Regenerated. * config.make.in (gnu89-inline-CFLAGS): Remove variable. * Makeconfig (CFLAGS): Use -fgnu89-inline instead of $(gnu89-inline-CFLAGS).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/configure.ac b/configure.ac index 14f5c170d9..63f5f92260 100644 --- a/configure.ac +++ b/configure.ac @@ -1505,30 +1505,6 @@ LIBC_TRY_CC_OPTION([$CFLAGS $CPPFLAGS -Werror -fstack-protector], ]) AC_SUBST(libc_cv_ssp) -AC_CACHE_CHECK(for -fgnu89-inline, libc_cv_gnu89_inline, [dnl -cat > conftest.c <<EOF -int foo; -#ifdef __GNUC_GNU_INLINE__ -main () { return 0;} -#else -#error -#endif -EOF -if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline - -o conftest.s conftest.c 1>&AS_MESSAGE_LOG_FD]) -then - libc_cv_gnu89_inline=yes -else - libc_cv_gnu89_inline=no -fi -rm -f conftest*]) -if test $libc_cv_gnu89_inline = yes; then - gnu89_inline=-fgnu89-inline -else - gnu89_inline= -fi -AC_SUBST(gnu89_inline) - AC_CACHE_CHECK(whether cc puts quotes around section names, libc_cv_have_section_quotes, [cat > conftest.c <<EOF |