Mercurial > mplayer.hg
comparison configure @ 4137:65b091d4f94a
added LIBDIR and USR_PREFIX
author | alex |
---|---|
date | Sun, 13 Jan 2002 14:44:04 +0000 |
parents | a66048f5ae2e |
children | 2d8403f1c54e |
comparison
equal
deleted
inserted
replaced
4136:1080b7780d03 | 4137:65b091d4f94a |
---|---|
921 done | 921 done |
922 | 922 |
923 # Atmos: moved this here, to be correct, if --prefix is specified | 923 # Atmos: moved this here, to be correct, if --prefix is specified |
924 test -z "$_datadir" && _datadir=$_prefix"/share/mplayer" | 924 test -z "$_datadir" && _datadir=$_prefix"/share/mplayer" |
925 test -z "$_confdir" && _confdir=$_datadir | 925 test -z "$_confdir" && _confdir=$_datadir |
926 | 926 test -z "$_libdir" && _libdir=$_prefix"/lib/mplayer" |
927 | 927 |
928 if x86 ; then | 928 if x86 ; then |
929 # Checking assembler (_as) compatibility... | 929 # Checking assembler (_as) compatibility... |
930 # Added workaround for older as that reads from stdin by default - atmos | 930 # Added workaround for older as that reads from stdin by default - atmos |
931 as_version=`echo '' | $_as -version 2>&1 | sed -n 's/^.*assembler \(version \)*\([0-9.]*\).*$/\2/p'` | 931 as_version=`echo '' | $_as -version 2>&1 | sed -n 's/^.*assembler \(version \)*\([0-9.]*\).*$/\2/p'` |
2851 echo "Creating config.h" | 2851 echo "Creating config.h" |
2852 cat > config.h << EOF | 2852 cat > config.h << EOF |
2853 /* -------- This file has been automatically generated by configure --------- | 2853 /* -------- This file has been automatically generated by configure --------- |
2854 Note: Any changes in it will be lost when you run configure again. */ | 2854 Note: Any changes in it will be lost when you run configure again. */ |
2855 | 2855 |
2856 #define USR_PREFIX "$_prefix" | |
2857 | |
2856 /* define this to use simple idct with patched libavcodec */ | 2858 /* define this to use simple idct with patched libavcodec */ |
2857 #define SIMPLE_IDCT 1 | 2859 #define SIMPLE_IDCT 1 |
2858 | 2860 |
2859 #define USE_OSD 1 | 2861 #define USE_OSD 1 |
2860 #define USE_SUB 1 | 2862 #define USE_SUB 1 |
2866 $_def_dvdread | 2868 $_def_dvdread |
2867 | 2869 |
2868 /* Common data directory (for fonts, etc) */ | 2870 /* Common data directory (for fonts, etc) */ |
2869 #define DATADIR "$_datadir" | 2871 #define DATADIR "$_datadir" |
2870 #define CONFDIR "$_confdir" | 2872 #define CONFDIR "$_confdir" |
2873 #define LIBDIR "$_libdir" | |
2871 | 2874 |
2872 /* Define this to compile stream-caching support, it can be enabled via | 2875 /* Define this to compile stream-caching support, it can be enabled via |
2873 -cache <kilobytes> */ | 2876 -cache <kilobytes> */ |
2874 #define USE_STREAM_CACHE 1 | 2877 #define USE_STREAM_CACHE 1 |
2875 | 2878 |