Re: Portability: config/macro-archive/xsltproc.m4

Jean-Louis Martineau <[email protected]>
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
Eric,

Thanks for the patch, I committed it.

Jean-Louis

On 02/01/17 06:02 PM, Eric Schnoebelen wrote:
> Issue: bash-isms in the autoconf macros.  autoconf should be
> written in POSIX sh.  xsltproc.m4 uses '==' which is not
> supported by POSIX sh.
>
>
> $NetBSD: patch-config_macro-archive_xsltproc.m4,v 1.1 2012/07/30 07:21:11 sbd Exp $
>
> Fix shell portability problem.
>
> --- config/macro-archive/xsltproc.m4.orig	2012-02-21 11:36:49.000000000 +0000
> +++ config/macro-archive/xsltproc.m4
> @@ -67,7 +67,7 @@ AS_HELP_STRING([--with-xsltproc[[[[[=PAT
>   AC_ARG_WITH(xsltproc-flags,
>   AS_HELP_STRING([  --with-xsltproc-flags=FLAGS],
>                  [Flags to pass to xsltproc (default $1)]),
> -    [ if test "x$withval" == "xno"; then
> +    [ if test "x$withval" = "xno"; then
>   	XSLTPROC_FLAGS=''
>       else
>   	if test "x$withval" != "xyes"; then
>

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.