diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-11-13 11:58:07 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-11-13 12:01:19 +0100 |
commit | 13c8517570c3550b5c46a3cb0ff7f8b7888a4ddf (patch) | |
tree | ab0f42a325156f1529ed7666192f29cb085f6de7 /configure.ac | |
parent | 6c3b3bef4e1bb682ccf637b8ddc0a395b079bb75 (diff) | |
download | gstreamer-plugins-bad-13c8517570c3550b5c46a3cb0ff7f8b7888a4ddf.tar.gz |
gl/cocoa: Remove GNUStep support
Until gcc and GNUStep properly support Objective-C blocks and other
"new" features of Objective-C we can't properly support them without
making the code much more ugly.
https://bugzilla.gnome.org/show_bug.cgi?id=739152
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 56 |
1 files changed, 1 insertions, 55 deletions
diff --git a/configure.ac b/configure.ac index fdb6c88db..120cd449e 100644 --- a/configure.ac +++ b/configure.ac @@ -615,7 +615,7 @@ AC_ARG_ENABLE([glx], esac],[NEED_GLX=auto]) AC_ARG_ENABLE([cocoa], - [ --enable-cocoa Enable Cocoa support (using GNUstep on non OS X platforms) @<:@default=auto@:>@], + [ --enable-cocoa Enable Cocoa support @<:@default=auto@:>@], [case "${enableval}" in yes) NEED_COCOA=yes ;; no) NEED_COCOA=no ;; @@ -657,7 +657,6 @@ save_LIBS="$LIBS" HAVE_GL=no HAVE_GLES2=no HAVE_GLU=no -HAVE_GNUSTEP_COCOA=no HAVE_WAYLAND_EGL=no HAVE_EGL_RPI=no @@ -754,35 +753,6 @@ case $host in ;; esac -case $host in - *-darwin* ) ;; - *) - AC_PATH_PROG([GNUSTEP_CONFIG],[gnustep-config]) - if test "x$GNUSTEP_CONFIG" != "x"; then - GNUSTEP_HOST="`$GNUSTEP_CONFIG --variable=GNUSTEP_HOST`" - case $host in - *-mingw* ) - case $GNUSTEP_HOST in - *-mingw* ) - HAVE_GNUSTEP_COCOA=yes - ;; - esac - ;; - * ) - HAVE_GNUSTEP_COCOA=yes - ;; - esac - fi - ;; -esac - -AC_MSG_CHECKING([for GNUstep]) -if test "x$HAVE_GNUSTEP_COCOA" = "xyes" ; then - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - CPPFLAGS="$save_CPPFLAGS" LIBS="$save_LIBS" @@ -1015,19 +985,6 @@ case $host in fi fi fi - - dnl GNUstep provides the Cocoa API on unix - if test "x$NEED_COCOA" != "xno"; then - if test "x$HAVE_GNUSTEP_COCOA" = "xyes" ; then - GNUSTEP_OBJCFLAGS="`$GNUSTEP_CONFIG --objc-flags`" - GNUSTEP_LIBS="`$GNUSTEP_CONFIG --gui-libs`" - GL_LIBS="$GL_LIBS $GNUSTEP_LIBS -lgnustep-gui -lgnustep-base" - GL_OBJCFLAGS="$GL_OBJCFLAGS $GNUSTEP_OBJCFLAGS" - - USE_COCOA=yes - HAVE_WINDOW_COCOA=yes - fi - fi ;; *-darwin*) if test "x$HAVE_IOS" = "xyes"; then @@ -1120,17 +1077,6 @@ case $host in fi fi fi - - dnl GNUstep provides the Cocoa API on win32 - if test "x$HAVE_GNUSTEP_COCOA" = "xyes" ; then - GNUSTEP_CFLAGS="`$GNUSTEP_CONFIG --objc-flags`" - GNUSTEP_LIBS="`$GNUSTEP_CONFIG --gui-libs`" - GL_LIBS="$GL_LIBS $GNUSTEP_LIBS -lgnustep-gui -lgnustep-base" - GL_OBJCFLAGS="$OBJCFLAGS $GNUSTEP_CFLAGS" - - USE_COCOA=yes - HAVE_WINDOW_COCOA=yes - fi ;; *) AC_MSG_WARN([Don't know how to check for OpenGL on your platform.]) |