Author: kelnos
Date: 2008-12-25 11:30:12 +0000 (Thu, 25 Dec 2008)
New Revision: 29048

Modified:
   xfconf/trunk/NEWS
   xfconf/trunk/configure.ac.in
   xfconf/trunk/xfconf-perl/Makefile.am
Log:
allow passing arbitrary options to the perl bindings' Makefile.PL via
configure --with-perl-options="foo".  patch from
<yselkow...@users.sourceforge.net> (bug 4735)

Modified: xfconf/trunk/NEWS
===================================================================
--- xfconf/trunk/NEWS   2008-12-25 11:30:01 UTC (rev 29047)
+++ xfconf/trunk/NEWS   2008-12-25 11:30:12 UTC (rev 29048)
@@ -3,6 +3,8 @@
 
   * Install xfconfd to $(libexecdir) instead of $(bindir).
   * Fix perl bindings link order on Cygwin (bug 4735).
+  * Allow passing arbitrary options to the perl bindings' Makefile.PL
+    generation script (bug 4735).
 
 
 Xfce 4.6beta2 (Xfce 4.5.92)

Modified: xfconf/trunk/configure.ac.in
===================================================================
--- xfconf/trunk/configure.ac.in        2008-12-25 11:30:01 UTC (rev 29047)
+++ xfconf/trunk/configure.ac.in        2008-12-25 11:30:12 UTC (rev 29048)
@@ -105,6 +105,14 @@
 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],
 [

Modified: xfconf/trunk/xfconf-perl/Makefile.am
===================================================================
--- xfconf/trunk/xfconf-perl/Makefile.am        2008-12-25 11:30:01 UTC (rev 
29047)
+++ xfconf/trunk/xfconf-perl/Makefile.am        2008-12-25 11:30:12 UTC (rev 
29048)
@@ -20,7 +20,7 @@
                test -f $$f || $(LN_S) $(srcdir)/$$f $$f; \
            done; \
        fi
-       top_builddir="$(top_srcdir)" $(PERL) Makefile.PL PREFIX="$(prefix)"
+       top_builddir="$(top_srcdir)" $(PERL) Makefile.PL PREFIX="$(prefix)" 
$(PERL_MAKE_OPTIONS)
 
 all-local: Makefile.perl
        $(MAKE) -f Makefile.perl

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to