comparison configure @ 3747:bd99dedefa01

--confdir
author arpi
date Tue, 25 Dec 2001 21:58:10 +0000
parents ef48028cb7a7
children 6d0283908517
comparison
equal deleted inserted replaced
3746:d21bae2028a6 3747:bd99dedefa01
106 -h, --help display this help and exit 106 -h, --help display this help and exit
107 107
108 Installation directories: 108 Installation directories:
109 --prefix=DIR use this prefix for installing mplayer [/usr/local] 109 --prefix=DIR use this prefix for installing mplayer [/usr/local]
110 --datadir=DIR use this prefix for installing machine independent 110 --datadir=DIR use this prefix for installing machine independent
111 data [/usr/local/share/mplayer] 111 data files (fonts, skins) [PREFIX/share/mplayer]
112 --confdir=DIR use this prefix for installing configuration files
113 [same as datadir]
112 114
113 Optional features: 115 Optional features:
114 --disable-mencoder disable mencoder [autodetect] 116 --disable-mencoder disable mencoder [autodetect]
115 --enable-largefiles enable support for files >2^32 bytes long [disable] 117 --enable-largefiles enable support for files >2^32 bytes long [disable]
116 --enable-termcap use termcap database for key codes [autodetect] 118 --enable-termcap use termcap database for key codes [autodetect]
880 _prefix=`echo $ac_option | cut -d '=' -f 2` 882 _prefix=`echo $ac_option | cut -d '=' -f 2`
881 ;; 883 ;;
882 --datadir=*) 884 --datadir=*)
883 _datadir=`echo $ac_option | cut -d '=' -f 2` 885 _datadir=`echo $ac_option | cut -d '=' -f 2`
884 ;; 886 ;;
887 --confdir=*)
888 _confdir=`echo $ac_option | cut -d '=' -f 2`
889 ;;
885 890
886 891
887 *) 892 *)
888 echo "Unknown parameter: $ac_option" 893 echo "Unknown parameter: $ac_option"
889 ;; 894 ;;
891 esac 896 esac
892 done 897 done
893 898
894 # Atmos: moved this here, to be correct, if --prefix is specified 899 # Atmos: moved this here, to be correct, if --prefix is specified
895 test -z "$_datadir" && _datadir=$_prefix"/share/mplayer" 900 test -z "$_datadir" && _datadir=$_prefix"/share/mplayer"
896 901 test -z "$_confdir" && _confdir=$_datadir
897 902
898 903
899 if x86 ; then 904 if x86 ; then
900 # Checking assembler (_as) compatibility... 905 # Checking assembler (_as) compatibility...
901 # Added workaround for older as that reads from stdin by default - atmos 906 # Added workaround for older as that reads from stdin by default - atmos
2636 # -------- Generated by configure ----------- 2641 # -------- Generated by configure -----------
2637 2642
2638 LANG = C 2643 LANG = C
2639 TARGET_OS = $system_name 2644 TARGET_OS = $system_name
2640 prefix = $_prefix 2645 prefix = $_prefix
2646 DATADIR = $_datadir
2647 CONFDIR = $_confdir
2641 AR = ar 2648 AR = ar
2642 CC = $_cc 2649 CC = $_cc
2643 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math 2650 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math
2644 OPTFLAGS = $CFLAGS 2651 OPTFLAGS = $CFLAGS
2645 EXTRA_INC = $_inc_extra $_inc_gtk 2652 EXTRA_INC = $_inc_extra $_inc_gtk
2734 /* Indicates is Ogle's libdvdread is available for DVD playback */ 2741 /* Indicates is Ogle's libdvdread is available for DVD playback */
2735 $_def_dvdread 2742 $_def_dvdread
2736 2743
2737 /* Common data directory (for fonts, etc) */ 2744 /* Common data directory (for fonts, etc) */
2738 #define DATADIR "$_datadir" 2745 #define DATADIR "$_datadir"
2746 #define CONFDIR "$_confdir"
2739 2747
2740 /* Define this to compile stream-caching support, it can be enabled via 2748 /* Define this to compile stream-caching support, it can be enabled via
2741 -cache <kilobytes> */ 2749 -cache <kilobytes> */
2742 #define USE_STREAM_CACHE 1 2750 #define USE_STREAM_CACHE 1
2743 2751
3029 3037
3030 Config files successfully generated by ./configure ! 3038 Config files successfully generated by ./configure !
3031 3039
3032 Install prefix: $_prefix 3040 Install prefix: $_prefix
3033 Data directory: $_datadir 3041 Data directory: $_datadir
3042 Config direct.: $_confdir
3034 3043
3035 Enabled optional drivers: 3044 Enabled optional drivers:
3036 Input: $_inputmodules 3045 Input: $_inputmodules
3037 Codecs: $_codecmodules 3046 Codecs: $_codecmodules
3038 Audio output: $_aomodules 3047 Audio output: $_aomodules