Use AC_ARG_WITH correctly so that the advertised configure options actually exist under their expected names.
./configure --help claims that the following options exist:
--with-gl-inc=DIR Directory where GL/gl.h is installed
--with-gl-lib=DIR Directory where OpenGL libraries are installed
--with-glu-lib=DIR Directory where OpenGL GLU library is installed
--with-glut-inc=DIR Directory where GL/glut.h is installed (optional)
--with-glut-lib=DIR Directory where GLUT libraries are installed
(optional)
This is happening because AC_ARG_WITH is used incorrectly. In fact, as currently written, the configure script honors these unexpectedly named options:
--with---with-gl-inc
--with---with-gl-lib
--with---with-glu-lib
--with---with-glut-inc
--with---with-glut-lib
This PR fixes the problem by calling AC_ARG_WITH correctly.
I am aware that you are no longer maintaining ftgl, but since this is still the latest upstream for ftgl that I am aware of, I am submitting this bug fix here.
Use
AC_ARG_WITH
correctly so that the advertised configure options actually exist under their expected names../configure --help
claims that the following options exist:but they don't:
This is happening because
AC_ARG_WITH
is used incorrectly. In fact, as currently written, the configure script honors these unexpectedly named options:--with---with-gl-inc
--with---with-gl-lib
--with---with-glu-lib
--with---with-glut-inc
--with---with-glut-lib
This PR fixes the problem by calling
AC_ARG_WITH
correctly.I am aware that you are no longer maintaining ftgl, but since this is still the latest upstream for ftgl that I am aware of, I am submitting this bug fix here.