]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Pass environment variables to configure in the environment; passing them
authorRuss Allbery <rra@debian.org>
Mon, 9 May 2005 22:50:56 +0000 (22:50 +0000)
committerRuss Allbery <rra@debian.org>
Mon, 9 May 2005 22:50:56 +0000 (22:50 +0000)
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

index 36d6dab2285c9e359a93674073f536f75802f138..02c1d10fff01e3198d9c1f4c2202c313aeab24db 100755 (executable)
@@ -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