Disable sha256 code by default. This makes opkg GPLv2 by default.
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 20 Sep 2010 23:56:11 +0000 (23:56 +0000)
committergraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 20 Sep 2010 23:56:11 +0000 (23:56 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@569 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

configure.ac

index 907911be09bbf51b8fc3f2bff873392f80811927..ac5a0354393947a368c68e6a7e2d2e44257b2098 100644 (file)
@@ -66,8 +66,8 @@ fi
 # check for sha256
 AC_ARG_ENABLE(sha256,
               AC_HELP_STRING([--enable-sha256], [Enable sha256sum check
-      [[default=yes]] ]),
-    [want_sha256="$enableval"], [want_sha256="yes"])
+      (sha256.{c,h} are GPLv3 licensed) [[default=no]] ]),
+    [want_sha256="$enableval"], [want_sha256="no"])
 
 if test "x$want_sha256" = "xyes"; then
   AC_DEFINE(HAVE_SHA256, 1, [Define if you want sha256 support])