RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall Root: /v/rpm/cvs Email: [EMAIL PROTECTED] Module: rpm Date: 26-Jun-2007 20:31:33 Branch: HEAD Handle: 2007062619313300 Modified files: rpm configure.ac Log: cleanup --with-perl Autoconf handling Summary: Revision Changes Path 2.140 +9 -12 rpm/configure.ac ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/configure.ac ============================================================================ $ cvs diff -u -r2.139 -r2.140 configure.ac --- rpm/configure.ac 26 Jun 2007 18:25:18 -0000 2.139 +++ rpm/configure.ac 26 Jun 2007 18:31:33 -0000 2.140 @@ -617,19 +617,16 @@ AC_SUBST(WITH_SELINUX_LIB) dnl # auto-detect whether Perl bindings should be built. -withval=auto -AC_ARG_WITH(perl, AS_HELP_STRING([--with-perl], [build with RPM Perl language bindings])) -WITH_PERL_VERSION=$withval -if test "$WITH_PERL_VERSION" != no ; then - WITH_PERL_SUBDIR=perl - WITH_PERL_SUBPACKAGE=1 -else - WITH_PERL_SUBDIR= - WITH_PERL_SUBPACKAGE=0 -fi +WITH_PERL_SUBDIR="" +WITH_PERL_SUBPACKAGE=0 +AC_ARG_WITH(perl, AS_HELP_STRING([--with-perl], [build with RPM Perl language bindings]), [ + if test ".$withval" != .no; then + WITH_PERL_SUBDIR=perl + WITH_PERL_SUBPACKAGE=1 + fi +]) AC_SUBST(WITH_PERL_SUBDIR) AC_SUBST(WITH_PERL_SUBPACKAGE) -AC_SUBST(WITH_PERL_VERSION) dnl # auto-detect which Python bindings should be built. withval=auto @@ -1054,7 +1051,7 @@ dnl # explicit list of commands to execute AC_CONFIG_COMMANDS([default], [ - if test "$with_perl" = yes && test -d perl; then + if test "$.with_perl" = .yes && test -d perl; then ( cd perl && perl Makefile.PL ) fi ],[]) @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org