summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2005-11-06 21:19:14 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-11-06 21:19:14 +0000
commitd7650312c7435fb91c20ca855fbfdfcd2f08a578 (patch)
tree77fc65c95d2b130e80b60b3a458eb72415ddacb2 /configure.in
parenta2637a3ac0598ec45fa60f2d0519f6d5b63bd174 (diff)
downloadirssi-d7650312c7435fb91c20ca855fbfdfcd2f08a578.zip
Put irc/irc.c and fe-common/irc/irc-modules.c (generated by configure) in builddir instead of source dir (Bug 293)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4065 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 2422d8b1..e627b3b9 100644
--- a/configure.in
+++ b/configure.in
@@ -855,7 +855,7 @@ for c in $CHAT_MODULES; do
fi
done
- file="$srcdir/src/$c/$c.c"
+ file="$(top_builddir)/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 +866,7 @@ 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="$srcdir/src/fe-common/$c/${c}-modules.c"
+ file="$(top_builddir)/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