summaryrefslogtreecommitdiff
path: root/dep.sh
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-09-09 22:18:41 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-09-09 22:18:41 +0400
commitc84adeb8b0df592871b8085536c141cc0c99afcd (patch)
treeeb0f076dabcda0d180e53e3b0ac25527adb3a988 /dep.sh
parentdac05add44912ba774881b9ee7b4d0030b3988c3 (diff)
dep.sh: c library check added
Diffstat (limited to 'dep.sh')
-rwxr-xr-xdep.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/dep.sh b/dep.sh
index b3e672c..7ce898f 100755
--- a/dep.sh
+++ b/dep.sh
@@ -50,3 +50,12 @@ check \
xgamma
check_with_msg startx "'xorg-xinit' is missing."
+
+# C X11 dependencies
+
+check_with_msg cc "c compiler is missing"
+check_with_msg ld "linker is missing"
+
+if ! command -v ld -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft > /dev/null 2>&1;then
+ echo "Xorg library files missing"
+fi