summaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba/wscript
Commit message (Collapse)AuthorAgeFilesLines
* build: unify and fix endian testsGustavo Zacarias2014-05-061-3/+62
| | | | | | | | | | | | | Unify the endian tests out of lib/ccan/wscript into wafsamba since they're almost cross-compile friendly. While at it fix them to be so by moving the preprocessor directives out of main scope since that will fail. And keep the WORDS_BIGENDIAN, HAVE_LITTLE_ENDIAN and HAVE_BIG_ENDIAN defines separate because of different codebases. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* waf:lib/replace change detection of gettextChristian Ambach2014-01-031-2/+1
| | | | | | | | | | | | convert this to an automatic check: if no option is given, try to find gettext and if found, use it if user has specified --with-gettext, then bail out if it could not be found in case of --without-gettext, skip all gettext related configure checks Bug: https://bugzilla.samba.org/show_bug.cgi?id=9911 Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* waf: add --without-gettext optionChristian Ambach2013-08-091-0/+3
| | | | | Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* waf: fix build on AIX7Christian Ambach2013-08-091-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>
* build(waf): support AIX 6.1Christian Ambach2012-11-091-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
* build: Remove --disable-sharedAndrew Bartlett2012-10-111-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
* build: Add option to specify where gettext is (/usr/local by default)Andriy Syrovenko2012-05-271-1/+5
| | | | | This should help configure script to find gettext on FreeBSD and (possibly) some other systems as well.
* build: Also look for iconv in /usr/local by defaultAndrew Bartlett2012-05-181-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
* Add include/lib folders from the commandlineThomas Nagy2012-05-181-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
* wafsamba: allow certain public libraries to be forced to be privateAndrew Bartlett2012-04-201-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
* buildtools: Add --enable-debug optionAndrew Bartlett2012-04-111-0/+3
|
* build: Require 64-bit files support and do not define ↵Andrew Bartlett2012-04-051-1/+2
| | | | HAVE_EXPLICIT_LARGEFILE_SUPPORT
* waf: Add autoconf --target support.Andreas Schneider2012-03-211-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
* waf: Do not use standards.h on darwinVolker Lendecke2012-03-111-1/+6
| | | | We get a nasty warning every time we include that
* build: added autoconf --disable-silent-rules optionSumit Bose2011-10-141-0/+3
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* build: Add duplicate symbol checking as part of make testAndrew Bartlett2011-09-081-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
* build: added WHYNEEDED=TARGET:DEPENDENCYAndrew Tridgell2011-02-221-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
* Fix private libdir and codepages pathsSimo Sorce2011-02-151-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
* buildtools/wafsamba: import 'sys' and 'Logs' if we use themStefan Metzmacher2011-01-051-1/+1
| | | | | | | We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
* build: add more CFLAGS for aixMatthieu Patou2010-12-111-1/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 18:09:23 CET 2010 on sn-devel-104
* build: On AIX we need _XOPEN_SOURCE >= 500 for CLOCK_REALTIMEMatthieu Patou2010-12-111-0/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 14:48:21 CET 2010 on sn-devel-104
* waf: added --disable-symbol-versions configure optionAndrew Tridgell2010-12-081-3/+8
| | | | some people may not want symbol versions.
* waf: added configure test for -Wl,--version-scriptAndrew Tridgell2010-12-081-0/+9
| | | | | | this checks that the linker supports --version-script Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: added --git-local-changes configure optionAndrew Tridgell2010-11-161-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
* wafsamba: Use project name variable rather than hardcoding 'samba4'.Jelmer Vernooij2010-11-051-2/+2
| | | | Suggested-By: Andrew Tridgell <tridge@samba.org>
* Add --disable-rpath-private-install flag.Jelmer Vernooij2010-11-051-2/+15
|
* Add --with-privatelibdir build option.Jelmer Vernooij2010-11-051-0/+5
|
* build: In some case the flags for the sun studio linker are wrongMatthieu Patou2010-10-311-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
* build: set shared libraries flags correctly on mac os XMatthieu Patou2010-10-301-2/+0
|
* waf: added --symbol-check optionAndrew Tridgell2010-10-301-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>
* build: add the -fno-common flags to fix the link pb on mac os XMatthieu Patou2010-10-281-0/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104
* build: Add XPG6 otherwise we have a configure pb on sun SolarisMatthieu Patou2010-10-281-0/+1
|
* build: remove warnings about redifinition of boolean use -KPIC on sunccMatthieu Patou2010-10-271-1/+9
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Oct 27 22:57:19 UTC 2010 on sn-devel-104
* waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij2010-10-231-10/+10
|
* waf: added --show-deps and --show-duplicatesAndrew Tridgell2010-10-211-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
* waf: automap shared library names from .so to the right extensionAndrew Tridgell2010-10-191-1/+6
| | | | this should help with MacOSX .dylib libraries
* Disable gccdeps if -MD is not supportedThomas Nagy2010-08-301-3/+23
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Revert "waf: enable gccdeps in developer mode"Stefan Metzmacher2010-08-171-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
* waf: enable gccdeps in developer modeAndrew Tridgell2010-08-141-2/+3
| | | | there are some bugs in the waf builtin preproc this that avoids
* waf Provide release signing capability in 'waf dist'Andrew Bartlett2010-05-281-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
* wafsamba: Disable the abi checks when gdb is not availableThomas Nagy2010-05-211-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>
* Revert "wafsamba: use -D_XOPEN_SOURCE=700 for the build"Stefan Metzmacher2010-05-141-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
* wafsamba: use -D_XOPEN_SOURCE=700 for the buildStefan Metzmacher2010-05-141-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
* build: treat a blank --build or --host as not a cross-compileAndrew Tridgell2010-05-071-1/+3
| | | | This matches autoconf behaviour
* build: added configure test for inlineAndrew Tridgell2010-05-051-0/+2
|
* build: use option_group() not add_option_group()Andrew Tridgell2010-04-261-1/+1
| | | | option_group() ensures we don't end up with duplicate groups
* build: give a more useful error when the source dir has movedAndrew Tridgell2010-04-231-0/+6
| | | | you need a distclean if you mv the source directory
* build: added --enable-auto-reconfigureAndrew Tridgell2010-04-221-1/+13
| | | | | this is off by default until some issues are resolved. See my mail to samba-technical for details.
* build: added --nonshared-binary=LIST optionAndrew Tridgell2010-04-211-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
* build: fixed uname output to be on target machine when cross compilingAndrew Tridgell2010-04-211-4/+7
| | | | | this also makes the output of define_ret configure tests show up in the configure output