Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global configure... 93/9393/1
authorAdam Jackson <ajax@nwnk.net>
Wed, 20 Jul 2005 19:32:05 +0000 (19:32 +0000)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 3 Sep 2013 04:09:49 +0000 (00:09 -0400)
Change-Id: I07dce2bf004eaeea1130d6bbf8b1ca08b5486277

Makefile.am
configure.ac

index e529b06..fdd65c0 100644 (file)
@@ -21,8 +21,8 @@
 
 bin_PROGRAMS = xwd
 
-xwd_CFLAGS = $(DEP_CFLAGS)
-xwd_LDADD = $(DEP_LIBS)
+xwd_CFLAGS = $(XWD_CFLAGS)
+xwd_LDADD = $(XWD_LIBS)
 
 xwd_SOURCES =  \
         dsimple.c \
index fd0683b..46bb11e 100644 (file)
@@ -32,8 +32,8 @@ AC_PROG_CC
 AC_PROG_INSTALL
 
 # Checks for pkg-config packages
-PKG_CHECK_MODULES(DEP, xmu x11)
-AC_SUBST(DEP_CFLAGS)
-AC_SUBST(DEP_LIBS)
+PKG_CHECK_MODULES(XWD, xmu x11)
+AC_SUBST(XWD_CFLAGS)
+AC_SUBST(XWD_LIBS)
 
 AC_OUTPUT([Makefile])