summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-20 21:19:58 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-20 21:19:58 +0000
commit726ccc3118670677fb1f1be2c9e261a67a9a56ac (patch)
tree0710e38994cd1acbfe6d39c49bbd8b7bc5fd644f /configure
parenteca0abbc21a015ba8044bde343e8d49439181e30 (diff)
downloadmpv-726ccc3118670677fb1f1be2c9e261a67a9a56ac.tar.bz2
mpv-726ccc3118670677fb1f1be2c9e261a67a9a56ac.tar.xz
Move ldconfig platform differences into configure where they belong.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21973 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 19dd58498d..87f90ba12c 100755
--- a/configure
+++ b/configure
@@ -468,6 +468,7 @@ _iwmmxt=auto
_mtrr=auto
_install=install
_ranlib=ranlib
+_ldconfig=ldconfig
_cc=cc
test "$CC" && _cc="$CC"
_gcc_check=yes
@@ -662,6 +663,10 @@ TMPS="$I/mplayer-conf-$RANDOM-$$.S"
# stuff explicitly as command line argument. In other words: It would be
# resonable to have only /usr/include or only /usr/local/include.
+if openbsd ; then
+ _ldconfig="ldconfig -R"
+fi
+
if freebsd ; then
_ld_extra="$_ld_extra -L/usr/local/lib"
_inc_extra="$_inc_extra -I/usr/local/include"
@@ -7445,6 +7450,7 @@ CC = $_cc
HOST_CC = $_host_cc
AWK = $_awk
RANLIB = $_ranlib
+LDCONFIG = $_ldconfig
INSTALL = $_install
EXTRA_INC = $_inc_extra
OPTFLAGS = $CFLAGS \$(EXTRA_INC)