]> git.pld-linux.org Git - packages/DirectFB.git/blob - vnc-pc.patch
use pkgconfig to find imlib2
[packages/DirectFB.git] / vnc-pc.patch
1 --- DirectFB-1.7.7/configure.in.orig    2022-06-07 13:00:38.865311931 +0200
2 +++ DirectFB-1.7.7/configure.in 2022-06-07 13:14:44.304420860 +0200
3 @@ -1212,15 +1212,10 @@
4                               [build with VNC support @<:@default=auto@:>@]),
5                [], [enable_vnc=yes])
6  if test "$enable_vnc" = "yes"; then
7 -  AC_PATH_PROG(VNC_CONFIG, libvncserver-config, no)
8 -  if test "$VNC_CONFIG" = "no"; then
9 -    enable_vnc=no
10 +  PKG_CHECK_MODULES(VNC, [libvncserver], [enable_vnc=yes], [enable_vnc=no
11      AC_MSG_WARN([
12 -*** libvncserver-config not found -- building without VNC support. See http://libvncserver.sourceforge.net])
13 -  else
14 -    VNC_CFLAGS=`$VNC_CONFIG --cflags`
15 -    VNC_LIBS=`$VNC_CONFIG --libs`
16 -  fi
17 +*** libvncserver package not found -- building without VNC support. See http://libvncserver.sourceforge.net])
18 +    ])
19  fi
20  
21  AM_CONDITIONAL(VNC_CORE, test "$enable_vnc" = "yes")
This page took 0.032828 seconds and 3 git commands to generate.