autoconf not passing all the flags needed to g++

2015-06-24 Thread Robert Stolarz
I'm trying to adapt the library soil2 to work with autoconf. http://pastebin.ca/raw/3035774 is what I have so far. My g++ invocation reads `g++ -I/usr/include/libdrm -Wall -v -g -O2 -lGLEW -lGLU -lGL -lglfw -lm -o giants src/main.o` and `pkg-config --libs soil2` yields "-L/usr/lib/linux -lsoil2"

Re: autoconf not passing all the flags needed to g++

2015-06-24 Thread Gavin Smith
On 24 June 2015 at 17:48, Robert Stolarz wrote: > I'm trying to adapt the library soil2 to work with autoconf. > http://pastebin.ca/raw/3035774 is what I have so far. My g++ invocation > reads `g++ -I/usr/include/libdrm -Wall -v -g -O2 -lGLEW -lGLU -lGL -lglfw > -lm -o giants src/main.o` and `p