Author: stepan Date: Fri Aug 27 10:46:58 2010 New Revision: 106 URL: http://www.serialice.com/trac/serialice/changeset/106
Log: fix autodetection of LUA on ubuntu 10.4
Signed-off-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/qemu-0.11.0/configure
Modified: trunk/qemu-0.11.0/configure ============================================================================== --- trunk/qemu-0.11.0/configure Wed Aug 4 17:09:35 2010 (r105) +++ trunk/qemu-0.11.0/configure Fri Aug 27 10:46:58 2010 (r106) @@ -1084,12 +1084,12 @@
LUA_CFLAGS="-I/usr/local/include" LUA_LDFLAGS="-L/usr/local/lib -llua" - if $cc $EXTRA_CFLAGS $EXTRA_LDFLAGS $ARCH_CFLAGS $LUA_CFLAGS $LUA_LDFLAGS -o $TMPE $TMPC -llua > /dev/null 2> /dev/null ; then + if $cc $EXTRA_CFLAGS $EXTRA_LDFLAGS $ARCH_CFLAGS $LUA_CFLAGS $LUA_LDFLAGS -o $TMPE $TMPC -llua -lm > /dev/null 2> /dev/null; then serialice=yes else LUA_CFLAGS=`pkg-config --cflags lua` LUA_LDFLAGS=`pkg-config --libs lua` - if $cc $EXTRA_CFLAGS $EXTRA_LDFLAGS $ARCH_CFLAGS $LUA_CFLAGS $LUA_LDFLAGS -o $TMPE $TMPC -llua > /dev/null 2> /dev/null ; then + if $cc $EXTRA_CFLAGS $EXTRA_LDFLAGS $ARCH_CFLAGS $LUA_CFLAGS $LUA_LDFLAGS -o $TMPE $TMPC -llua -lm > /dev/null 2> /dev/null ; then serialice=yes else echo