changeset 6586:c3388f361bdf

[gaim-migrate @ 7108] Fixed a problem where PERL_MM_FLAGS sometimes became @PERL_MM_FLAGS@. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 23 Aug 2003 23:06:07 +0000
parents f30579b25253
children ed11e3f8ba21
files configure.ac
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sat Aug 23 22:00:12 2003 +0000
+++ b/configure.ac	Sat Aug 23 23:06:07 2003 +0000
@@ -270,6 +270,9 @@
 		AC_MSG_RESULT(no)
 	fi
 
+	prefix=`eval echo $prefix`
+	PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=$prefix"
+
 	AC_ARG_WITH(perl-lib,
 	[  --with-perl-lib=[site|vendor|DIR]  Specify where to install the
 	                           Perl libraries for gaim. Default is site.],
@@ -285,12 +288,10 @@
 		else
 			PERL_MM_PARAMS="INSTALLDIRS=perl LIB=$withval"
 		fi
-	],
-	[
-		prefix=`eval echo $prefix`
-		PERL_MM_PARAMS="INSTALLDIRS=perl PREFIX=$prefix"
 	])
 
+	AC_SUBST(PERL_MM_PARAMS)
+
 	AC_MSG_CHECKING(for DynaLoader.a)
 	DYNALOADER_A=`echo $PERL_LDFLAGS | $perlpath -pe 's/^(.* )*([[^ ]]*DynaLoader\.a).*/\2/'`
 
@@ -323,8 +324,6 @@
 	else
 		AC_MSG_RESULT(no)
 	fi
-
-	AC_SUBST(PERL_MM_PARAMS)
 else
 	PERL_CFLAGS=
 	PERL_LIBS=