X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/335258dcdd1a1ad091cf08321d898f5ace350fa9..44ba8f0ea92f65d9893ce0780971745a5d8e80ea:/samples/configure.in diff --git a/samples/configure.in b/samples/configure.in index 94f132c96b..4468e5fbe2 100644 --- a/samples/configure.in +++ b/samples/configure.in @@ -3,11 +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 @@ -22,6 +41,9 @@ AC_OUTPUT([ dnd/Makefile dragimag/Makefile drawing/Makefile + dynamic/Makefile + erase/Makefile + event/Makefile exec/Makefile font/Makefile grid/Makefile @@ -29,14 +51,20 @@ AC_OUTPUT([ image/Makefile internat/Makefile ipc/Makefile + joytest/Makefile + keyboard/Makefile layout/Makefile listctrl/Makefile mdi/Makefile + menu/Makefile + memcheck/Makefile minifram/Makefile minimal/Makefile + mobile/Makefile + mobile/wxedit/Makefile + mobile/styles/Makefile newgrid/Makefile notebook/Makefile - plot/Makefile png/Makefile printing/Makefile proplist/Makefile @@ -47,15 +75,18 @@ AC_OUTPUT([ sashtest/Makefile scroll/Makefile scrollsub/Makefile + sockets/Makefile splitter/Makefile statbar/Makefile + taskbar/Makefile text/Makefile thread/Makefile toolbar/Makefile treectrl/Makefile + treelay/Makefile typetest/Makefile validate/Makefile - sockets/Makefile + widgets/Makefile wizard/Makefile html/Makefile html/about/Makefile