Adding bincue flag in configure

This commit is contained in:
Seth Polsley 2020-07-06 22:02:19 -05:00
parent 80399941b2
commit 1775fb3776
7 changed files with 4 additions and 9 deletions

View File

@ -369,6 +369,7 @@ AS_IF([test "x$with_bincue" = "xyes" ], [have_bincue=yes], [have_bincue=no])
AS_IF([test "x$have_bincue" = "xyes" ], [
if [[ "x$WANT_SDL_AUDIO" = "xyes" ]]; then
DEFINES="$DEFINES -DBINCUE"
CPPFLAGS="$CPPFLAGS -DBINCUE"
AC_SUBST(USE_BINCUE, yes)
else
AC_MSG_ERROR([You need SDL Audio to use BINCUE support.])

View File

@ -112,9 +112,6 @@ define UI_SRCS_LIST_TO_OBJS
$(basename $(notdir $(file))))))
endef
UI_OBJS = $(UI_SRCS_LIST_TO_OBJS)
ifeq ($(USE_BINCUE),yes)
UI_OBJS += bincue.o
endif
SRC_PATHS += $(sort $(foreach file, $(SRCS), $(dir $(file))))
VPATH :=

View File

@ -92,6 +92,7 @@ dnl BINCUE
AS_IF([test "x$with_bincue" = "xyes" ], [have_bincue=yes], [have_bincue=no])
AS_IF([test "x$have_bincue" = "xyes" ], [
DEFINES="$DEFINES -DBINCUE"
CPPFLAGS="$CPPFLAGS -DBINCUE"
AC_SUBST(USE_BINCUE, yes)
], [AC_SUBST(USE_BINCUE, no)])

View File

@ -105,9 +105,6 @@ define GUI_SRCS_LIST_TO_OBJS
$(basename $(notdir $(file))))))
endef
GUI_OBJS = $(GUI_SRCS_LIST_TO_OBJS)
ifeq ($(USE_BINCUE),yes)
GUI_OBJS += bincue.o
endif
define DYNGENSRCS_LIST_TO_OBJS
$(addprefix $(OBJ_DIR)/, $(addsuffix .dgo, $(foreach file, $(DYNGENSRCS), \

View File

@ -698,6 +698,7 @@ AS_IF([test "x$have_bincue" = "xyes" ], [
AC_SUBST(USE_BINCUE, no)
else
CPPFLAGS="$CPPFLAGS -DBINCUE $OSX_CORE_AUDIO"
DEFINES="$DEFINES -DBINCUE"
AC_SUBST(USE_BINCUE, yes)
fi
], [AC_SUBST(USE_BINCUE, no)])

View File

@ -118,9 +118,6 @@ define UI_SRCS_LIST_TO_OBJS
$(basename $(notdir $(file))))))
endef
UI_OBJS = $(UI_SRCS_LIST_TO_OBJS)
ifeq ($(USE_BINCUE),yes)
UI_OBJS += bincue.o
endif
define DYNGENSRCS_LIST_TO_OBJS
$(addprefix $(OBJ_DIR)/, $(addsuffix .ho, $(foreach file, $(DYNGENSRCS), \

View File

@ -206,6 +206,7 @@ dnl BINCUE
AS_IF([test "x$with_bincue" = "xyes" ], [have_bincue=yes], [have_bincue=no])
AS_IF([test "x$have_bincue" = "xyes" ], [
DEFINES="$DEFINES -DBINCUE"
CPPFLAGS="$CPPFLAGS -DBINCUE"
AC_SUBST(USE_BINCUE, yes)
], [AC_SUBST(USE_BINCUE, no)])