summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-22 13:47:02 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-22 13:47:02 +0000
commit14092a6b255dd8a3a34078f20531dedee6e13632 (patch)
tree8e1842c9a5b318d27d8d56bdc5fb0fc40d11f4cc
parent9dc3176efdf9110bec40dd915ce6ce4d8104f718 (diff)
downloadirssi-14092a6b255dd8a3a34078f20531dedee6e13632.zip
with --prefix, use INSTALLDIRS=site, not perl. hopefully fixes some @INC problems
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1893 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 189c932d..2f69765e 100644
--- a/configure.in
+++ b/configure.in
@@ -99,8 +99,8 @@ AC_ARG_WITH(modules,
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;'`"
+ PERL_MM_PARAMS="PREFIX=$prefix"
+ PERL_USE_LIB="$prefix`$perlpath -e 'use Config; $dir = $Config{sitearchexp}; $prefix = $Config{siteprefixexp}; $dir =~ s/^$prefix//; print $dir;'`"
perl_library_dir="$PERL_USE_LIB"
perl_prefix_note=yes