X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48fe83743aafc0c3427824b7c3051119b22ebe79..55f9f0cbc8dcf45f8d484b2f931c5c254d4404d1:/samples/configure.in diff --git a/samples/configure.in b/samples/configure.in index ec6415121c..a44056e6e1 100644 --- a/samples/configure.in +++ b/samples/configure.in @@ -3,8 +3,31 @@ 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 + access/Makefile + artprov/Makefile caret/Makefile calendar/Makefile checklst/Makefile @@ -13,10 +36,15 @@ AC_OUTPUT([ console/Makefile db/Makefile dialogs/Makefile + dialup/Makefile docview/Makefile docvwmdi/Makefile dnd/Makefile + dragimag/Makefile drawing/Makefile + dynamic/Makefile + erase/Makefile + event/Makefile exec/Makefile font/Makefile grid/Makefile @@ -24,32 +52,45 @@ 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 - dialup/Makefile - newgrid/Makefile + mobile/Makefile + mobile/wxedit/Makefile + mobile/styles/Makefile + multimon/Makefile + nativedlg/Makefile notebook/Makefile + oleauto/Makefile + ownerdrw/Makefile png/Makefile printing/Makefile - proplist/Makefile propsize/Makefile - richedit/Makefile - resource/Makefile + regtest/Makefile + rotate/Makefile sashtest/Makefile + shaped/Makefile scroll/Makefile scrollsub/Makefile + sockets/Makefile splitter/Makefile + statbar/Makefile + taskbar/Makefile text/Makefile thread/Makefile toolbar/Makefile treectrl/Makefile typetest/Makefile validate/Makefile - sockets/Makefile + widgets/Makefile wizard/Makefile + htlbox/Makefile html/Makefile html/about/Makefile html/help/Makefile @@ -59,4 +100,8 @@ AC_OUTPUT([ html/zip/Makefile html/virtual/Makefile html/widget/Makefile + opengl/Makefile + opengl/cube/Makefile + opengl/penguin/Makefile + opengl/isosurf/Makefile ])