diff options
author | Ian Lance Taylor <iant@google.com> | 2010-11-02 14:40:44 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2010-11-02 14:40:44 +0000 |
commit | 1cfabf34d83637a5e9ffa11dc38379d017738cf7 (patch) | |
tree | b13f59ad5c9b124df2fcf21f33e4c80b19f23808 /libiberty/configure | |
parent | fee3eacd6fea60bfc2bed8477315ea1f125a278c (diff) | |
download | gcc-1cfabf34d83637a5e9ffa11dc38379d017738cf7.zip gcc-1cfabf34d83637a5e9ffa11dc38379d017738cf7.tar.gz gcc-1cfabf34d83637a5e9ffa11dc38379d017738cf7.tar.bz2 |
simple-object.h: New file.
include/:
* simple-object.h: New file.
libiberty/:
* simple-object.c: New file.
* simple-object-common.h: New file.
* simple-object-elf.c: New file.
* simple-object-mach-o.c: New file.
* simple-object-coff.c: New file.
* simple-object.txh: New file.
* configure.ac: Add AC_TYPE_SSIZE_T.
* Makefile.in: Rebuild dependencies.
(CFILES): Add simple-object.c, simple-object-coff,
simple-object-elf.c, and simple-object-mach-o.c.
(REQUIRED_OFILES): Add corresponding object files.
* configure: Rebuild.
* config.in: Rebuild.
* functions.texi: Rebuild.
Co-Authored-By: Dave Korn <dave.korn.cygwin@gmail.com>
Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>
From-SVN: r166185
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libiberty/configure b/libiberty/configure index 142c81c..3d7ba30 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -5203,6 +5203,17 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi +ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" +if test "x$ac_cv_type_ssize_t" = x""yes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define ssize_t int +_ACEOF + +fi + # Given the above check, we always have uintptr_t or a fallback # definition. So define HAVE_UINTPTR_T in case any imported code |