public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Steve Ellcey <sje@cup.hp.com>
To: drow@false.org
Cc: wilson@specifixinc.com, binutils@sources.redhat.com, hjl@lucon.org
Subject: Re: Patch for IA64 HP-UX build
Date: Thu, 05 May 2005 17:14:00 -0000	[thread overview]
Message-ID: <200505051657.JAA17339@hpsje.cup.hp.com> (raw)
In-Reply-To: <20050505163805.GA15342@nevyn.them.org>

> > OK, Here is a new version of the patch using ACX_HEADER_STRING.  In my
> > first attempt I forgot to put the undef of ACX_HEADER_STRING into
> > config.in.  This one has been tested and all of bfd built on IA64 HP-UX.
> 
> That's a generated file - run autoheader.
> 
> -- 
> Daniel Jacobowitz
> CodeSourcery, LLC

So it is.  I guess that means my first patch was right, other than
needing a 'regenerate' line in ChangeLog for config.in.  Here is that
patch again with the modified ChangeLog (and after running autoheader
and retesting to make sure nothing broke).

bfd/ChangeLog:

2005-05-05  Steve Ellcey  <sje@cup.hp.com>

	configure.in: Add ACX_HEADER_STRING check.
	configure: Regenerate.
	config.in: Regenerate.
	sysdep.h: Change ifdefs around include of string.h and strings.h.


*** src.orig/bfd/configure.in	Thu May  5 09:05:21 2005
--- src/bfd/configure.in	Thu May  5 09:05:05 2005
*************** AC_CHECK_HEADERS(stddef.h string.h strin
*** 124,129 ****
--- 124,130 ----
  AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h)
  AC_HEADER_TIME
  AC_HEADER_DIRENT
+ ACX_HEADER_STRING
  AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid)
  AC_CHECK_FUNCS(strtoull)
  
*** src.orig/bfd/sysdep.h	Wed May  4 16:31:48 2005
--- src/bfd/sysdep.h	Thu May  5 09:00:10 2005
*************** Foundation, Inc., 51 Franklin Street - F
*** 39,44 ****
--- 39,48 ----
  extern int errno;
  #endif
  
+ #ifdef STRING_WITH_STRINGS
+ #include <string.h>
+ #include <strings.h>
+ #else
  #ifdef HAVE_STRING_H
  #include <string.h>
  #else
*************** extern int errno;
*** 47,52 ****
--- 51,57 ----
  #else
  extern char *strchr ();
  extern char *strrchr ();
+ #endif
  #endif
  #endif
  

  reply	other threads:[~2005-05-05 16:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-04 23:59 Steve Ellcey
2005-05-05  1:58 ` James E Wilson
2005-05-05 16:18   ` Steve Ellcey
2005-05-05 16:32     ` Steve Ellcey
2005-05-05 16:37   ` Steve Ellcey
2005-05-05 16:48     ` Daniel Jacobowitz
2005-05-05 17:14       ` Steve Ellcey [this message]
2005-05-05 17:52         ` James E Wilson
2005-05-05 19:28         ` James E Wilson
2005-05-05 16:58     ` H. J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200505051657.JAA17339@hpsje.cup.hp.com \
    --to=sje@cup.hp.com \
    --cc=binutils@sources.redhat.com \
    --cc=drow@false.org \
    --cc=hjl@lucon.org \
    --cc=wilson@specifixinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).