-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure
52 lines (44 loc) · 1.05 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
#!/bin/sh
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 pkg-config --exists wayland-client; then
echo "wayland-client found."
else
echo "Error: 'libwayland-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists wayland-cursor; then
echo "wayland-cursor found."
else
echo "Error: 'libwayland-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists librsvg-2.0; then
echo "librsvg-2.0 found."
else
echo "Error: 'librsvg2-dev' not found. Please install the library."
exit 1
fi
if pkg-config --exists cairo-svg; then
echo "libcairo2 found."
else
echo "Error: 'libcairo2-dev' 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
cp Makefile.in Makefile
echo ""
echo "All done!"
echo ""
echo "Type 'make' to build the project."
exit 0