After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348082 - ./configure error if no acl support
./configure error if no acl support
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Build
2.15.x
Other Mac OS
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-20 04:09 UTC by Daniel Macks
Modified: 2006-07-23 10:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Macks 2006-07-20 04:09:14 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.
Comment 1 Christian Kellner 2006-07-23 10:28:48 UTC
Should be fixed on cvs head.