daily update
[deliverable/binutils-gdb.git] / libiberty / configure.in
index 8b67396b731854524a752587a8b9c11fcc6b6d94..335737045b54f14ccdd188da55725c53847b7d17 100644 (file)
@@ -126,16 +126,11 @@ AC_HEADER_TIME
 
 libiberty_AC_DECLARE_ERRNO
 
-AC_MSG_CHECKING(for uintptr_t)
-AC_EGREP_HEADER(uintptr_t, sys/types.h,
-                libiberty_cv_uintptr_t=yes, libiberty_cv_uintptr_t=no)
+AC_CHECK_TYPE(uintptr_t, unsigned long)
 
-if test $libiberty_cv_uintptr_t = yes
+if test $ac_cv_type_uintptr_t = yes
 then
   AC_DEFINE(HAVE_UINTPTR_T, 1, [Define if you have the \`uintptr_t' type.])
-  AC_MSG_RESULT(yes)
-else
-  AC_MSG_RESULT(no)
 fi
 
 # This is the list of functions which libiberty will provide if they
@@ -340,6 +335,13 @@ if test -z "${setobjs}"; then
     libiberty_cv_var_sys_errlist=yes
     ;;
 
+  *-*-*vms*)
+    # Under VMS, vfork works very different than on Unix. The standard test 
+    # won't work, and it isn't easily adaptable. It makes more sense to
+    # just force it.
+    ac_cv_func_vfork_works=yes
+    ;;
+
   esac
 
   # We haven't set the list of objects yet.  Use the standard autoconf
This page took 0.024518 seconds and 4 git commands to generate.