Fix --disable-mpg123 by telling automake to not compile it, instead of using ifdefs

This commit is contained in:
Bart van Strien
2013-05-26 22:34:04 +02:00
parent 6bc4f7a34e
commit c99fb2fb99
5 changed files with 22 additions and 13 deletions
@@ -18,8 +18,6 @@
* 3. This notice may not be removed or altered from any source distribution.
**/
#ifndef LOVE_NOMPG123
#include "Mpg123Decoder.h"
#include "common/Exception.h"
@@ -234,5 +232,3 @@ int Mpg123Decoder::feed(int bytes)
} // lullaby
} // sound
} // love
#endif // LOVE_NOMPG123
@@ -18,7 +18,6 @@
* 3. This notice may not be removed or altered from any source distribution.
**/
#ifndef LOVE_NOMPG123
#ifndef LOVE_SOUND_LULLABY_LIBMPG123_DECODER_H
#define LOVE_SOUND_LULLABY_LIBMPG123_DECODER_H
@@ -77,4 +76,3 @@ private:
} // love
#endif // LOVE_SOUND_LULLABY_LIBMPG123_DECODER_H
#endif // LOVE_NOMPG123