]> git.saurik.com Git - wxWidgets.git/blobdiff - build/update-setup-h
Add chapter on backward compatibility
[wxWidgets.git] / build / update-setup-h
index 399e9104274f840147fe568b05e012a48413ad94..d5b6ea60fbccf4dc5aefb8775afa79404b6dcf57 100755 (executable)
@@ -37,7 +37,7 @@ cat_common_options_for()
     if [ $1 = "setup.h.in" ]; then
         cmd="$cmd | sed -e '/^\/\//d' \
                         -e 's@ *//.*\$@@' \
-                        -e 's/#define wxUSE_\(.\+\) \+1/#define wxUSE_\1 0/'"
+                        -e 's/# *define \(.\+\) \+1 *\$/#define \1 0/'"
     fi
 
     eval $cmd
@@ -52,7 +52,7 @@ update_single_setup_h()
         return 0
     fi
 
-    echo -n "Updating $1..."
+    echo -n "Updating $1 ..."
 
     tmp=$i.$$.tmp
     sed -e '/^\/\* --- start common options --- \*\/$/q' $1 > $tmp &&
@@ -76,6 +76,7 @@ if [ ! -f wxwin.m4 ]; then
 fi
 
 update_single_setup_h include/wx/msw/setup0.h
+update_single_setup_h include/wx/msw/wince/setup.h
 update_single_setup_h include/wx/mac/setup0.h
 update_single_setup_h setup.h.in