summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scriptsStefan Metzmacher2022-03-291-0/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* configure: Reformat wrapper scriptAndreas Schneider2022-02-221-1/+1
| | | | | | shfmt -w -p -i 0 -fn configure Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* configure: allow configure script to accept parameters with spacesUri Simchoni2021-09-091-1/+1
| | | | | | | | Specifically this enables passing two linker flags to the --fuzz-target-ldflags configure argument. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* configure: Do not put arguments into double quotesAndreas Schneider2021-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=14777 This could create an issue that arguments don't get split by python and then the following could happen: ./configure --libdir=/usr/lib64 --enable-clangdb LIBDIR='/usr/lib64 --enable-clangdb' This ends then up in parameters.all.xml: <!ENTITY pathconfig.LIBDIR '/usr/lib64 --enable-clangdb'> The python parser then errors out: xml.etree.ElementTree.ParseError: not well-formed (invalid token) Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Aug 3 18:36:37 UTC 2021 on sn-devel-184
* build: Move python detection back into waf (instead of in configure and ↵Andrew Bartlett2018-12-141-1/+1
| | | | | | | | | | | | | | | | | | | Makefile) This avoids creating a mini-configure in the configure script. Users wishing to use python2 to build need to specify PYTHON= to both ./configure and make After we merged the python3 change, it became clear that relying on systems prefixing the correct python just causes trouble and make debugging harder, so only use $PYTHON for the override, not the default case This essentially reverts a660b7fb8e519bd3be558fd0425bff8f287fca1f but leaves the files more consistent. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Noel Power <npower@samba.org>
* PY3: switch current build to use python3Noel Power2018-12-101-1/+1
| | | | | | | | | | | | | | Make sure default make and configure for all now defaults to building with python3. To build a samba (or sub component e.g. talloc etc.) with python3 ./configure && make To build a samba (or sub component e.g. talloc etc.) with python2 PYTHON=python ./configure && PYTHON=python make Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* configure: Unload the wrappers so waf configure succeeds.Andreas Schneider2014-10-091-0/+3
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Oct 9 19:32:16 CEST 2014 on sn-devel-104
* configure: Support specifying PYTHON environment variable to run waf.Jelmer Vernooij2012-11-091-1/+1
| | | | | | | | This is necessary to run configure on Minix, where python is named "python2.X". Reviewed-by: Simo Sorce <idra@samba.org> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* waf: added top level build rules Andrew Tridgell2011-02-071-0/+14
This adds build rules for the top level directory based on the ones from source4. This is an intermediate step towards a combined top level build which will build both the Samba3 (bin/smbd, bin/nmbd etc) and Samba4 (bin/samba) binaries from a single build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>