waf: fix build on AIX7
authorChristian Ambach <ambi@samba.org>
Thu, 20 Jun 2013 16:26:04 +0000 (18:26 +0200)
committerChristian Ambach <ambi@samba.org>
Fri, 9 Aug 2013 20:45:35 +0000 (22:45 +0200)
the same works for AIX 5,6,7 so leave away the version specifics (as autoconf build did)

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/wscript

index 17aef278e9fed656552c087c18700f445606d137..d115b5f4c621b8108532ebda88ff970564d798dd 100755 (executable)
@@ -322,7 +322,7 @@ def configure(conf):
     else:
         conf.env.HAVE_LD_VERSION_SCRIPT = False
 
-    if sys.platform == "aix5" or sys.platform == "aix6":
+    if sys.platform.startswith('aix'):
         conf.DEFINE('_ALL_SOURCE', 1, add_to_cflags=True)
         # Might not be needed if ALL_SOURCE is defined
         # conf.DEFINE('_XOPEN_SOURCE', 600, add_to_cflags=True)