1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

Changed some s/// to use perl instead of sed since they didn't work

with all seds.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1269 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-21 03:43:31 +00:00 committed by cras
parent 481f4bc327
commit 5001f8cd7a

View File

@ -416,7 +416,7 @@ if test "$want_perl" != "no"; then
if test "$want_perl" != "static"; then
dnl * dynaloader.a -> libperl_dynaloader.la
DYNALOADER_A=`echo $PERL_LDFLAGS | $sedpath 's/^\(.* \)*\([[^ ]]*DynaLoader\.a\).*/\2/'`
DYNALOADER_A=`echo $PERL_LDFLAGS | $perlpath -pe 's/^(.* )*([[^ ]]*DynaLoader\.a).*/\2/'`
fi
dnl * don't check libperl.a if dynaloader.a wasn't found..
@ -456,7 +456,7 @@ if test "$want_perl" != "no"; then
want_perl=static
else
AC_MSG_RESULT(ok)
PERL_LDFLAGS=`echo $PERL_LDFLAGS | $sedpath 's/^\(.* \)*[[^ ]]*DynaLoader\.a/\1libperl_dynaloader.la/'`
PERL_LDFLAGS=`echo $PERL_LDFLAGS | $perlpath -pe 's/^(.* )*[[^ ]]*DynaLoader\.a/\1libperl_dynaloader.la/'`
if test "x$LIBPERL_A" != "x"; then
PERL_LDFLAGS=`echo $PERL_LDFLAGS | $sedpath 's/ -lperl/ libperl_orig.la/'`
fi