mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-02 00:32:22 +00:00
Adding bincue flag in configure
This commit is contained in:
parent
80399941b2
commit
1775fb3776
@ -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.])
|
||||
|
@ -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 :=
|
||||
|
@ -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)])
|
||||
|
||||
|
@ -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), \
|
||||
|
@ -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)])
|
||||
|
@ -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), \
|
||||
|
@ -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)])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user