From 6924eec71fb43e711dcf7e056cf2e379982ac866 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 13 Oct 2001 16:22:11 +0000 Subject: 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 --- configure.in | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index ab6e4a99..cbe0b122 100644 --- a/configure.in +++ b/configure.in @@ -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;'`" -- cgit v1.2.3