+echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6
+echo "configure:1432: checking for uintptr_t" >&5
+cat > conftest.$ac_ext <<EOF
+#line 1434 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "uintptr_t" >/dev/null 2>&1; then
+ rm -rf conftest*
+ libiberty_cv_uintptr_t=yes
+else
+ rm -rf conftest*
+ libiberty_cv_uintptr_t=no
+fi
+rm -f conftest*
+
+
+if test $libiberty_cv_uintptr_t = yes
+then
+ cat >> confdefs.h <<\EOF
+#define HAVE_UINTPTR_T 1
+EOF
+
+ echo "$ac_t""yes" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+