Now using autotools. Haven't figured out latex section completely yet.