Commit ae49bb18 authored by Adam Jackson's avatar Adam Jackson 🎧
Browse files

Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global

    configure cache, you cache it, and the cached value is probably wrong.
parent c903caeb
......@@ -21,8 +21,8 @@
bin_PROGRAMS = xeyes
xeyes_CFLAGS = $(DEP_CFLAGS)
xeyes_LDADD = $(DEP_LIBS) -lm
xeyes_CFLAGS = $(XEYES_CFLAGS)
xeyes_LDADD = $(XEYES_LIBS) -lm
xeyes_SOURCES = \
Eyes.c \
......
......@@ -32,8 +32,8 @@ AC_PROG_CC
AC_PROG_INSTALL
# Checks for pkg-config packages
PKG_CHECK_MODULES(DEP, x11 xt xext xmu)
AC_SUBST(DEP_CFLAGS)
AC_SUBST(DEP_LIBS)
PKG_CHECK_MODULES(XEYES, x11 xt xext xmu)
AC_SUBST(XEYES_CFLAGS)
AC_SUBST(XEYES_LIBS)
AC_OUTPUT([Makefile])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment