diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-09 22:10:17 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-09 22:10:17 +0000 |
commit | c30ba7ac5f9eb10e3c3045cde45bd4be75b3adba (patch) | |
tree | 66eaf38c9d8093a7c9cecec4cdbba8ea8b1f99be /configure | |
parent | cb28f52567991e24ccf39a039de4db05891908d9 (diff) | |
download | mpv-c30ba7ac5f9eb10e3c3045cde45bd4be75b3adba.tar.bz2 mpv-c30ba7ac5f9eb10e3c3045cde45bd4be75b3adba.tar.xz |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -230,10 +230,10 @@ for ac_option do _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 @@ fi # 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 @@ CFLAGS="$CFLAGS -D_THREAD_SAFE" 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 |