projects
/
chaz
/
yoink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
76b3f4b
)
arch linux prefers pkgconfig for finding lua
author
Charles McGarvey
<chazmcgarvey@brokenzipper.com>
Thu, 4 Mar 2010 00:21:59 +0000
(17:21 -0700)
committer
Charles McGarvey
<chazmcgarvey@brokenzipper.com>
Thu, 4 Mar 2010 00:21:59 +0000
(17:21 -0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 2f2bc1d5874cd9f9342358d09b5cd4cd8f0af3ee..fa996164497112097c86a85f632056a99f660e60 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-264,12
+264,12
@@
AC_SEARCH_LIBS([alEnable], [openal OpenAL32],,
##### liblua #####
website="http://www.lua.org/"
##### liblua #####
website="http://www.lua.org/"
-
AC_CHECK_HEADERS([lua.h],
,
- [missing=yes
- echo "***** Missing lua headers ($website) *****"])
-
AC_SEARCH_LIBS([lua_load], [lua],
,
- [missing=yes
- echo "***** Missing liblua ($website) *****"])
+
PKG_CHECK_MODULES([LUA], [lua]
,
+ [LIBS="$LIBS $LUA_LIBS"
+ CFLAGS="$CFLAGS $LUA_CFLAGS"
+
CXXFLAGS="$CXXFLAGS $LUA_CFLAGS"]
,
+
[missing=yes
+
echo "***** Missing liblua ($website) *****"])
##### libpng #####
website="http://www.libpng.org/pub/png/libpng.html"
##### libpng #####
website="http://www.libpng.org/pub/png/libpng.html"
This page took
0.019148 seconds
and
4
git commands to generate.