]> git.saurik.com Git - wxWidgets.git/commitdiff
"cd utils; make" should not try to compile dialoged unless
authorMattia Barbon <mbarbon@cpan.org>
Tue, 10 Dec 2002 21:30:28 +0000 (21:30 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Tue, 10 Dec 2002 21:30:28 +0000 (21:30 +0000)
wxUSE_RESOURCES=yes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in
utils/configure
utils/configure.in
utils/dialoged/Makefile.in

index 6bb9aefcd093859e56796aad4f6d005de867a3c2..b31052c3a51a36310ff73bf88ccdc65cc697aa52 100755 (executable)
--- a/configure
+++ b/configure
@@ -22261,11 +22261,12 @@ wx_cv_current=${WX_CURRENT}
 wx_cv_revision=${WX_REVISION}
 wx_cv_age=${WX_AGE}
 wx_cv_use_gui=${USE_GUI}
+wx_cv_use_resources=${wxUSE_RESOURCES}
 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_use_gui
+       wx_cv_use_gui wx_cv_use_resources
 
 subdirs="demos samples utils contrib"
 
index 0207d8072f3d796b4ba1dfeed76b86f4699cd8e5..9a811a5add9eae603e95357b0edfb70e20efe23d 100644 (file)
@@ -5391,11 +5391,12 @@ wx_cv_current=${WX_CURRENT}
 wx_cv_revision=${WX_REVISION}
 wx_cv_age=${WX_AGE}
 wx_cv_use_gui=${USE_GUI}
+wx_cv_use_resources=${wxUSE_RESOURCES}
 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_use_gui
+       wx_cv_use_gui wx_cv_use_resources
 
 AC_CONFIG_SUBDIRS(demos samples utils contrib)
 
index 3baa1cb4466be29ed7a1602a8f478edf27d92355..679182990981a87bde068aae9b7abba2cc4d1ffa 100755 (executable)
@@ -525,6 +525,8 @@ fi
 
 GL_TOOLKIT_DIR=$wx_cv_path_glcanvas
 USE_GUI=$wx_cv_use_gui
+USE_RESOURCES=$wx_cv_use_resources
+
 
 
 
@@ -688,6 +690,7 @@ s%@infodir@%$infodir%g
 s%@mandir@%$mandir%g
 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
 s%@USE_GUI@%$USE_GUI%g
+s%@USE_RESOURCES@%$USE_RESOURCES%g
 
 CEOF
 EOF
index 73eb0ccd0e3df548a29106e133dc6a89d03f5067..5e94e089dbe3c79a2db31fccb28c8c58a8549882 100644 (file)
@@ -5,8 +5,10 @@ AC_INIT(Makefile.in)
 
 GL_TOOLKIT_DIR=$wx_cv_path_glcanvas
 USE_GUI=$wx_cv_use_gui
+USE_RESOURCES=$wx_cv_use_resources
 AC_SUBST(GL_TOOLKIT_DIR)
 AC_SUBST(USE_GUI)
+AC_SUBST(USE_RESOURCES)
 
 AC_OUTPUT([
             Makefile
index 6d3639544230deac72c4084d70662067ed607f36..d33737e70ab769ede56a08e87e840fe8ac676d53 100644 (file)
@@ -1,6 +1,8 @@
 
+USE_RESOURCES=@USE_RESOURCES@
+
 all:
-       cd src; $(MAKE)
+       if test "$(USE_RESOURCES)" = "yes"; then cd src; $(MAKE); fi
 
 clean:
        cd src; $(MAKE) clean