aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2014-10-12 18:16:54 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2014-10-12 18:16:54 +0000
commite1b891639d0efe89805587aaaf78c953867fd638 (patch)
tree0b1c0125313676cbd27bb69ace7fed124d1bcb17
parentc4af88e53409d2758e97d46e5f21365ee6a406c1 (diff)
downloadusdx-e1b891639d0efe89805587aaaf78c953867fd638.tar.gz
usdx-e1b891639d0efe89805587aaaf78c953867fd638.tar.xz
usdx-e1b891639d0efe89805587aaaf78c953867fd638.zip
the sh shell needs export for permanent change of an environment variable
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3082 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 01cecbee..a6340047 100755
--- a/configure
+++ b/configure
@@ -5731,7 +5731,7 @@ See the pkg-config man page for more details.
# It only takes the last from the list, assuming that this is the latest
# version.
if [ x$libavcodec_HAVE = xno -a x$FPC_PLATFORM = xdarwin ]; then
- PKG_CONFIG_PATH=`find $FPCDIR/lib/ffmpeg* -name libavcodec.pc | tail -n 1 | xargs dirname`:$PKG_CONFIG_PATH
+ PKG_CONFIG_PATH=`find $FPCDIR/lib/ffmpeg* -name libavcodec.pc | tail -n 1 | xargs dirname`:$PKG_CONFIG_PATH export PKG_CONFIG_PATH
have_lib="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libavcodec" >&5
diff --git a/configure.ac b/configure.ac
index d36ed657..fa240929 100644
--- a/configure.ac
+++ b/configure.ac
@@ -207,7 +207,7 @@ PKG_HAVE([libavcodec], [libavcodec], check)
# It only takes the last from the list, assuming that this is the latest
# version.
if [[ x$libavcodec_HAVE = xno -a x$FPC_PLATFORM = xdarwin ]]; then
- PKG_CONFIG_PATH=`find $FPCDIR/lib/ffmpeg* -name libavcodec.pc | tail -n 1 | xargs dirname`:$PKG_CONFIG_PATH
+ PKG_CONFIG_PATH=`find $FPCDIR/lib/ffmpeg* -name libavcodec.pc | tail -n 1 | xargs dirname`:$PKG_CONFIG_PATH export PKG_CONFIG_PATH
PKG_HAVE([libavcodec], [libavcodec], yes)
fi
PKG_VERSION([libavcodec], [libavcodec])