Mercurial > mplayer.hg
comparison configure @ 1033:c8c2aefaae11
fix -lasound -lesd.
author | pontscho |
---|---|
date | Tue, 05 Jun 2001 10:59:38 +0000 |
parents | d9791ad3bc7a |
children | 79e7a1d3186f |
comparison
equal
deleted
inserted
replaced
1032:e34336f4feaf | 1033:c8c2aefaae11 |
---|---|
1045 | 1045 |
1046 if [ $_png = yes ]; then | 1046 if [ $_png = yes ]; then |
1047 _libpng='-lpng -lz' | 1047 _libpng='-lpng -lz' |
1048 fi | 1048 fi |
1049 | 1049 |
1050 _alsa5='#undef HAVE_ALSA5' | |
1051 _alsa9='#undef HAVE_ALSA9' | |
1052 if [ $_alsa == 'yes' ]; then | |
1053 [ $_alsaver == '0.5.x' ] && { _aosrc="$_aosrc ao_alsa5.c"; _alsa5='#define HAVE_ALSA5'; _alsalib='-lasound'; } | |
1054 # [ $_alsaver == '0.9.x' ] && { _aosrc="$_aosrc ao_alsa9.c"; _alsa9='#define HAVE_ALSA9'; _alsalib='-lasound'; } | |
1055 fi | |
1056 | |
1057 _esdd='#undef HAVE_ESD' | |
1058 #if [ $_esd == 'yes' ]; then | |
1059 # _esdd='#define HAVE_ESD' | |
1060 # _aosrc="$ao_src ao_esd.c" | |
1061 # _esdlib='-lesd' | |
1062 #fi | |
1063 | |
1050 # Checking for CFLAGS | 1064 # Checking for CFLAGS |
1051 if [ "$_profile" != "" ] || [ "$_debug" != "" ]; then | 1065 if [ "$_profile" != "" ] || [ "$_debug" != "" ]; then |
1052 CFLAGS="-O2 -march=$proc -mcpu=$proc $_debug $_profile" | 1066 CFLAGS="-O2 -march=$proc -mcpu=$proc $_debug $_profile" |
1053 else | 1067 else |
1054 if test -z "$CFLAGS"; then | 1068 if test -z "$CFLAGS"; then |
1074 CSS_LIB = $_csslib | 1088 CSS_LIB = $_csslib |
1075 CSS_INC = $_cssinc | 1089 CSS_INC = $_cssinc |
1076 WIN32_PATH=-DWIN32_PATH=\"$_win32libdir\" | 1090 WIN32_PATH=-DWIN32_PATH=\"$_win32libdir\" |
1077 DS_DEP = $_dshowdep | 1091 DS_DEP = $_dshowdep |
1078 DS_LIB = $_dshowlib | 1092 DS_LIB = $_dshowlib |
1093 ALSA_LIB = $_alsalib | |
1094 ESD_LIB = $_esdlib | |
1079 prefix = $_prefix | 1095 prefix = $_prefix |
1080 ARCH_LIBS = -ldl -lpthread | 1096 ARCH_LIBS = -ldl -lpthread |
1081 | 1097 |
1082 EOF | 1098 EOF |
1083 # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak | 1099 # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak |
1235 _gui='#define HAVE_GUI' | 1251 _gui='#define HAVE_GUI' |
1236 else | 1252 else |
1237 _gui='#undef HAVE_GUI' | 1253 _gui='#undef HAVE_GUI' |
1238 fi | 1254 fi |
1239 | 1255 |
1240 _alsa5='#undef HAVE_ALSA5' | |
1241 _alsa9='#undef HAVE_ALSA9' | |
1242 if [ $_alsa == 'yes' ]; then | |
1243 [ $_alsaver == '0.5.x' ] && { _aosrc="$_aosrc ao_alsa5.c"; _alsa5='#define HAVE_ALSA5'; } | |
1244 # [ $_alsaver == '0.9.x' ] && { _aosrc="$_aosrc ao_alsa9.c"; _alsa9='#define HAVE_ALSA9'; } | |
1245 fi | |
1246 | |
1247 _esdd='#undef HAVE_ESD' | |
1248 if [ $_esd == 'yes' ]; then | |
1249 _esdd='#undef HAVE_ESD' | |
1250 # _aosrc="$ao_src ao_esd.c" | |
1251 fi | |
1252 | 1256 |
1253 cat > $CCONF << EOF | 1257 cat > $CCONF << EOF |
1254 | 1258 |
1255 /* -------- Generated by ./configure ----------- */ | 1259 /* -------- Generated by ./configure ----------- */ |
1256 | 1260 |