summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
AgeCommit message (Collapse)AuthorFilesLines
2013-08-09waf: add --without-gettext optionChristian Ambach1-0/+3
Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-08-09waf: fix build on AIX7Christian Ambach1-1/+1
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>
2012-11-09build(waf): support AIX 6.1Christian Ambach1-1/+1
on AIX6.1, we need to define _ALL_SOURCE as well, otherwise system headers with BSD types like u_int cannot be used
2012-10-11build: Remove --disable-sharedAndrew Bartlett1-11/+2
This does not work, and has no known use cases. Remove it so we do not waste time trying to support it. This also removes it for ldb/tdb/ntdb/talloc, but as these are first shared libraries, and then tools on top of those, rpath or (for emergency tools) --nonshared-binary= seems more appropriate. Andrew Bartlett
2012-05-27build: Add option to specify where gettext is (/usr/local by default)Andriy Syrovenko1-1/+5
This should help configure script to find gettext on FreeBSD and (possibly) some other systems as well.
2012-05-18build: Also look for iconv in /usr/local by defaultAndrew Bartlett1-2/+2
This should help the build find iconv on FreeBSD and similar systems, and make it possible to operate with 8-bit character sets. Andrew Bartlett
2012-05-18Add include/lib folders from the commandlineThomas Nagy1-0/+5
By using opt.add_option(..., match=['Checking for library iconv'], dest='iconvdir'), all configuration tests displaying 'Checking for library iconv' will get $(iconvdir)/lib and $(iconvdir)/include
2012-04-20wafsamba: allow certain public libraries to be forced to be privateAndrew Bartlett1-0/+5
This will help installations where the Samba4 libraries must be used but the main system is not using the system libs that would normally be installed. This in particular impacts on libwbclient, which is a core dep, but is different to that used by the rest of a Samba 3.x based system. Use eg: ./configure --private-libraries=wbclient Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 20 03:27:22 CEST 2012 on sn-devel-104
2012-04-11buildtools: Add --enable-debug optionAndrew Bartlett1-0/+3
2012-04-05build: Require 64-bit files support and do not define ↵Andrew Bartlett1-1/+2
HAVE_EXPLICIT_LARGEFILE_SUPPORT
2012-03-21waf: Add autoconf --target support.Andreas Schneider1-0/+3
This is needed on some platforms so that you can set it and it is not automagically transformed into --targets. The --target option is normally set by the RPM %configure macro. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 21 11:54:02 CET 2012 on sn-devel-104
2012-03-11waf: Do not use standards.h on darwinVolker Lendecke1-1/+6
We get a nasty warning every time we include that
2011-10-14build: added autoconf --disable-silent-rules optionSumit Bose1-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-09-08build: Add duplicate symbol checking as part of make testAndrew Bartlett1-0/+4
This ensures we do not get duplicate symbols again, when run as ./configure.developer on non-build farm machines. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 13:37:40 CEST 2011 on sn-devel-104
2011-02-22build: added WHYNEEDED=TARGET:DEPENDENCYAndrew Tridgell1-0/+4
you can now do: make WHYNEEDED=smbd/smbd:gensec and it will print: Checking why smbd/smbd needs to link to gensec target 'smbd/smbd' uses symbols set(['open_schannel_session_store']) from 'gensec' Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Feb 22 03:35:58 CET 2011 on sn-devel-104
2011-02-15Fix private libdir and codepages pathsSimo Sorce1-1/+1
The private libraries need to be arch specific as well. With --enable-fhs the codepages should go in /usr/share/samba and not in /usr/lib{64}/samba as they are data files not libraries. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Feb 15 04:22:37 CET 2011 on sn-devel-104
2011-01-05buildtools/wafsamba: import 'sys' and 'Logs' if we use themStefan Metzmacher1-1/+1
We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
2010-12-11build: add more CFLAGS for aixMatthieu Patou1-1/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 18:09:23 CET 2010 on sn-devel-104
2010-12-11build: On AIX we need _XOPEN_SOURCE >= 500 for CLOCK_REALTIMEMatthieu Patou1-0/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 14:48:21 CET 2010 on sn-devel-104
2010-12-08waf: added --disable-symbol-versions configure optionAndrew Tridgell1-3/+8
some people may not want symbol versions.
2010-12-08waf: added configure test for -Wl,--version-scriptAndrew Tridgell1-0/+9
this checks that the linker supports --version-script Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-16waf: added --git-local-changes configure optionAndrew Tridgell1-0/+5
if you use --git-local-changes then the version number that waf extracts from git will have a '+' on the end if you have local changes, as determined by running 'git diff'. This used to be the default, but unfortunately it is far too slow on some systems. On a NFS build system I was using the first line of configure took about 2 minutes. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 16 01:51:54 UTC 2010 on sn-devel-104
2010-11-05wafsamba: Use project name variable rather than hardcoding 'samba4'.Jelmer Vernooij1-2/+2
Suggested-By: Andrew Tridgell <tridge@samba.org>
2010-11-05Add --disable-rpath-private-install flag.Jelmer Vernooij1-2/+15
2010-11-05Add --with-privatelibdir build option.Jelmer Vernooij1-0/+5
2010-10-31build: In some case the flags for the sun studio linker are wrongMatthieu Patou1-0/+10
In this case we test if the -Wl,-h,%s works and if so use this form Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 31 16:35:17 UTC 2010 on sn-devel-104
2010-10-30build: set shared libraries flags correctly on mac os XMatthieu Patou1-2/+0
2010-10-30waf: added --symbol-check optionAndrew Tridgell1-0/+4
this adds checking of the symbols in all our object files, libraries and syslibs. It will form the basis in future for a lot more checks, but for now it just checks basic rules like not allowing us to use symbols that are in system libs. Currently this is enabled only if you use the --symbol-check option, (or use make with SYMBOLCHECK=1) but I intend to make this always enabled once it has had more testing. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-28build: add the -fno-common flags to fix the link pb on mac os XMatthieu Patou1-0/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104
2010-10-28build: Add XPG6 otherwise we have a configure pb on sun SolarisMatthieu Patou1-0/+1
2010-10-27build: remove warnings about redifinition of boolean use -KPIC on sunccMatthieu Patou1-1/+9
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Oct 27 22:57:19 UTC 2010 on sn-devel-104
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-10/+10
2010-10-21waf: added --show-deps and --show-duplicatesAndrew Tridgell1-0/+8
these options make it easier to examine our depenency tree, by showing any objects linked into more than one library, and by showing the dependency tree for a chosen target
2010-10-19waf: automap shared library names from .so to the right extensionAndrew Tridgell1-1/+6
this should help with MacOSX .dylib libraries
2010-08-30Disable gccdeps if -MD is not supportedThomas Nagy1-3/+23
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-08-17Revert "waf: enable gccdeps in developer mode"Stefan Metzmacher1-3/+2
This reverts commit 61930f50cbace4741500d8b53fc11a4ef3e0d4f8. This breaks the build with older gcc versions gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] (This is SLES 11) Please only enable it if thet compiler supports it. metze
2010-08-14waf: enable gccdeps in developer modeAndrew Tridgell1-2/+3
there are some bugs in the waf builtin preproc this that avoids
2010-05-28waf Provide release signing capability in 'waf dist'Andrew Bartlett1-0/+8
This helps ensure the release is signed correctly - the .tar file, not the .tar.gz must be signed, and it's easy to forget this. Andrew Bartlett
2010-05-21wafsamba: Disable the abi checks when gdb is not availableThomas Nagy1-0/+4
Try to find gdb during the configuration, if gdb is missing, disable the abi checks. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-14Revert "wafsamba: use -D_XOPEN_SOURCE=700 for the build"Stefan Metzmacher1-1/+0
This reverts commit 3408c942ab09387c399dad03e22233e33fe1e2fc. This seems to cause more problems than it tries to solve. And Mac OS 10.4 doesn't need it anymore (after commit bd6d76d77621c1dc92262c48204b65455a214b62). metze
2010-05-14wafsamba: use -D_XOPEN_SOURCE=700 for the buildStefan Metzmacher1-0/+1
Some systems set this automaticly via -D_GNU_SOURCE=1, but on others we need to set it ourself (e.g. Mac OS 10.4) metze
2010-05-07build: treat a blank --build or --host as not a cross-compileAndrew Tridgell1-1/+3
This matches autoconf behaviour
2010-05-05build: added configure test for inlineAndrew Tridgell1-0/+2
2010-04-26build: use option_group() not add_option_group()Andrew Tridgell1-1/+1
option_group() ensures we don't end up with duplicate groups
2010-04-23build: give a more useful error when the source dir has movedAndrew Tridgell1-0/+6
you need a distclean if you mv the source directory
2010-04-22build: added --enable-auto-reconfigureAndrew Tridgell1-1/+13
this is off by default until some issues are resolved. See my mail to samba-technical for details.
2010-04-21build: added --nonshared-binary=LIST optionAndrew Tridgell1-0/+4
This allows you to specify some binaries that should be built without shared libs. A non-shared smbtorture will make testing s3 in the build farm easier
2010-04-21build: fixed uname output to be on target machine when cross compilingAndrew Tridgell1-4/+7
this also makes the output of define_ret configure tests show up in the configure output
2010-04-20build: added uname display and SYSTEM_UNAME defineAndrew Tridgell1-0/+3
suggestion from Metze
2010-04-19build: added --cross-answers supportAndrew Tridgell1-0/+4
This allows you to easily cross-compile even without a --cross-execute emulator See http://wiki.samba.org/index.php/Waf#cross-compiling for details