Bug 28776

Summary: Allow documented environment variables in autoconf
Product: pkg-config Reporter: Enrico Scholz <bugs-freedesktop>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Allow documented environment variables in autoconf

Description Enrico Scholz 2010-06-27 03:19:29 UTC
Created attachment 36540 [details] [review]
Allow documented environment variables in autoconf

It might be useful to write something like

  sdkflags=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=sdkdir xorg-server`

in configure.ac macros.  Unfortunately, this will be blocked because
'PKG_CONFIG_SYSROOT' is a forbidden m4 pattern.

This patch extends the list of allowed pattern by the names of
documented pkg-config environment variables.
Comment 1 Tollef Fog Heen 2011-05-15 05:20:38 UTC
Thanks, applied.

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.