encukou/desmume — pull request #1 by Sketch (2012-06-10 19:04:14+00:00)
Title: Check for lua on linux and fail early if it doesn't exist.

Compiling with --disable-lua still fails, so you might want to pepper more #if HAVE_LUA into the source code. :)
./autogen.sh && ./configure --disable-lua && make
-->
g++ -g -O2 -o desmume-cli main.o sndsdl.o ctrlssdl.o driver.o ../libdesmume.a -L/usr/lib/i386-linux-gnu -lSDL -lasound -lagg_pic -lglib-2.0 -pthread -lgthread-2.0 -lrt -lglib-2.0 -lGL -ldl -lz -lGLU
main.o: In function `main':
/home/sketch/Documents/code/desmume/desmume/src/cli/main.cpp:843: undefined reference to `OpenLuaContext(int, void (*)(int, char const*), void (*)(int), void (*)(int, bool))'
/home/sketch/Documents/code/desmume/desmume/src/cli/main.cpp:844: undefined reference to `RunLuaScriptFile(int, char const*)'
collect2: ld returned 1 exit status
make[3]: *** [desmume-cli] Error 1
make[3]: Leaving directory `/home/sketch/Documents/code/desmume/desmume/src/cli'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sketch/Documents/code/desmume/desmume/src/cli'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sketch/Documents/code/desmume/desmume/src'
make: *** [all-recursive] Error 1