* configure.in: Set perllibdir.
authorAkim Demaille <akim@epita.fr>
Fri, 4 May 2001 09:31:45 +0000 (09:31 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 4 May 2001 09:31:45 +0000 (09:31 +0000)
From Dave Morrison.

ChangeLog
configure
configure.in

index 005939d..9bee3f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-04  Akim Demaille  <akim@epita.fr>
+
+       * configure.in: Set perllibdir.
+       From Dave Morrison.
+
 2001-05-04  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
 
        * automake.in ($pkgdata_dir): New.
index 932867a..625a8b0 100755 (executable)
--- a/configure
+++ b/configure
@@ -861,12 +861,14 @@ fi
 
 
 ACLOCAL="`pwd`/aclocal --acdir=m4"
-AUTOMAKE="`pwd`/automake --amdir=."
+# $AUTOMAKE is always run after a `cd $top_srcdir', hence `.' is really
+# what we want for perllibdir and amdir.
+AUTOMAKE="perllibdir=./lib `pwd`/automake --amdir=."
 
 # Extract the first word of "perl", so it can be a program name with args.
 set dummy perl; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:870: checking for $ac_word" >&5
+echo "configure:872: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
index 8a6b49a..09f4806 100644 (file)
@@ -4,7 +4,9 @@ AC_INIT(automake.in)
 AM_INIT_AUTOMAKE(automake, 1.4e)
 
 ACLOCAL="`pwd`/aclocal --acdir=m4"
-AUTOMAKE="`pwd`/automake --amdir=."
+# $AUTOMAKE is always run after a `cd $top_srcdir', hence `.' is really
+# what we want for perllibdir and amdir.
+AUTOMAKE="perllibdir=./lib `pwd`/automake --amdir=."
 
 AC_PATH_PROG(PERL, perl)
 if test -z "$PERL"; then