From 19c3566a50f0b062d06b055e785e2ad08ec40f3b Mon Sep 17 00:00:00 2001 From: Romain Bouvier Date: Fri, 24 Apr 2020 12:09:09 +0200 Subject: Remove xfconf perl binding - Disable by default since 4.14 - Not sure anybody use it, haven't seen any evolution since 4.6 --- configure.ac.in | 59 ++++----------------------------------------------------- 1 file changed, 4 insertions(+), 55 deletions(-) (limited to 'configure.ac.in') diff --git a/configure.ac.in b/configure.ac.in index ef00e16..d241ed4 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -3,7 +3,7 @@ dnl dnl xfconf - dbus-based configuration daemon and library for xfce dnl dnl Copyright (c) 2007-2011 Brian Tarricone -dnl Copyright (c) 2011-2019 Xfce Development Team +dnl Copyright (c) 2011-2020 Xfce Development Team dnl dnl version info @@ -20,7 +20,7 @@ m4_define([xfconf_version], [xfconf_version_major().xfconf_version_minor().xfcon m4_define([xfconf_default_debug], [ifelse(xfconf_version_tag(), [git], [yes], [minimum])]) dnl init autoconf -AC_INIT([xfconf], [xfconf_version], [http://bugzilla.xfce.org/]) +AC_INIT([xfconf], [xfconf_version], [https://bugzilla.xfce.org/]) AC_CONFIG_MACRO_DIRS([m4]) AC_PREREQ([2.50]) @@ -92,58 +92,11 @@ XDT_CHECK_PACKAGE([GLIB], [gobject-2.0], [2.42.0]) XDT_CHECK_PACKAGE([GIO], [gio-2.0], [2.42.0]) XDT_CHECK_PACKAGE([GIO_UNIX], [gio-unix-2.0], [2.42.0]) XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.42.0]) -XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.10.0]) +XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.14.0]) -dnl check for perl bindings for --disable-perl-bindings and make-exo-alias.pl +dnl check for make-exo-alias.pl AC_PATH_PROGS([PERL], [perl5.8 perl5.6 perl5 perl]) -dnl see if we can build the perl bindings -AC_ARG_ENABLE([perl-bindings], - [AC_HELP_STRING([--disable-perl-bindings], - [Don't try to build the perl bindings (default=auto)])], - [use_perl=$enableval], [use_perl=no]) -PERL_GLIB_REQUIRED_VERSION=1.020 -PERL_EXTUTILS_DEPENDS_REQUIRED_VERSION=0.300 -PERL_EXTUTILS_PKGCONFIG_REQUIRED_VERSION=1.000 -if test "x$use_perl" != "xno"; then - if test "$PERL"; then - # we need Glib, as well as a few support modules - AC_MSG_CHECKING([for perl modules: ExtUtils::Depends, ExtUtils::PkgConfig, Glib]) - if `$PERL -e "use Glib '$PERL_GLIB_REQUIRED_VERSION'; \ - use ExtUtils::Depends '$PERL_EXTUTILS_DEPENDS_REQUIRED_VERSION'; \ - use ExtUtils::PkgConfig '$PERL_EXTUTILS_PKGCONFIG_REQUIRED_VERSION';" \ - >/dev/null 2>&1` - then - have_perl=yes - AC_MSG_RESULT([yes]) - else - have_perl=no - AC_MSG_RESULT([no]) - echo ' -*** Required perl modules not found to build perl bindings. Requirements are: -*** -*** ExtUtils::Depends '"$PERL_EXTUTILS_DEPENDS_REQUIRED_VERSION"' -*** ExtUtils::PkgConfig '"$PERL_EXTUTILS_PKGCONFIG_REQUIRED_VERSION"' -*** Glib '"$PERL_GLIB_REQUIRED_VERSION"' -*** -*** Please install the required dependencies and run '"$0"' again. -' - fi - fi -fi -AM_CONDITIONAL([BUILD_PERL_BINDINGS], [test "x$have_perl" = "xyes"]) -AC_SUBST([PERL_GLIB_REQUIRED_VERSION]) -AC_SUBST([PERL_EXTUTILS_DEPENDS_REQUIRED_VERSION]) -AC_SUBST([PERL_EXTUTILS_PKGCONFIG_REQUIRED_VERSION]) - -dnl Options to pass when configuring Perl bindings -AC_ARG_WITH([perl-options], - [AC_HELP_STRING([--with-perl-options=OPTIONS], - [options to pass on command-line when generating Perl bindings build file])], - [perl_makeopts="$withval"], [perl_makeopts=""]) -PERL_MAKE_OPTIONS="$perl_makeopts" -AC_SUBST(PERL_MAKE_OPTIONS) - dnl check alignment for struct returns AC_DEFUN([BT_GLIB_CHECK_ALIGNOF], [ @@ -259,10 +212,6 @@ tests/object-bindings/Makefile tests/property-changed-signal/Makefile xfconf/Makefile xfconf/libxfconf-0.pc -xfconf-perl/Makefile.PL -xfconf-perl/Makefile -xfconf-perl/Xfconf.pm -xfconf-perl/xs/Makefile xfconf-query/Makefile xfconfd/Makefile gsettings-backend/Makefile -- cgit v1.2.1