]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configure
initail Digital Mars makefile for stc
[wxWidgets.git] / utils / configure
index 3baa1cb4466be29ed7a1602a8f478edf27d92355..1c8fe9c402875fcd8812e9a67438a048807bbdf7 100755 (executable)
@@ -523,8 +523,14 @@ fi
 
 
 
+if test "x$wx_cv_use_gui" = "x"; then
+    { echo "configure: error: Please run configure from the top level directory." 1>&2; exit 1; }
+fi
+
 GL_TOOLKIT_DIR=$wx_cv_path_glcanvas
 USE_GUI=$wx_cv_use_gui
+USE_RESOURCES=$wx_cv_use_resources
+
 
 
 
@@ -654,6 +660,8 @@ trap 'rm -fr `echo "
             emulator/src/Makefile
             helpview/Makefile
             helpview/src/Makefile
+            wxconfigtool/Makefile
+            wxconfigtool/src/Makefile
          " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 EOF
 cat >> $CONFIG_STATUS <<EOF
@@ -688,6 +696,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
@@ -742,6 +751,8 @@ CONFIG_FILES=\${CONFIG_FILES-"Makefile
             emulator/src/Makefile
             helpview/Makefile
             helpview/src/Makefile
+            configtool/Makefile
+            configtool/src/Makefile
          "}
 EOF
 cat >> $CONFIG_STATUS <<\EOF