+dnl we need the values the main configure determined for us, so refuse
+dnl to run if we don't have them
+if test "x$wx_cv_path_samplesubdirs" = "x"; then
+ AC_MSG_ERROR([Please run configure from the top level directory.])
+fi
+
+SAMPLES_SUBDIRS=$wx_cv_path_samplesubdirs
+AC_SUBST(SAMPLES_SUBDIRS)
+
+IF_GNU_MAKE=$wx_cv_if_gnu_make
+PATH_IFS=$wx_cv_path_ifs
+PROGRAM_EXT=$wx_cv_program_ext
+WX_TARGET_LIBRARY=$wx_cv_target_library
+WX_TARGET_LIBRARY_GL=$wx_cv_target_library_gl
+
+AC_SUBST(IF_GNU_MAKE)
+AC_SUBST(PATH_IFS)
+AC_SUBST(PROGRAM_EXT)
+AC_SUBST(WX_TARGET_LIBRARY)
+AC_SUBST(WX_TARGET_LIBRARY_GL)
+