Bug 76320 - libpciaccess requires xorg-macros when it may not be available on all target platforms (ones lacking Xorg)
Summary: libpciaccess requires xorg-macros when it may not be available on all target ...
Status: RESOLVED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-18 14:02 UTC by Alexander von Gluck
Modified: 2014-03-26 20:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Alexander von Gluck 2014-03-18 14:02:37 UTC
Looking at libpciaccess, the configure.ac seems to require xorg-macros when it is not needed in any way shape or form.  Removing the xorg-macros still results in a functioning build.

I did have to disable the man pages, this may not be related though:

make[2]: Entering directory `/home/e1529750/Code/libpciaccess-0.13.2/man'
/bin/sed  < scanpci.man > scanpci.
Usage: /bin/sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space


Mentioning this as libdrm is supposed to not rely on xorg to function, but it relies on libpciaccess which requires xorg-macros.
Comment 1 Matt Turner 2014-03-26 20:23:54 UTC
Totally related:

man/Makefile.am:
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
SUFFIXES = .$(APP_MAN_SUFFIX) .man

You do realize that xorg-macros is just a m4 file full of autoconf convenience macros, right? Using it isn't actually relying on xorg to function.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.