On Thu, Feb 25, 2010 at 5:41 PM, Peter Hutterer
<[email protected]> wrote:
> Let's have all version-specific requirements in one block.
>
> Signed-off-by: Peter Hutterer <[email protected]>
> ---
>  configure.ac |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index b9c7574..7d6944d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -786,6 +786,7 @@ LIBXTST="xtst >= 1.0.99.2"
>  LIBPCIACCESS="pciaccess >= 0.8.0"
>  LIBGLIB="glib-2.0 >= 2.16"
>  LIBUDEV="libudev >= 143"
> +LIBSELINUX="libselinux >= 2.0.86"
>
>  if test "x$CONFIG_UDEV" = xyes &&
>  { test "x$CONFIG_DBUS_API" = xyes || test "x$CONFIG_HAL" = xyes; }; then
> @@ -1058,7 +1059,7 @@ if test "x$XSELINUX" = xyes; then
>        fi
>        AC_CHECK_HEADERS([libaudit.h], [], AC_MSG_ERROR([SELinux extension 
> requires audit system headers]))
>        AC_CHECK_LIB(audit, audit_open, [], AC_MSG_ERROR([SELinux extension 
> requires audit system library]))
> -       PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.0.86])
> +       PKG_CHECK_MODULES([SELINUX], $LIBSELINUX)
>        SELINUX_LIBS="$SELINUX_LIBS -laudit"
>        AC_DEFINE(XSELINUX, 1, [Build SELinux extension])
>  fi
> --
> 1.6.6.1

Reviewed-by: Dan Nicholson <[email protected]>
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to