Jan Sarenik
40ea74ba99
configure: Check for version of pytest
...
Addresses #486 and takes into account @rustyrussell 's
comment about PYTEST defined in the environment which
always overrides without checking the version.
2018-06-15 01:55:44 +02:00
Rusty Russell
6a73c7eeb1
configure: fix defaults in help.
...
Both "[ 1 ]" and "[ 0 ]" both evaluate true in shell; we really want
an explicit '1' test.
Before:
$ ./configure --help
...
--enable/disable-compat (default disable)
After:
$ ./configure --help
...
--enable/disable-compat (default enable)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-06-14 14:38:24 +02:00
Rusty Russell
46aaf08047
configure: add hack to rename ccan's sha256 routines to avoid libwally clash
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-06-14 14:26:25 +02:00
Rusty Russell
56046d470b
configure: take PYTEST from env var or cmdline.
...
We should only autodetect if it's not set manually.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-06-09 13:39:27 +02:00
Christian Decker
3cf1581d6d
configure: Use the ./configure step to find pytest
...
Fixes #1544
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2018-06-09 13:39:27 +02:00
Rusty Russell
ca8671de0a
configure: add --enable-valgrind/disable-valgrind.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-06-08 17:56:01 +02:00
Rusty Russell
f6d22ed0cf
configure: new script.
...
You can use environment variables or the commandline to set defaults.
It looks very autoconf, but you don't need to learn m4.
Doesn't cover all the obscure flags, but it's easy to extend.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-06-08 17:56:01 +02:00