mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Ahem. And now really fix it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4066 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d7650312c7
commit
db7e667770
@ -855,7 +855,8 @@ for c in $CHAT_MODULES; do
|
||||
fi
|
||||
done
|
||||
|
||||
file="$(top_builddir)/src/$c/$c.c"
|
||||
mkdir -p src/$c
|
||||
file="src/$c/$c.c"
|
||||
echo "/* this file is automatically generated by configure - don't change */" > $file
|
||||
echo "void ${c}_core_init(void); void ${c}_core_deinit(void);" >> $file
|
||||
if test -n "$module_inits"; then
|
||||
@ -866,7 +867,8 @@ for c in $CHAT_MODULES; do
|
||||
echo "void ${c}_deinit(void) { $module_deinits ${c}_core_deinit(); }" >> $file
|
||||
|
||||
if test -f $srcdir/src/fe-common/$c/module.h; then
|
||||
file="$(top_builddir)/src/fe-common/$c/${c}-modules.c"
|
||||
mkdir -p src/fe-common/$c
|
||||
file="src/fe-common/$c/${c}-modules.c"
|
||||
echo "/* this file is automatically generated by configure - don't change */" > $file
|
||||
if test -n "$fe_module_inits"; then
|
||||
echo "$fe_module_inits" | $sedpath -e 's/()/(void)/g' -e 's/ /void /g' >> $file
|
||||
|
Loading…
Reference in New Issue
Block a user