wx_cv_current=${WX_CURRENT}
wx_cv_revision=${WX_REVISION}
wx_cv_age=${WX_AGE}
+wx_cv_use_gui=${USE_GUI}
export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
wx_cv_path_ifs wx_cv_program_ext \
wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
- wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age
-
+ wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
+ wx_cv_use_gui
subdirs="demos samples utils contrib"
wx_cv_current=${WX_CURRENT}
wx_cv_revision=${WX_REVISION}
wx_cv_age=${WX_AGE}
+wx_cv_use_gui=${USE_GUI}
export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
wx_cv_path_ifs wx_cv_program_ext \
wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
- wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age
-
+ wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
+ wx_cv_use_gui
AC_CONFIG_SUBDIRS(demos samples utils contrib)
+USE_GUI=@USE_GUI@
+
all:
- cd src; $(MAKE)
+ if test "$(USE_GUI)" = 0; then cd src; $(MAKE); fi
clean:
cd src; $(MAKE) clean
GL_TOOLKIT_DIR=$wx_cv_path_glcanvas
+USE_GUI=$wx_cv_use_gui
+
trap '' 1 2 15
s%@infodir@%$infodir%g
s%@mandir@%$mandir%g
s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
+s%@USE_GUI@%$USE_GUI%g
CEOF
EOF
AC_INIT(Makefile.in)
GL_TOOLKIT_DIR=$wx_cv_path_glcanvas
+USE_GUI=$wx_cv_use_gui
AC_SUBST(GL_TOOLKIT_DIR)
+AC_SUBST(USE_GUI)
AC_OUTPUT([
Makefile