Ticket #47771: patch-no-gtk.diff

File patch-no-gtk.diff, 927 bytes (added by RJVB (René Bertin), 9 years ago)

replaces patch-configure-ac.patch

  • configure.ac

    a b  
    790790AC_SUBST(SDL_LIBS)
    791791
    792792
    793 # Check for GTK+. if present, build the GTK+ vnc viewer example
    794 PKG_CHECK_MODULES([GTK], [gtk+-2.0],,:)
    795 AM_CONDITIONAL(HAVE_LIBGTK, test ! -z "$GTK_LIBS")
    796 
    797793AC_CANONICAL_HOST
    798794MINGW=`echo $host_os | grep mingw32  2>/dev/null`
    799795AM_CONDITIONAL(MINGW, test ! -z "$MINGW" )
  • LibVNCServer-0.9.10/client_examples/Makefile.am

    old new  
    2424SDLvncviewer_LDADD=$(LDADD) $(SDL_LIBS)
    2525endif
    2626
    27 if HAVE_LIBGTK
    28 GTKVIEWER=gtkvncviewer
    29 gtkvncviewer_SOURCES=gtkvncviewer.c
    30 gtkvncviewer_CFLAGS=$(GTK_CFLAGS)
    31 gtkvncviewer_LDADD=$(LDADD) $(GTK_LIBS)
    32 endif
    33 
    34 
    3527noinst_PROGRAMS=ppmtest $(SDLVIEWER) $(GTKVIEWER) $(FFMPEG_CLIENT) backchannel
    3628
    3729