From: Paul Bender Date: Wed, 3 Aug 2011 17:03:18 +0000 (-0400) Subject: A problem with running configure with the dash shell X-Git-Tag: nfs-utils-1-2-5-rc2~19 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=312d57ff95333d93c93d8934e2be57a85b63c9da;hp=ab5977afefc805a0be172662fe03207fad8769ad A problem with running configure with the dash shell nfs-utils' configure script fails to run when /bin/sh is the dash shell. Signed-off-by: Steve Dickson --- diff --git a/configure.ac b/configure.ac index 593808c..1e8b035 100644 --- a/configure.ac +++ b/configure.ac @@ -114,14 +114,14 @@ AC_ARG_WITH(rpcgen, rpcgen_path=$withval, rpcgen_path=yes ) RPCGEN_PATH= - if test "$rpcgen_path" == "yes"; then + if test "$rpcgen_path" = "yes"; then for p in /usr/local/bin/rpcgen /usr/bin/rpcgen /bin/rpcgen do if test -f $p ; then RPCGEN_PATH=$p ; break; fi ; done elif test "$rpcgen_path" != "internal"; then RPCGEN_PATH=$rpcgen_path fi AC_SUBST(RPCGEN_PATH) - AM_CONDITIONAL(CONFIG_RPCGEN, [test "$RPCGEN_PATH" == ""]) + AM_CONDITIONAL(CONFIG_RPCGEN, [test "$RPCGEN_PATH" = ""]) AC_ARG_ENABLE(uuid, [AC_HELP_STRING([--disable-uuid], [Exclude uuid support to avoid buggy libblkid])], if test "$enableval" = "yes" ; then choose_blkid=yes; else choose_blkid=no; fi,