[Mplayer-cvslog] CVS: main configure,1.135,1.136

Atmosfear atmos4 at mplayer.dev.hu
Fri Aug 10 00:10:24 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv27422

Modified Files:
	configure 
Log Message:
Applied vladimirs freebsd patch (largefile default on freebsd and misc)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- configure	6 Aug 2001 20:02:51 -0000	1.135
+++ configure	9 Aug 2001 22:10:17 -0000	1.136
@@ -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
 




More information about the MPlayer-cvslog mailing list