X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3379ed3789e405f874d9db757d95346f1d378795..e4d47fbd6f53b11276dde270e325b339393e9702:/samples/configure.in diff --git a/samples/configure.in b/samples/configure.in index f42567ee92..e412e8d77b 100644 --- a/samples/configure.in +++ b/samples/configure.in @@ -3,19 +3,30 @@ AC_REVISION($Id$)dnl AC_INIT(Makefile.in) +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) AC_OUTPUT([ Makefile + artprov/Makefile caret/Makefile calendar/Makefile checklst/Makefile @@ -41,6 +52,7 @@ AC_OUTPUT([ internat/Makefile ipc/Makefile joytest/Makefile + keyboard/Makefile layout/Makefile listctrl/Makefile mdi/Makefile @@ -48,13 +60,20 @@ AC_OUTPUT([ memcheck/Makefile minifram/Makefile minimal/Makefile + mobile/Makefile + mobile/wxedit/Makefile + mobile/styles/Makefile + multimon/Makefile + nativedlg/Makefile newgrid/Makefile notebook/Makefile + oleauto/Makefile + ownerdrw/Makefile png/Makefile printing/Makefile proplist/Makefile propsize/Makefile - richedit/Makefile + regtest/Makefile resource/Makefile rotate/Makefile sashtest/Makefile @@ -63,6 +82,7 @@ AC_OUTPUT([ sockets/Makefile splitter/Makefile statbar/Makefile + taskbar/Makefile text/Makefile thread/Makefile toolbar/Makefile