-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure
82 lines (69 loc) · 1.67 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
set -e
if which pkgconf > /dev/null; then
echo "pkg-config found."
else
echo "Error: 'pkgconf' not found. Please install the library."
exit 1
fi
if which make > /dev/null; then
echo "make found."
else
echo "Error: 'make' not found. Please install the library."
exit 1
fi
if pkg-config --exists stb; then
echo "stb found."
else
echo "Error: 'libstb-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists libdrm; then
echo "libdrm found."
else
echo "Error: 'libdrm-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists glesv2; then
echo "glesv2 found."
else
echo "Error: 'libgles-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists wlroots; then
echo "wlroots found."
else
echo "Error: 'libwlroots-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists libinput; then
echo "libinput found."
else
echo "Error: 'libinput-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists pixman-1; then
echo "pixman-1 found."
else
echo "Error: 'libpixman-1-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists xkbcommon; then
echo "xkbcommon found."
else
echo "Error: 'libxkbcommon-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists wayland-server; then
echo "wayland-server found."
else
echo "Error: 'libwayland-dev' not found. Please install the library."
exit 1
fi
cp Makefile.in Makefile
echo ""
echo "All done!"
echo ""
echo "Type 'make' to build the project."
exit 0