Without those, compiling autoconf-based software will be tricky...
???
Not really, you just add -lGL -lm -lXext -lX11 -ldl to your compile command line. And since you're compiling something with a GUI, most of those will already be there -- the only one I'd ever have to worry about would be -lm, the math library.
And the way this can be done is by adding LDFLAGS+=-lGL -lm -lXext -lX11 -ldl to your Makefile.am.
Edit: Oops, somehow between the output of ldd and what I posted, Xext turned into Xm. :o
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.