[PATCH app-xdm 2/6] config: relocate headers, typedefs, and compiler characteristics

Alan Coopersmith alan.coopersmith at oracle.com
Tue Oct 26 12:56:38 PDT 2010


Gaetan Nadon wrote:
> Those checks are next following the "Check for system libraries" section.
> They are done before xorg specific configuration.
> 
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>  configure.ac |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 2833010..96ae8fe 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -80,6 +80,12 @@ AC_SEARCH_LIBS([arc4random], [bsd])
>  AC_SEARCH_LIBS(crypt, crypt)
>  #------------------------------------------------------------------------------
>  
> +# Checks for header files.
> +AC_CHECK_HEADERS([grp.h syslog.h sys/param.h])
> +
> +# Checks for typedefs, structures, and compiler characteristics.
> +AC_TYPE_SIGNAL
> +
>  m4_ifdef([AM_SILENT_RULES],[HAVE_AM_SILENT_RULES=yes])
>  AM_CONDITIONAL(HAVE_AM_SILENT_RULES, test x$HAVE_AM_SILENT_RULES != x)
>  
> @@ -121,8 +127,6 @@ if test "x$HAS_SETUSERCONTEXT" = "xyes" ; then
>  fi
>  
>  AC_CHECK_FUNCS([daemon sigaction openlog asprintf])
> -AC_CHECK_HEADERS([grp.h syslog.h sys/param.h])
> -AC_TYPE_SIGNAL
>  
>  XTRANS_CONNECTION_FLAGS
>  dnl Sets $SECURE_RPC to "yes" or "no"

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list