]> git.saurik.com Git - wxWidgets.git/blobdiff - build/update-setup-h
Fix crash caused by last change
[wxWidgets.git] / build / update-setup-h
index d5b6ea60fbccf4dc5aefb8775afa79404b6dcf57..804b4f43ac1688b2daa5dee33240998e9ecb3d6d 100755 (executable)
@@ -28,7 +28,8 @@ msg()
 # file the common options are meant to be included in is the parameter)
 cat_common_options_for()
 {
-    cmd="cat include/wx/setup_inc.h"
+    # get rid of the copyright header on top of the file
+    cmd="sed '1,/^$/d' include/wx/setup_inc.h"
 
     # the file used for configure is special: we need to get rid of C++
     # comments in it because it is included by some C code and we also have to
@@ -78,6 +79,9 @@ 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 include/wx/palmos/setup0.h
+update_single_setup_h include/wx/os2/setup0.h
+update_single_setup_h include/wx/motif/setup0.h
 update_single_setup_h setup.h.in
 
 exit $rc