summaryrefslogtreecommitdiff
path: root/configure.ac.in
diff options
context:
space:
mode:
authorRomain Bouvier <skunnyk@alteroot.org>2020-04-24 12:09:09 +0200
committerRomain Bouvier <skunnyk@alteroot.org>2020-04-24 12:12:12 +0200
commit19c3566a50f0b062d06b055e785e2ad08ec40f3b (patch)
tree22ca94bf9f9ad2201be7aca59abc21ecde423fcb /configure.ac.in
parent7b6d095d6479b285e6569e6ff9d574aadbfa3a75 (diff)
downloadxfconf-19c3566a50f0b062d06b055e785e2ad08ec40f3b.tar.gz
Remove xfconf perl binding
- Disable by default since 4.14 - Not sure anybody use it, haven't seen any evolution since 4.6
Diffstat (limited to 'configure.ac.in')
-rw-r--r--configure.ac.in59
1 files changed, 4 insertions, 55 deletions
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 <bjt23@cornell.edu>
-dnl Copyright (c) 2011-2019 Xfce Development Team <xfce4-dev@xfce.org>
+dnl Copyright (c) 2011-2020 Xfce Development Team <xfce4-dev@xfce.org>
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