From: Russ Allbery Date: Mon, 9 May 2005 22:50:56 +0000 (+0000) Subject: Pass environment variables to configure in the environment; passing them X-Git-Tag: debian/1.3.82-1~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5ddf1a5438e5bc3a73c6d1a1b2736496e554c72e;p=packages%2Fo%2Fopenafs.git 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....) --- 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