mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 19:05:33 +00:00
Applied vladimirs freebsd patch (largefile default on freebsd and misc)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1476 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cb28f52567
commit
c30ba7ac5f
12
configure
vendored
12
configure
vendored
@ -230,10 +230,10 @@ for ac_option do
|
|||||||
_sdlconfig=`echo $ac_option | cut -d '=' -f 2`
|
_sdlconfig=`echo $ac_option | cut -d '=' -f 2`
|
||||||
;;
|
;;
|
||||||
--with-extralibdir=*)
|
--with-extralibdir=*)
|
||||||
_extralibdir=-L`echo $ac_option | cut -d '=' -f 2`
|
_extralibdir=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
|
||||||
;;
|
;;
|
||||||
--with-extraincdir=*)
|
--with-extraincdir=*)
|
||||||
_extraincdir=-I`echo $ac_option | cut -d '=' -f 2`
|
_extraincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -349,10 +349,14 @@ fi
|
|||||||
|
|
||||||
# Lots of stuff are installed under /usr/local
|
# Lots of stuff are installed under /usr/local
|
||||||
|
|
||||||
|
if [ "$_extralibdir" = "" ]; then
|
||||||
_extralibdir=-L/usr/local/lib
|
_extralibdir=-L/usr/local/lib
|
||||||
|
fi
|
||||||
|
if [ "$_extraincdir" = "" ]; then
|
||||||
_extraincdir=-I/usr/local/include
|
_extraincdir=-I/usr/local/include
|
||||||
|
fi
|
||||||
|
|
||||||
if [ x"$_sdlconfig" = x"" ]; then
|
if [ "$_sdlconfig" = "" ]; then
|
||||||
if [ "$system_name" = "FreeBSD" ]; then
|
if [ "$system_name" = "FreeBSD" ]; then
|
||||||
_sdlconfig='sdl11-config'
|
_sdlconfig='sdl11-config'
|
||||||
else
|
else
|
||||||
@ -1605,7 +1609,7 @@ CFLAGS="$CFLAGS -D_THREAD_SAFE"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 64 bit file offsets?
|
# 64 bit file offsets?
|
||||||
if [ "$_largefiles" = "yes" ]; then
|
if [ "$_largefiles" = "yes" -o "$system_name" = "FreeBSD" ]; then
|
||||||
CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user