Author: metze Date: 2006-09-14 06:39:48 +0000 (Thu, 14 Sep 2006) New Revision: 18501
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18501 Log: 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 Removed: branches/SAMBA_4_0/source/build/m4/check_types.m4 Modified: branches/SAMBA_4_0/source/build/m4/env.m4 branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4 Changeset: Deleted: branches/SAMBA_4_0/source/build/m4/check_types.m4 =================================================================== --- branches/SAMBA_4_0/source/build/m4/check_types.m4 2006-09-14 06:22:02 UTC (rev 18500) +++ branches/SAMBA_4_0/source/build/m4/check_types.m4 2006-09-14 06:39:48 UTC (rev 18501) @@ -1,17 +0,0 @@ -dnl SMB Build Environment Types Checks -dnl ------------------------------------------------------- -dnl Copyright (C) Stefan (metze) Metzmacher 2004 -dnl Released under the GNU GPL -dnl ------------------------------------------------------- -dnl - -AC_CHECK_SIZEOF(short,cross) -AC_CHECK_SIZEOF(int,cross) -AC_CHECK_SIZEOF(long,cross) -AC_CHECK_SIZEOF(long long,cross) -if test x"$ac_cv_type_long_long" != x"yes";then - AC_MSG_ERROR([Sorry we need type 'long long']) -fi -if test $ac_cv_sizeof_long_long -lt 8;then - AC_MSG_ERROR([Sorry we need sizeof(long long) >= 8]) -fi Modified: branches/SAMBA_4_0/source/build/m4/env.m4 =================================================================== --- branches/SAMBA_4_0/source/build/m4/env.m4 2006-09-14 06:22:02 UTC (rev 18500) +++ branches/SAMBA_4_0/source/build/m4/env.m4 2006-09-14 06:39:48 UTC (rev 18501) @@ -38,5 +38,4 @@ m4_include(build/m4/check_cc.m4) m4_include(build/m4/check_ld.m4) m4_include(build/m4/check_make.m4) -m4_include(build/m4/check_types.m4) m4_include(build/m4/check_doc.m4) Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4 =================================================================== --- branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4 2006-09-14 06:22:02 UTC (rev 18500) +++ branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4 2006-09-14 06:39:48 UTC (rev 18501) @@ -90,5 +90,12 @@ 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