Add X includes on darwin platform to allow cli frontend build on mac os x out

of the box. .lart^Wthanks giskard for the help.
This commit is contained in:
riccardom 2009-06-23 18:15:00 +00:00
parent 7789ebb3f1
commit d489599bc6
2 changed files with 3 additions and 1 deletions

View File

@ -197,6 +197,8 @@ case $target in
;;
*darwin*)
LIBS="$LIBS -framework OpenGL"
dnl - extra hackery needed for X includes
AC_PATH_XTRA
;;
esac

View File

@ -1,6 +1,6 @@
include $(top_srcdir)/src/desmume.mk
AM_CPPFLAGS += $(SDL_CFLAGS) $(GTK_CFLAGS) $(GTHREAD_CFLAGS)
AM_CPPFLAGS += $(SDL_CFLAGS) $(GTK_CFLAGS) $(GTHREAD_CFLAGS) $(X_CFLAGS)
EXTRA_DIST = build.bat instruction_tabdef.inc thumb_tabdef.inc fs-linux.cpp fs-windows.cpp \
matrix_sse2-x64.asm matrix_sse2-x86.asm