freebsd-ports/net/samba32/files/patch-lib__replace__libreplace_cc.m4
2009-01-07 00:28:42 +00:00

13 lines
482 B
Text

--- ./lib/replace/libreplace_cc.m4.orig 2008-12-19 13:57:33.000000000 +0000
+++ ./lib/replace/libreplace_cc.m4 2009-01-06 17:10:53.000000000 +0000
@@ -145,6 +145,10 @@
AC_CHECK_TYPE(uintptr_t, unsigned long long)
AC_CHECK_TYPE(ptrdiff_t, unsigned long long)
+if test x"$ac_cv_type_intptr_t" = x"yes"; then
+ AC_DEFINE(HAVE_INTPTR_T,1,[Whether the host has intptr_t])
+fi
+
if test x"$ac_cv_type_long_long" != x"yes";then
AC_MSG_ERROR([LIBREPLACE needs type 'long long'])
fi