GNOME Bugzilla – Bug 348082
./configure error if no acl support
Last modified: 2006-07-23 10:28:48 UTC
checking for getxattr in -lattr... no checking for acl_get_file in -lacl... no checking for acl in -lsec... no checking for Solaris ACL... no checking for POSIX ACL... no ./configure: line 37651: test: =: unary operator expected ./configure: line 37661: test: =: unary operator expected Looks like the bug is in configure.in, arising from: AM_CONDITIONAL(HAVE_POSIX_ACL, test $have_posix_acl_support = yes) AM_CONDITIONAL(HAVE_SOLARIS_ACL, test $have_solaris_acl_support = yes) If a type of ACL support is not available, its $have_*_acl_support is blank, not "no", so the test command becomes 'test = yes'. Should do something like: AM_CONDITIONAL(HAVE_POSIX_ACL, test x$"have_posix_acl_support" = x"yes") AM_CONDITIONAL(HAVE_SOLARIS_ACL, test x"$have_solaris_acl_support" = x"yes") or else pre-initialize those $have_* to "no" before (perhaps) setting them to "yes" if the feature is present.
Should be fixed on cvs head.