- AC_CACHE_CHECK([glcanvas subdirectory to use], wx_cv_path_glcanvas,
- [
- dnl Duh! glcanvas/$(TOOLKIT_DIR) doesn't work for msw because some
- dnl genius called it "win"
- if test "${TOOLKIT_DIR}" = "msw" ; then
- wx_cv_path_glcanvas="win"
- else
- wx_cv_path_glcanvas="${TOOLKIT_DIR}"
- fi
- ])
-
- dnl It's needed in glcanvas/Makefile.in so we even have to subst this hack!
- GL_TOOLKIT_DIR=$wx_cv_path_glcanvas
- AC_SUBST(GL_TOOLKIT_DIR)
-
- dnl another hack: we need to pass SAMPLES_SUBDIRS to the configure in