diff --git a/configure.in b/configure.in index 25eddb430..a520fa1ef 100644 --- a/configure.in +++ b/configure.in @@ -856,10 +856,10 @@ if test "$have_wxconfig" != 1; then the libraries to your LDFLAGS, CXX/CFLAGS.]) fi -AC_ARG_ENABLE(check-wx-opengl, [--disable-check-wx-opengl - Force wxwidgets OpenGL support. ]) +AC_ARG_ENABLE(check-wx-opengl, [ --disable-check-wx-opengl + Force wxwidgets OpenGL support. ]) -if test "$enable_check-wx-opengl" = "yes"; then +if test "$enable_check_wx_opengl" != "no"; then AC_AGI_LINK([wxWidgets OpenGL support], [wxopengl], [wx/glcanvas.h], [$GL_CFLAGS $WX_CFLAGS], [$GL_LIBS $WX_LIBS],[ #include int main(void) { @@ -876,7 +876,7 @@ fi AC_ARG_ENABLE(check-wx-stc, [ --disable-check-wx-stc Force wxwidgets StyledTextCtrl support.]) -if test "$enable_check_wx_stc:" != "no"; then +if test "$enable_check_wx_stc" != "no"; then AC_AGI_LINK([wxWidgets StyledTextCtrl support], [wxstc], [wx/stc/stc.h], [$WX_CFLAGS], [$WX_LIBS],[ #include int main(void) {