summaryrefslogtreecommitdiff
path: root/gphoto-m4
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2021-09-08 04:18:00 +0200
committerMarcus Meissner <meissner@suse.de>2021-10-19 11:08:54 +0200
commit69b3fc54bc6533c8716af8c9d5ab7945fe7923dd (patch)
treeb0ba2e02139f3bb84f41d345247aaf1db79324d2 /gphoto-m4
parent4c560cf7164f2ed3027ee00a7b00e8f4978ab6eb (diff)
downloadlibgphoto2-69b3fc54bc6533c8716af8c9d5ab7945fe7923dd.tar.gz
Remove rpm packaging
While adding support for "make rpm" appeared to be a good idea in the early 2000s, it really is not and only clutters up the build system. At least the libgphoto2_port translation cannot have worked in the rpm package since at least 5255d802102c10f971dc98f10828451d9922340d from 2007-10-28, so it is a good guess that this has not really been in use.
Diffstat (limited to 'gphoto-m4')
-rw-r--r--gphoto-m4/gp-packaging.m422
1 files changed, 0 insertions, 22 deletions
diff --git a/gphoto-m4/gp-packaging.m4 b/gphoto-m4/gp-packaging.m4
index d85b418a2..6ea9e0472 100644
--- a/gphoto-m4/gp-packaging.m4
+++ b/gphoto-m4/gp-packaging.m4
@@ -1,25 +1,3 @@
-AC_DEFUN([GPKG_CHECK_RPM],
-[
-AC_ARG_WITH([rpmbuild],
-[AS_HELP_STRING([--with-rpmbuild=PATH],
-[Program to use for building RPMs])])
-
-AC_MSG_CHECKING([for rpmbuild or rpm])
-if test -x "${with_rpmbuild}"
-then
- RPMBUILD="${with_rpmbuild}"
- AC_MSG_RESULT([${RPMBUILD} (from parameter)])
-else
- AC_MSG_RESULT([using autodetection])
- AC_CHECK_PROGS(RPMBUILD, [rpmbuild rpm], false)
- AC_MSG_CHECKING([for rpmbuild or rpm])
- AC_MSG_RESULT([${RPMBUILD} (autodetected)])
-fi
-AC_SUBST([RPMBUILD])
-AM_CONDITIONAL([ENABLE_RPM], [test "$RPMBUILD" != "false"])
-
-])
-
AC_DEFUN([GPKG_CHECK_LINUX],
[
# effective_target has to be determined in advance