summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am5
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e69de29..95fd1a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1,7 @@
+2005-06-21 Alexander Gottwald <ago at freedesktop dot org>
+
+ * configure.ac
+ * src/Makefile.am
+ Add missing xext.pc and xextproto.pc
+ Add DEPS_CFLAGS to Makefile.am
+
diff --git a/configure.ac b/configure.ac
index f6dbd7c..590b956 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@ AC_PROG_CC
AC_PROG_LIBTOOL
# Check for dependencies
-PKG_CHECK_MODULES(DEP, x11 scrnsaverproto)
+PKG_CHECK_MODULES(DEP, x11 xext xextproto scrnsaverproto)
AC_SUBST(DEP_CFLAGS)
AC_SUBST(DEP_LIBS)
diff --git a/src/Makefile.am b/src/Makefile.am
index e90401c..ef54571 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,9 +1,10 @@
+AM_CFLAGS = $(DEP_CFLAGS)
lib_LTLIBRARIES = libXScrnSaver.la
-libXScrnSaver_la_SOURCES = \
+libXScrnSaver_la_SOURCES = \
XScrnSaver.c
-libXScrnSaver_la_LIBADD = @DEP_LIBS@
+libXScrnSaver_la_LIBADD = $(DEP_LIBS)
libXScrnSaver_la_LDFLAGS = -version-info 7:0:0 -no-undefined