Commit d9df2dbe authored by Adam Jackson's avatar Adam Jackson 🥃

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 b9846be2
......@@ -21,8 +21,8 @@
bin_PROGRAMS = luit
luit_CFLAGS = $(DEP_CFLAGS)
luit_LDADD = $(DEP_LIBS)
luit_CFLAGS = $(LUIT_CFLAGS)
luit_LDADD = $(LUIT_LIBS)
luit_SOURCES = \
charset.c \
......
......@@ -34,8 +34,8 @@ AC_PROG_INSTALL
AC_CHECK_LIB(z, gzopen,, AC_MSG_ERROR([zlib not found]))
# Checks for pkg-config packages
PKG_CHECK_MODULES(DEP, x11 fontenc)
AC_SUBST(DEP_CFLAGS)
AC_SUBST(DEP_LIBS)
PKG_CHECK_MODULES(LUIT, x11 fontenc)
AC_SUBST(LUIT_CFLAGS)
AC_SUBST(LUIT_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