[SerialICE] New patch to review for serialice: 06800a0 qemu-0.15.x: Try various pkg-config names for lua

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Wed May 30 11:28:43 CEST 2012


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1059

-gerrit

commit 06800a00886d47385bbc149d6bc642eec5355dcf
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Wed May 30 11:21:37 2012 +0200

    qemu-0.15.x: Try various pkg-config names for lua
    
    Packagers give lua versioned names, so try those, too.
    
    Change-Id: Id097d0902a1732f5b6cefeb0ffc69390110cf22f
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 qemu-0.15.x/configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/qemu-0.15.x/configure b/qemu-0.15.x/configure
index 3393ab6..74417aa 100755
--- a/qemu-0.15.x/configure
+++ b/qemu-0.15.x/configure
@@ -1741,8 +1741,8 @@ EOF
     serialice=yes
     libs_softmmu="$lua_ldflags $libs_softmmu"
   else
-    lua_cflags=`$pkg_config --cflags lua`
-    lua_ldflags=`$pkg_config --libs lua`
+    lua_cflags=`$pkg_config --cflags lua || $pkg_config --cflags lua5.2 || $pkg_config --cflags lua5.1`
+    lua_ldflags=`$pkg_config --libs lua || $pkg_config --libs lua5.2 || $pkg_config --libs lua5.1`
     if compile_prog "$lua_cflags" "$lua_ldflags" > /dev/null 2> /dev/null ; then
       serialice=yes
       libs_softmmu="$lua_ldflags $libs_softmmu"



More information about the SerialICE mailing list