+ [if test x$enable_esd = xyes; then
+ AC_PATH_PROG(ESD_CONFIG, esd-config, no)
+ if test x${ESD_CONFIG} != xno; then
+ PLUGINS="${PLUGINS} esd"
+ LIB_ESD="`${ESD_CONFIG} --libs`"
+ fi
+ fi])
+
+dnl
+dnl Darwin module
+dnl
+AC_ARG_ENABLE(darwin,
+ [ --enable-darwin Darwin sound support (default disabled)],
+ [if test x$enable_darwin = xyes; then
+ PLUGINS="${PLUGINS} darwin"
+ LIB_DARWIN="-framework CoreAudio"
+ fi])
+
+dnl
+dnl MacOS X module
+dnl
+AC_ARG_ENABLE(macosx,
+ [ --enable-macosx Mac OS X interface support (default enabled in Mac OS X)],
+ [if test x$enable_macosx = xyes; then
+ BUILTINS="${BUILTINS} macosx"
+ LIB_MACOSX="-framework CoreAudio -framework Carbon -framework AGL"
+ LIB_TS="${LIB_TS} -framework AGL -framework Carbon"
+ LIB_SDL="${LIB_SDL} -framework AGL -framework Carbon"
+ fi],
+ [AC_CHECK_HEADERS(Carbon/Carbon.h,
+ BUILTINS="${BUILTINS} macosx"
+ LIB_MACOSX="-framework CoreAudio -framework Carbon -framework AGL"
+ LIB_TS="${LIB_TS} -framework AGL -framework Carbon"
+ LIB_SDL="${LIB_SDL} -framework AGL -framework Carbon"
+ )])
+
+dnl
+dnl Linux framebuffer module
+dnl