mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-09 01:30:42 +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" ], [
|
AS_IF([test "x$have_bincue" = "xyes" ], [
|
||||||
if [[ "x$WANT_SDL_AUDIO" = "xyes" ]]; then
|
if [[ "x$WANT_SDL_AUDIO" = "xyes" ]]; then
|
||||||
DEFINES="$DEFINES -DBINCUE"
|
DEFINES="$DEFINES -DBINCUE"
|
||||||
|
CPPFLAGS="$CPPFLAGS -DBINCUE"
|
||||||
AC_SUBST(USE_BINCUE, yes)
|
AC_SUBST(USE_BINCUE, yes)
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([You need SDL Audio to use BINCUE support.])
|
AC_MSG_ERROR([You need SDL Audio to use BINCUE support.])
|
||||||
|
@ -112,9 +112,6 @@ define UI_SRCS_LIST_TO_OBJS
|
|||||||
$(basename $(notdir $(file))))))
|
$(basename $(notdir $(file))))))
|
||||||
endef
|
endef
|
||||||
UI_OBJS = $(UI_SRCS_LIST_TO_OBJS)
|
UI_OBJS = $(UI_SRCS_LIST_TO_OBJS)
|
||||||
ifeq ($(USE_BINCUE),yes)
|
|
||||||
UI_OBJS += bincue.o
|
|
||||||
endif
|
|
||||||
|
|
||||||
SRC_PATHS += $(sort $(foreach file, $(SRCS), $(dir $(file))))
|
SRC_PATHS += $(sort $(foreach file, $(SRCS), $(dir $(file))))
|
||||||
VPATH :=
|
VPATH :=
|
||||||
|
@ -92,6 +92,7 @@ dnl BINCUE
|
|||||||
AS_IF([test "x$with_bincue" = "xyes" ], [have_bincue=yes], [have_bincue=no])
|
AS_IF([test "x$with_bincue" = "xyes" ], [have_bincue=yes], [have_bincue=no])
|
||||||
AS_IF([test "x$have_bincue" = "xyes" ], [
|
AS_IF([test "x$have_bincue" = "xyes" ], [
|
||||||
DEFINES="$DEFINES -DBINCUE"
|
DEFINES="$DEFINES -DBINCUE"
|
||||||
|
CPPFLAGS="$CPPFLAGS -DBINCUE"
|
||||||
AC_SUBST(USE_BINCUE, yes)
|
AC_SUBST(USE_BINCUE, yes)
|
||||||
], [AC_SUBST(USE_BINCUE, no)])
|
], [AC_SUBST(USE_BINCUE, no)])
|
||||||
|
|
||||||
|
@ -105,9 +105,6 @@ define GUI_SRCS_LIST_TO_OBJS
|
|||||||
$(basename $(notdir $(file))))))
|
$(basename $(notdir $(file))))))
|
||||||
endef
|
endef
|
||||||
GUI_OBJS = $(GUI_SRCS_LIST_TO_OBJS)
|
GUI_OBJS = $(GUI_SRCS_LIST_TO_OBJS)
|
||||||
ifeq ($(USE_BINCUE),yes)
|
|
||||||
GUI_OBJS += bincue.o
|
|
||||||
endif
|
|
||||||
|
|
||||||
define DYNGENSRCS_LIST_TO_OBJS
|
define DYNGENSRCS_LIST_TO_OBJS
|
||||||
$(addprefix $(OBJ_DIR)/, $(addsuffix .dgo, $(foreach file, $(DYNGENSRCS), \
|
$(addprefix $(OBJ_DIR)/, $(addsuffix .dgo, $(foreach file, $(DYNGENSRCS), \
|
||||||
|
@ -698,6 +698,7 @@ AS_IF([test "x$have_bincue" = "xyes" ], [
|
|||||||
AC_SUBST(USE_BINCUE, no)
|
AC_SUBST(USE_BINCUE, no)
|
||||||
else
|
else
|
||||||
CPPFLAGS="$CPPFLAGS -DBINCUE $OSX_CORE_AUDIO"
|
CPPFLAGS="$CPPFLAGS -DBINCUE $OSX_CORE_AUDIO"
|
||||||
|
DEFINES="$DEFINES -DBINCUE"
|
||||||
AC_SUBST(USE_BINCUE, yes)
|
AC_SUBST(USE_BINCUE, yes)
|
||||||
fi
|
fi
|
||||||
], [AC_SUBST(USE_BINCUE, no)])
|
], [AC_SUBST(USE_BINCUE, no)])
|
||||||
|
@ -118,9 +118,6 @@ define UI_SRCS_LIST_TO_OBJS
|
|||||||
$(basename $(notdir $(file))))))
|
$(basename $(notdir $(file))))))
|
||||||
endef
|
endef
|
||||||
UI_OBJS = $(UI_SRCS_LIST_TO_OBJS)
|
UI_OBJS = $(UI_SRCS_LIST_TO_OBJS)
|
||||||
ifeq ($(USE_BINCUE),yes)
|
|
||||||
UI_OBJS += bincue.o
|
|
||||||
endif
|
|
||||||
|
|
||||||
define DYNGENSRCS_LIST_TO_OBJS
|
define DYNGENSRCS_LIST_TO_OBJS
|
||||||
$(addprefix $(OBJ_DIR)/, $(addsuffix .ho, $(foreach file, $(DYNGENSRCS), \
|
$(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$with_bincue" = "xyes" ], [have_bincue=yes], [have_bincue=no])
|
||||||
AS_IF([test "x$have_bincue" = "xyes" ], [
|
AS_IF([test "x$have_bincue" = "xyes" ], [
|
||||||
DEFINES="$DEFINES -DBINCUE"
|
DEFINES="$DEFINES -DBINCUE"
|
||||||
|
CPPFLAGS="$CPPFLAGS -DBINCUE"
|
||||||
AC_SUBST(USE_BINCUE, yes)
|
AC_SUBST(USE_BINCUE, yes)
|
||||||
], [AC_SUBST(USE_BINCUE, no)])
|
], [AC_SUBST(USE_BINCUE, no)])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user