build: Remove --disable-static-deltas option
authorColin Walters <walters@verbum.org>
Wed, 27 Jan 2016 16:06:30 +0000 (11:06 -0500)
committerColin Walters <walters@verbum.org>
Mon, 8 Feb 2016 13:46:13 +0000 (14:46 +0100)
I'm confident now we can declare them stable.

configure.ac
src/libostree/ostree-repo-pull.c

index c36134b92a899a4349358ddc4b79cb43390959c7..03cc746a39e1289d3ef60886d5a8a036e9ce1c92 100644 (file)
@@ -235,15 +235,6 @@ AS_IF([test "x$found_introspection" = xyes], [
 ], [have_gjs=no])
 AM_CONDITIONAL(BUILDOPT_GJS, test x$have_gjs = xyes)
 
-AC_ARG_ENABLE(static_deltas,
-              AS_HELP_STRING([--enable-static-deltas],
-                             [Enable static delta code (default: yes)]),,
-              [enable_static_deltas=yes])
-AS_IF([test x$enable_static_deltas = xyes], [
-    AC_DEFINE([BUILDOPT_STATIC_DELTAS], 1, [Define if static deltas are enabled])
-])
-AM_CONDITIONAL(BUILDOPT_STATIC_DELTAS, test x$enable_static_deltas = xyes)
-
 AC_CONFIG_FILES([
 Makefile
 apidoc/Makefile
@@ -261,7 +252,7 @@ echo "
     libsoup TLS client certs:                     $have_libsoup_client_certs
     SELinux:                                      $with_selinux
     libarchive (parse tar files directly):        $with_libarchive
-    static deltas:                                $enable_static_deltas
+    static deltas:                                yes (always enabled now)
     man pages (xsltproc):                         $enable_man
     api docs (gtk-doc):                           $enable_gtk_doc
     gjs-based tests:                              $have_gjs
index a0a1fc9cef8dee5e8c66401cc37b8a758a585bd0..6e6f0cd22e35dfc09e9d4d75dc246d69adb86bbd 100644 (file)
@@ -2208,14 +2208,12 @@ ostree_repo_pull_with_options (OstreeRepo             *self,
                                     &from_revision, error))
         goto out;
 
-#ifdef BUILDOPT_STATIC_DELTAS
       if (!disable_static_deltas && (from_revision == NULL || g_strcmp0 (from_revision, to_revision) != 0))
         {
           if (!request_static_delta_superblock_sync (pull_data, from_revision, to_revision,
                                                      &delta_superblock, cancellable, error))
             goto out;
         }
-#endif
           
       if (!delta_superblock)
         {