mirror of
https://github.com/irssi/irssi.git
synced 2024-10-13 05:03:45 -04: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:
parent
481f4bc327
commit
5001f8cd7a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user