Commit 30b1d5ec authored by Scott Wheeler's avatar Scott Wheeler

Clean up a little of the semantics on the check -- always define a value;

just define it to 0 or 1.

svn path=/trunk/kdemultimedia/juk/; revision=366423
parent e6e627c3
......@@ -18,7 +18,7 @@
#include "artsplayer.h"
#ifdef HAVE_ARTS
#if HAVE_ARTS
#include <kdebug.h>
#include <kconfig.h>
......
......@@ -21,7 +21,7 @@
#include <config.h>
#ifdef HAVE_ARTS
#if HAVE_ARTS
#include "player.h"
......
......@@ -13,6 +13,7 @@ else
build_arts="no"
LIB_ARTS=""
ARTS_CFLAGS=""
AC_DEFINE(HAVE_ARTS, 0, [no arts support in juk])
fi
AC_SUBST(LIB_ARTS)
......
......@@ -48,7 +48,7 @@ static Player *createPlayer(int system = ArtsBackend)
Player *p = 0;
#if defined(HAVE_ARTS) && defined(HAVE_GSTREAMER)
#if HAVE_ARTS && HAVE_GSTREAMER
switch(system) {
case ArtsBackend:
p = new ArtsPlayer;
......@@ -62,11 +62,11 @@ static Player *createPlayer(int system = ArtsBackend)
}
#else
Q_UNUSED(system)
#ifdef HAVE_ARTS
#if HAVE_ARTS
p = new ArtsPlayer;
#endif
#ifdef HAVE_GSTREAMER
#if HAVE_GSTREAMER
p = new GStreamerPlayer;
#else
#warning No Player Backend Available
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment