Simply use autoreconf in autogen.sh, it is much simpler and the recommended
[freeglut] / autogen.sh
1 #! /bin/sh
2 autoreconf --install --force --warnings=all