forked from xnvme/xnvme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure
executable file
·44 lines (31 loc) · 1.72 KB
/
configure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env bash
set -e
trap 'echo -e "\n\nThis is not a configure-script\n\n" >&2' ERR
echo ""
cat << EOF
===================================================================================================
---==={[ This is NOT a configure-script ]}=--
===================================================================================================
This file is just here for the those with the habit of grabbing the project sources and running:
./configure
make
make install
If you are reading this, then you are one of those people, so this is here to inform you that
xNVMe has switched build-system to meson. Documentation on building xNVMe and getting-started is
available in the online docs and in the repository:
* https://xnvme.io/docs/latest/getting_started/index.html
* docs/getting_started/index.rst
For details on meson, have a look at the documentation:
* https://mesonbuild.com/Commands.html#setup
However, even though the build-system is now meson, then a 'Makefile' is still here, it is mostly
useful for xNVMe developers as it has a bunch of recipies for various invocations of the
helper-scripts provided in "toolbox/" as well as short-hands for invoking meson.
But since you might already have invoked this script, then we will just go ahead and check the
meson-version and do a default build-configuration.
===================================================================================================
---==={[ This is NOT a configure-script ]}=--
===================================================================================================
EOF
meson --version || (printf "\n** Please install 'meson' **\n" && exit 1)
meson setup builddir
exit 0