changeset 6896:7c6324124b66

[gaim-migrate @ 7443] This should fix the problem where perl tries to install files into a NONE directory. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 20 Sep 2003 05:20:37 +0000
parents 847d899a5724
children 69e0a3e29aa1
files configure.ac
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Fri Sep 19 23:46:54 2003 +0000
+++ b/configure.ac	Sat Sep 20 05:20:37 2003 +0000
@@ -283,8 +283,10 @@
 		AC_MSG_RESULT(no)
 	fi
 
-	prefix=`eval echo $prefix`
-	PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=$prefix"
+	if test "x$prefix" != "xNONE"; then
+		prefix=`eval echo $prefix`
+		PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=$prefix"
+	fi
 
 	AC_ARG_WITH(perl-lib,
 	[  --with-perl-lib=[site|vendor|DIR]  Specify where to install the