Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] define NEW_PROC_API on Interix
@ 2002-10-20 23:32 Joel Brobecker
  2002-10-21 12:08 ` Andrew Cagney
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Brobecker @ 2002-10-20 23:32 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

On Interix, NEW_PROC_API should be defined. So the following change
has been made to configure.in.

I also regenerated configure using the autoconf located in the binutils
directory of ftp://sources.redhat.com, but got zillions of meaning-less
differences. I wonder if this is because I did something wrong, or if
the current configure was generated with an "incorrect" version of
autoconf. For now, I just extracted the one hunk that my change should
cause.

Tested on Linux by:
    % make distclean
    % ./configure
    % make

Ok to apply?

2002-10-20  Joel Brobecker  <brobecker@gnat.com>
        
        * configure.in: Define NEW_PROC_API on Interix too.
        * configure: Regenerate.

Thanks,
-- 
Joel

[-- Attachment #2: configure.diff --]
[-- Type: text/plain, Size: 1293 bytes --]

Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.91
diff -c -3 -r1.91 configure.in
*** configure.in	20 Sep 2002 00:24:01 -0000	1.91
--- configure.in	21 Oct 2002 06:18:32 -0000
***************
*** 279,285 ****
    ia64-*-aix*)
        AC_DEFINE(NEW_PROC_API)
        ;;
!   *-*-unixware* | *-*-sysv4.2* | *-*-sysv5*)
        AC_DEFINE(NEW_PROC_API)
        ;;
    *-*-solaris2.[[678]])
--- 279,285 ----
    ia64-*-aix*)
        AC_DEFINE(NEW_PROC_API)
        ;;
!   *-*-unixware* | *-*-sysv4.2* | *-*-sysv5* | *-*-interix* )
        AC_DEFINE(NEW_PROC_API)
        ;;
    *-*-solaris2.[[678]])
Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.90
diff -c -3 -r1.90 configure
*** configure	20 Sep 2002 00:24:01 -0000	1.90
--- configure	21 Oct 2002 06:18:37 -0000
***************
*** 4991,4997 ****
  EOF
  
        ;;
!   *-*-unixware* | *-*-sysv4.2* | *-*-sysv5*)
        cat >> confdefs.h <<\EOF
  #define NEW_PROC_API 1
  EOF
--- 4991,4997 ----
  EOF
  
        ;;
!   *-*-unixware* | *-*-sysv4.2* | *-*-sysv5* | *-*-interix* )
        cat >> confdefs.h <<\EOF
  #define NEW_PROC_API 1
  EOF

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-10-22 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-20 23:32 [RFA] define NEW_PROC_API on Interix Joel Brobecker
2002-10-21 12:08 ` Andrew Cagney
2002-10-21 11:52   ` Joel Brobecker
2002-10-21 15:07     ` Andrew Cagney
2002-10-21 20:48       ` [PATCH] regenerate gdb/configure (was "Re: [RFA] define NEW_PROC_API on Interix") Joel Brobecker
2002-10-22 11:53         ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox