diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-03-17 21:53:01 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-03-17 21:53:01 +0000 |
commit | 6ce38a95a4c8318df75cf91fbd90101601b3fa7f (patch) | |
tree | 044df11ca5f10f967644dffe5b0f621d6ac36188 /configure.in | |
parent | b428b742cf54d423e5a7a68fcbec9473303eeafa (diff) | |
download | glibc-6ce38a95a4c8318df75cf91fbd90101601b3fa7f.tar glibc-6ce38a95a4c8318df75cf91fbd90101601b3fa7f.tar.gz glibc-6ce38a95a4c8318df75cf91fbd90101601b3fa7f.tar.bz2 glibc-6ce38a95a4c8318df75cf91fbd90101601b3fa7f.zip |
Updated to fedora-glibc-20070317T2130cvs/fedora-glibc-2_5_90-19
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 71ceb04b33..baf37598b2 100644 --- a/configure.in +++ b/configure.in @@ -1641,6 +1641,30 @@ fi rm -f conftest*]) 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 $LDFLAGS -std=gnu99 -fgnu89-inline + -o conftest 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 + libc_cv_gnu89_inline=-fgnu89-inline +else + libc_cv_gnu89_inline= +fi +AC_SUBST(libc_cv_gnu89_inline) + if test $elf != yes; then AC_CACHE_CHECK(for .init and .fini sections, libc_cv_have_initfini, [AC_TRY_COMPILE(, [asm (".section .init"); |