Skip to content

Commit

Permalink
configure: allow any pkg-config name for Lua/LuaJIT
Browse files Browse the repository at this point in the history
  • Loading branch information
esmil committed Jan 14, 2013
1 parent d5c4013 commit 2497cff
Show file tree
Hide file tree
Showing 4 changed files with 749 additions and 256 deletions.
12 changes: 5 additions & 7 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
CC = @CC@
CFLAGS ?= @CFLAGS@
CFLAGS += @CPPFLAGS_PRIVATE@ @CPPFLAGS@
CFLAGS += @CPPFLAGS@
SHARED = @SHARED@
LIBS = @LIBS@

PKG_CONFIG = @PKG_CONFIG@
STRIP = @STRIP@
INSTALL = @INSTALL@
SED = @SED@
STRIP = @STRIP@

prefix = @prefix@
exec_prefix = @exec_prefix@
Expand All @@ -18,10 +18,8 @@ pkgconfigdir = @pkgconfigdir@
lmoddir = @lmoddir@
cmoddir = @cmoddir@

objects = @objects@
LIBS = @LIBS@

headers = @headers@
objects = @objects@

llibs = \
lem/repl.lua \
Expand Down Expand Up @@ -83,7 +81,7 @@ lem.pc: lem.pc.in
-e 's|@lmoddir[@]|$(lmoddir)|' \
-e 's|@cmoddir[@]|$(cmoddir)|' \
-e 's|@includedir[@]|$(includedir)|' \
-e 's|@CPPFLAGS[@]|@CPPFLAGS@|' \
-e 's|@Lua_CFLAGS[@]|@Lua_CFLAGS@|' \
$< > $@

%-strip: %
Expand Down
Loading

0 comments on commit 2497cff

Please sign in to comment.