Mercurial > mplayer.hg
changeset 1475:1a4c9a7e9b67
Applied vladimirs freebsd patch (largefile default on freebsd and misc)
author | atmos4 |
---|---|
date | Thu, 09 Aug 2001 22:10:17 +0000 |
parents | 529a65694e40 |
children | e17940b2cbb2 |
files | configure |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Aug 09 20:07:45 2001 +0000 +++ b/configure Thu Aug 09 22:10:17 2001 +0000 @@ -230,10 +230,10 @@ _sdlconfig=`echo $ac_option | cut -d '=' -f 2` ;; --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=*) - _extraincdir=-I`echo $ac_option | cut -d '=' -f 2` + _extraincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` ;; esac done @@ -349,10 +349,14 @@ # Lots of stuff are installed under /usr/local +if [ "$_extralibdir" = "" ]; then _extralibdir=-L/usr/local/lib +fi +if [ "$_extraincdir" = "" ]; then _extraincdir=-I/usr/local/include +fi -if [ x"$_sdlconfig" = x"" ]; then +if [ "$_sdlconfig" = "" ]; then if [ "$system_name" = "FreeBSD" ]; then _sdlconfig='sdl11-config' else @@ -1605,7 +1609,7 @@ fi # 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" fi