diff options
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | xscrnsaver.pc.in | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 37b2ef8..7c6b8fa 100644 --- a/configure.ac +++ b/configure.ac @@ -34,10 +34,10 @@ AC_PROG_CC AC_PROG_LIBTOOL # Check for dependencies -PKG_CHECK_MODULES(DEP, x11 xext xextproto scrnsaverproto) +PKG_CHECK_MODULES(XSCRNSAVER, x11 xext xextproto scrnsaverproto) -AC_SUBST(DEP_CFLAGS) -AC_SUBST(DEP_LIBS) +AC_SUBST(XSCRNSAVER_CFLAGS) +AC_SUBST(XSCRNSAVER_LIBS) XORG_RELEASE_VERSION diff --git a/src/Makefile.am b/src/Makefile.am index ef54571..f23a7ba 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,10 +1,10 @@ -AM_CFLAGS = $(DEP_CFLAGS) +AM_CFLAGS = $(XSCRNSAVER_CFLAGS) lib_LTLIBRARIES = libXScrnSaver.la libXScrnSaver_la_SOURCES = \ XScrnSaver.c -libXScrnSaver_la_LIBADD = $(DEP_LIBS) +libXScrnSaver_la_LIBADD = $(XSCRNSAVER_LIBS) libXScrnSaver_la_LDFLAGS = -version-info 7:0:0 -no-undefined diff --git a/xscrnsaver.pc.in b/xscrnsaver.pc.in index 55104ac..1c0148d 100644 --- a/xscrnsaver.pc.in +++ b/xscrnsaver.pc.in @@ -6,6 +6,6 @@ includedir=@includedir@ Name: XScrnSaver Description: The XScrnSaver Library Version: @PACKAGE_VERSION@ -Cflags: -I${includedir} @DEP_CFLAGS@ -Libs: -L${libdir} -lXScrnSaver @DEP_LIBS@ +Cflags: -I${includedir} @XSCRNSAVER_CFLAGS@ +Libs: -L${libdir} -lXScrnSaver @XSCRNSAVER_LIBS@ |