aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-01-02 11:45:34 +0000
committerMark Kettenis <kettenis@gnu.org>2003-01-02 11:45:34 +0000
commit97bf5e38c3229ad1965e2839055a7c6baf6a3506 (patch)
treefd95b32aee604f3f4c45955294d230370fe80145 /gdb/configure.in
parent4852a44ef54ec9afa91121613e4e308bfa324c8d (diff)
downloadgdb-97bf5e38c3229ad1965e2839055a7c6baf6a3506.zip
gdb-97bf5e38c3229ad1965e2839055a7c6baf6a3506.tar.gz
gdb-97bf5e38c3229ad1965e2839055a7c6baf6a3506.tar.bz2
* configure.in: Reorganize "Checks for library functions section"
a bit. Remove check for `btowc' and `isascii' functions. * configure: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in15
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index fb3d1ff..48f5b45 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -204,10 +204,16 @@ AC_C_INLINE
# Checks for library functions. #
# ------------------------------ #
-AC_CHECK_FUNCS(btowc canonicalize_file_name isascii poll \
- realpath sbrk setpgid setpgrp sigaction sigprocmask sigsetmask )
AC_FUNC_ALLOCA
+AC_FUNC_MMAP
AC_FUNC_VFORK
+AC_CHECK_FUNCS(canonicalize_file_name realpath)
+AC_CHECK_FUNCS(poll)
+AC_CHECK_FUNCS(sbrk)
+AC_CHECK_FUNCS(setpgid setpgrp)
+AC_CHECK_FUNCS(sigaction sigprocmask, sigsetmask)
+AC_CHECK_FUNCS(socketpair)
+
dnl AC_FUNC_SETPGRP does not work when cross compiling
dnl Instead, assume we will have a prototype for setpgrp if cross compiling.
if test "$cross_compiling" = no; then
@@ -304,9 +310,6 @@ if test $gdb_cv_have_pt_getxmmregs = yes; then
fi
-AC_CHECK_FUNCS(socketpair)
-
-
BFD_NEED_DECLARATION(malloc)
BFD_NEED_DECLARATION(realloc)
BFD_NEED_DECLARATION(free)
@@ -572,8 +575,6 @@ if test $gdb_cv_scanf_has_long_double = yes; then
fi
AC_MSG_RESULT($gdb_cv_scanf_has_long_double)
-AC_FUNC_MMAP
-
case ${host_os} in
aix*)
AC_CACHE_CHECK([for -bbigtoc option], [gdb_cv_bigtoc], [