diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-10-29 19:07:54 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-10-29 19:07:54 +0000 |
commit | f8eae8b28b412fc8d9c8bad1961447652a306dd2 (patch) | |
tree | 7b39dbbce6990ef9b39b5d94910f2df89b0d9cc8 /binutils/configure | |
parent | e2785c4472a06867e3ddbd11a5609d3f1a9e0f32 (diff) | |
download | gdb-f8eae8b28b412fc8d9c8bad1961447652a306dd2.zip gdb-f8eae8b28b412fc8d9c8bad1961447652a306dd2.tar.gz gdb-f8eae8b28b412fc8d9c8bad1961447652a306dd2.tar.bz2 |
2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3384
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.
* readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
(program_interpreter): Allocate PATH_MAX bytes instead of 64.
(process_program_headers): Don't assume that program interpreter
is shorter than 64 characters.
Diffstat (limited to 'binutils/configure')
-rwxr-xr-x | binutils/configure | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/configure b/binutils/configure index 83e632d..4124830 100755 --- a/binutils/configure +++ b/binutils/configure @@ -6425,7 +6425,9 @@ done -for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h + + +for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h limits.h sys/param.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then |