[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-348-g5fc7de4

Ruslan Zakirov ruz at bestpractical.com
Fri Apr 16 11:57:22 EDT 2010


The branch, 3.8-trunk has been updated
       via  5fc7de4b1c8d4d5e03b96d140a7e228f5f7fc485 (commit)
      from  2f14eaa97ace8ac3e323006ff47d40974321deb4 (commit)

Summary of changes:
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 5fc7de4b1c8d4d5e03b96d140a7e228f5f7fc485
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Feb 24 16:51:47 2010 -0500

    Fix 3 bugs
    
    Switch to ' from " so the shell stops trying to expand !
    Switch from modperl[12] to modperl1|modperl2 because configure tries to
    expand [] for us
    Make sure WEB_HANDLER is available to the perl one liner

diff --git a/configure.ac b/configure.ac
index 7e6d757..731c2fd 100755
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@ AC_ARG_WITH(web-handler,
         ]),
     WEB_HANDLER=$withval,
     WEB_HANDLER=fastcgi)
-my_web_handler_test=$($PERL -e "print 'ok' unless grep \$_ !~ /^(modperl[12]|fastcgi(?:-server)?|speedycgi|standalone)\$/i, grep defined && length, split /\s*,\s*/, '$WEB_HANDLER'")
+my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl1|modperl2|fastcgi(?:-server)?|speedycgi|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV[0]' $WEB_HANDLER)
 if test "$my_web_handler_test" != "ok"; then
 	AC_MSG_ERROR([Only modperl1, modperl2, fastcgi, fastcgi-server, speedycgi and standalone are valid web-handlers])
 fi

-----------------------------------------------------------------------


More information about the Rt-commit mailing list