1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

expand ~ in --prefix. should fix at least some perl problems with

configuring with --prefix=~/


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1822 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-10-13 16:22:11 +00:00 committed by cras
parent dbe49236d2
commit 6924eec71f

View File

@ -98,6 +98,7 @@ AC_ARG_WITH(modules,
fi)
if test "x$prefix" != "xNONE"; then
prefix=`eval echo $prefix`
PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=$prefix"
PERL_USE_LIB="$prefix`$perlpath -e 'use Config; $dir = $Config{archlibexp}; $prefix = $Config{prefixexp}; $dir =~ s/^$prefix//; print $dir;'`"