This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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/gas]: Check basename declaration for IVMS cross assembler


Hi,

when configured for itanium VMS, tc-ia64.c calls basename(). But libiberty.h requires to check for its
declaration. This patch add the check in gas configure.in


Checked on Darwin host and ia64-openvms target.

Ok to commit ?

Tristan.

2009-09-03 Tristan Gingold <gingold@adacore.com>

	* configure.in: Check for basename declaration.
	* config.in: Regenerate.
	* configure: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.213
diff -c -r1.213 configure.in
*** configure.in	6 Aug 2009 17:38:02 -0000	1.213
--- configure.in	3 Sep 2009 08:42:35 -0000
***************
*** 693,699 ****
  GAS_CHECK_DECL_NEEDED(sbrk, f, char *(*f)(), $gas_test_headers)
  GAS_CHECK_DECL_NEEDED(strstr, f, char *(*f)(), $gas_test_headers)

! AC_CHECK_DECLS([vsnprintf])

BFD_BINARY_FOPEN

--- 693,699 ----
  GAS_CHECK_DECL_NEEDED(sbrk, f, char *(*f)(), $gas_test_headers)
  GAS_CHECK_DECL_NEEDED(strstr, f, char *(*f)(), $gas_test_headers)

! AC_CHECK_DECLS([vsnprintf, basename])

BFD_BINARY_FOPEN



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