diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-09-19 05:14:32 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-18 23:14:32 -0600 |
commit | 1e467e19b0508047b44226def6d157f8864c0dfc (patch) | |
tree | 6e27ddd3cf2c9e1f8b4b2956782100764dfef072 | |
parent | 335d0ab20834ed257a4d7e15ceb9b966fdafa8d3 (diff) | |
download | gcc-1e467e19b0508047b44226def6d157f8864c0dfc.zip gcc-1e467e19b0508047b44226def6d157f8864c0dfc.tar.gz gcc-1e467e19b0508047b44226def6d157f8864c0dfc.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config.in | 6 | ||||
-rwxr-xr-x | gcc/configure | 2 | ||||
-rw-r--r-- | gcc/configure.in | 2 |
4 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1cee6de..e0f05a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config.in b/gcc/config.in index 8f7b1f2..318dadc 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -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 diff --git a/gcc/configure b/gcc/configure index c319730..28abd33 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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 diff --git a/gcc/configure.in b/gcc/configure.in index f0b6a49..ea23e07 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -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' |