summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2017-12-28 21:59:18 +0000
committerSami Kerola <kerolasa@iki.fi>2018-10-03 20:17:01 +0100
commit9244bd0923405a7555e23de0581ff6944cf18733 (patch)
tree0bfc1ab142102e96dc83bdedc22c1e79410f06bd /configure
parent2f565a573a34424d790224941f7cebd49edf50d0 (diff)
downloadiputils-9244bd0923405a7555e23de0581ff6944cf18733.tar.gz
build-sys: make meson to do everything needed
Perhaps not perfect meson code. This is my first try with this build system, so bear with me. For people who are unfamiliar with meson I added ./configure and Makefile to get going. These do bare minimum, as I think we should give hint how to get going when starting with zero meson knowledge. Perhaps within years these become unnecessary. Notice that idn1 support is removed from configuration options. It does not work, so there should not be need to keep it. Other than that everything should build as one could expect. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
new file mode 100755
index 0000000..9a1413b
--- /dev/null
+++ b/configure
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ $# -ne 0 ]; then
+ meson configure builddir
+ echo ''
+ echo 'Configuration can be changed like this:'
+ echo ' meson configure builddir -DBUILD_NINFOD=true'
+ echo ' More info: http://mesonbuild.com/Configuring-a-build-directory.html'
+ # See also: http://mesonbuild.com/howtox.html
+fi
+
+meson builddir