From 5ddf1a5438e5bc3a73c6d1a1b2736496e554c72e Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 9 May 2005 22:50:56 +0000 Subject: [PATCH] Pass environment variables to configure in the environment; passing them as arguments works if configure is rebuilt with Autoconf 2.5x, but passing them in the environment works with any version of configure. (Debian's configure autodetects autoconf 2.13 when running regen.sh, and so far it does seem to work....) --- debian/rules | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index 36d6dab22..02c1d10ff 100755 --- a/debian/rules +++ b/debian/rules @@ -45,12 +45,13 @@ configure-stamp: dh_testdir -ln -s @sys/dest dest -ln -s $(SYS_NAME) @sys - afslogsdir=/var/log/openafs sh configure \ + afslogsdir=/var/log/openafs afslocaldir=/etc/openafs/server-local \ + sh configure \ --with-afs-sysname=$(SYS_NAME) --disable-kernel-module \ --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ - --localstatedir=/var/lib afslocaldir=/etc/openafs/server-local \ - --enable-supergroups --enable-largefile-fileserver \ - --enable-debug --enable-lwp-debug $(DEBIAN_OPT_FLAGS) + --localstatedir=/var/lib --enable-supergroups \ + --enable-largefile-fileserver --enable-debug --enable-lwp-debug \ + $(DEBIAN_OPT_FLAGS) chmod a+x src/libafs/make_kbuild_makefile.pl install -d $(SYS_NAME)/dest/root.client/usr/vice/etc install -d dest/root.server/usr/afs/bin -- 2.39.5