This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Cleanup configure.in (6/n)
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 2 Jan 2003 12:46:31 +0100 (CET)
- Subject: [PATCH] Cleanup configure.in (6/n)
This cleans up the "Checks for library functions" section.
Removed some unecessary cruft here too.
Committed.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.in: Reorganize "Checks for library functions section"
a bit. Remove check for `btowc' and `isascii' functions.
* configure: Regenerated.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.101
diff -u -p -r1.101 configure.in
--- configure.in 2 Jan 2003 11:14:33 -0000 1.101
+++ configure.in 2 Jan 2003 11:43:19 -0000
@@ -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
fi
-AC_CHECK_FUNCS(socketpair)
-
-
BFD_NEED_DECLARATION(malloc)
BFD_NEED_DECLARATION(realloc)
BFD_NEED_DECLARATION(free)
@@ -571,8 +574,6 @@ if test $gdb_cv_scanf_has_long_double =
AC_DEFINE(SCANF_HAS_LONG_DOUBLE)
fi
AC_MSG_RESULT($gdb_cv_scanf_has_long_double)
-
-AC_FUNC_MMAP
case ${host_os} in
aix*)