[PATCH app-xdm 1/3] config: add "Check for system libraries" section

Guillem Jover guillem at hadrons.org
Wed Oct 20 16:57:03 PDT 2010


Hi!

On Wed, 2010-10-20 at 18:43:10 -0400, Gaetan Nadon wrote:
> diff --git a/configure.ac b/configure.ac
> index 72a08fd..0ecf897 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -53,6 +53,39 @@ XORG_WITH_LINT

> +# Function setproctitle is in BSD -lutil or GNU/Linux -lbsd but N/A on Solaris
> +AC_SEARCH_LIBS([setproctitle], [util bsd])
> +
> +# Function setusercontext is in BSD -lutil but N/A on Solaris or GNU/Linux
> +AC_SEARCH_LIBS([setusercontext], [util])

> +# Function arc4random is in BSD standard C or GNU/Linux -lbsd
> +AC_SEARCH_LIBS([arc4random], [bsd])
> +
> +# Function crypt comes from the C library on GNU/Linux
> +AC_SEARCH_LIBS(crypt, crypt)

Just a small nitpick, GNU/Linux there should probably be just GNU
systems or similar, as it refers to glibc and libbsd which are available
on non-Linux systems too.

regards,
guillem


More information about the xorg-devel mailing list