From e1b891639d0efe89805587aaaf78c953867fd638 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sun, 12 Oct 2014 18:16:54 +0000 Subject: 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 --- configure | 2 +- configure.ac | 2 +- 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]) -- cgit v1.2.3