]> git.ipfire.org Git - thirdparty/glibc.git/blame - aclocal.m4
initial import
[thirdparty/glibc.git] / aclocal.m4
CommitLineData
28f540f4
RM
1dnl We define the macro GLIBC_PROVIDES to do an AC_PROVIDE for each macro
2dnl which appears in configure.in before the sysdep configure scripts are run.
3dnl Each sysdep configure.in does GLIBC_PROVIDES first, to avoid any
4dnl AC_REQUIREs or AC_BEFOREs duplicating their code.
5dnl
6define(AC_FD_MSG,4)dnl Autoconf lossage.
7AC_DEFUN([GLIBC_PROVIDES], [dnl
8AC_PROVIDE([AC_PROG_INSTALL])dnl
9AC_PROVIDE([AC_PROG_RANLIB])dnl
10AC_PROVIDE([AC_PROG_CC])dnl
11AC_PROVIDE([AC_PROG_CPP])dnl
12# This file is generated from configure.in by Autoconf. DO NOT EDIT!
13])dnl
14dnl
15dnl Check for a symbol
16dnl
17AC_DEFUN(AC_CHECK_SYMBOL, [dnl
18AC_MSG_CHECKING(for $1)
19AC_CACHE_VAL(ac_cv_check_symbol_$1, [dnl
20AC_TRY_LINK(,
21changequote(,)dnl
22extern char *$1[]; puts(*$1);,
23changequote([,])dnl
24 ac_cv_check_symbol_$1=yes, ac_cv_check_symbol_$1=no)])
25if test "$ac_cv_check_symbol_$1" = yes; then
26changequote(,)dnl
27 ac_tr_symbol=`echo $1 | tr '[a-z]' '[A-Z]'`
28changequote([,])dnl
29 AC_DEFINE_UNQUOTED(HAVE_${ac_tr_symbol})
30fi
31AC_MSG_RESULT($ac_cv_check_symbol_$1)])dnl
32dnl