configure.in (strtoul, bsearch): Have autoconf check for these functions.
authorJeffrey A Law <law@cygnus.com>
Fri, 19 Sep 1997 05:14:32 +0000 (05:14 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Sep 1997 05:14:32 +0000 (23:14 -0600)
        * 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

gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.in

index 1cee6de9652918c18471e0df845f9960e3ca0542..e0f05a3b357feaa20f68b7e8c3ded817b0a5f48e 100644 (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.
index 8f7b1f25f498fe07445db25b96731347005b18fd..318dadc8908eee0bc512a48320bcbea3e3be22f6 100644 (file)
 /* 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
 
index c3197303290e828dbbe40bac7015ce13d4d63fe9..28abd33ea366dd9630255b16fa1dd189467446b1 100755 (executable)
@@ -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
index f0b6a49053e0765570f41cd307fbeee8e5fdd78a..ea23e07546ff54c54cfb78cfa94fcc333f66b4dc 100644 (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'