Modelling setup.h modification on osx along msw, having a separate file

Note that for update-setup-h to work properly on osx, gnu-sed is needed
This commit is contained in:
Stefan Csomor
2017-11-09 11:35:36 +01:00
parent 46fe849db6
commit 895a86886d
3 changed files with 75 additions and 3 deletions

View File

@@ -84,6 +84,12 @@ update_msw_setup_h()
update_single_setup_h MSW include/wx/msw/setup_inc.h $1
}
# wrapper for update_single_setup_h which only updates the OSX options
update_osx_setup_h()
{
update_single_setup_h OSX include/wx/osx/setup_inc.h $1
}
# entry point
if [ ! -f wxwin.m4 ]; then
error "$0: must be ran from root wx directory"
@@ -102,6 +108,9 @@ update_msw_setup_h include/wx/msw/setup0.h
update_msw_setup_h include/wx/gtk/setup0.h
update_msw_setup_h setup.h.in
update_osx_setup_h include/wx/osx/setup0.h
update_msw_setup_h setup.h.in
update_single_setup_h wxUniv include/wx/univ/setup_inc.h include/wx/univ/setup0.h
exit $rc