summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2011-08-30 21:42:39 +0200
committerQt by Nokia <qt-info@nokia.com>2012-03-22 18:59:45 +0100
commit228392aff231f105116738df6c4286af257407c7 (patch)
treefba7cdd1e2a6a75d7bed364516f897e80177e7b6
parent14068bcf9fe175d7827c2160a61f48e344b636cb (diff)
Save the pkg-config settings in config.status
Change-Id: I6fc14eaf071ff56325bbcabb0ae8971fcf07b370 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 8af4e87b06..1d03e14a79 100755
--- a/configure
+++ b/configure
@@ -7014,6 +7014,10 @@ fi'`
[ -f "$outpath/config.status" ] && rm -f "$outpath/config.status"
echo "#!/bin/sh" > "$outpath/config.status"
+ [ -n "$PKG_CONFIG_SYSROOT_DIR" ] && \
+ echo "export PKG_CONFIG_SYSROOT_DIR=$PKG_CONFIG_SYSROOT_DIR" >> "$outpath/config.status"
+ [ -n "$PKG_CONFIG_LIBDIR" ] && \
+ echo "export PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR" >> "$outpath/config.status"
echo "if [ \"\$#\" -gt 0 ]; then" >> "$outpath/config.status"
echo " $CONFIG_STATUS \"\$@\"" >> "$outpath/config.status"
echo "else" >> "$outpath/config.status"