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>
7 years ago
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>
7 years ago
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>
7 years ago
Christian Decker
3cf1581d6d
configure: Use the ./configure step to find pytest
Fixes #1544
Signed-off-by: Christian Decker <decker.christian@gmail.com>
7 years ago
Rusty Russell
ca8671de0a
configure: add --enable-valgrind/disable-valgrind.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
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>
7 years ago