summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-13 16:22:11 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-13 16:22:11 +0000
commit6924eec71fb43e711dcf7e056cf2e379982ac866 (patch)
treefcd1941e7edb51b0cc35bbcc418bf11d94a11238
parentdbe49236d2a63a84f234f6eff98b1d5317b195da (diff)
downloadirssi-6924eec71fb43e711dcf7e056cf2e379982ac866.zip
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
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
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;'`"