Add distinfo target from dhcpcd to produce signed distinfo files.
[dhcpcd-ui] / configure
index a97afc5170b797528ce671d7e9c7e9413b6e8025..8eb33742fc9df8a3bee83a20cb9a83a7c45f2cc5 100755 (executable)
--- a/configure
+++ b/configure
@@ -146,6 +146,14 @@ echo "/* $OS */" >$CONFIG_H
 VERSION=$($SED -ne 's/VERSION= //p' Makefile)
 echo "#define VERSION          \"$VERSION\"" >>$CONFIG_H
 
+case "$OS" in
+linux*)
+       # cksum does't support -a and netpgp is rare
+       echo "CKSUM=            sha256sum --tag" >>$CONFIG_MK
+       echo "PGP=              gpg2" >>$CONFIG_MK
+       ;;
+esac
+
 for x in PREFIX SYSCONFDIR BINDIR; do
        eval v=\$$x
        # Make files look nice for import