patch to allow visudo to work on hurd
[debian/sudo] / debian / rules
index dfa19ed78cdb19120e1e97bc68832b5e34f95627..017ec5edfd590bee6684f657a0bbf35433e88493 100755 (executable)
@@ -12,8 +12,14 @@ ifeq ($(DEB_HOST_ARCH_OS),linux)
   configure_args += --with-selinux
 endif
 
+reconf-stamp:
+       cp -f /usr/share/misc/config.sub build-aux/config.sub
+       cp -f /usr/share/misc/config.guess build-aux/config.guess
+       autoreconf -v
+       touch $@
+
 configure: configure-stamp
-configure-stamp:
+configure-stamp: reconf-stamp
        dh_testdir
        cp -f /usr/share/misc/config.sub config.sub
        cp -f /usr/share/misc/config.guess config.guess