Commit ba09c2636749eb7685d5b81f3e04d237e9f4baff

frankheckenbach 2021-02-11T04:53:54

Merge pull request #13 from ryandesign/AC_ARG_WITH Fix usage of AC_ARG_WITH

diff --git a/m4/gl.m4 b/m4/gl.m4
index 4a1bc48..09c84ca 100644
--- a/m4/gl.m4
+++ b/m4/gl.m4
@@ -7,11 +7,11 @@ AC_REQUIRE([AC_PROG_CC])
 AC_REQUIRE([AC_PATH_X])
 AC_REQUIRE([AC_PATH_XTRA])
 
-AC_ARG_WITH([--with-gl-inc],
+AC_ARG_WITH([gl-inc],
     AC_HELP_STRING([--with-gl-inc=DIR],[Directory where GL/gl.h is installed]))
-AC_ARG_WITH([--with-gl-lib],
+AC_ARG_WITH([gl-lib],
     AC_HELP_STRING([--with-gl-lib=DIR],[Directory where OpenGL libraries are installed]))
-AC_ARG_WITH([--with-glu-lib],
+AC_ARG_WITH([glu-lib],
     AC_HELP_STRING([--with-glu-lib=DIR],[Directory where OpenGL GLU library is installed]))
 
 AC_LANG_SAVE
diff --git a/m4/glut.m4 b/m4/glut.m4
index 4a2b0b8..4508249 100644
--- a/m4/glut.m4
+++ b/m4/glut.m4
@@ -8,9 +8,9 @@ AC_REQUIRE([AC_PATH_X])dnl
 AC_REQUIRE([AC_PATH_XTRA])dnl
 AC_REQUIRE([FTGL_CHECK_GL])dnl
 
-AC_ARG_WITH([--with-glut-inc],
+AC_ARG_WITH([glut-inc],
     AC_HELP_STRING([--with-glut-inc=DIR],[Directory where GL/glut.h is installed (optional)]))
-AC_ARG_WITH([--with-glut-lib],
+AC_ARG_WITH([glut-lib],
     AC_HELP_STRING([--with-glut-lib=DIR],[Directory where GLUT libraries are installed (optional)]))
 
 AC_LANG_SAVE