diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-14 06:39:48 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2006-09-14 06:39:48 +0000 |
commit | fa4bf4554a1a7e0565d5c1390ce96b54bbd3b815 (patch) | |
tree | 425cdcf0043ffc0da5b5454efd2fbcae35a4237a /source/lib | |
parent | 71dd3625eb6166ff14731a8a4486ca4ccc8a479d (diff) | |
download | samba-fa4bf4554a1a7e0565d5c1390ce96b54bbd3b815.tar.gz samba-fa4bf4554a1a7e0565d5c1390ce96b54bbd3b815.tar.xz samba-fa4bf4554a1a7e0565d5c1390ce96b54bbd3b815.zip |
r18501: libreplace needs 'long long', bailout if not present
or the size is not 8 bytes or more.
samba4 doesn't need type checks anymore
metze
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/replace/libreplace_cc.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/lib/replace/libreplace_cc.m4 b/source/lib/replace/libreplace_cc.m4 index 2c58933a650..9f6912741e9 100644 --- a/source/lib/replace/libreplace_cc.m4 +++ b/source/lib/replace/libreplace_cc.m4 @@ -90,5 +90,12 @@ AC_CHECK_SIZEOF(ssize_t) AC_CHECK_TYPE(intptr_t, unsigned long long) AC_CHECK_TYPE(ptrdiff_t, unsigned long long) +if test x"$ac_cv_type_long_long" != x"yes";then + AC_MSG_ERROR([LIBREPLACE needs type 'long long']) +fi +if test $ac_cv_sizeof_long_long -lt 8;then + AC_MSG_ERROR([LIBREPLACE needs sizeof(long long) >= 8]) +fi + AC__LIBREPLACE_ONLY_CC_CHECKS_END ]) dnl end AC_LIBREPLACE_CC_CHECKS |