From 0fddbe472edb33861386cb11cc141d9b02f95a02 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Mon, 31 May 2010 08:36:29 +0200 Subject: s3-waf: Check if compiler supports LL suffix --- source3/wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3') diff --git a/source3/wscript b/source3/wscript index ee073118f9..41a06b45f9 100644 --- a/source3/wscript +++ b/source3/wscript @@ -215,6 +215,12 @@ if (0) { }''', 'HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS', msg="Checking if the compiler will optimize out functions") + # Check if the compiler supports the LL suffix on long long integers + # AIX needs this + conf.CHECK_CODE('long long i = 0x8000000000LL', 'COMPILER_SUPPORTS_LL', + headers='stdio.h', + msg="Checking for LL suffix on long long integers") + conf.CHECK_FUNCS(''' _acl __acl add_proplist_entry atexit attr_getf attr_list attr_listf attropen attr_remove attr_removef attr_set attr_setf backtrace_symbols -- cgit