--- darkice-0.13.1/configure.in.orig Mon May 26 22:22:44 2003 +++ darkice-0.13.1/configure.in Mon May 26 22:23:32 2003 @@ -37,8 +37,6 @@ dnl----------------------------------------------------------------------------- dnl link the lame library if requested dnl----------------------------------------------------------------------------- -AC_SUBST( LAME_INCFLAGS) -AC_SUBST( LAME_LDFLAGS) AC_ARG_WITH( lame, [ --with-lame use lame for encoding mp3 streams [yes] ], @@ -66,14 +64,12 @@ else AC_MSG_RESULT( [building without lame] ) fi - +AC_SUBST(LAME_INCFLAGS) +AC_SUBST(LAME_LDFLAGS) dnl----------------------------------------------------------------------------- dnl link the ogg vorbis libraries if requested dnl----------------------------------------------------------------------------- -AC_SUBST( VORBIS_INCFLAGS) -AC_SUBST( VORBIS_LDFLAGS) - AC_ARG_WITH( vorbis, [ --with-vorbis use Ogg Vorbis for encoding vorbis streams [yes] ], USE_VORBIS=${withval}, USE_VORBIS="yes" ) @@ -110,6 +106,10 @@ AC_MSG_RESULT( [building without Ogg Vorbis] ) fi +AC_SUBST(VORBIS_INCFLAGS) +AC_SUBST(VORBIS_LDFLAGS) + + dnl----------------------------------------------------------------------------- dnl make sure at least one of lame and vorbis present