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,6)dnl Autoconf lossage.
7 define(AC_FD_CC,5)dnl Autoconf lossage.
8 AC_DEFUN([GLIBC_PROVIDES], [dnl
9 AC_PROVIDE([AC_PROG_INSTALL])dnl
10 AC_PROVIDE([AC_PROG_RANLIB])dnl
11 AC_PROVIDE([AC_PROG_CC])dnl
12 AC_PROVIDE([AC_PROG_CPP])dnl
13 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
16 dnl Check for a symbol
18 AC_DEFUN(AC_CHECK_SYMBOL, [dnl
19 AC_MSG_CHECKING(for $1)
20 AC_CACHE_VAL(ac_cv_check_symbol_$1, [dnl
23 extern char *$1[]; puts(*$1);,
25 ac_cv_check_symbol_$1=yes, ac_cv_check_symbol_$1=no)])
26 if test "$ac_cv_check_symbol_$1" = yes; then
28 ac_tr_symbol=`echo $1 | tr '[a-z]' '[A-Z]'`
30 AC_DEFINE_UNQUOTED(HAVE_${ac_tr_symbol})
32 AC_MSG_RESULT($ac_cv_check_symbol_$1)])dnl