summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2005-11-06 22:05:28 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-11-06 22:05:28 +0000
commitdb7e6677709244650540d3e173958b19d3fcc5c4 (patch)
treec615fcf4919df4dd497be18a8a7d422134188f3f
parentd7650312c7435fb91c20ca855fbfdfcd2f08a578 (diff)
downloadirssi-db7e6677709244650540d3e173958b19d3fcc5c4.zip
Ahem. And now really fix it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4066 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index e627b3b9..4fd75ba4 100644
--- a/configure.in
+++ b/configure.in
@@ -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