blob: cb18ac472306b6923dab6a174230b6a8a4494ed5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,8 @@
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
+PKG_CHECK_MODULES(X11, [x11])
+
# Check for imlib2
AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
if test x$imlib2config_cmd = "x"; then
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
bin_PROGRAMS = hsetroot
AM_CFLAGS = @CFLAGS@ @IMLIB2_CFLAGS@ -Wall
-LIBS = @IMLIB2_LIBS@
+LIBS = @IMLIB2_LIBS@ $(X11_LIBS)
hsetroot_SOURCES = hsetroot.c
|