[Rt-devel] [PATCH] Changed perl [] to autoconf quadrigraphs in configure.ac.
Jesse Vincent
jesse at bestpractical.com
Thu Sep 2 17:33:29 EDT 2010
Thanks,
Applied for 3.9
On Fri 27.Aug'10 at 21:01:45 +0930, Tom Lanyon wrote:
> The test against WEB_HANDLER in ./configure.in was getting mangled by autoconf
> due to the square brackets. This probably wasn't picked up sooner because
> the broken test always succeeded, even if WEB_HANDLER was set incorrectly. :)
>
> Patch included against 3.8-trunk.
>
> Regards,
> Tom
>
>
> ---
> configure.ac | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index a108d56..c59a3e7 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 $_ !~ /^(modperl1|modperl2|fastcgi(?:-server)?|speedycgi|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV[0]' $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
> --
> 1.7.2.1
>
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
More information about the rt-devel
mailing list