summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-19 05:14:32 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-19 05:14:32 +0000
commite82a1ee47e3fd969f3a73210bb070483ea1b28ed (patch)
tree6e27ddd3cf2c9e1f8b4b2956782100764dfef072
parent53647f74625e16123e3ce2eccba7189c43626780 (diff)
downloadgcc-e82a1ee47e3fd969f3a73210bb070483ea1b28ed.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15560 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config.in6
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.in2
4 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1cee6de9652..e0f05a3b357 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 8f7b1f25f49..318dadc8908 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 c3197303290..28abd33ea36 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 f0b6a49053e..ea23e07546f 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'