[vlc-devel] Re: [0.8.6-bugfix] gnutls configure fix for mingw32 on win32

Christophe Mutricy xtophe at nxtelevision.com
Thu Jan 18 14:48:22 CET 2007


On Thu, Jan 18, 07 at 14:31 +1100, xxcv wrote:
> 

> --- configure.ac~	2006-12-12 10:33:42 +1100
> +++ configure.ac	2006-12-12 10:34:10 +1100
> @@ -5011,7 +5011,15 @@
>      VLC_ADD_LDFLAGS([gnutls], [$GNUTLS_LIBS])
>    ], [
>      AS_IF([test "${enable_gnutls}" = "yes"], [
> -      AC_MSG_ERROR([gnutls not present or too old (version 1.2.9 required)])
> +      if test "$host_os" = "mingw32" && test "$build_os" = "$host_os"; then
> +        AC_CHECK_HEADERS(gnutls/gnutls.h, [
> +          VLC_ADD_PLUGINS([gnutls])
> +          VLC_ADD_CFLAGS([gnutls], [])
> +          VLC_ADD_LDFLAGS([gnutls], [-lgnutls])
> +        ])
> +      else
> +        AC_MSG_ERROR([gnutls not present or too old (version 1.2.9 required)])
> +      fi
>      ])

It's not msys specific, it's just for system without pkg-config. So we
can drop the if test line.


-- 
Xtophe

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list