[radvd-devel-l] [PATCH] configure.ac: fix bashism

Reuben Hawkins reubenhwk at gmail.com
Tue Jun 19 09:32:50 EDT 2012


On Mon, Jun 18, 2012 at 2:34 PM, Peter Korsgaard <jacmet at sunsite.dk> wrote:
> '==' is a bashism, breaking configure on systems where /bin/sh isn't bash
> (E.G. Ubuntu).  Fixes:
>
> http://autobuild.buildroot.net/results/c3d0d04f8b3df63b3206cecf54dfdd67a4c7ccfb/build-end.log
>
> Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
> ---
>  configure.ac |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 3ab6667..c3b907b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -176,7 +176,7 @@ dnl Checks for library functions.
>  AC_CHECK_FUNCS(getopt_long)
>
>  CONDITIONAL_SOURCES="device-${arch}.${OBJEXT} ${CONDITIONAL_SOURCES}"
> -if test x${arch} == xlinux ; then
> +if test x${arch} = xlinux ; then
>        CONDITIONAL_SOURCES="privsep-${arch}.${OBJEXT} ${CONDITIONAL_SOURCES}"
>        AC_DEFINE(USE_PRIVSEP, 1, [Use privsep])
>  fi
> --
> 1.7.10
>

Thanks Peter,

Fixed and released as 1.9.1.



More information about the radvd-devel-l mailing list