aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-11-02 15:20:47 +0000
committerDJ Delorie <dj@redhat.com>2010-11-02 15:20:47 +0000
commitffa54e5c48223b42840f93e56a5eff69998ab4e1 (patch)
tree3201d128b72a1f1d6eaa8599ff205444b1496888 /libiberty/configure
parent877791769e23126090bab077d41f4d6221a23045 (diff)
downloadgdb-ffa54e5c48223b42840f93e56a5eff69998ab4e1.zip
gdb-ffa54e5c48223b42840f93e56a5eff69998ab4e1.tar.gz
gdb-ffa54e5c48223b42840f93e56a5eff69998ab4e1.tar.bz2
merge from gcc
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 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