Index: configure.in =================================================================== RCS file: /cvs/src/src/gdb/configure.in,v retrieving revision 1.91 diff -c -3 -p -r1.91 configure.in *** configure.in 20 Sep 2002 00:24:01 -0000 1.91 --- configure.in 21 Oct 2002 05:52:28 -0000 *************** AC_HEADER_STAT *** 134,141 **** AC_C_CONST AC_C_INLINE ! AC_CHECK_FUNCS(bcopy btowc bzero canonicalize_file_name isascii poll \ ! realpath sbrk setpgid setpgrp sigaction sigprocmask sigsetmask ) AC_FUNC_ALLOCA AC_FUNC_VFORK dnl AC_FUNC_SETPGRP does not work when cross compiling --- 134,161 ---- AC_C_CONST AC_C_INLINE ! AC_CHECK_FUNCS(bcopy btowc bzero canonicalize_file_name isascii \ ! realpath setpgid setpgrp sigaction sigprocmask sigsetmask ) ! ! # Certain systems implement broken or incomplete versions of some ! # functions, which cause AC_CHECK_FUNCS to define the associated HAVE_* ! # macro. But we actually do not want to this macro to be defined on ! # these systems where we know it is broken. So we simply skip the test ! # for these functions and pretend that it does not exist. ! case "${host}" in ! *-*-interix*) ! # On Interix, there is only a minimal sbrk(). This function does not ! # provide the functionality that is needed in the case of GDB (there ! # is no relationship at all with environ). ! ! # The poll() function is only partially implemented so far... ! ;; ! *) ! AC_CHECK_FUNCS(sbrk) ! AC_CHECK_FUNCS(poll) ! ;; ! esac ! AC_FUNC_ALLOCA AC_FUNC_VFORK dnl AC_FUNC_SETPGRP does not work when cross compiling