summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-31 08:36:29 +0200
committerKai Blin <kai@samba.org>2010-05-31 22:26:31 +0200
commit0fddbe472edb33861386cb11cc141d9b02f95a02 (patch)
treeb0d0063b2bda9d4555e4c8900964a8a7d496f527 /source3/wscript
parent3811fdab5cec7830420c88cce99ea966236434f0 (diff)
downloadsamba-0fddbe472edb33861386cb11cc141d9b02f95a02.tar.gz
samba-0fddbe472edb33861386cb11cc141d9b02f95a02.tar.bz2
samba-0fddbe472edb33861386cb11cc141d9b02f95a02.zip
s3-waf: Check if compiler supports LL suffix
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript6
1 files changed, 6 insertions, 0 deletions
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