summaryrefslogtreecommitdiff
path: root/source4/build/m4
diff options
context:
space:
mode:
authorNathaniel McCallum <nathaniel@natemccallum.com>2009-06-22 15:26:33 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-06-29 13:39:52 +1000
commit1e21adaaf6409ab3e2d33a5e48da282e1926a720 (patch)
tree99118cbe7b6affd3a011f1b2e3009c491cf06182 /source4/build/m4
parentbc7b608625d427e9e6cb38312326eec59d571653 (diff)
downloadsamba-1e21adaaf6409ab3e2d33a5e48da282e1926a720.tar.gz
samba-1e21adaaf6409ab3e2d33a5e48da282e1926a720.tar.bz2
samba-1e21adaaf6409ab3e2d33a5e48da282e1926a720.zip
Two patches which fix issues on cross compiling/building
Diffstat (limited to 'source4/build/m4')
-rw-r--r--source4/build/m4/check_cc.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4
index 55802850b0..32e4b5083d 100644
--- a/source4/build/m4/check_cc.m4
+++ b/source4/build/m4/check_cc.m4
@@ -45,7 +45,9 @@ AC_CACHE_CHECK([that the C compiler understands negative enum values],samba_cv_C
return 0;
}
],
- samba_cv_CC_NEGATIVE_ENUM_VALUES=yes,samba_cv_CC_NEGATIVE_ENUM_VALUES=no)])
+ samba_cv_CC_NEGATIVE_ENUM_VALUES=yes,
+ samba_cv_CC_NEGATIVE_ENUM_VALUES=no,
+ samba_cv_CC_NEGATIVE_ENUM_VALUES=yes)])
if test x"$samba_cv_CC_NEGATIVE_ENUM_VALUES" != x"yes"; then
AC_DEFINE(USE_UINT_ENUMS, 1, [Whether the compiler has uint enum support])
fi