1 dnl We define the macro GLIBC_PROVIDES to do an AC_PROVIDE for each macro
2 dnl which appears in configure.in before the sysdep configure scripts are run.
3 dnl Each sysdep configure.in does GLIBC_PROVIDES first, to avoid any
4 dnl AC_REQUIREs or AC_BEFOREs duplicating their code.
6 define(AC_FD_MSG,4)dnl Autoconf lossage.
7 AC_DEFUN([GLIBC_PROVIDES], [dnl
8 AC_PROVIDE([AC_PROG_INSTALL])dnl
9 AC_PROVIDE([AC_PROG_RANLIB])dnl
10 AC_PROVIDE([AC_PROG_CC])dnl
11 AC_PROVIDE([AC_PROG_CPP])dnl
12 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
15 dnl Check for a symbol
17 AC_DEFUN(AC_CHECK_SYMBOL, [dnl
18 AC_MSG_CHECKING(for $1)
19 AC_CACHE_VAL(ac_cv_check_symbol_$1, [dnl
22 extern char *$1[]; puts(*$1);,
24 ac_cv_check_symbol_$1=yes, ac_cv_check_symbol_$1=no)])
25 if test "$ac_cv_check_symbol_$1" = yes; then
27 ac_tr_symbol=`echo $1 | tr '[a-z]' '[A-Z]'`
29 AC_DEFINE_UNQUOTED(HAVE_${ac_tr_symbol})
31 AC_MSG_RESULT($ac_cv_check_symbol_$1)])dnl