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 1cee6de..e0f05a3 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 8f7b1f2..318dadc 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 c319730..28abd33 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 f0b6a49..ea23e07 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'