[Rt-commit] rt branch, smime, updated. rt-3.8.7-186-gddde31e

Kevin Falcone falcone at bestpractical.com
Wed Feb 24 17:21:57 EST 2010


The branch, smime has been updated
       via  ddde31e9a872fc0a72e72ef4b8274302ba9bf54b (commit)
      from  2018b46a68bee5316cf89057f235b27577eb403f (commit)

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

- Log -----------------------------------------------------------------
commit ddde31e9a872fc0a72e72ef4b8274302ba9bf54b
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 192fca8..93d47d4 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