forked from PsychoticNinja/irssi
Building from objdir now works right
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@145 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0c66bb3185
commit
edec3faf85
16
configure.in
16
configure.in
@ -388,6 +388,11 @@ if test "$want_perl" = yes; then
|
|||||||
AC_SUBST(PERL_LDFLAGS)
|
AC_SUBST(PERL_LDFLAGS)
|
||||||
AC_DEFINE(HAVE_PERL)
|
AC_DEFINE(HAVE_PERL)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl ** building from objdir..
|
||||||
|
if test ! -d plugins/perl/xs; then
|
||||||
|
mkdir -p plugins/perl/xs
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl ** check what we want to build
|
dnl ** check what we want to build
|
||||||
@ -463,6 +468,17 @@ plugins/perl/Makefile
|
|||||||
stamp.h
|
stamp.h
|
||||||
irssi.spec)
|
irssi.spec)
|
||||||
|
|
||||||
|
dnl ** for building from objdir
|
||||||
|
if test "x$want_perl" = "xyes"; then
|
||||||
|
old_dir=`pwd` && cd $srcdir && whole_dir=`pwd` && cd $old_dir
|
||||||
|
|
||||||
|
if test "x$old_dir" != "x$whole_dir"; then
|
||||||
|
ln -sf $whole_dir/plugins/perl/xs/typemap plugins/perl/xs/typemap
|
||||||
|
ln -sf $whole_dir/plugins/perl/xs/Irssi.xs plugins/perl/xs/Irssi.xs
|
||||||
|
ln -sf $whole_dir/plugins/perl/xs/Irssi.pm plugins/perl/xs/Irssi.pm
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if test "x$GUI_LIBS" != "x"; then
|
if test "x$GUI_LIBS" != "x"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user