This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] configure.in: revert osf5.1 no-noncurses special case


As requested by Mark K, this patch reverts the special handling of
osf5.1 ncurses that I added last week.  I'm not happy about reverting
this, although it's not any worse than gdb 6.1 was.

Tested on native i686-pc-linux-gnu (still works) and native
alphaev68-dec-osf5.1 (breaks this platform).

There's a problem with any platform where a local sysadmin has installed
ncurses.  The autoconf test looks for the existence of a library, but it
does not do anything to add a matching "-I ...." option to $CFLAGS to
find the matching header files.  There's an additional problem on
osf5.1, where the ncurses on some systems requires an additional
libtinfo.a library.

I will wait 24 hours for comment, and then commit this.

Michael C

2004-05-01  Michael Chastain  <mec.gnu@mindspring.com>

	Unfix PR gdb/1626.
	* configure.in: Revert special case for osf5.*.
	* configure: Regenerate.

Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.151
diff -c -3 -p -r1.151 configure
*** configure	29 Apr 2004 14:29:13 -0000	1.151
--- configure	1 May 2004 19:49:37 -0000
*************** fi
*** 4175,4258 ****
  # documentation one needs to compile `-D_XOPEN_SOURCE_EXTENDED' on
  # HP-UX 10.10 and 10.20.
  
! case $host_os in
!   osf5.*)
!     # ncurses does not work on native alphaev68-dec-osf5.1
!     # -- chastain 2004-04-24
!     
! echo $ac_n "checking for library containing initscr""... $ac_c" 1>&6
! echo "configure:4185: checking for library containing initscr" >&5
! if eval "test \"`echo '$''{'ac_cv_search_initscr'+set}'`\" = set"; then
!   echo $ac_n "(cached) $ac_c" 1>&6
! else
!   ac_func_search_save_LIBS="$LIBS"
! ac_cv_search_initscr="no"
! cat > conftest.$ac_ext <<EOF
! #line 4192 "configure"
! #include "confdefs.h"
! /* Override any gcc2 internal prototype to avoid an error.  */
! /* We use char because int might match the return type of a gcc2
!     builtin and then its argument prototype would still apply.  */
! char initscr();
  
- int main() {
- initscr()
- ; return 0; }
- EOF
- if { (eval echo configure:4203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-   rm -rf conftest*
-   ac_cv_search_initscr="none required"
- else
-   echo "configure: failed program was:" >&5
-   cat conftest.$ac_ext >&5
- fi
- rm -f conftest*
- test "$ac_cv_search_initscr" = "no" && for i in curses; do
- LIBS="-l$i  $ac_func_search_save_LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 4214 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error.  */
- /* We use char because int might match the return type of a gcc2
-     builtin and then its argument prototype would still apply.  */
- char initscr();
  
- int main() {
- initscr()
- ; return 0; }
- EOF
- if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-   rm -rf conftest*
-   ac_cv_search_initscr="-l$i"
- break
- else
-   echo "configure: failed program was:" >&5
-   cat conftest.$ac_ext >&5
- fi
- rm -f conftest*
- done
- LIBS="$ac_func_search_save_LIBS"
- fi
- 
- echo "$ac_t""$ac_cv_search_initscr" 1>&6
- if test "$ac_cv_search_initscr" != "no"; then
-   test "$ac_cv_search_initscr" = "none required" || LIBS="$ac_cv_search_initscr $LIBS"
-   
- else :
-   echo "configure: warning: no curses library found" 1>&2
- fi
-     ;;
-   *)
-     
  echo $ac_n "checking for library containing initscr""... $ac_c" 1>&6
! echo "configure:4249: checking for library containing initscr" >&5
  if eval "test \"`echo '$''{'ac_cv_search_initscr'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_func_search_save_LIBS="$LIBS"
  ac_cv_search_initscr="no"
  cat > conftest.$ac_ext <<EOF
! #line 4256 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 4175,4196 ----
  # documentation one needs to compile `-D_XOPEN_SOURCE_EXTENDED' on
  # HP-UX 10.10 and 10.20.
  
! # FIXME: ncurses does not work on native alphaev68-dec-osf5.1,
! # and probably other platforms.  AC_SEARCH_LIBS finds the library
! # in a place such as /usr/local/lib/libncurses.a, but does not
! # do anything to look for the matching include files.
! # -- chastain 2004-05-01
  
  
  echo $ac_n "checking for library containing initscr""... $ac_c" 1>&6
! echo "configure:4187: checking for library containing initscr" >&5
  if eval "test \"`echo '$''{'ac_cv_search_initscr'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_func_search_save_LIBS="$LIBS"
  ac_cv_search_initscr="no"
  cat > conftest.$ac_ext <<EOF
! #line 4194 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4263,4269 ****
  initscr()
  ; return 0; }
  EOF
! if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_search_initscr="none required"
  else
--- 4201,4207 ----
  initscr()
  ; return 0; }
  EOF
! if { (eval echo configure:4205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_search_initscr="none required"
  else
*************** rm -f conftest*
*** 4274,4280 ****
  test "$ac_cv_search_initscr" = "no" && for i in ncurses Hcurses curses pdcurses; do
  LIBS="-l$i  $ac_func_search_save_LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4278 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 4212,4218 ----
  test "$ac_cv_search_initscr" = "no" && for i in ncurses Hcurses curses pdcurses; do
  LIBS="-l$i  $ac_func_search_save_LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4216 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4285,4291 ****
  initscr()
  ; return 0; }
  EOF
! if { (eval echo configure:4289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_search_initscr="-l$i"
  break
--- 4223,4229 ----
  initscr()
  ; return 0; }
  EOF
! if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_search_initscr="-l$i"
  break
*************** if test "$ac_cv_search_initscr" != "no";
*** 4305,4312 ****
  else :
    echo "configure: warning: no curses library found" 1>&2
  fi
-     ;;
- esac
  
  # Check whether the wborder function is provided by the curses
  # library detected above.  In certain implementations such as
--- 4243,4248 ----
*************** esac
*** 4316,4329 ****
  # provide it.
  
  echo $ac_n "checking for library containing wborder""... $ac_c" 1>&6
! echo "configure:4320: checking for library containing wborder" >&5
  if eval "test \"`echo '$''{'ac_cv_search_wborder'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_func_search_save_LIBS="$LIBS"
  ac_cv_search_wborder="no"
  cat > conftest.$ac_ext <<EOF
! #line 4327 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 4252,4265 ----
  # provide it.
  
  echo $ac_n "checking for library containing wborder""... $ac_c" 1>&6
! echo "configure:4256: checking for library containing wborder" >&5
  if eval "test \"`echo '$''{'ac_cv_search_wborder'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_func_search_save_LIBS="$LIBS"
  ac_cv_search_wborder="no"
  cat > conftest.$ac_ext <<EOF
! #line 4263 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4334,4340 ****
  wborder()
  ; return 0; }
  EOF
! if { (eval echo configure:4338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_search_wborder="none required"
  else
--- 4270,4276 ----
  wborder()
  ; return 0; }
  EOF
! if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_search_wborder="none required"
  else
*************** rm -f conftest*
*** 4345,4351 ****
  test "$ac_cv_search_wborder" = "no" && for i in cur_colr; do
  LIBS="-l$i  $ac_func_search_save_LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4349 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 4281,4287 ----
  test "$ac_cv_search_wborder" = "no" && for i in cur_colr; do
  LIBS="-l$i  $ac_func_search_save_LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4285 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4356,4362 ****
  wborder()
  ; return 0; }
  EOF
! if { (eval echo configure:4360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_search_wborder="-l$i"
  break
--- 4292,4298 ----
  wborder()
  ; return 0; }
  EOF
! if { (eval echo configure:4296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_search_wborder="-l$i"
  break
*************** for ac_hdr in dirent.h sys/ndir.h sys/di
*** 4386,4397 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
! echo "configure:4390: checking for $ac_hdr that defines DIR" >&5
  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4395 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <$ac_hdr>
--- 4322,4333 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
! echo "configure:4326: checking for $ac_hdr that defines DIR" >&5
  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4331 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <$ac_hdr>
*************** int main() {
*** 4399,4405 ****
  DIR *dirp = 0;
  ; return 0; }
  EOF
! if { (eval echo configure:4403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    eval "ac_cv_header_dirent_$ac_safe=yes"
  else
--- 4335,4341 ----
  DIR *dirp = 0;
  ; return 0; }
  EOF
! if { (eval echo configure:4339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    eval "ac_cv_header_dirent_$ac_safe=yes"
  else
*************** done
*** 4424,4430 ****
  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  if test $ac_header_dirent = dirent.h; then
  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
! echo "configure:4428: checking for opendir in -ldir" >&5
  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 4360,4366 ----
  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  if test $ac_header_dirent = dirent.h; then
  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
! echo "configure:4364: checking for opendir in -ldir" >&5
  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
*************** else
*** 4432,4438 ****
    ac_save_LIBS="$LIBS"
  LIBS="-ldir  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4436 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 4368,4374 ----
    ac_save_LIBS="$LIBS"
  LIBS="-ldir  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4372 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4443,4449 ****
  opendir()
  ; return 0; }
  EOF
! if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 4379,4385 ----
  opendir()
  ; return 0; }
  EOF
! if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
*************** fi
*** 4465,4471 ****
  
  else
  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
! echo "configure:4469: checking for opendir in -lx" >&5
  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 4401,4407 ----
  
  else
  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
! echo "configure:4405: checking for opendir in -lx" >&5
  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
*************** else
*** 4473,4479 ****
    ac_save_LIBS="$LIBS"
  LIBS="-lx  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4477 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 4409,4415 ----
    ac_save_LIBS="$LIBS"
  LIBS="-lx  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4413 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4484,4490 ****
  opendir()
  ; return 0; }
  EOF
! if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 4420,4426 ----
  opendir()
  ; return 0; }
  EOF
! if { (eval echo configure:4424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
*************** fi
*** 4507,4518 ****
  fi
  
  echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
! echo "configure:4511: checking whether stat file-mode macros are broken" >&5
  if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4516 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/stat.h>
--- 4443,4454 ----
  fi
  
  echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
! echo "configure:4447: checking whether stat file-mode macros are broken" >&5
  if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4452 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/stat.h>
*************** EOF
*** 4563,4574 ****
  fi
  
  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:4567: checking for ANSI C header files" >&5
  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4572 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  #include <stdarg.h>
--- 4499,4510 ----
  fi
  
  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:4503: checking for ANSI C header files" >&5
  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4508 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  #include <stdarg.h>
*************** else
*** 4576,4582 ****
  #include <float.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4512,4518 ----
  #include <float.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** rm -f conftest*
*** 4593,4599 ****
  if test $ac_cv_header_stdc = yes; then
    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat > conftest.$ac_ext <<EOF
! #line 4597 "configure"
  #include "confdefs.h"
  #include <string.h>
  EOF
--- 4529,4535 ----
  if test $ac_cv_header_stdc = yes; then
    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat > conftest.$ac_ext <<EOF
! #line 4533 "configure"
  #include "confdefs.h"
  #include <string.h>
  EOF
*************** fi
*** 4611,4617 ****
  if test $ac_cv_header_stdc = yes; then
    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat > conftest.$ac_ext <<EOF
! #line 4615 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  EOF
--- 4547,4553 ----
  if test $ac_cv_header_stdc = yes; then
    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat > conftest.$ac_ext <<EOF
! #line 4551 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  EOF
*************** if test "$cross_compiling" = yes; then
*** 4632,4638 ****
    :
  else
    cat > conftest.$ac_ext <<EOF
! #line 4636 "configure"
  #include "confdefs.h"
  #include <ctype.h>
  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
--- 4568,4574 ----
    :
  else
    cat > conftest.$ac_ext <<EOF
! #line 4572 "configure"
  #include "confdefs.h"
  #include <ctype.h>
  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
*************** if (XOR (islower (i), ISLOWER (i)) || to
*** 4643,4649 ****
  exit (0); }
  
  EOF
! if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    :
  else
--- 4579,4585 ----
  exit (0); }
  
  EOF
! if { (eval echo configure:4583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    :
  else
*************** for ac_hdr in link.h
*** 4670,4686 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4674: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4679 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4606,4622 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4610: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4615 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in machine/reg.h
*** 4710,4726 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4714: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4719 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4646,4662 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4650: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4655 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in nlist.h
*** 4750,4766 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4754: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4759 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4686,4702 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4690: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4695 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in poll.h sys/poll.h
*** 4790,4806 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4794: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4799 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4726,4742 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4730: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4735 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in proc_service.h thread_db.h
*** 4830,4846 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4834: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4839 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4766,4782 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4770: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4775 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in stddef.h
*** 4870,4886 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4874: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4879 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4806,4822 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4810: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4815 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in stdlib.h
*** 4910,4926 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4914: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4919 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4846,4862 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4850: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4855 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in stdint.h
*** 4950,4966 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4954: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4959 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4886,4902 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4890: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4895 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in string.h memory.h strings.
*** 4990,5006 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4994: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4999 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4926,4942 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4930: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4935 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/fault.h
*** 5030,5046 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5034: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5039 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 4966,4982 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4970: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4975 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/file.h
*** 5070,5086 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5074: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5079 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5006,5022 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5010: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5015 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/filio.h
*** 5110,5126 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5114: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5119 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5046,5062 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5050: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5055 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/ioctl.h
*** 5150,5166 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5154: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5159 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5086,5102 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5090: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5095 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/param.h
*** 5190,5206 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5194: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5199 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5126,5142 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5130: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5135 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/proc.h
*** 5230,5246 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5234: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5239 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5166,5182 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5170: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5175 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/procfs.h
*** 5270,5286 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5274: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5279 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5206,5222 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5210: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5215 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/ptrace.h ptrace.h
*** 5310,5326 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5314: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5319 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5246,5262 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5250: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5255 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/reg.h sys/debugreg.h
*** 5350,5366 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5354: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5359 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5286,5302 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5290: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5295 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/select.h
*** 5390,5406 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5394: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5399 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5326,5342 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5330: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5335 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/syscall.h
*** 5430,5446 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5434: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5439 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5366,5382 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5370: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5375 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/user.h
*** 5470,5486 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5474: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5479 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5406,5422 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5410: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5415 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in sys/wait.h wait.h
*** 5510,5526 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5514: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5519 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5446,5462 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5450: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5455 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in termios.h termio.h sgtty.h
*** 5550,5566 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5554: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5559 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5486,5502 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5490: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5495 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in unistd.h
*** 5590,5606 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5594: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5599 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5526,5542 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5530: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5535 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in curses.h ncurses.h term.h
*** 5643,5659 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5647: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5652 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5579,5595 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5583: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5588 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** for ac_hdr in ctype.h time.h
*** 5686,5702 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5690: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5695 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 5622,5638 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5626: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5631 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** done
*** 5724,5735 ****
  
  
  echo $ac_n "checking for member st_blocks in struct stat""... $ac_c" 1>&6
! echo "configure:5728: checking for member st_blocks in struct stat" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_struct_stat_with_st_blocks_member'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5733 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/stat.h>
--- 5660,5671 ----
  
  
  echo $ac_n "checking for member st_blocks in struct stat""... $ac_c" 1>&6
! echo "configure:5664: checking for member st_blocks in struct stat" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_struct_stat_with_st_blocks_member'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5669 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/stat.h>
*************** int main() {
*** 5737,5743 ****
  struct stat st; (void) st.st_blocks;
  ; return 0; }
  EOF
! if { (eval echo configure:5741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_stat_with_st_blocks_member=yes
  else
--- 5673,5679 ----
  struct stat st; (void) st.st_blocks;
  ; return 0; }
  EOF
! if { (eval echo configure:5677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_stat_with_st_blocks_member=yes
  else
*************** for ac_func in getopt
*** 5764,5775 ****
  do
    ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
! echo "configure:5768: checking whether $ac_func is declared" >&5
  if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5773 "configure"
  #include "confdefs.h"
  #undef $ac_tr_decl
  #define $ac_tr_decl 1
--- 5700,5711 ----
  do
    ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
! echo "configure:5704: checking whether $ac_func is declared" >&5
  if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5709 "configure"
  #include "confdefs.h"
  #undef $ac_tr_decl
  #define $ac_tr_decl 1
*************** char *(*pfn) = (char *(*)) $ac_func ;
*** 5781,5787 ****
  #endif
  ; return 0; }
  EOF
! if { (eval echo configure:5785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    eval "gcc_cv_have_decl_$ac_func=yes"
  else
--- 5717,5723 ----
  #endif
  ; return 0; }
  EOF
! if { (eval echo configure:5721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    eval "gcc_cv_have_decl_$ac_func=yes"
  else
*************** fi
*** 5818,5829 ****
  # ------------------ #
  
  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
! echo "configure:5822: checking return type of signal handlers" >&5
  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5827 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <signal.h>
--- 5754,5765 ----
  # ------------------ #
  
  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
! echo "configure:5758: checking return type of signal handlers" >&5
  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5763 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <signal.h>
*************** int main() {
*** 5840,5846 ****
  int i;
  ; return 0; }
  EOF
! if { (eval echo configure:5844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_type_signal=void
  else
--- 5776,5782 ----
  int i;
  ; return 0; }
  EOF
! if { (eval echo configure:5780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_type_signal=void
  else
*************** EOF
*** 5864,5875 ****
  # ------------------------------------- #
  
  echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:5868: checking for working const" >&5
  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5873 "configure"
  #include "confdefs.h"
  
  int main() {
--- 5800,5811 ----
  # ------------------------------------- #
  
  echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:5804: checking for working const" >&5
  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5809 "configure"
  #include "confdefs.h"
  
  int main() {
*************** ccp = (char const *const *) p;
*** 5918,5924 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:5922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_const=yes
  else
--- 5854,5860 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:5858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_const=yes
  else
*************** EOF
*** 5939,5959 ****
  fi
  
  echo $ac_n "checking for inline""... $ac_c" 1>&6
! echo "configure:5943: checking for inline" >&5
  if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_cv_c_inline=no
  for ac_kw in inline __inline__ __inline; do
    cat > conftest.$ac_ext <<EOF
! #line 5950 "configure"
  #include "confdefs.h"
  
  int main() {
  } $ac_kw foo() {
  ; return 0; }
  EOF
! if { (eval echo configure:5957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_inline=$ac_kw; break
  else
--- 5875,5895 ----
  fi
  
  echo $ac_n "checking for inline""... $ac_c" 1>&6
! echo "configure:5879: checking for inline" >&5
  if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_cv_c_inline=no
  for ac_kw in inline __inline__ __inline; do
    cat > conftest.$ac_ext <<EOF
! #line 5886 "configure"
  #include "confdefs.h"
  
  int main() {
  } $ac_kw foo() {
  ; return 0; }
  EOF
! if { (eval echo configure:5893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_inline=$ac_kw; break
  else
*************** esac
*** 5986,6004 ****
  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  # for constant arguments.  Useless!
  echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
! echo "configure:5990: checking for working alloca.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5995 "configure"
  #include "confdefs.h"
  #include <alloca.h>
  int main() {
  char *p = alloca(2 * sizeof(int));
  ; return 0; }
  EOF
! if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_header_alloca_h=yes
  else
--- 5922,5940 ----
  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  # for constant arguments.  Useless!
  echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
! echo "configure:5926: checking for working alloca.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5931 "configure"
  #include "confdefs.h"
  #include <alloca.h>
  int main() {
  char *p = alloca(2 * sizeof(int));
  ; return 0; }
  EOF
! if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_header_alloca_h=yes
  else
*************** EOF
*** 6019,6030 ****
  fi
  
  echo $ac_n "checking for alloca""... $ac_c" 1>&6
! echo "configure:6023: checking for alloca" >&5
  if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6028 "configure"
  #include "confdefs.h"
  
  #ifdef __GNUC__
--- 5955,5966 ----
  fi
  
  echo $ac_n "checking for alloca""... $ac_c" 1>&6
! echo "configure:5959: checking for alloca" >&5
  if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5964 "configure"
  #include "confdefs.h"
  
  #ifdef __GNUC__
*************** int main() {
*** 6052,6058 ****
  char *p = (char *) alloca(1);
  ; return 0; }
  EOF
! if { (eval echo configure:6056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_func_alloca_works=yes
  else
--- 5988,5994 ----
  char *p = (char *) alloca(1);
  ; return 0; }
  EOF
! if { (eval echo configure:5992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_func_alloca_works=yes
  else
*************** EOF
*** 6084,6095 ****
  
  
  echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
! echo "configure:6088: checking whether alloca needs Cray hooks" >&5
  if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6093 "configure"
  #include "confdefs.h"
  #if defined(CRAY) && ! defined(CRAY2)
  webecray
--- 6020,6031 ----
  
  
  echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
! echo "configure:6024: checking whether alloca needs Cray hooks" >&5
  if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6029 "configure"
  #include "confdefs.h"
  #if defined(CRAY) && ! defined(CRAY2)
  webecray
*************** echo "$ac_t""$ac_cv_os_cray" 1>&6
*** 6114,6125 ****
  if test $ac_cv_os_cray = yes; then
  for ac_func in _getb67 GETB67 getb67; do
    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6118: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6123 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6050,6061 ----
  if test $ac_cv_os_cray = yes; then
  for ac_func in _getb67 GETB67 getb67; do
    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6054: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6059 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 6142,6148 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:6146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 6078,6084 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 6169,6175 ****
  fi
  
  echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
! echo "configure:6173: checking stack direction for C alloca" >&5
  if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 6105,6111 ----
  fi
  
  echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
! echo "configure:6109: checking stack direction for C alloca" >&5
  if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 6177,6183 ****
    ac_cv_c_stack_direction=0
  else
    cat > conftest.$ac_ext <<EOF
! #line 6181 "configure"
  #include "confdefs.h"
  find_stack_direction ()
  {
--- 6113,6119 ----
    ac_cv_c_stack_direction=0
  else
    cat > conftest.$ac_ext <<EOF
! #line 6117 "configure"
  #include "confdefs.h"
  find_stack_direction ()
  {
*************** main ()
*** 6196,6202 ****
    exit (find_stack_direction() < 0);
  }
  EOF
! if { (eval echo configure:6200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_c_stack_direction=1
  else
--- 6132,6138 ----
    exit (find_stack_direction() < 0);
  }
  EOF
! if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_c_stack_direction=1
  else
*************** for ac_hdr in unistd.h
*** 6221,6237 ****
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:6225: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6230 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 6157,6173 ----
  do
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:6161: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6166 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** done
*** 6260,6271 ****
  for ac_func in getpagesize
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6264: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6269 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6196,6207 ----
  for ac_func in getpagesize
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6200: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6205 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 6288,6294 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 6224,6230 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** fi
*** 6313,6319 ****
  done
  
  echo $ac_n "checking for working mmap""... $ac_c" 1>&6
! echo "configure:6317: checking for working mmap" >&5
  if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 6249,6255 ----
  done
  
  echo $ac_n "checking for working mmap""... $ac_c" 1>&6
! echo "configure:6253: checking for working mmap" >&5
  if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 6321,6327 ****
    ac_cv_func_mmap_fixed_mapped=no
  else
    cat > conftest.$ac_ext <<EOF
! #line 6325 "configure"
  #include "confdefs.h"
  
  /* Thanks to Mike Haertel and Jim Avera for this test.
--- 6257,6263 ----
    ac_cv_func_mmap_fixed_mapped=no
  else
    cat > conftest.$ac_ext <<EOF
! #line 6261 "configure"
  #include "confdefs.h"
  
  /* Thanks to Mike Haertel and Jim Avera for this test.
*************** main()
*** 6461,6467 ****
  }
  
  EOF
! if { (eval echo configure:6465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_func_mmap_fixed_mapped=yes
  else
--- 6397,6403 ----
  }
  
  EOF
! if { (eval echo configure:6401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_func_mmap_fixed_mapped=yes
  else
*************** EOF
*** 6484,6495 ****
  fi
  
  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
! echo "configure:6488: checking for pid_t" >&5
  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6493 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #if STDC_HEADERS
--- 6420,6431 ----
  fi
  
  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
! echo "configure:6424: checking for pid_t" >&5
  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6429 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #if STDC_HEADERS
*************** fi
*** 6518,6534 ****
  
  ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
! echo "configure:6522: checking for vfork.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6527 "configure"
  #include "confdefs.h"
  #include <vfork.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 6454,6470 ----
  
  ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
! echo "configure:6458: checking for vfork.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6463 "configure"
  #include "confdefs.h"
  #include <vfork.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** else
*** 6553,6570 ****
  fi
  
  echo $ac_n "checking for working vfork""... $ac_c" 1>&6
! echo "configure:6557: checking for working vfork" >&5
  if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    if test "$cross_compiling" = yes; then
    echo $ac_n "checking for vfork""... $ac_c" 1>&6
! echo "configure:6563: checking for vfork" >&5
  if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6568 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char vfork(); below.  */
--- 6489,6506 ----
  fi
  
  echo $ac_n "checking for working vfork""... $ac_c" 1>&6
! echo "configure:6493: checking for working vfork" >&5
  if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    if test "$cross_compiling" = yes; then
    echo $ac_n "checking for vfork""... $ac_c" 1>&6
! echo "configure:6499: checking for vfork" >&5
  if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6504 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char vfork(); below.  */
*************** vfork();
*** 6587,6593 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:6591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_vfork=yes"
  else
--- 6523,6529 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_vfork=yes"
  else
*************** fi
*** 6609,6615 ****
  ac_cv_func_vfork_works=$ac_cv_func_vfork
  else
    cat > conftest.$ac_ext <<EOF
! #line 6613 "configure"
  #include "confdefs.h"
  /* Thanks to Paul Eggert for this test.  */
  #include <stdio.h>
--- 6545,6551 ----
  ac_cv_func_vfork_works=$ac_cv_func_vfork
  else
    cat > conftest.$ac_ext <<EOF
! #line 6549 "configure"
  #include "confdefs.h"
  /* Thanks to Paul Eggert for this test.  */
  #include <stdio.h>
*************** main() {
*** 6704,6710 ****
    }
  }
  EOF
! if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_func_vfork_works=yes
  else
--- 6640,6646 ----
    }
  }
  EOF
! if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_func_vfork_works=yes
  else
*************** fi
*** 6729,6740 ****
  for ac_func in canonicalize_file_name realpath
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6733: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6738 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6665,6676 ----
  for ac_func in canonicalize_file_name realpath
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6669: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6674 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 6757,6763 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:6761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 6693,6699 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 6784,6795 ****
  for ac_func in poll
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6788: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6793 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6720,6731 ----
  for ac_func in poll
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6724: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6729 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 6812,6818 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 6748,6754 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 6839,6850 ****
  for ac_func in pread64
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6843: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6848 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6775,6786 ----
  for ac_func in pread64
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6779: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6784 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 6867,6873 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:6871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 6803,6809 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 6894,6905 ****
  for ac_func in sbrk
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6898: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6903 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6830,6841 ----
  for ac_func in sbrk
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6834: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6839 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 6922,6928 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 6858,6864 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 6949,6960 ****
  for ac_func in setpgid setpgrp
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6953: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6958 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6885,6896 ----
  for ac_func in setpgid setpgrp
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6889: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6894 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 6977,6983 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 6913,6919 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 7004,7015 ****
  for ac_func in sigaction sigprocmask sigsetmask
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:7008: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7013 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6940,6951 ----
  for ac_func in sigaction sigprocmask sigsetmask
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6944: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6949 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 7032,7038 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 6968,6974 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:6972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 7059,7070 ****
  for ac_func in socketpair
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:7063: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7068 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 6995,7006 ----
  for ac_func in socketpair
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6999: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7004 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 7087,7093 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:7091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 7023,7029 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 7114,7125 ****
  for ac_func in syscall
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:7118: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7123 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
--- 7050,7061 ----
  for ac_func in syscall
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:7054: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7059 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func(); below.  */
*************** $ac_func();
*** 7142,7148 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:7146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 7078,7084 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:7082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
*************** done
*** 7169,7175 ****
  
  if test "$cross_compiling" = no; then
    echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
! echo "configure:7173: checking whether setpgrp takes no argument" >&5
  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 7105,7111 ----
  
  if test "$cross_compiling" = no; then
    echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
! echo "configure:7109: checking whether setpgrp takes no argument" >&5
  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 7177,7183 ****
    { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }
  else
    cat > conftest.$ac_ext <<EOF
! #line 7181 "configure"
  #include "confdefs.h"
  
  #ifdef HAVE_UNISTD_H
--- 7113,7119 ----
    { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }
  else
    cat > conftest.$ac_ext <<EOF
! #line 7117 "configure"
  #include "confdefs.h"
  
  #ifdef HAVE_UNISTD_H
*************** main()
*** 7197,7203 ****
  }
  
  EOF
! if { (eval echo configure:7201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_func_setpgrp_void=no
  else
--- 7133,7139 ----
  }
  
  EOF
! if { (eval echo configure:7137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_func_setpgrp_void=no
  else
*************** fi
*** 7222,7233 ****
  
  else
    echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
! echo "configure:7226: checking whether setpgrp takes no argument" >&5
  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7231 "configure"
  #include "confdefs.h"
  
  #include <unistd.h>
--- 7158,7169 ----
  
  else
    echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
! echo "configure:7162: checking whether setpgrp takes no argument" >&5
  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7167 "configure"
  #include "confdefs.h"
  
  #include <unistd.h>
*************** int main() {
*** 7241,7247 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:7245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_func_setpgrp_void=no
  else
--- 7177,7183 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:7181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_func_setpgrp_void=no
  else
*************** fi
*** 7265,7276 ****
  # Check if sigsetjmp is available.  Using AC_CHECK_FUNCS won't do
  # since sigsetjmp might only be defined as a macro.
  echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
! echo "configure:7269: checking for sigsetjmp" >&5
  if eval "test \"`echo '$''{'gdb_cv_func_sigsetjmp'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7274 "configure"
  #include "confdefs.h"
  
  #include <setjmp.h>
--- 7201,7212 ----
  # Check if sigsetjmp is available.  Using AC_CHECK_FUNCS won't do
  # since sigsetjmp might only be defined as a macro.
  echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
! echo "configure:7205: checking for sigsetjmp" >&5
  if eval "test \"`echo '$''{'gdb_cv_func_sigsetjmp'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7210 "configure"
  #include "confdefs.h"
  
  #include <setjmp.h>
*************** int main() {
*** 7279,7285 ****
  sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
  ; return 0; }
  EOF
! if { (eval echo configure:7283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_func_sigsetjmp=yes
  else
--- 7215,7221 ----
  sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
  ; return 0; }
  EOF
! if { (eval echo configure:7219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_func_sigsetjmp=yes
  else
*************** gdb_use_included_regex=yes
*** 7305,7316 ****
  # However, if the system regex is GNU regex, then default to *not*
  # using the included regex.
  echo $ac_n "checking for GNU regex""... $ac_c" 1>&6
! echo "configure:7309: checking for GNU regex" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_gnu_regex'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7314 "configure"
  #include "confdefs.h"
  #include <gnu-versions.h>
  int main() {
--- 7241,7252 ----
  # However, if the system regex is GNU regex, then default to *not*
  # using the included regex.
  echo $ac_n "checking for GNU regex""... $ac_c" 1>&6
! echo "configure:7245: checking for GNU regex" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_gnu_regex'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7250 "configure"
  #include "confdefs.h"
  #include <gnu-versions.h>
  int main() {
*************** int main() {
*** 7320,7326 ****
  #endif
  ; return 0; }
  EOF
! if { (eval echo configure:7324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_gnu_regex=yes
  else
--- 7256,7262 ----
  #endif
  ; return 0; }
  EOF
! if { (eval echo configure:7260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_gnu_regex=yes
  else
*************** fi
*** 7354,7365 ****
  
  # See if <machine/reg.h> degines `struct reg'.
  echo $ac_n "checking for struct reg in machine/reg.h""... $ac_c" 1>&6
! echo "configure:7358: checking for struct reg in machine/reg.h" >&5
  if eval "test \"`echo '$''{'gdb_cv_struct_reg'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7363 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <machine/reg.h>
--- 7290,7301 ----
  
  # See if <machine/reg.h> degines `struct reg'.
  echo $ac_n "checking for struct reg in machine/reg.h""... $ac_c" 1>&6
! echo "configure:7294: checking for struct reg in machine/reg.h" >&5
  if eval "test \"`echo '$''{'gdb_cv_struct_reg'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7299 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <machine/reg.h>
*************** int main() {
*** 7367,7373 ****
  struct reg r;
  ; return 0; }
  EOF
! if { (eval echo configure:7371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_struct_reg=yes
  else
--- 7303,7309 ----
  struct reg r;
  ; return 0; }
  EOF
! if { (eval echo configure:7307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_struct_reg=yes
  else
*************** fi
*** 7390,7408 ****
  # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
  # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
  echo $ac_n "checking for r_fs in struct reg""... $ac_c" 1>&6
! echo "configure:7394: checking for r_fs in struct reg" >&5
  if eval "test \"`echo '$''{'gdb_cv_struct_reg_r_fs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7399 "configure"
  #include "confdefs.h"
  #include <machine/reg.h>
  int main() {
  struct reg r; r.r_fs;
  ; return 0; }
  EOF
! if { (eval echo configure:7406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_struct_reg_r_fs=yes
  else
--- 7326,7344 ----
  # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
  # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
  echo $ac_n "checking for r_fs in struct reg""... $ac_c" 1>&6
! echo "configure:7330: checking for r_fs in struct reg" >&5
  if eval "test \"`echo '$''{'gdb_cv_struct_reg_r_fs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7335 "configure"
  #include "confdefs.h"
  #include <machine/reg.h>
  int main() {
  struct reg r; r.r_fs;
  ; return 0; }
  EOF
! if { (eval echo configure:7342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_struct_reg_r_fs=yes
  else
*************** EOF
*** 7422,7440 ****
  
  fi
  echo $ac_n "checking for r_gs in struct reg""... $ac_c" 1>&6
! echo "configure:7426: checking for r_gs in struct reg" >&5
  if eval "test \"`echo '$''{'gdb_cv_struct_reg_r_gs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7431 "configure"
  #include "confdefs.h"
  #include <machine/reg.h>
  int main() {
  struct reg r; r.r_gs;
  ; return 0; }
  EOF
! if { (eval echo configure:7438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_struct_reg_r_gs=yes
  else
--- 7358,7376 ----
  
  fi
  echo $ac_n "checking for r_gs in struct reg""... $ac_c" 1>&6
! echo "configure:7362: checking for r_gs in struct reg" >&5
  if eval "test \"`echo '$''{'gdb_cv_struct_reg_r_gs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7367 "configure"
  #include "confdefs.h"
  #include <machine/reg.h>
  int main() {
  struct reg r; r.r_gs;
  ; return 0; }
  EOF
! if { (eval echo configure:7374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_struct_reg_r_gs=yes
  else
*************** fi
*** 7456,7474 ****
  
  # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
  echo $ac_n "checking for PTRACE_GETREGS""... $ac_c" 1>&6
! echo "configure:7460: checking for PTRACE_GETREGS" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_ptrace_getregs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7465 "configure"
  #include "confdefs.h"
  #include <sys/ptrace.h>
  int main() {
  PTRACE_GETREGS;
  ; return 0; }
  EOF
! if { (eval echo configure:7472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_ptrace_getregs=yes
  else
--- 7392,7410 ----
  
  # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
  echo $ac_n "checking for PTRACE_GETREGS""... $ac_c" 1>&6
! echo "configure:7396: checking for PTRACE_GETREGS" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_ptrace_getregs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7401 "configure"
  #include "confdefs.h"
  #include <sys/ptrace.h>
  int main() {
  PTRACE_GETREGS;
  ; return 0; }
  EOF
! if { (eval echo configure:7408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_ptrace_getregs=yes
  else
*************** fi
*** 7490,7508 ****
  
  # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
  echo $ac_n "checking for PTRACE_GETFPXREGS""... $ac_c" 1>&6
! echo "configure:7494: checking for PTRACE_GETFPXREGS" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_ptrace_getfpxregs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7499 "configure"
  #include "confdefs.h"
  #include <sys/ptrace.h>
  int main() {
  PTRACE_GETFPXREGS;
  ; return 0; }
  EOF
! if { (eval echo configure:7506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_ptrace_getfpxregs=yes
  else
--- 7426,7444 ----
  
  # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
  echo $ac_n "checking for PTRACE_GETFPXREGS""... $ac_c" 1>&6
! echo "configure:7430: checking for PTRACE_GETFPXREGS" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_ptrace_getfpxregs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7435 "configure"
  #include "confdefs.h"
  #include <sys/ptrace.h>
  int main() {
  PTRACE_GETFPXREGS;
  ; return 0; }
  EOF
! if { (eval echo configure:7442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_ptrace_getfpxregs=yes
  else
*************** fi
*** 7524,7535 ****
  
  # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
  echo $ac_n "checking for PT_GETDBREGS""... $ac_c" 1>&6
! echo "configure:7528: checking for PT_GETDBREGS" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_pt_getdbregs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7533 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/ptrace.h>
--- 7460,7471 ----
  
  # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
  echo $ac_n "checking for PT_GETDBREGS""... $ac_c" 1>&6
! echo "configure:7464: checking for PT_GETDBREGS" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_pt_getdbregs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7469 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/ptrace.h>
*************** int main() {
*** 7537,7543 ****
  PT_GETDBREGS;
  ; return 0; }
  EOF
! if { (eval echo configure:7541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_pt_getdbregs=yes
  else
--- 7473,7479 ----
  PT_GETDBREGS;
  ; return 0; }
  EOF
! if { (eval echo configure:7477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_pt_getdbregs=yes
  else
*************** fi
*** 7559,7570 ****
  
  # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
  echo $ac_n "checking for PT_GETXMMREGS""... $ac_c" 1>&6
! echo "configure:7563: checking for PT_GETXMMREGS" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_pt_getxmmregs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7568 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/ptrace.h>
--- 7495,7506 ----
  
  # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
  echo $ac_n "checking for PT_GETXMMREGS""... $ac_c" 1>&6
! echo "configure:7499: checking for PT_GETXMMREGS" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_pt_getxmmregs'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7504 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/ptrace.h>
*************** int main() {
*** 7572,7578 ****
  PT_GETXMMREGS;
  ; return 0; }
  EOF
! if { (eval echo configure:7576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_pt_getxmmregs=yes
  else
--- 7508,7514 ----
  PT_GETXMMREGS;
  ; return 0; }
  EOF
! if { (eval echo configure:7512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_pt_getxmmregs=yes
  else
*************** fi
*** 7595,7613 ****
  # See if stdint.h provides the uintptr_t type.
  # Autoconf 2.5X has an improved AC_CHECK_TYPE which will simplify this.
  echo $ac_n "checking for uintptr_t in stdint.h""... $ac_c" 1>&6
! echo "configure:7599: checking for uintptr_t in stdint.h" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_uintptr_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7604 "configure"
  #include "confdefs.h"
  #include <stdint.h>
  int main() {
  uintptr_t foo = 0;
  ; return 0; }
  EOF
! if { (eval echo configure:7611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_uintptr_t=yes
  else
--- 7531,7549 ----
  # See if stdint.h provides the uintptr_t type.
  # Autoconf 2.5X has an improved AC_CHECK_TYPE which will simplify this.
  echo $ac_n "checking for uintptr_t in stdint.h""... $ac_c" 1>&6
! echo "configure:7535: checking for uintptr_t in stdint.h" >&5
  if eval "test \"`echo '$''{'gdb_cv_have_uintptr_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7540 "configure"
  #include "confdefs.h"
  #include <stdint.h>
  int main() {
  uintptr_t foo = 0;
  ; return 0; }
  EOF
! if { (eval echo configure:7547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_uintptr_t=yes
  else
*************** EOF
*** 7628,7639 ****
  fi
  
  echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
! echo "configure:7632: checking whether malloc must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7637 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
--- 7564,7575 ----
  fi
  
  echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6
! echo "configure:7568: checking whether malloc must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7573 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
*************** int main() {
*** 7654,7660 ****
  char *(*pfn) = (char *(*)) malloc
  ; return 0; }
  EOF
! if { (eval echo configure:7658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_malloc=no
  else
--- 7590,7596 ----
  char *(*pfn) = (char *(*)) malloc
  ; return 0; }
  EOF
! if { (eval echo configure:7594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_malloc=no
  else
*************** EOF
*** 7675,7686 ****
  fi
  
  echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
! echo "configure:7679: checking whether realloc must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7684 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
--- 7611,7622 ----
  fi
  
  echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6
! echo "configure:7615: checking whether realloc must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7620 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
*************** int main() {
*** 7701,7707 ****
  char *(*pfn) = (char *(*)) realloc
  ; return 0; }
  EOF
! if { (eval echo configure:7705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_realloc=no
  else
--- 7637,7643 ----
  char *(*pfn) = (char *(*)) realloc
  ; return 0; }
  EOF
! if { (eval echo configure:7641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_realloc=no
  else
*************** EOF
*** 7722,7733 ****
  fi
  
  echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
! echo "configure:7726: checking whether free must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7731 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
--- 7658,7669 ----
  fi
  
  echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6
! echo "configure:7662: checking whether free must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7667 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
*************** int main() {
*** 7748,7754 ****
  char *(*pfn) = (char *(*)) free
  ; return 0; }
  EOF
! if { (eval echo configure:7752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_free=no
  else
--- 7684,7690 ----
  char *(*pfn) = (char *(*)) free
  ; return 0; }
  EOF
! if { (eval echo configure:7688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_free=no
  else
*************** EOF
*** 7769,7780 ****
  fi
  
  echo $ac_n "checking whether strerror must be declared""... $ac_c" 1>&6
! echo "configure:7773: checking whether strerror must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_strerror'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7778 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
--- 7705,7716 ----
  fi
  
  echo $ac_n "checking whether strerror must be declared""... $ac_c" 1>&6
! echo "configure:7709: checking whether strerror must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_strerror'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7714 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
*************** int main() {
*** 7795,7801 ****
  char *(*pfn) = (char *(*)) strerror
  ; return 0; }
  EOF
! if { (eval echo configure:7799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_strerror=no
  else
--- 7731,7737 ----
  char *(*pfn) = (char *(*)) strerror
  ; return 0; }
  EOF
! if { (eval echo configure:7735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_strerror=no
  else
*************** EOF
*** 7816,7827 ****
  fi
  
  echo $ac_n "checking whether strdup must be declared""... $ac_c" 1>&6
! echo "configure:7820: checking whether strdup must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_strdup'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7825 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
--- 7752,7763 ----
  fi
  
  echo $ac_n "checking whether strdup must be declared""... $ac_c" 1>&6
! echo "configure:7756: checking whether strdup must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_strdup'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7761 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
*************** int main() {
*** 7842,7848 ****
  char *(*pfn) = (char *(*)) strdup
  ; return 0; }
  EOF
! if { (eval echo configure:7846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_strdup=no
  else
--- 7778,7784 ----
  char *(*pfn) = (char *(*)) strdup
  ; return 0; }
  EOF
! if { (eval echo configure:7782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_strdup=no
  else
*************** EOF
*** 7863,7874 ****
  fi
  
  echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
! echo "configure:7867: checking whether strstr must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7872 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
--- 7799,7810 ----
  fi
  
  echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6
! echo "configure:7803: checking whether strstr must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7808 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
*************** int main() {
*** 7889,7895 ****
  char *(*pfn) = (char *(*)) strstr
  ; return 0; }
  EOF
! if { (eval echo configure:7893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_strstr=no
  else
--- 7825,7831 ----
  char *(*pfn) = (char *(*)) strstr
  ; return 0; }
  EOF
! if { (eval echo configure:7829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_strstr=no
  else
*************** EOF
*** 7910,7921 ****
  fi
  
  echo $ac_n "checking whether canonicalize_file_name must be declared""... $ac_c" 1>&6
! echo "configure:7914: checking whether canonicalize_file_name must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_canonicalize_file_name'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7919 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
--- 7846,7857 ----
  fi
  
  echo $ac_n "checking whether canonicalize_file_name must be declared""... $ac_c" 1>&6
! echo "configure:7850: checking whether canonicalize_file_name must be declared" >&5
  if eval "test \"`echo '$''{'bfd_cv_decl_needed_canonicalize_file_name'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7855 "configure"
  #include "confdefs.h"
  
  #include <stdio.h>
*************** int main() {
*** 7936,7942 ****
  char *(*pfn) = (char *(*)) canonicalize_file_name
  ; return 0; }
  EOF
! if { (eval echo configure:7940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_canonicalize_file_name=no
  else
--- 7872,7878 ----
  char *(*pfn) = (char *(*)) canonicalize_file_name
  ; return 0; }
  EOF
! if { (eval echo configure:7876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_decl_needed_canonicalize_file_name=no
  else
*************** fi
*** 7962,7970 ****
  # could be expunged. --jsm 1999-03-22
  
  echo $ac_n "checking for HPUX save_state structure""... $ac_c" 1>&6
! echo "configure:7966: checking for HPUX save_state structure" >&5
  cat > conftest.$ac_ext <<EOF
! #line 7968 "configure"
  #include "confdefs.h"
  #include <machine/save_state.h>
  EOF
--- 7898,7906 ----
  # could be expunged. --jsm 1999-03-22
  
  echo $ac_n "checking for HPUX save_state structure""... $ac_c" 1>&6
! echo "configure:7902: checking for HPUX save_state structure" >&5
  cat > conftest.$ac_ext <<EOF
! #line 7904 "configure"
  #include "confdefs.h"
  #include <machine/save_state.h>
  EOF
*************** fi
*** 7979,7985 ****
  rm -f conftest*
  
  cat > conftest.$ac_ext <<EOF
! #line 7983 "configure"
  #include "confdefs.h"
  #include <machine/save_state.h>
  EOF
--- 7915,7921 ----
  rm -f conftest*
  
  cat > conftest.$ac_ext <<EOF
! #line 7919 "configure"
  #include "confdefs.h"
  #include <machine/save_state.h>
  EOF
*************** fi
*** 8056,8067 ****
  
  if test "$ac_cv_header_sys_procfs_h" = yes; then
    echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8060: checking for pstatus_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8065 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 7992,8003 ----
  
  if test "$ac_cv_header_sys_procfs_h" = yes; then
    echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:7996: checking for pstatus_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8001 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8070,8076 ****
  pstatus_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_pstatus_t=yes
  else
--- 8006,8012 ----
  pstatus_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_pstatus_t=yes
  else
*************** EOF
*** 8092,8103 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6
  
    echo $ac_n "checking for prrun_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8096: checking for prrun_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prrun_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8101 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8028,8039 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6
  
    echo $ac_n "checking for prrun_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8032: checking for prrun_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prrun_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8037 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8106,8112 ****
  prrun_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prrun_t=yes
  else
--- 8042,8048 ----
  prrun_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prrun_t=yes
  else
*************** EOF
*** 8128,8139 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prrun_t" 1>&6
  
    echo $ac_n "checking for gregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8132: checking for gregset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_gregset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8137 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8064,8075 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prrun_t" 1>&6
  
    echo $ac_n "checking for gregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8068: checking for gregset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_gregset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8073 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8142,8148 ****
  gregset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_gregset_t=yes
  else
--- 8078,8084 ----
  gregset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_gregset_t=yes
  else
*************** EOF
*** 8164,8175 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_gregset_t" 1>&6
  
    echo $ac_n "checking for fpregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8168: checking for fpregset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_fpregset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8173 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8100,8111 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_gregset_t" 1>&6
  
    echo $ac_n "checking for fpregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8104: checking for fpregset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_fpregset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8109 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8178,8184 ****
  fpregset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_fpregset_t=yes
  else
--- 8114,8120 ----
  fpregset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_fpregset_t=yes
  else
*************** EOF
*** 8200,8211 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_fpregset_t" 1>&6
  
    echo $ac_n "checking for prgregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8204: checking for prgregset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8209 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8136,8147 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_fpregset_t" 1>&6
  
    echo $ac_n "checking for prgregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8140: checking for prgregset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8145 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8214,8220 ****
  prgregset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prgregset_t=yes
  else
--- 8150,8156 ----
  prgregset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prgregset_t=yes
  else
*************** EOF
*** 8236,8247 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset_t" 1>&6
  
    echo $ac_n "checking for prfpregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8240: checking for prfpregset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8245 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8172,8183 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset_t" 1>&6
  
    echo $ac_n "checking for prfpregset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8176: checking for prfpregset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8181 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8250,8256 ****
  prfpregset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prfpregset_t=yes
  else
--- 8186,8192 ----
  prfpregset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prfpregset_t=yes
  else
*************** EOF
*** 8272,8283 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset_t" 1>&6
  
    echo $ac_n "checking for prgregset32_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8276: checking for prgregset32_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset32_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8281 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8208,8219 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset_t" 1>&6
  
    echo $ac_n "checking for prgregset32_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8212: checking for prgregset32_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prgregset32_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8217 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8286,8292 ****
  prgregset32_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prgregset32_t=yes
  else
--- 8222,8228 ----
  prgregset32_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prgregset32_t=yes
  else
*************** EOF
*** 8308,8319 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset32_t" 1>&6
  
    echo $ac_n "checking for prfpregset32_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8312: checking for prfpregset32_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset32_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8317 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8244,8255 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prgregset32_t" 1>&6
  
    echo $ac_n "checking for prfpregset32_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8248: checking for prfpregset32_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prfpregset32_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8253 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8322,8328 ****
  prfpregset32_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prfpregset32_t=yes
  else
--- 8258,8264 ----
  prfpregset32_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prfpregset32_t=yes
  else
*************** EOF
*** 8344,8355 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset32_t" 1>&6
  
    echo $ac_n "checking for lwpid_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8348: checking for lwpid_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpid_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8353 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8280,8291 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prfpregset32_t" 1>&6
  
    echo $ac_n "checking for lwpid_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8284: checking for lwpid_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpid_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8289 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8358,8364 ****
  lwpid_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_lwpid_t=yes
  else
--- 8294,8300 ----
  lwpid_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_lwpid_t=yes
  else
*************** EOF
*** 8380,8391 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpid_t" 1>&6
  
    echo $ac_n "checking for psaddr_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8384: checking for psaddr_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psaddr_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8389 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8316,8327 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpid_t" 1>&6
  
    echo $ac_n "checking for psaddr_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8320: checking for psaddr_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psaddr_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8325 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8394,8400 ****
  psaddr_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_psaddr_t=yes
  else
--- 8330,8336 ----
  psaddr_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_psaddr_t=yes
  else
*************** EOF
*** 8416,8427 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_psaddr_t" 1>&6
  
    echo $ac_n "checking for prsysent_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8420: checking for prsysent_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prsysent_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8425 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8352,8363 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_psaddr_t" 1>&6
  
    echo $ac_n "checking for prsysent_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8356: checking for prsysent_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prsysent_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8361 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8430,8436 ****
  prsysent_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prsysent_t=yes
  else
--- 8366,8372 ----
  prsysent_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_prsysent_t=yes
  else
*************** EOF
*** 8452,8463 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prsysent_t" 1>&6
  
    echo $ac_n "checking for pr_sigset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8456: checking for pr_sigset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8461 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8388,8399 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_prsysent_t" 1>&6
  
    echo $ac_n "checking for pr_sigset_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8392: checking for pr_sigset_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigset_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8397 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8466,8472 ****
  pr_sigset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_pr_sigset_t=yes
  else
--- 8402,8408 ----
  pr_sigset_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_pr_sigset_t=yes
  else
*************** EOF
*** 8488,8499 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigset_t" 1>&6
  
    echo $ac_n "checking for pr_sigaction64_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8492: checking for pr_sigaction64_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigaction64_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8497 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8424,8435 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigset_t" 1>&6
  
    echo $ac_n "checking for pr_sigaction64_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8428: checking for pr_sigaction64_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_sigaction64_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8433 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8502,8508 ****
  pr_sigaction64_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_pr_sigaction64_t=yes
  else
--- 8438,8444 ----
  pr_sigaction64_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_pr_sigaction64_t=yes
  else
*************** EOF
*** 8524,8535 ****
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" 1>&6
  
    echo $ac_n "checking for pr_siginfo64_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8528: checking for pr_siginfo64_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_siginfo64_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8533 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
--- 8460,8471 ----
   echo "$ac_t""$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" 1>&6
  
    echo $ac_n "checking for pr_siginfo64_t in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8464: checking for pr_siginfo64_t in sys/procfs.h" >&5
   if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pr_siginfo64_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8469 "configure"
  #include "confdefs.h"
  
  #define _SYSCALL32
*************** int main() {
*** 8538,8544 ****
  pr_siginfo64_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_pr_siginfo64_t=yes
  else
--- 8474,8480 ----
  pr_siginfo64_t avar
  ; return 0; }
  EOF
! if { (eval echo configure:8478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    bfd_cv_have_sys_procfs_type_pr_siginfo64_t=yes
  else
*************** EOF
*** 8565,8571 ****
          
    if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
      echo $ac_n "checking whether prfpregset_t type is broken""... $ac_c" 1>&6
! echo "configure:8569: checking whether prfpregset_t type is broken" >&5
      if eval "test \"`echo '$''{'gdb_cv_prfpregset_t_broken'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8501,8507 ----
          
    if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
      echo $ac_n "checking whether prfpregset_t type is broken""... $ac_c" 1>&6
! echo "configure:8505: checking whether prfpregset_t type is broken" >&5
      if eval "test \"`echo '$''{'gdb_cv_prfpregset_t_broken'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 8573,8579 ****
    gdb_cv_prfpregset_t_broken=yes
  else
    cat > conftest.$ac_ext <<EOF
! #line 8577 "configure"
  #include "confdefs.h"
  #include <sys/procfs.h>
         int main ()
--- 8509,8515 ----
    gdb_cv_prfpregset_t_broken=yes
  else
    cat > conftest.$ac_ext <<EOF
! #line 8513 "configure"
  #include "confdefs.h"
  #include <sys/procfs.h>
         int main ()
*************** else
*** 8583,8589 ****
           return 0;
         }
  EOF
! if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    gdb_cv_prfpregset_t_broken=no
  else
--- 8519,8525 ----
           return 0;
         }
  EOF
! if { (eval echo configure:8523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    gdb_cv_prfpregset_t_broken=no
  else
*************** EOF
*** 8608,8619 ****
  
    
    echo $ac_n "checking for PIOCSET ioctl entry in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8612: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_procfs_piocset'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8617 "configure"
  #include "confdefs.h"
  #include <unistd.h>
  #include <sys/types.h>
--- 8544,8555 ----
  
    
    echo $ac_n "checking for PIOCSET ioctl entry in sys/procfs.h""... $ac_c" 1>&6
! echo "configure:8548: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_procfs_piocset'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8553 "configure"
  #include "confdefs.h"
  #include <unistd.h>
  #include <sys/types.h>
*************** int main() {
*** 8626,8632 ****
    
  ; return 0; }
  EOF
! if { (eval echo configure:8630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_procfs_piocset=yes
  else
--- 8562,8568 ----
    
  ; return 0; }
  EOF
! if { (eval echo configure:8566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_procfs_piocset=yes
  else
*************** fi
*** 8650,8668 ****
  if test ${host} = ${target} ; then
      
    echo $ac_n "checking for member l_addr in struct link_map""... $ac_c" 1>&6
! echo "configure:8654: checking for member l_addr in struct link_map" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map_with_l_members'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8659 "configure"
  #include "confdefs.h"
  #include <link.h>
  int main() {
  struct link_map lm; (void) lm.l_addr;
  ; return 0; }
  EOF
! if { (eval echo configure:8666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_link_map_with_l_members=yes
  else
--- 8586,8604 ----
  if test ${host} = ${target} ; then
      
    echo $ac_n "checking for member l_addr in struct link_map""... $ac_c" 1>&6
! echo "configure:8590: checking for member l_addr in struct link_map" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map_with_l_members'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8595 "configure"
  #include "confdefs.h"
  #include <link.h>
  int main() {
  struct link_map lm; (void) lm.l_addr;
  ; return 0; }
  EOF
! if { (eval echo configure:8602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_link_map_with_l_members=yes
  else
*************** EOF
*** 8684,8695 ****
  
      
    echo $ac_n "checking for member lm_addr in struct link_map""... $ac_c" 1>&6
! echo "configure:8688: checking for member lm_addr in struct link_map" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map_with_lm_members'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8693 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <link.h>
--- 8620,8631 ----
  
      
    echo $ac_n "checking for member lm_addr in struct link_map""... $ac_c" 1>&6
! echo "configure:8624: checking for member lm_addr in struct link_map" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map_with_lm_members'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8629 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <link.h>
*************** int main() {
*** 8697,8703 ****
  struct link_map lm; (void) lm.lm_addr;
  ; return 0; }
  EOF
! if { (eval echo configure:8701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_link_map_with_lm_members=yes
  else
--- 8633,8639 ----
  struct link_map lm; (void) lm.lm_addr;
  ; return 0; }
  EOF
! if { (eval echo configure:8637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_link_map_with_lm_members=yes
  else
*************** EOF
*** 8719,8730 ****
  
      
    echo $ac_n "checking for member som_addr in struct so_map""... $ac_c" 1>&6
! echo "configure:8723: checking for member som_addr in struct so_map" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_struct_so_map_with_som_members'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8728 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #ifdef HAVE_NLIST_H
--- 8655,8666 ----
  
      
    echo $ac_n "checking for member som_addr in struct so_map""... $ac_c" 1>&6
! echo "configure:8659: checking for member som_addr in struct so_map" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_struct_so_map_with_som_members'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8664 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #ifdef HAVE_NLIST_H
*************** int main() {
*** 8735,8741 ****
  struct so_map lm; (void) lm.som_addr;
  ; return 0; }
  EOF
! if { (eval echo configure:8739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_so_map_with_som_members=yes
  else
--- 8671,8677 ----
  struct so_map lm; (void) lm.som_addr;
  ; return 0; }
  EOF
! if { (eval echo configure:8675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_so_map_with_som_members=yes
  else
*************** EOF
*** 8757,8768 ****
  
      
    echo $ac_n "checking for struct link_map32 in sys/link.h""... $ac_c" 1>&6
! echo "configure:8761: checking for struct link_map32 in sys/link.h" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map32'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8766 "configure"
  #include "confdefs.h"
  #define _SYSCALL32
  #include <sys/link.h>
--- 8693,8704 ----
  
      
    echo $ac_n "checking for struct link_map32 in sys/link.h""... $ac_c" 1>&6
! echo "configure:8697: checking for struct link_map32 in sys/link.h" >&5
    if eval "test \"`echo '$''{'gdb_cv_have_struct_link_map32'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8702 "configure"
  #include "confdefs.h"
  #define _SYSCALL32
  #include <sys/link.h>
*************** int main() {
*** 8770,8776 ****
  struct link_map32 l;
  ; return 0; }
  EOF
! if { (eval echo configure:8774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_link_map32=yes
  else
--- 8706,8712 ----
  struct link_map32 l;
  ; return 0; }
  EOF
! if { (eval echo configure:8710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_struct_link_map32=yes
  else
*************** fi
*** 8797,8808 ****
  
  
  echo $ac_n "checking for long long support in compiler""... $ac_c" 1>&6
! echo "configure:8801: checking for long long support in compiler" >&5
  if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8806 "configure"
  #include "confdefs.h"
  
  int main() {
--- 8733,8744 ----
  
  
  echo $ac_n "checking for long long support in compiler""... $ac_c" 1>&6
! echo "configure:8737: checking for long long support in compiler" >&5
  if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8742 "configure"
  #include "confdefs.h"
  
  int main() {
*************** int main() {
*** 8812,8818 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:8816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_c_long_long=yes
  else
--- 8748,8754 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:8752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_c_long_long=yes
  else
*************** fi
*** 8834,8840 ****
  
  
  echo $ac_n "checking for long long support in printf""... $ac_c" 1>&6
! echo "configure:8838: checking for long long support in printf" >&5
  if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8770,8776 ----
  
  
  echo $ac_n "checking for long long support in printf""... $ac_c" 1>&6
! echo "configure:8774: checking for long long support in printf" >&5
  if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 8842,8848 ****
    gdb_cv_printf_has_long_long=no
  else
    cat > conftest.$ac_ext <<EOF
! #line 8846 "configure"
  #include "confdefs.h"
  
  int main () {
--- 8778,8784 ----
    gdb_cv_printf_has_long_long=no
  else
    cat > conftest.$ac_ext <<EOF
! #line 8782 "configure"
  #include "confdefs.h"
  
  int main () {
*************** int main () {
*** 8856,8862 ****
    return (strcmp ("0x0123456789abcdef", buf));
  }
  EOF
! if { (eval echo configure:8860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    gdb_cv_printf_has_long_long=yes
  else
--- 8792,8798 ----
    return (strcmp ("0x0123456789abcdef", buf));
  }
  EOF
! if { (eval echo configure:8796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    gdb_cv_printf_has_long_long=yes
  else
*************** echo "$ac_t""$gdb_cv_printf_has_long_lon
*** 8880,8898 ****
  
  
  echo $ac_n "checking for long double support in compiler""... $ac_c" 1>&6
! echo "configure:8884: checking for long double support in compiler" >&5
  if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8889 "configure"
  #include "confdefs.h"
  
  int main() {
  long double foo;
  ; return 0; }
  EOF
! if { (eval echo configure:8896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_long_double=yes
  else
--- 8816,8834 ----
  
  
  echo $ac_n "checking for long double support in compiler""... $ac_c" 1>&6
! echo "configure:8820: checking for long double support in compiler" >&5
  if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 8825 "configure"
  #include "confdefs.h"
  
  int main() {
  long double foo;
  ; return 0; }
  EOF
! if { (eval echo configure:8832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_long_double=yes
  else
*************** fi
*** 8914,8920 ****
  
  
  echo $ac_n "checking for long double support in printf""... $ac_c" 1>&6
! echo "configure:8918: checking for long double support in printf" >&5
  if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8850,8856 ----
  
  
  echo $ac_n "checking for long double support in printf""... $ac_c" 1>&6
! echo "configure:8854: checking for long double support in printf" >&5
  if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 8922,8928 ****
    gdb_cv_printf_has_long_double=no
  else
    cat > conftest.$ac_ext <<EOF
! #line 8926 "configure"
  #include "confdefs.h"
  
  int main () {
--- 8858,8864 ----
    gdb_cv_printf_has_long_double=no
  else
    cat > conftest.$ac_ext <<EOF
! #line 8862 "configure"
  #include "confdefs.h"
  
  int main () {
*************** int main () {
*** 8932,8938 ****
    return (strncmp ("3.14159", buf, 7));
  }
  EOF
! if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    gdb_cv_printf_has_long_double=yes
  else
--- 8868,8874 ----
    return (strncmp ("3.14159", buf, 7));
  }
  EOF
! if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    gdb_cv_printf_has_long_double=yes
  else
*************** echo "$ac_t""$gdb_cv_printf_has_long_dou
*** 8956,8962 ****
  
  
  echo $ac_n "checking for long double support in scanf""... $ac_c" 1>&6
! echo "configure:8960: checking for long double support in scanf" >&5
  if eval "test \"`echo '$''{'gdb_cv_scanf_has_long_double'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8892,8898 ----
  
  
  echo $ac_n "checking for long double support in scanf""... $ac_c" 1>&6
! echo "configure:8896: checking for long double support in scanf" >&5
  if eval "test \"`echo '$''{'gdb_cv_scanf_has_long_double'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 8964,8970 ****
    gdb_cv_scanf_has_long_double=no
  else
    cat > conftest.$ac_ext <<EOF
! #line 8968 "configure"
  #include "confdefs.h"
  
  int main () {
--- 8900,8906 ----
    gdb_cv_scanf_has_long_double=no
  else
    cat > conftest.$ac_ext <<EOF
! #line 8904 "configure"
  #include "confdefs.h"
  
  int main () {
*************** int main () {
*** 8974,8980 ****
    return !(f > 3.14159 && f < 3.14160);
  }
  EOF
! if { (eval echo configure:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    gdb_cv_scanf_has_long_double=yes
  else
--- 8910,8916 ----
    return !(f > 3.14159 && f < 3.14160);
  }
  EOF
! if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    gdb_cv_scanf_has_long_double=yes
  else
*************** echo "$ac_t""$gdb_cv_scanf_has_long_doub
*** 8999,9005 ****
  case ${host_os} in
  aix*)
    echo $ac_n "checking for -bbigtoc option""... $ac_c" 1>&6
! echo "configure:9003: checking for -bbigtoc option" >&5
  if eval "test \"`echo '$''{'gdb_cv_bigtoc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 8935,8941 ----
  case ${host_os} in
  aix*)
    echo $ac_n "checking for -bbigtoc option""... $ac_c" 1>&6
! echo "configure:8939: checking for -bbigtoc option" >&5
  if eval "test \"`echo '$''{'gdb_cv_bigtoc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 9013,9026 ****
  
      LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
      cat > conftest.$ac_ext <<EOF
! #line 9017 "configure"
  #include "confdefs.h"
  
  int main() {
  int i;
  ; return 0; }
  EOF
! if { (eval echo configure:9024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    :
  else
    echo "configure: failed program was:" >&5
--- 8949,8962 ----
  
      LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
      cat > conftest.$ac_ext <<EOF
! #line 8953 "configure"
  #include "confdefs.h"
  
  int main() {
  int i;
  ; return 0; }
  EOF
! if { (eval echo configure:8960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    :
  else
    echo "configure: failed program was:" >&5
*************** if test ${build} = ${host} -a ${host} = 
*** 9043,9049 ****
     case ${host_os} in
     hpux*)
        echo $ac_n "checking for HPUX/OSF thread support""... $ac_c" 1>&6
! echo "configure:9047: checking for HPUX/OSF thread support" >&5
        if test -f /usr/include/dce/cma_config.h ; then
           if test "$GCC" = "yes" ; then
              echo "$ac_t""yes" 1>&6
--- 8979,8985 ----
     case ${host_os} in
     hpux*)
        echo $ac_n "checking for HPUX/OSF thread support""... $ac_c" 1>&6
! echo "configure:8983: checking for HPUX/OSF thread support" >&5
        if test -f /usr/include/dce/cma_config.h ; then
           if test "$GCC" = "yes" ; then
              echo "$ac_t""yes" 1>&6
*************** EOF
*** 9066,9072 ****
        # because version 0 (present on Solaris 2.4 or earlier) doesn't have
        # the same API.
        echo $ac_n "checking for Solaris thread debugging library""... $ac_c" 1>&6
! echo "configure:9070: checking for Solaris thread debugging library" >&5
        if test -f /usr/lib/libthread_db.so.1 ; then
           echo "$ac_t""yes" 1>&6
           cat >> confdefs.h <<\EOF
--- 9002,9008 ----
        # because version 0 (present on Solaris 2.4 or earlier) doesn't have
        # the same API.
        echo $ac_n "checking for Solaris thread debugging library""... $ac_c" 1>&6
! echo "configure:9006: checking for Solaris thread debugging library" >&5
        if test -f /usr/lib/libthread_db.so.1 ; then
           echo "$ac_t""yes" 1>&6
           cat >> confdefs.h <<\EOF
*************** EOF
*** 9076,9082 ****
           CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
           CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
           echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:9080: checking for dlopen in -ldl" >&5
  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 9012,9018 ----
           CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
           CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
           echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:9016: checking for dlopen in -ldl" >&5
  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
*************** else
*** 9084,9090 ****
    ac_save_LIBS="$LIBS"
  LIBS="-ldl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 9088 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 9020,9026 ----
    ac_save_LIBS="$LIBS"
  LIBS="-ldl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 9024 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
*************** int main() {
*** 9095,9101 ****
  dlopen()
  ; return 0; }
  EOF
! if { (eval echo configure:9099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 9031,9037 ----
  dlopen()
  ; return 0; }
  EOF
! if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
*************** fi
*** 9127,9143 ****
              # all symbols visible in the dynamic symbol table.
              hold_ldflags=$LDFLAGS
              echo $ac_n "checking for the ld -export-dynamic flag""... $ac_c" 1>&6
! echo "configure:9131: checking for the ld -export-dynamic flag" >&5
              LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
              cat > conftest.$ac_ext <<EOF
! #line 9134 "configure"
  #include "confdefs.h"
  
  int main() {
  int i;
  ; return 0; }
  EOF
! if { (eval echo configure:9141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    found=yes
  else
--- 9063,9079 ----
              # all symbols visible in the dynamic symbol table.
              hold_ldflags=$LDFLAGS
              echo $ac_n "checking for the ld -export-dynamic flag""... $ac_c" 1>&6
! echo "configure:9067: checking for the ld -export-dynamic flag" >&5
              LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
              cat > conftest.$ac_ext <<EOF
! #line 9070 "configure"
  #include "confdefs.h"
  
  int main() {
  int i;
  ; return 0; }
  EOF
! if { (eval echo configure:9077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    found=yes
  else
*************** rm -f conftest*
*** 9156,9168 ****
  	 # Sun randomly tweaked the prototypes in <proc_service.h>
  	 # at one point.
  	 echo $ac_n "checking if <proc_service.h> is old""... $ac_c" 1>&6
! echo "configure:9160: checking if <proc_service.h> is old" >&5
  	 if eval "test \"`echo '$''{'gdb_cv_proc_service_is_old'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    
  	    cat > conftest.$ac_ext <<EOF
! #line 9166 "configure"
  #include "confdefs.h"
  
  		#include <proc_service.h>
--- 9092,9104 ----
  	 # Sun randomly tweaked the prototypes in <proc_service.h>
  	 # at one point.
  	 echo $ac_n "checking if <proc_service.h> is old""... $ac_c" 1>&6
! echo "configure:9096: checking if <proc_service.h> is old" >&5
  	 if eval "test \"`echo '$''{'gdb_cv_proc_service_is_old'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    
  	    cat > conftest.$ac_ext <<EOF
! #line 9102 "configure"
  #include "confdefs.h"
  
  		#include <proc_service.h>
*************** int main() {
*** 9173,9179 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:9177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_proc_service_is_old=no
  else
--- 9109,9115 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:9113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_proc_service_is_old=no
  else
*************** EOF
*** 9199,9210 ****
        ;;
     aix*)
        echo $ac_n "checking for AiX thread debugging library""... $ac_c" 1>&6
! echo "configure:9203: checking for AiX thread debugging library" >&5
        if eval "test \"`echo '$''{'gdb_cv_have_aix_thread_debug'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9208 "configure"
  #include "confdefs.h"
  #include <sys/pthdebug.h>
  int main() {
--- 9135,9146 ----
        ;;
     aix*)
        echo $ac_n "checking for AiX thread debugging library""... $ac_c" 1>&6
! echo "configure:9139: checking for AiX thread debugging library" >&5
        if eval "test \"`echo '$''{'gdb_cv_have_aix_thread_debug'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9144 "configure"
  #include "confdefs.h"
  #include <sys/pthdebug.h>
  int main() {
*************** int main() {
*** 9213,9219 ****
                                      #endif
  ; return 0; }
  EOF
! if { (eval echo configure:9217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_aix_thread_debug=yes
  else
--- 9149,9155 ----
                                      #endif
  ; return 0; }
  EOF
! if { (eval echo configure:9153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_have_aix_thread_debug=yes
  else
*************** fi
*** 9238,9256 ****
  
  if test "x$ac_cv_header_thread_db_h" = "xyes"; then
     echo $ac_n "checking whether <thread_db.h> has TD_NOTALLOC""... $ac_c" 1>&6
! echo "configure:9242: checking whether <thread_db.h> has TD_NOTALLOC" >&5
  if eval "test \"`echo '$''{'gdb_cv_thread_db_h_has_td_notalloc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9247 "configure"
  #include "confdefs.h"
  #include <thread_db.h>
  int main() {
  int i = TD_NOTALLOC;
  ; return 0; }
  EOF
! if { (eval echo configure:9254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_thread_db_h_has_td_notalloc=yes
  else
--- 9174,9192 ----
  
  if test "x$ac_cv_header_thread_db_h" = "xyes"; then
     echo $ac_n "checking whether <thread_db.h> has TD_NOTALLOC""... $ac_c" 1>&6
! echo "configure:9178: checking whether <thread_db.h> has TD_NOTALLOC" >&5
  if eval "test \"`echo '$''{'gdb_cv_thread_db_h_has_td_notalloc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9183 "configure"
  #include "confdefs.h"
  #include <thread_db.h>
  int main() {
  int i = TD_NOTALLOC;
  ; return 0; }
  EOF
! if { (eval echo configure:9190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_thread_db_h_has_td_notalloc=yes
  else
*************** fi
*** 9275,9293 ****
  
  if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
     echo $ac_n "checking whether <sys/syscall.h> has __NR_tkill""... $ac_c" 1>&6
! echo "configure:9279: checking whether <sys/syscall.h> has __NR_tkill" >&5
  if eval "test \"`echo '$''{'gdb_cv_sys_syscall_h_has_tkill'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9284 "configure"
  #include "confdefs.h"
  #include <sys/syscall.h>
  int main() {
  int i = __NR_tkill;
  ; return 0; }
  EOF
! if { (eval echo configure:9291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_sys_syscall_h_has_tkill=yes
  else
--- 9211,9229 ----
  
  if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
     echo $ac_n "checking whether <sys/syscall.h> has __NR_tkill""... $ac_c" 1>&6
! echo "configure:9215: checking whether <sys/syscall.h> has __NR_tkill" >&5
  if eval "test \"`echo '$''{'gdb_cv_sys_syscall_h_has_tkill'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9220 "configure"
  #include "confdefs.h"
  #include <sys/syscall.h>
  int main() {
  int i = __NR_tkill;
  ; return 0; }
  EOF
! if { (eval echo configure:9227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    gdb_cv_sys_syscall_h_has_tkill=yes
  else
*************** WERROR_CFLAGS=""
*** 9399,9405 ****
  if test "x${build_warnings}" != x -a "x$GCC" = xyes
  then
      echo $ac_n "checking compiler warning flags""... $ac_c" 1>&6
! echo "configure:9403: checking compiler warning flags" >&5
      # Separate out the -Werror flag as some files just cannot be
      # compiled with it enabled.
      for w in ${build_warnings}; do
--- 9335,9341 ----
  if test "x${build_warnings}" != x -a "x$GCC" = xyes
  then
      echo $ac_n "checking compiler warning flags""... $ac_c" 1>&6
! echo "configure:9339: checking compiler warning flags" >&5
      # Separate out the -Werror flag as some files just cannot be
      # compiled with it enabled.
      for w in ${build_warnings}; do
*************** echo "configure:9403: checking compiler 
*** 9409,9422 ****
  	    saved_CFLAGS="$CFLAGS"
  	    CFLAGS="$CFLAGS $w"
  	    cat > conftest.$ac_ext <<EOF
! #line 9413 "configure"
  #include "confdefs.h"
  
  int main() {
  
  ; return 0; }
  EOF
! if { (eval echo configure:9420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    WARN_CFLAGS="${WARN_CFLAGS} $w"
  else
--- 9345,9358 ----
  	    saved_CFLAGS="$CFLAGS"
  	    CFLAGS="$CFLAGS $w"
  	    cat > conftest.$ac_ext <<EOF
! #line 9349 "configure"
  #include "confdefs.h"
  
  int main() {
  
  ; return 0; }
  EOF
! if { (eval echo configure:9356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    WARN_CFLAGS="${WARN_CFLAGS} $w"
  else
*************** fi
*** 9434,9445 ****
  
  # In the Cygwin environment, we need some additional flags.
  echo $ac_n "checking for cygwin""... $ac_c" 1>&6
! echo "configure:9438: checking for cygwin" >&5
  if eval "test \"`echo '$''{'gdb_cv_os_cygwin'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9443 "configure"
  #include "confdefs.h"
  
  #if defined (__CYGWIN__) || defined (__CYGWIN32__)
--- 9370,9381 ----
  
  # In the Cygwin environment, we need some additional flags.
  echo $ac_n "checking for cygwin""... $ac_c" 1>&6
! echo "configure:9374: checking for cygwin" >&5
  if eval "test \"`echo '$''{'gdb_cv_os_cygwin'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9379 "configure"
  #include "confdefs.h"
  
  #if defined (__CYGWIN__) || defined (__CYGWIN32__)
*************** if test "${with_tclconfig+set}" = set; t
*** 9517,9523 ****
  fi
  
    echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
! echo "configure:9521: checking for Tcl configuration" >&5
    if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 9453,9459 ----
  fi
  
    echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
! echo "configure:9457: checking for Tcl configuration" >&5
    if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** if test "${with_tkconfig+set}" = set; th
*** 9626,9632 ****
  fi
  
    echo $ac_n "checking for Tk configuration""... $ac_c" 1>&6
! echo "configure:9630: checking for Tk configuration" >&5
    if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 9562,9568 ----
  fi
  
    echo $ac_n "checking for Tk configuration""... $ac_c" 1>&6
! echo "configure:9566: checking for Tk configuration" >&5
    if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** fi
*** 9735,9741 ****
  
  no_tcl=true
  echo $ac_n "checking for Tcl private headers. dir=${configdir}""... $ac_c" 1>&6
! echo "configure:9739: checking for Tcl private headers. dir=${configdir}" >&5
  # Check whether --with-tclinclude or --without-tclinclude was given.
  if test "${with_tclinclude+set}" = set; then
    withval="$with_tclinclude"
--- 9671,9677 ----
  
  no_tcl=true
  echo $ac_n "checking for Tcl private headers. dir=${configdir}""... $ac_c" 1>&6
! echo "configure:9675: checking for Tcl private headers. dir=${configdir}" >&5
  # Check whether --with-tclinclude or --without-tclinclude was given.
  if test "${with_tclinclude+set}" = set; then
    withval="$with_tclinclude"
*************** fi
*** 9801,9817 ****
  if test x"${ac_cv_c_tclh}" = x ; then
     ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for tclInt.h""... $ac_c" 1>&6
! echo "configure:9805: checking for tclInt.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9810 "configure"
  #include "confdefs.h"
  #include <tclInt.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 9737,9753 ----
  if test x"${ac_cv_c_tclh}" = x ; then
     ac_safe=`echo "tclInt.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for tclInt.h""... $ac_c" 1>&6
! echo "configure:9741: checking for tclInt.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9746 "configure"
  #include "confdefs.h"
  #include <tclInt.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** fi
*** 9871,9877 ****
  #
  no_tk=true
  echo $ac_n "checking for Tk private headers""... $ac_c" 1>&6
! echo "configure:9875: checking for Tk private headers" >&5
  # Check whether --with-tkinclude or --without-tkinclude was given.
  if test "${with_tkinclude+set}" = set; then
    withval="$with_tkinclude"
--- 9807,9813 ----
  #
  no_tk=true
  echo $ac_n "checking for Tk private headers""... $ac_c" 1>&6
! echo "configure:9811: checking for Tk private headers" >&5
  # Check whether --with-tkinclude or --without-tkinclude was given.
  if test "${with_tkinclude+set}" = set; then
    withval="$with_tkinclude"
*************** fi
*** 9937,9953 ****
  if test x"${ac_cv_c_tkh}" = x ; then
     ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:9941: checking for tk.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9946 "configure"
  #include "confdefs.h"
  #include <tk.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 9873,9889 ----
  if test x"${ac_cv_c_tkh}" = x ; then
     ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:9877: checking for tk.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 9882 "configure"
  #include "confdefs.h"
  #include <tk.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:9887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** fi
*** 9993,9999 ****
  
  	   
  echo $ac_n "checking for Itcl private headers. srcdir=${srcdir}""... $ac_c" 1>&6
! echo "configure:9997: checking for Itcl private headers. srcdir=${srcdir}" >&5
  if test x"${ac_cv_c_itclh}" = x ; then
    for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itcl; do
      if test -f $i/generic/itcl.h ; then
--- 9929,9935 ----
  
  	   
  echo $ac_n "checking for Itcl private headers. srcdir=${srcdir}""... $ac_c" 1>&6
! echo "configure:9933: checking for Itcl private headers. srcdir=${srcdir}" >&5
  if test x"${ac_cv_c_itclh}" = x ; then
    for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itcl; do
      if test -f $i/generic/itcl.h ; then
*************** fi
*** 10016,10022 ****
  
  	   
  echo $ac_n "checking for Itk private headers. srcdir=${srcdir}""... $ac_c" 1>&6
! echo "configure:10020: checking for Itk private headers. srcdir=${srcdir}" >&5
  if test x"${ac_cv_c_itkh}" = x ; then
    for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itk; do
      if test -f $i/generic/itk.h ; then
--- 9952,9958 ----
  
  	   
  echo $ac_n "checking for Itk private headers. srcdir=${srcdir}""... $ac_c" 1>&6
! echo "configure:9956: checking for Itk private headers. srcdir=${srcdir}" >&5
  if test x"${ac_cv_c_itkh}" = x ; then
    for i in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/../itcl/itk; do
      if test -f $i/generic/itk.h ; then
*************** if test "${with_itclconfig+set}" = set; 
*** 10071,10077 ****
  fi
  
    echo $ac_n "checking for Itcl configuration""... $ac_c" 1>&6
! echo "configure:10075: checking for Itcl configuration" >&5
    if eval "test \"`echo '$''{'ac_cv_c_itclconfig'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 10007,10013 ----
  fi
  
    echo $ac_n "checking for Itcl configuration""... $ac_c" 1>&6
! echo "configure:10011: checking for Itcl configuration" >&5
    if eval "test \"`echo '$''{'ac_cv_c_itclconfig'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** if test "${with_itkconfig+set}" = set; t
*** 10174,10180 ****
  fi
  
    echo $ac_n "checking for Itk configuration""... $ac_c" 1>&6
! echo "configure:10178: checking for Itk configuration" >&5
    if eval "test \"`echo '$''{'ac_cv_c_itkconfig'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 10110,10116 ----
  fi
  
    echo $ac_n "checking for Itk configuration""... $ac_c" 1>&6
! echo "configure:10114: checking for Itk configuration" >&5
    if eval "test \"`echo '$''{'ac_cv_c_itkconfig'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** fi
*** 10316,10322 ****
  # Uses ac_ vars as temps to allow command line to override cache and checks.
  # --without-x overrides everything else, but does not touch the cache.
  echo $ac_n "checking for X""... $ac_c" 1>&6
! echo "configure:10320: checking for X" >&5
  
  # Check whether --with-x or --without-x was given.
  if test "${with_x+set}" = set; then
--- 10252,10258 ----
  # Uses ac_ vars as temps to allow command line to override cache and checks.
  # --without-x overrides everything else, but does not touch the cache.
  echo $ac_n "checking for X""... $ac_c" 1>&6
! echo "configure:10256: checking for X" >&5
  
  # Check whether --with-x or --without-x was given.
  if test "${with_x+set}" = set; then
*************** if test "$ac_x_includes" = NO; then
*** 10378,10389 ****
  
    # First, try using that file with no special directory specified.
  cat > conftest.$ac_ext <<EOF
! #line 10382 "configure"
  #include "confdefs.h"
  #include <$x_direct_test_include>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:10387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 10314,10325 ----
  
    # First, try using that file with no special directory specified.
  cat > conftest.$ac_ext <<EOF
! #line 10318 "configure"
  #include "confdefs.h"
  #include <$x_direct_test_include>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:10323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
*************** if test "$ac_x_libraries" = NO; then
*** 10452,10465 ****
    ac_save_LIBS="$LIBS"
    LIBS="-l$x_direct_test_library $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 10456 "configure"
  #include "confdefs.h"
  
  int main() {
  ${x_direct_test_function}()
  ; return 0; }
  EOF
! if { (eval echo configure:10463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    LIBS="$ac_save_LIBS"
  # We can link X programs with no special library path.
--- 10388,10401 ----
    ac_save_LIBS="$LIBS"
    LIBS="-l$x_direct_test_library $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 10392 "configure"
  #include "confdefs.h"
  
  int main() {
  ${x_direct_test_function}()
  ; return 0; }
  EOF
! if { (eval echo configure:10399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    LIBS="$ac_save_LIBS"
  # We can link X programs with no special library path.
*************** fi
*** 10671,10677 ****
  # We only build gdbserver automatically if host and target are the same.
  if test "x$target" = "x$host"; then
    echo $ac_n "checking whether gdbserver is supported on this host""... $ac_c" 1>&6
! echo "configure:10675: checking whether gdbserver is supported on this host" >&5
    if test "x$build_gdbserver" = xyes; then
      configdirs="$configdirs gdbserver"
      echo "$ac_t""yes" 1>&6
--- 10607,10613 ----
  # We only build gdbserver automatically if host and target are the same.
  if test "x$target" = "x$host"; then
    echo $ac_n "checking whether gdbserver is supported on this host""... $ac_c" 1>&6
! echo "configure:10611: checking whether gdbserver is supported on this host" >&5
    if test "x$build_gdbserver" = xyes; then
      configdirs="$configdirs gdbserver"
      echo "$ac_t""yes" 1>&6
*************** fi
*** 10735,10746 ****
  
  
  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
! echo "configure:10739: checking for Cygwin environment" >&5
  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 10744 "configure"
  #include "confdefs.h"
  
  int main() {
--- 10671,10682 ----
  
  
  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
! echo "configure:10675: checking for Cygwin environment" >&5
  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 10680 "configure"
  #include "confdefs.h"
  
  int main() {
*************** int main() {
*** 10751,10757 ****
  return __CYGWIN__;
  ; return 0; }
  EOF
! if { (eval echo configure:10755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_cygwin=yes
  else
--- 10687,10693 ----
  return __CYGWIN__;
  ; return 0; }
  EOF
! if { (eval echo configure:10691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_cygwin=yes
  else
*************** echo "$ac_t""$ac_cv_cygwin" 1>&6
*** 10768,10786 ****
  CYGWIN=
  test "$ac_cv_cygwin" = yes && CYGWIN=yes
  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
! echo "configure:10772: checking for mingw32 environment" >&5
  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 10777 "configure"
  #include "confdefs.h"
  
  int main() {
  return __MINGW32__;
  ; return 0; }
  EOF
! if { (eval echo configure:10784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_mingw32=yes
  else
--- 10704,10722 ----
  CYGWIN=
  test "$ac_cv_cygwin" = yes && CYGWIN=yes
  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
! echo "configure:10708: checking for mingw32 environment" >&5
  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 10713 "configure"
  #include "confdefs.h"
  
  int main() {
  return __MINGW32__;
  ; return 0; }
  EOF
! if { (eval echo configure:10720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_mingw32=yes
  else
*************** test "$ac_cv_mingw32" = yes && MINGW32=y
*** 10799,10805 ****
  
  
  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
! echo "configure:10803: checking for executable suffix" >&5
  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 10735,10741 ----
  
  
  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
! echo "configure:10739: checking for executable suffix" >&5
  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 10809,10815 ****
    rm -f conftest*
    echo 'int main () { return 0; }' > conftest.$ac_ext
    ac_cv_exeext=
!   if { (eval echo configure:10813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
      for file in conftest.*; do
        case $file in
        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
--- 10745,10751 ----
    rm -f conftest*
    echo 'int main () { return 0; }' > conftest.$ac_ext
    ac_cv_exeext=
!   if { (eval echo configure:10749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
      for file in conftest.*; do
        case $file in
        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
*************** fi
*** 10851,10857 ****
  
  
    echo $ac_n "checking for iconv""... $ac_c" 1>&6
! echo "configure:10855: checking for iconv" >&5
  if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 10787,10793 ----
  
  
    echo $ac_n "checking for iconv""... $ac_c" 1>&6
! echo "configure:10791: checking for iconv" >&5
  if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
*************** else
*** 10859,10865 ****
      am_cv_func_iconv="no, consider installing GNU libiconv"
      am_cv_lib_iconv=no
      cat > conftest.$ac_ext <<EOF
! #line 10863 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  #include <iconv.h>
--- 10795,10801 ----
      am_cv_func_iconv="no, consider installing GNU libiconv"
      am_cv_lib_iconv=no
      cat > conftest.$ac_ext <<EOF
! #line 10799 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  #include <iconv.h>
*************** iconv_t cd = iconv_open("","");
*** 10869,10875 ****
         iconv_close(cd);
  ; return 0; }
  EOF
! if { (eval echo configure:10873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    am_cv_func_iconv=yes
  else
--- 10805,10811 ----
         iconv_close(cd);
  ; return 0; }
  EOF
! if { (eval echo configure:10809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    am_cv_func_iconv=yes
  else
*************** rm -f conftest*
*** 10881,10887 ****
        am_save_LIBS="$LIBS"
        LIBS="$LIBS -liconv"
        cat > conftest.$ac_ext <<EOF
! #line 10885 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  #include <iconv.h>
--- 10817,10823 ----
        am_save_LIBS="$LIBS"
        LIBS="$LIBS -liconv"
        cat > conftest.$ac_ext <<EOF
! #line 10821 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  #include <iconv.h>
*************** iconv_t cd = iconv_open("","");
*** 10891,10897 ****
           iconv_close(cd);
  ; return 0; }
  EOF
! if { (eval echo configure:10895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    am_cv_lib_iconv=yes
          am_cv_func_iconv=yes
--- 10827,10833 ----
           iconv_close(cd);
  ; return 0; }
  EOF
! if { (eval echo configure:10831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    am_cv_lib_iconv=yes
          am_cv_func_iconv=yes
*************** echo "$ac_t""$am_cv_func_iconv" 1>&6
*** 10912,10924 ****
  EOF
  
      echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
! echo "configure:10916: checking for iconv declaration" >&5
      if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    
        cat > conftest.$ac_ext <<EOF
! #line 10922 "configure"
  #include "confdefs.h"
  
  #include <stdlib.h>
--- 10848,10860 ----
  EOF
  
      echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
! echo "configure:10852: checking for iconv declaration" >&5
      if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    
        cat > conftest.$ac_ext <<EOF
! #line 10858 "configure"
  #include "confdefs.h"
  
  #include <stdlib.h>
*************** int main() {
*** 10937,10943 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:10941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    am_cv_proto_iconv_arg1=""
  else
--- 10873,10879 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:10877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    am_cv_proto_iconv_arg1=""
  else
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.152
diff -c -3 -p -r1.152 configure.in
*** configure.in	29 Apr 2004 14:29:14 -0000	1.152
--- configure.in	1 May 2004 19:49:37 -0000
*************** fi
*** 319,336 ****
  # documentation one needs to compile `-D_XOPEN_SOURCE_EXTENDED' on
  # HP-UX 10.10 and 10.20.
  
! case $host_os in
!   osf5.*)
!     # ncurses does not work on native alphaev68-dec-osf5.1
!     # -- chastain 2004-04-24
!     AC_SEARCH_LIBS(initscr, [curses], [],
!       [AC_MSG_WARN([no curses library found])])
!     ;;
!   *)
!     AC_SEARCH_LIBS(initscr, [ncurses Hcurses curses pdcurses], [],
!       [AC_MSG_WARN([no curses library found])])
!     ;;
! esac
  
  # Check whether the wborder function is provided by the curses
  # library detected above.  In certain implementations such as
--- 319,332 ----
  # documentation one needs to compile `-D_XOPEN_SOURCE_EXTENDED' on
  # HP-UX 10.10 and 10.20.
  
! # FIXME: ncurses does not work on native alphaev68-dec-osf5.1,
! # and probably other platforms.  AC_SEARCH_LIBS finds the library
! # in a place such as /usr/local/lib/libncurses.a, but does not
! # do anything to look for the matching include files.
! # -- chastain 2004-05-01
! 
! AC_SEARCH_LIBS(initscr, [ncurses Hcurses curses pdcurses], [],
!   [AC_MSG_WARN([no curses library found])])
  
  # Check whether the wborder function is provided by the curses
  # library detected above.  In certain implementations such as


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]