summaryrefslogtreecommitdiff
path: root/net/samba3/files/patch-lib_replace_libreplace_cc.m4
blob: b4d3ae135c49b5a89e20685cb45454147f0750fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/replace/libreplace_cc.m4.orig	Thu Mar  1 05:54:23 2007
+++ lib/replace/libreplace_cc.m4	Mon Jun  4 21:20:13 2007
@@ -131,6 +131,10 @@
 AC_CHECK_TYPE(intptr_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