comparison configure.ac @ 1056:8e58b7dc2bd1 trunk

[svn] - FILEWRITER_LIBS had been left blank if bash 3.0 was used for configure, since this version doesn't accept '+='.
author yaz
date Tue, 22 May 2007 08:26:53 -0700
parents 0f2f68b9c98c
children 75f713176b2f
comparison
equal deleted inserted replaced
1055:0cc6b35fbeb4 1056:8e58b7dc2bd1
1250 1250
1251 if test "$enable_filewriter_mp3" = "yes"; then 1251 if test "$enable_filewriter_mp3" = "yes"; then
1252 AC_CHECK_LIB(mp3lame -lm, lame_init, [have_lame=yes], [have_lame=no]) 1252 AC_CHECK_LIB(mp3lame -lm, lame_init, [have_lame=yes], [have_lame=no])
1253 if test "$have_lame" = yes; then 1253 if test "$have_lame" = yes; then
1254 AC_DEFINE(FILEWRITER_MP3, 1, [Define if Vorbis output part should be built]) 1254 AC_DEFINE(FILEWRITER_MP3, 1, [Define if Vorbis output part should be built])
1255 FILEWRITER_LIBS+=" -lmp3lame" 1255 FILEWRITER_LIBS="$FILEWRITER_LIBS -lmp3lame"
1256 fi 1256 fi
1257 fi 1257 fi
1258 1258
1259 1259
1260 AC_ARG_ENABLE(filewriter_vorbis, 1260 AC_ARG_ENABLE(filewriter_vorbis,
1265 if test "$enable_filewriter_vorbis" = "yes"; then 1265 if test "$enable_filewriter_vorbis" = "yes"; then
1266 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0], 1266 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0],
1267 [have_vorbisenc=yes], [have_vorbisenc=no]) 1267 [have_vorbisenc=yes], [have_vorbisenc=no])
1268 if test "$have_vorbisenc" = yes; then 1268 if test "$have_vorbisenc" = yes; then
1269 AC_DEFINE(FILEWRITER_VORBIS, 1, [Define if Vorbis output part should be built]) 1269 AC_DEFINE(FILEWRITER_VORBIS, 1, [Define if Vorbis output part should be built])
1270 FILEWRITER_LIBS+=" -lvorbisenc" 1270 FILEWRITER_LIBS="$FILEWRITER_LIBS -lvorbisenc"
1271 fi 1271 fi
1272 fi 1272 fi
1273 1273
1274 1274
1275 AC_ARG_ENABLE(filewriter_flac, 1275 AC_ARG_ENABLE(filewriter_flac,
1281 PKG_CHECK_MODULES(FLAC, [flac >= 1.1.2], 1281 PKG_CHECK_MODULES(FLAC, [flac >= 1.1.2],
1282 [have_writer_flac=yes], [have_writer_flac=no] 1282 [have_writer_flac=yes], [have_writer_flac=no]
1283 ) 1283 )
1284 if test "$have_writer_flac" = yes; then 1284 if test "$have_writer_flac" = yes; then
1285 AC_DEFINE(FILEWRITER_FLAC, 1, [Define if FLAC output part should be built]) 1285 AC_DEFINE(FILEWRITER_FLAC, 1, [Define if FLAC output part should be built])
1286 FILEWRITER_LIBS+=" -lFLAC" 1286 FILEWRITER_LIBS="$FILEWRITER_LIBS -lFLAC"
1287 fi 1287 fi
1288 fi 1288 fi
1289 1289
1290 if test "$enable_filewriter" != yes; then 1290 if test "$enable_filewriter" != yes; then
1291 have_lame=no 1291 have_lame=no