projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
and now it even compiles
[wxWidgets.git]
/
build
/
update-setup-h
diff --git
a/build/update-setup-h
b/build/update-setup-h
index 8f2ac1b9fc0fe21fc102b26e38481a71e74e1ae4..58b1e1bc89bfe46bd41d7fdb3c79cc43a38b2984 100755
(executable)
--- a/
build/update-setup-h
+++ b/
build/update-setup-h
@@
-28,7
+28,8
@@
msg()
# file the common options are meant to be included in is the parameter)
cat_common_options_for()
{
# 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
# 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
@@
-52,7
+53,7
@@
update_single_setup_h()
return 0
fi
return 0
fi
- echo -n "Updating $1..."
+ echo -n "Updating $1
..."
tmp=$i.$$.tmp
sed -e '/^\/\* --- start common options --- \*\/$/q' $1 > $tmp &&
tmp=$i.$$.tmp
sed -e '/^\/\* --- start common options --- \*\/$/q' $1 > $tmp &&