From 588c2967841d4fb566c2e7abed4b80a0a75c00b8 Mon Sep 17 00:00:00 2001 From: James Morris Date: Sat, 12 Jan 2013 15:24:06 +0000 Subject: [PATCH] minor autotools modernization take 2 --- configure.ac.in | 2 +- src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac.in b/configure.ac.in index bea300ba..b8dcec0f 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -488,7 +488,7 @@ fi AM_CONDITIONAL(BUILD_LUA, test x$want_lua = xyes) if test x$want_lua = xyes; then - PKG_CHECK_MODULES(LUA, lua >= 5.1, [ ],[ + PKG_CHECK_MODULES(LUA, lua == 5.1, [ ],[ PKG_CHECK_MODULES(LUA51, lua-5.1 >= 5.1, [ ],[ PKG_CHECK_MODULES(LUA51, lua5.1 >= 5.1) ]) diff --git a/src/Makefile.am b/src/Makefile.am index cc52a6a2..19a7f9e8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -25,7 +25,7 @@ # along with this program. If not, see . # -AM_CFLAGS = -DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\" -DPACKAGE_LIBDIR=\"$(pkglibdir)\" +AM_CPPFLAGS = -DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\" -DPACKAGE_LIBDIR=\"$(pkglibdir)\" bin_PROGRAMS = conky