[Mplayer-cvslog] CVS: main configure,1.52,1.53 Makefile,1.32,1.33

Gabor Lenart lgb at users.sourceforge.net
Wed May 30 22:23:22 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv2664/main

Modified Files:
	configure Makefile 
Log Message:
Support for --prefix option

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -r1.52 -r1.53
*** configure	2001/05/26 21:26:03	1.52
--- configure	2001/05/30 20:23:20	1.53
***************
*** 7,10 ****
--- 7,13 ----
  # Changes in reversed order:
  #
+ # 2001/05/40 by LGB
+ #  - added --prefix support
+ #
  # 2001/05/22 by Nick Kurshev
  #  - added definition of CPU clone
***************
*** 80,83 ****
--- 83,87 ----
  params:
          --cc                    use this C compiler to build MPlayer [gcc]
+ 	--prefix=DIR		use this prefix for installing mplayer [/usr/local]
  	--enable-debug[=1-3]	compile debugging information into mplayer [disable]
  	--enable-profile	compile profiling information into mplayer [disable]
***************
*** 532,535 ****
--- 536,541 ----
  # check for the parameters.
  
+ _prefix="/usr/local"
+ 
  for ac_option
  do
***************
*** 716,719 ****
--- 722,728 ----
  	;;
    --with-x11libdir=*)
+ 	;;
+   --prefix=*)
+ 	_prefix=`echo $ac_option | cut -d '=' -f 2`
          ;;
    --cc=*)
***************
*** 732,735 ****
--- 741,745 ----
  uname -a
  echo "Using C compiler: $_cc"
+ echo "Install prefix: $_prefix"
  $_cc -v
  as --version | head -n 1
***************
*** 884,887 ****
--- 894,898 ----
  DS_DEP = $_dshowdep
  DS_LIB = $_dshowlib
+ prefix = $_prefix
  
  EOF

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** Makefile	2001/05/25 15:32:00	1.32
--- Makefile	2001/05/30 20:23:20	1.33
***************
*** 18,22 ****
  PRG_CFG = codec-cfg
  
! prefix = /usr/local
  BINDIR = ${prefix}/bin
  # BINDIR = /usr/local/bin
--- 18,22 ----
  PRG_CFG = codec-cfg
  
! #prefix = /usr/local
  BINDIR = ${prefix}/bin
  # BINDIR = /usr/local/bin


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list