]> git.saurik.com Git - wxWidgets.git/blobdiff - build/update-setup-h
1. undid the "simplification" of patch 1096066 which resulted in a crash
[wxWidgets.git] / build / update-setup-h
index 399e9104274f840147fe568b05e012a48413ad94..171484122f7de17c4538c6b78e6b5f19af4e2f83 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