summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Config.h6
-rw-r--r--archival/gzip.c2
-rw-r--r--gzip.c2
3 files changed, 4 insertions, 6 deletions
diff --git a/Config.h b/Config.h
index 11f2150..286b680 100644
--- a/Config.h
+++ b/Config.h
@@ -388,12 +388,6 @@
#undef BB_FEATURE_LINUXRC
#endif
//
-#ifdef BB_GZIP
- #ifndef BB_GUNZIP
- #define BB_GUNZIP
- #endif
-#endif
-//
#ifdef BB_DPKG
#ifndef BB_DPKG_DEB
#define BB_DPKG_DEB
diff --git a/archival/gzip.c b/archival/gzip.c
index b0e6b36..ac50344 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -1918,8 +1918,10 @@ int gzip_main(int argc, char **argv)
case '1': case '2': case '3': case '4': case '5':
case '6': case '7': case '8': case '9':
break;
+#ifdef BB_GUNZIP
case 'd':
exit(gunzip_main(argc, argv));
+#endif
default:
show_usage();
}
diff --git a/gzip.c b/gzip.c
index b0e6b36..ac50344 100644
--- a/gzip.c
+++ b/gzip.c
@@ -1918,8 +1918,10 @@ int gzip_main(int argc, char **argv)
case '1': case '2': case '3': case '4': case '5':
case '6': case '7': case '8': case '9':
break;
+#ifdef BB_GUNZIP
case 'd':
exit(gunzip_main(argc, argv));
+#endif
default:
show_usage();
}