diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2013-04-10 17:59:35 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2013-05-17 05:13:14 -0700 |
commit | 409ee76ce1ba3372f34ca4d14b629bd8ad8347e1 (patch) | |
tree | bf92d1d51cb3cb4544d3229ac336c409fa863c9e /pkg.h | |
parent | 636e804ded087d01378cf69598e237700f9376eb (diff) | |
download | pkg-config-409ee76ce1ba3372f34ca4d14b629bd8ad8347e1.tar.gz |
Allow more control of redefined prefix behavior
Currently the native Win32 builds default to redefining the prefix
variable in .pc files based on their installation paths. This behavior
is not always desired when pkg-config is being used in a traditional
fixed path environment (e.g., /mingw like /usr).
Allow the default to be set via configure switch
--enable/disable-define-prefix, and allow it to be set both ways at
runtime through the --[dont-]define-prefix pkg-config option.
Diffstat (limited to 'pkg.h')
-rw-r--r-- | pkg.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -134,9 +134,9 @@ extern char *pcsysrootdir; extern char *pkg_config_pc_path; #ifdef G_OS_WIN32 -/* If TRUE, do not automatically define "prefix" while - * parsing each .pc file */ -extern gboolean dont_define_prefix; +/* If TRUE, define "prefix" in .pc files at runtime. */ +extern gboolean define_prefix; + /* The name of the variable that acts as prefix, unless it is "prefix" */ extern char *prefix_variable; |