diff --git a/build/update-setup-h b/build/update-setup-h index 399e910427..171484122f 100755 --- a/build/update-setup-h +++ b/build/update-setup-h @@ -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