[SSSD] [patch] Avoid bashism in the configure script

Petter Reinholdtsen pere at hungry.com
Thu May 20 22:38:58 UTC 2010


[Petter Reinholdtsen]
> I tried to build sssd version 1.1.92 in Debian/Sid, and the build
> failed.  While investigating, I ran across bashism in the configure
> script. /bin/sh in Debian is dash, and its test command do not
> recognize the '==' bashism.  Here is a patch to try to solve the ones
> I found.

Found another one.  This one broke the --enable-krb5-locator-plugin
option.

--- sssd-1.1.92.orig/src/external/krb5.m4
+++ sssd-1.1.92/src/external/krb5.m4
@@ -58,5 +58,5 @@
                 [have_locate_plugin=no]
                 [AC_MSG_NOTICE([Kerberos locator plugin cannot be build])])
 AM_CONDITIONAL([BUILD_KRB5_LOCATOR_PLUGIN],
-               [test x$have_locate_plugin == xyes -a x$build_locator == xyes])
+               [test x$have_locate_plugin = xyes -a x$build_locator = xyes])
 

Happy hacking,
-- 
Petter Reinholdtsen




More information about the sssd-devel mailing list