configure.in (strtoul, bsearch): Have autoconf check for these functions.

* configure.in (strtoul, bsearch): Have autoconf check for these
        functions.
        * configure, config.in: Rebuilt.
So Fortran front end can use HAVE_STRTOUL and HAVE_BSEARCH.

From-SVN: r15560
This commit is contained in:
Jeffrey A Law 1997-09-19 05:14:32 +00:00 committed by Jeff Law
parent 335d0ab208
commit 1e467e19b0
4 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,9 @@
Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
* configure.in (strtoul, bsearch): Have autoconf check for these
functions.
* configure, config.in: Rebuilt.
* m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
* mips/mips.h (alloca): Likewise.
* rs6000/xm-rs6000.h (alloca): Likewise.

View File

@ -19,9 +19,15 @@
/* Define if `sys_siglist' is declared by <signal.h>. */
#undef SYS_SIGLIST_DECLARED
/* Define if you have the bsearch function. */
#undef HAVE_BSEARCH
/* Define if you have the strerror function. */
#undef HAVE_STRERROR
/* Define if you have the strtoul function. */
#undef HAVE_STRTOUL
/* Define if you have the <stddef.h> header file. */
#undef HAVE_STDDEF_H

2
gcc/configure vendored
View File

@ -1603,7 +1603,7 @@ EOF
fi
for ac_func in strerror
for ac_func in strerror strtoul bsearch
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1610: checking for $ac_func" >&5

View File

@ -142,7 +142,7 @@ GCC_NEED_DECLARATION(free)
AC_DECL_SYS_SIGLIST
AC_CHECK_FUNCS(strerror)
AC_CHECK_FUNCS(strerror strtoul bsearch)
# File extensions
manext='.1'