summaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-02 14:40:44 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-02 14:40:44 +0000
commitebb6c20c677930f98bb34e59b10c10ff3c977659 (patch)
treeb13f59ad5c9b124df2fcf21f33e4c80b19f23808 /libiberty/configure
parent90ff10b3d8a329ba3b765c9e64c885316eb7041f (diff)
downloadgcc-ebb6c20c677930f98bb34e59b10c10ff3c977659.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166185 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-xlibiberty/configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/libiberty/configure b/libiberty/configure
index 142c81ce971..3d7ba30a2cd 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