OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [config/] [glibc21.m4] - Diff between revs 834 and 842

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 834 Rev 842
# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License.  As a special exception to the GNU General
dnl General Public License.  As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl the same distribution terms as the rest of that program.
 
 
# Test for the GNU C Library, version 2.1 or newer.
# Test for the GNU C Library, version 2.1 or newer.
# From Bruno Haible.
# From Bruno Haible.
 
 
AC_DEFUN([jm_GLIBC21],
AC_DEFUN([jm_GLIBC21],
  [
  [
    AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
    AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
      ac_cv_gnu_library_2_1,
      ac_cv_gnu_library_2_1,
      [AC_EGREP_CPP([Lucky GNU user],
      [AC_EGREP_CPP([Lucky GNU user],
        [
        [
#include <features.h>
#include <features.h>
#ifdef __GNU_LIBRARY__
#ifdef __GNU_LIBRARY__
 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
  Lucky GNU user
  Lucky GNU user
 #endif
 #endif
#endif
#endif
        ],
        ],
        ac_cv_gnu_library_2_1=yes,
        ac_cv_gnu_library_2_1=yes,
        ac_cv_gnu_library_2_1=no)
        ac_cv_gnu_library_2_1=no)
      ]
      ]
    )
    )
    AC_SUBST(GLIBC21)
    AC_SUBST(GLIBC21)
    GLIBC21="$ac_cv_gnu_library_2_1"
    GLIBC21="$ac_cv_gnu_library_2_1"
  ]
  ]
)
)
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.